This is my first LUA-script for Domoticz. I have a TV-bench where I have all my media devices, media-computer, av-receiver and game consoles…
The bench is rather small, which led to it become very hot in it. My solution was to mount PC-fans to ventilate out the hot air.
To control my fans I used a 433Mhz switch. I also added a temperature sensor and wrote a small thermostat script for Domoticz.