Page 1 of 1

Same value overwrite, minimum delay?

Posted: Sat Oct 24, 2009 12:34 pm
by lostdreamer
ScottBot,

I was wondering, There is something I think is missing in housebot which I also cant quite correct with VBS sofar.

I have a few wireless light switches (RF transmitters) which I would like to use for dim / bright functions for X10 lights.
When you press a button, it sends it's button ID and state (on/off) about a dozen times to make sure it's being received.
So now, when I use a task to do
WHEN lightbutton.powerstate = on RUNSCRIPT Bright_X10.vbs (the VBS reads the dim level, does +10 and writes is back)
but because the signal is being received anywhere between 0 - 12x it will also Dim or Bright as many times.

I know a lot of other HA software packages use a setting for this like, 'same value overwrite' minimum time = XX seconds.
Is there any way of this option to make it's way into Housebot's next version?

LostDreamer

Re: Same value overwrite, minimum delay?

Posted: Sun Oct 25, 2009 8:48 pm
by ScottBot
It's a good idea. If you are just generally interested in denouncing a single command at a time, you could probably use the sleep timer device and a script or task so you only send the command once (if the timer isn't running).