Hi, for a sprinkler system use case, I want to use the Let,1,[VAR#1] variables to drive the functions of the sprinkler system. For instance, want to update the daily schedule, if the system should be in Auto / or manual mode, which legs to sprinkle today, how long, etc. The rules will then execute the schedules based on the variables. But, I want to update the variables daily for that schedule.
So, can one update the variables with mqtt somehow?
Rules "Let" variables, any way to set & change them with mqtt?
Moderators: grovkillen, Stuntteam, TD-er
Rules "Let" variables, any way to set & change them with mqtt?
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Rules "Let" variables, any way to set & change them with mqtt?
You want to update the VAR-value? Over MQTT?
Just send the commands to the cmd topic of that unit.
Just send the commands to the cmd topic of that unit.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Who is online
Users browsing this forum: No registered users and 32 guests