On System#Boot do
Publish /%sysname%/online,{"ip":"%ip%"}
timerSet,1,60
endon
On Rules#Timer=1 do
Publish /%sysname%/online,{"ip":"%ip%"}
timerSet,1,60
endon
Created
December 31, 2017 12:13
-
-
Save molda/f6d2dd2c6d857d210472fd05be404ae7 to your computer and use it in GitHub Desktop.
Rules for ESPEasy to report ip every 60s using mqtt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment