rule and wifi status

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

rule and wifi status

#1 Post by riker1 » 03 Mar 2019, 12:49

Hi
I want to check if esp is still connected

having a looping trigger rule and wanted to check something like

Code: Select all

wifi#connected=1
in an if statement.

but this is not working.

Log is not showing any hints to me.

how to use

Code: Select all

wifi connect status
in an if condition

thanks T

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

Re: rule and wifi status

#2 Post by grovkillen » 03 Mar 2019, 13:52

https://espeasy.readthedocs.io/en/lates ... vents.html

So you can use the event like you tried except remove the "=1" part
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:

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: rule and wifi status

#3 Post by riker1 » 04 Mar 2019, 09:37

hi
ok thanks,

so I can only use the event and set a own taskvalue for the status, right?

there is nothing like for GPIO to check the status?

thanks

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

Re: rule and wifi status

#4 Post by grovkillen » 04 Mar 2019, 11:19

No nothing like that no.
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:

Post Reply

Who is online

Users browsing this forum: No registered users and 35 guests