LUA script to prevent smoke entering your house

Moderator: leecollings

Post Reply
User avatar
psubiaco
Posts: 222
Joined: Monday 20 August 2018 9:38
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Italy
Contact:

LUA script to prevent smoke entering your house

Post by psubiaco »

Do you need to stop ventilation when wind comes from certain directions, to avoid combustion smoke entering your house?
I've written a simple LUA script for domoticz that automatically stops ventilation if there's no wind, or wind from certain directions, otherwise starts ventilation again.
The script is available in github, name script_time_rainCheck.lua
It also disable one or more devices when it rains heavily (I used this function to disable external socket in the garden connected to the Christmas tree).

https://github.com/CreasolTech/domoticz_lua_scripts
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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest