Hereunder a simplified piece of code in rules.
I want to Publish domoticz to be executed every 10 seconds.
I had expected this code works but no, it does not.
What is wrong?
-Bart
Code: Select all
On System#Boot do
timerSet,1,10
endon
On Rules#Timer=1
Publish domoticz/in, '{ "idx":985, "svalue":"0;0;0;[Energy#Wh];[Power#W];0"}'
endon