Help with rules

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
albertobonati
Normal user
Posts: 40
Joined: 13 Dec 2016, 15:25

Help with rules

#1 Post by albertobonati » 20 Feb 2020, 21:23

Hi.
I have a problem with rules.
I'm trayng to send a command to "7-segment display" via rules, sending a simple value of a dummy device.
Dummy device named dum, value named pippo:
I try with:

On dum#pippo = "0" do
cmd = 7dn,9999
endon
O
ther settings of 7-segment display works fine, http command is ok to...
What I have to do???

Thanks

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Help with rules

#2 Post by grovkillen » 20 Feb 2020, 22:36

Code: Select all

On dum#pippo=0 do
 7dn,9999
endon
Or if you're interested in adding the dummy value to the display:

Code: Select all

On dum#pippo do
 7dn,[dum#pippo]
endon
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 :idea: :idea: :idea:

albertobonati
Normal user
Posts: 40
Joined: 13 Dec 2016, 15:25

Re: Help with rules

#3 Post by albertobonati » 21 Feb 2020, 20:41

Many thanks...it work!
Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 107 guests