Documentation ?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
User avatar
Normal user
Posts: 84
Joined: 29 Dec 2016, 18:13
Location: Toronto Canada

Documentation ?

#1 Post by uxhamby » 30 Nov 2019, 00:41

Does the information, to do with publishing system variables, under the "Report IP every 30 seconds using MQTT" heading in the document at: ... using-mqtt

Apply to ESPEASY version mega-20180809 ?

Core team member
Posts: 4850
Joined: 01 Sep 2017, 22:13
Location: the Netherlands

Re: Documentation ?

#2 Post by TD-er » 30 Nov 2019, 01:07

I'm not sure whether those system variables already existed back then and if they were already available it is possible those were not parsed everywhere like they are now.

Just to keep the information a bit together (and to keep a copy of that rules example for reference here), this is the code linked in the opening post:

Code: Select all

On System#Boot do    //When the ESP boots, do
 timerSet,1,30      //Set Timer 1 for the next event in 30 seconds

On Rules#Timer=1 do  //When Timer1 expires, do
 timerSet,1,30       //Resets the Timer 1 for another 30 seconds

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests