Easy Esp based WiFi monitor

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
ljoncz
Normal user
Posts: 1
Joined: 11 Sep 2019, 16:11

Easy Esp based WiFi monitor

#1 Post by ljoncz » 11 Sep 2019, 16:28

Hi,

I have few WiFi networks in my hose.
I'd like to build a WiFi monitor that checks if the networks are up and sends the relevant status to Domoticz

I'm thinking about something like this, but I have no clue how to handle output from WifiScan command. Any ideas?

Code: Select all

on WiFi#Connected do
   timerSet,1,60
endon

on Rules#Timer=1 do
   <pseudo code starts here>
   list_of_wifis = WifiScan
   if 'My Wifi1' in list_of_wifis 
      send status 1 to Domoticz 
   else 
      send status 0 to Domoticz
   end
   (repeat for each wifi)
   <pseudo code ends here>
   timerSet,1,60
endon
Cheers
Lech

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

Re: Easy Esp based WiFi monitor

#2 Post by grovkillen » 11 Sep 2019, 19:58

Sorry, you cannot reach the scan results. You could open a feature request on GitHub. Explain the intended use case.
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 17 guests