HomeGenie Forum

General Category => Troubleshooting and Support => Topic started by: emerich on February 19, 2016, 07:32:55 AM

Title: Set program priority
Post by: emerich on February 19, 2016, 07:32:55 AM
Hi,

in my Danfoss Thermostat program I'm sending about six commands to the valve and this takes about 30 to 40 seconds! Is there a way to set the priority for a program so that it's not interrupted by other programs?

br. Christian
Title: Re: Set program priority
Post by: bkenobi on February 19, 2016, 04:58:52 PM
It should not take that long to run a program.  I rely on my code running immediately for lighting control and have had no issues.  The only delay I see is due to the time it takes X10 to transmit (~0.7 seconds per command).
Title: Re: Set program priority
Post by: dani on February 20, 2016, 03:39:38 AM
When do you send your command. When the node is
awake ? Or at any time, in that case it is because the node is sleeping and you get timeout at each message. It is a node on battery yes ?
Title: Re: Set program priority
Post by: emerich on February 20, 2016, 06:01:38 PM
Hi,

these are battery devices. I send the commands after the wake up notification. I did a reboot of my raspberry and afterwards  the duration for the six commands was about 1,5 seconds. It seems to last longer with each day without reboot. Today it takes about 2,5 seconds. I'll have an eye on that.

br. Christian