Home detection & Fibaro dimmer 2 button pressed
Posted: Tuesday 16 January 2018 9:40
Hi there,
I would like to build a (sophisticated) Lua script that detects if somebody is at home. I am already tracking the mobile phones via location services, but I also would like to use my fibaro dimmer 2 (z-wave) to detect if somebody is home. For that I need to know if the light is switched on or off, whether it was done by some kind of trigger (from Domoticz) or if somebody just pressed the switch connected to dimmer.
so basically what I want to do a check after finding testing devicechanged['dimmer x']. how would this be achievable?
I would like to build a (sophisticated) Lua script that detects if somebody is at home. I am already tracking the mobile phones via location services, but I also would like to use my fibaro dimmer 2 (z-wave) to detect if somebody is home. For that I need to know if the light is switched on or off, whether it was done by some kind of trigger (from Domoticz) or if somebody just pressed the switch connected to dimmer.
so basically what I want to do a check after finding testing devicechanged['dimmer x']. how would this be achievable?