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
Lech