Search found 4 matches

by makon
05 Sep 2018, 10:18
Forum: ESP Easy: Software
Topic: Help with Rule. Dummy device update
Replies: 6
Views: 4113

Re: Help with Rule. Dummy device update

I dont understand anything... Log level INFO: SW : Switch state 0 Output value 1 142801: EVENT: Sensor1#State=1.00 142833: ACT : TaskValueSet 5,1,1+0+0+0 142847: ACT : TaskRun,5 142875: ACT : Publish /Entrance/MessageSize/Size,0 142954: Command: taskvalueset 142956: Command: taskrun 142960: Dummy: v...
by makon
04 Sep 2018, 17:55
Forum: ESP Easy: Software
Topic: Help with Rule. Dummy device update
Replies: 6
Views: 4113

Re: Help with Rule. Dummy device update

Thank you. on Sensor4#State do //MessageSize#Size = 1 TaskValueSet 5,1,[Sensor1#State]+[Sensor2#State]+[Sensor3#State]+[Sensor4#State] //MessageSize#Size = 2 TaskRun,5 Publish /%sysname%/MessageSize/Size,[MessageSize#Size] //it send 1 to broker!!! endon LOG: ACT : Publish /Entrance/MessageSize/Size,...
by makon
04 Sep 2018, 16:29
Forum: ESP Easy: Software
Topic: Help with Rule. Dummy device update
Replies: 6
Views: 4113

Help with Rule. Dummy device update

Hello. I have a rule: on Sensor4#State do TaskValueSet 5,1,[Sensor1#State]+[Sensor2#State]+[Sensor3#State]+[Sensor4#State] endon On MessageSize#Size do if [MessageSize#Size]=0 gpio,2,1 else gpio,2,0 endif endon And the Dummy device (MessageSize task 5) update interval is 600. Why does not the second...