I tried the script with my tomato router.
It does work... however...
I have a AP on every floor (range problems).
So if I am on the upper floor I am not getting noticed by the router that is running the script.
So it turns Domoticz switch off.
I also have AP.
And i'm getting two MACs. One is real MAC, and second is virtual MAC:
- real one
- virtual, from AP
You just have to treat it like another device and write another line for it:
Code: Select all
The advantage of this is that You know where You are, in which room/floor (at what AP)
I've made something like that - viewtopic.php?f=23&t=31&start=100#p27521
- first blocky
Two of them, for my wife two MACs - Domoticz know my wife is home, and my two MACs - Domoticz know i'm home. Then third blocky, with both of them, to check if we are in home.
I know i could probably make it with one blocky, but now, as i said, i can also check where in home we are, and let say...turn lights off in area, where nobody is pesent