Temperature,humidity,buzzer, blinds and alarm system control from bedroom!

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.

Moderator: leecollings

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

Temperature,humidity,buzzer, blinds and alarm system control from bedroom!

Post by psubiaco »

Hi
I'm using DomBusTH device mounted on a blank module near the bed, with 2 pushbutton switchs, to do several useful functions in a bedroom:
1. measure room temperature and relative humidity
2. activate buzzer output (piezo) when intrusion is detected (alarm system) and when someone ring the door bell
3. enable/disable the alarm system in night mode by a pushbutton
4. with the same pushbutton, enable/disable the white led on Creasol DomBusTH module (when alarm is in night mode, so when someone is in bed)
5. automatically activate the white led on DomBusTH module in case of power outage (weak emergency lamp) or in case of intrusion detection
6. connect a double pushbutton switch to control roller shutters
7. drive two external relays connected to the roller shutters motor

Image

About roller shutters, setting the Out1 of DomBusTH as OUT_BLIND, it automatically configures a Domoticz device as Venetian Blind with OPEN/CLOSE/STOP buttons, so you need to connect CLOSE relay on Out1 and OPEN relay on Out2: very simple/easy solution.

DomBusTH module is connected to a Raspberry via RS485 cable (2 wires for 115200bps data, 2 wires for 12V power supply) and a USB/RS485 adapter, so I have no RF in my bedroom. Also, to supply the domotic network, I use a 13.6V power supply unit connected to a 50Ah lead battery: in this way power can be supplied for several hours to the home automation system and videosurveillance, in case of power outage.

It's possible to connect more than 20 devices to the same RS485 bus, for a total of 255 I/O and sensors (this is a limit of Domoticz).

DomBusTH can be used by Domoticz through the available plugin (just a folder with few files to be copied in the domoticz/plugins directory).

You can also find some LUA scripts to get:
* complete alarm system management
* heat pump management (optimized to use the most energy from photovoltaic, if enabled)
* power management and optimization
* ....
on githup: 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