Search found 2 matches

by elakdmico
01 Jun 2022, 18:20
Forum: ESP Easy: Projects / Applications
Topic: Analog values through Rules - MQTT
Replies: 13
Views: 5566

Re: Analog values through Rules - MQTT

WOW Incredible, you are a genius. I also managed to understand how the Timers work in the Rules! this is my tweaked code On System#Boot do //When the ESP boots, do looptimerset_ms,1,1000 //Set loop timer #1 to create an event every 1000 msec endon on Rules#Timer=1 do let,2,abs([var#1]-[Potencia#Anal...
by elakdmico
01 Jun 2022, 15:36
Forum: ESP Easy: Projects / Applications
Topic: Analog values through Rules - MQTT
Replies: 13
Views: 5566

Analog values through Rules - MQTT

Hi! I need to send values of an analog potentiometer by MQTT. I can't find a way to create a rule to send the values only when they change. If the potentiometer doesn't move, I don't want any message to be sent. When it moves I want it to send them to the MQTT broker so that they can be treated in N...