Page 1 of 1

Home automation / MQTT firmware

Posted: Sat Sep 14, 2019 7:26 pm
by faljse
im in the process of renovating my family home and chose controllino as my home automation device.

.) light switches are running on 24V/DI on controllino
.) lights are connected to relay on controllino DO
.) light switches are pushbuttons
.) Multiple control cabinets (˜4) will be distributed around the house to keep cable lengths manageable
.) controllinos will be connected to a mqtt broker to handle smart stuff.
.) Regular light switching should work without network, mqtt, respberry etc.
-> must be handled within controllino.

My first attempt is
configuration can be done like this:

Code: Select all

Light lights[] = {
 Light(false, CONTROLLINO_A0, CONTROLLINO_DO0, "lampe1"),
 Light(false, CONTROLLINO_A1, CONTROLLINO_DO1, "lampe2") 
lamp is off by default, A0 is control input, DO0 is relay out, mqtt topic will be cmnd/lampe1/power and stat/lampe1/POWER
It already functions up to this point.

Additional things i will implement:
.) Multiway switching
.) Time switch
.) Long-Press/Double click detection (e.g. for a panic or all-off function)

Ideas, Suggestions, Criticism? Tell me!


Re: Home automation / MQTT firmware

Posted: Tue Nov 19, 2019 9:11 pm
by flygare
If you want to use dimmers with the system, I think you could use Eltako LUD 12-230 units and control them with the pwm output. They take 100Hz PWM 12-30V or something like that. I use them in my house and control them with adafruits pwm servo shield over I2C

Re: Home automation / MQTT firmware

Posted: Thu Apr 23, 2020 12:20 pm
by WimC56
;) ;)