Home automation / MQTT firmware

Built something cool with CONTROLLINO? Show it here!
Post Reply
faljse
Posts: 1
Joined: Sat Sep 14, 2019 7:02 pm

Home automation / MQTT firmware

Post by faljse » Sat Sep 14, 2019 7:26 pm

Hi,
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 https://github.com/faljse/iodub
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!

faljse

flygare
Posts: 4
Joined: Fri Apr 19, 2019 8:47 am

Re: Home automation / MQTT firmware

Post by flygare » Tue Nov 19, 2019 9:11 pm

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

Post Reply