Duplicate *.Set() commands

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
skiv71
Posts: 124
Joined: 01 May 2014 13:46
Location: United Kingdom
Contact:

Duplicate *.Set() commands

Post by skiv71 »

Hi,

Say I have a battery powered device, due to wake... and I issue a *.Set() command for value 20.

This goes in the job queue, fine.

Then whilst the device is still sleeping, I change my mind and send another *.Set() for value 30.

I see that this goes in the job list after the previous job.

Surely it should take presidence and remove the previous set command?
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: Duplicate *.Set() commands

Post by PoltoS »

It is not easy to detect if you want to delete it or no. So we keep.

Example: make short pulse with a switch with Set(255) Set(0) will do the job, but if we remove Set(255) like you suggest, it will not be possible.
Post Reply