Page 1 of 1

assign task value to a quad dummy device field

Posted: 15 Oct 2017, 05:02
by rayE
I want to retrieve the WiFi level and assign this to one field of a quad dummy device. So i will set up a "sys info" task and un-tick the "send to controller" box. From my basic understanding i will then set up a rule that triggers once the "sys info" event has happened then assigns the WiFi level value to a dummy device using the "TaskValueSet" command.

Can someone help me out with the rule syntax to do this?

TIA

Ray

Re: assign task value to a quad dummy device field

Posted: 15 Oct 2017, 10:23
by rayE
The answer is READ THE DOCUMENTATION :?

Code: Select all

on WiFi#WiFiLevel do                                //On the WiFi signal strength event
TaskValueSet 2,2,[WiFi#WiFiLevel]           //Assign the value to field 2 in task 2
endon                                                     //End rule

Re: assign task value to a quad dummy device field

Posted: 15 Oct 2017, 11:24
by rayE
As a note! i do find the WiKi index page "lacking" in the ability to find specific information. Instead iv resorted to a google on the topic of interest.

But apart from that ESP Easy is SO NICE to use, well done guy's and gals :)

Ray