I love LUA scripting: with a small piece of code it's possible to reduce energy consumption and improve antitheft security.
The script is available at https://github.com/CreasolTech/domoticz_lua_scripts
The script checks the vehicle distance and compare with previous distance to determine if vehicle is approaching or moving away, and use this data to enable/disable gate power supply. As the gate circuitry normally consumes 6-10W, in this way it's possible to save more than 40kWh/year, 400kWh in 10 years!
The burglar alarm system in Domoticz already turns gate power supply OFF when alarm level is NIGHT and AWAY, to prevent thieves from opening the gate
Enable disable gate power supply based on vehicle position
Moderator: leecollings
- psubiaco
- Posts: 194
- Joined: Monday 20 August 2018 9:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Italy
- Contact:
Enable disable gate power supply based on vehicle position
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
Who is online
Users browsing this forum: No registered users and 0 guests