Checking if light is on before turning it on

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
wetwired
Member
Posts: 85
Joined: Thu Jun 19, 2003 7:33 am

Checking if light is on before turning it on

Post by wetwired »

I´m using Zwave, and I was wondering if there´s any point in checking if the light is on before sending the "on" command in a task?

Do I get a faster response from the devices since there is less commands to send through the USB controller or does the task take longer to complete?



Does anyone have any experience with zwave and tasks with lots of actions?
JonFo
Member
Posts: 49
Joined: Sun Sep 21, 2003 11:56 am
Location: Big Canoe, GA
Contact:

Post by JonFo »

It's probably quicker and easier to just send the commands for the desired state as part of the tasks.



I only check current state if I'm trying to ensure a given module is on or off in conjunction with another condition (like make sure the projector exhaust fan is on if the PJ is on).



Hope that helps,
_______

Jonathan
wetwired
Member
Posts: 85
Joined: Thu Jun 19, 2003 7:33 am

Post by wetwired »

But if you send a lot of "On" actions the task is really slow to reach all the devices. If I have just one "On", the device turns on almost instantly but add 3-5 more and the devices take several seconds to come on.

Well I´ll guess I´ll try it and see what happens :)
Post Reply