assign task value to a quad dummy device field

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
rayE
Normal user
Posts: 144
Joined: 12 Oct 2017, 12:53
Location: Philippines

assign task value to a quad dummy device field

#1 Post by rayE » 15 Oct 2017, 05:02

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

rayE
Normal user
Posts: 144
Joined: 12 Oct 2017, 12:53
Location: Philippines

Re: assign task value to a quad dummy device field

#2 Post by rayE » 15 Oct 2017, 10:23

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

rayE
Normal user
Posts: 144
Joined: 12 Oct 2017, 12:53
Location: Philippines

Re: assign task value to a quad dummy device field

#3 Post by rayE » 15 Oct 2017, 11:24

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

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 21 guests