... Karl, That sounds like a standard X10 RF motion sensor behaviour (MS12/13/14/16). I use a couple of them. To avoid generating redundant powerline traffic...
On Wed, 04 Nov 2009 04:03:50 -0000 ... Janusz, But the "postcommand" would have to be be executed in the forked process (following creation of the Heyu...
On Wed, 04 Nov 2009 13:22:32 -0000 ... Janusz, In anticipation of your request, I increased the timers to 32 in the development tree a couple of days ago. ...
... Charles, I'm not able to understand why you say that postcommands would have to be executed in the forked process. I though it could be possible to execute...
... Charles, How did you guess that? I would have to better control my thinking :). Seriously, for a year or two I am running heyu with 256 timers, one per X10...
On Wed, 04 Nov 2009 15:26:02 -0000 ... Janusz, Since the intention is to execute the postcommands after creation of the Heyu environment and prior to exec() of...
... Now I see what you mean, but that's not exactly what I have in mind. Regarding environment creation before postcommands execution requirement, I think it...
On Wed, 04 Nov 2009 16:52:22 -0000 ... Janusz, If they were to run "in parallel" as you put it, how would you know which task was completed first? In repeated...
... Charles, I didn't mean running a series of postcommands from one script in parallel with another series of postcommands from another script, same or...
On Wed, 04 Nov 2009 19:30:42 -0000 ... Janusz, Consider the flow: In heyu_engine In forked process ... precommands ... fork -------> forked process ... ...
... Charles, Thanks for this artwork. That's exactly what I have in mind, and can see no problem with it. ... Where do we get the state data from while...
Hi. Trying to deal with a random error I receive from heyu. OS details and code snips follow. I use the perl "system" call to find the state of a SR227 X10...
In regards to using the @settimer command with a PIR: This is my setup: W800RF32 receiving x10 wireless commands; PIR is setup to NOT detect motion during...
... Edwin, Heyu will do exactly what you put in your scripts. If you replaced the first of those three lines with: SCRIPT A15 changed snda :: @settimer 1...
... Kenny, I think it would be much easier for you to find the reason if you start with running those heyu commands from an interactive shell and see what...
I just did some testing with settimer. It does reset the timer to 0 when it is invoked each time. Thus, the timer times out only after the last motion is...
... Do you mean that you receive the error randomly? ... Maybe I'm reading this wrong, but "heyu enginestate" returns the state of the heyu engine ... and...
... <Smile> -- From the shell it seems to work -- It is a random error, does not happen all the time -- locks are tricky beasts to deal with.. this program is ...
... There's nothing inappropriate for using perl for large daemons; mimedefang and spamassassin are two well-known, huge perl daemons. There are certain things...
... Yes. I can go for days or weeks without seeing it. ... Is that not how you can start the heyu engine? -- And if I do not see the engine on, I do just...
... Very possible -- The web interface queries the Postgres DB -- to avoid such issues, but it is possible the perl script that gets the info from heyu might ...
... No, it isn't how you start the engine. In your case, it works because you have "START_ENGINE AUTO" in your x10.conf ... but if you didn't, your code would...
... Not that it would be something really wrong with it, but why are you checking for a state of a single X10 module every minute? Don't you trust heyu_engine...
... Kenny, I'm very far from being perl expert and really dont't know if t matters or not, but you seem to have missed my remark above. Thanks, Janusz...
... Michel, You're right, but you have missed my point. I was wondering the opposite: if there something inappropriate for using perl for running small scripts...
... I agree -- yet if the auto start does not start up the state engine, what is the proper way? Most of the time the perl scripts find the state engine OK, ...
... heyu engine is the command that starts the engine, whether START_ENGINE AUTO is set in the configuration file or not. Other heyu commands will check for...