nice way to work with home presence detection
Posted: Monday 11 December 2017 21:58
hi guys,
I am quite new to domoticz - so far i was using it for a year only for heating control and for couple of switches. All devices i have were triggered or configured only via default domoticz GUI config (like set temperature on time, switch on/off socket on time, etc).
recently got couple of PIR sensors and started playing with lua scripts to switch on/off lights based on detected motion.
Now I am thinking about making presence detection at home to shutdown lights and heating if no motion detected for 12 hours for example. I clearly see how i can make it with lua scripts however I can't imagine how lua scripts can co-exist with time based actions in domoticz GUI.
Do I understand right that all time based settings in GUI i should replace with settings applied from lua scripts? or is there a way where both (GUI and scripts) can co-exist without making the setup extremely complicated to manage?
thanks
I am quite new to domoticz - so far i was using it for a year only for heating control and for couple of switches. All devices i have were triggered or configured only via default domoticz GUI config (like set temperature on time, switch on/off socket on time, etc).
recently got couple of PIR sensors and started playing with lua scripts to switch on/off lights based on detected motion.
Now I am thinking about making presence detection at home to shutdown lights and heating if no motion detected for 12 hours for example. I clearly see how i can make it with lua scripts however I can't imagine how lua scripts can co-exist with time based actions in domoticz GUI.
Do I understand right that all time based settings in GUI i should replace with settings applied from lua scripts? or is there a way where both (GUI and scripts) can co-exist without making the setup extremely complicated to manage?
thanks