Same value overwrite, minimum delay?

Have an idea for a new feature? Voice your opinion here.
Post Reply
lostdreamer
Member
Posts: 54
Joined: Sat Apr 18, 2009 8:53 pm

Same value overwrite, minimum delay?

Post 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
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: Same value overwrite, minimum delay?

Post 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).
Scott
Post Reply