Hello, this is my first post so welcome to the forum. The topic is quite vast - so I'd like to sort out a bit of what I've already read, and I wouldn't want to reinvent the wheel and duplicate the mistakes of other installers
First thing - at this stage I'm not interested in any off-the-shelf solutions like Fibaro etc, I'm also not interested in DIY wireless solutions or off-the-shelf solutions like KNX etc. I have the possibility of laying cables, so I would like to limit the amount of mess flying over the radio waves to a minimum. Of course, the system should be able to connect such ready-made solutions, because I am sure I will forget something or some other idea will come to mind, and then if I do not have copper nearby, I will use radio waves.
What I have planned for myself:
1) control of lighting in the house as well as outside
2) control of 230V sockets and socket circuits)
3) Control of audio/video equipment
4) Control of room temperature (underfloor heating)
5) External weather station
6) automation of garden watering
7) integration with alarm - e.g. Satel Integra or something similar - although I would not like the control unit to control the whole system - rather I would like to use PIR sensors, smoke etc.
8) control of external blinds
9) possibility of shutting off the main water valve
10) reed switches in doors - for actions like light on, light off, etc
11) I'm sure I've forgotten something
The first thing is to choose the 'type' of system - distributed or central.
Distributed has its advantages but it also has disadvantages. Theoretically, there is no single point of failure, but on the other hand, when several executive modules with microcontrollers go down, things are not so rosy. This is where I am considering HAPCAN, but probably without the additional elements. Although this system has some limitations, and I would certainly link it to a central system of some kind, in order to be able to expand it.
Anyway, I would like to build a normal installation first and gradually introduce automation, e.g. using some group switches which would allow to switch control between manual and "intelligent" circuits.
That's why I'd be inclined towards star wiring - meaning that all circuits go to one or two switchboards (one in the garage, the other on the first floor).
It's a question of whether I'll have the space for a second switchboard so that I don't hear the relays clacking. The plus side is that there would be far fewer wires going to the ground floor - basically phase and control wires to connect the floor's actuators to the "switchboard"
The whole controlled with e.g. Domoticz + RFLink to whatever I forget and connect wirelessly using off-the-shelf or e.g. from MySensors and DIY on some arduino nano with 433 modules. Domoticz because it has lua and python scripts - and in fact, if I saw correctly, you can run any script/program in shell. This gives unlimited possibilities really.
I've also been looking at HomeGen, which seems equally interesting, although I guess it's harder to implement your own add-ons.
As for the detectors: DS18B20 temperature sensors in switches, mono and bi-stable switches - depending on their function, PIR or smoke detectors I would like to use from the alarm, dusk detector, outdoor weather station, soil moisture sensors (this is just a question of the future ;P) to be used for garden automation, humidity detectors if it is possible to use them to control recuperation or some humidifiers
As for the implementation of all this
Ad1 - relays controlled from the central system. Anyone recommend any worthwhile ? On banggood I see, for example, sets of 16 relays with optoisolation 230V/10A AC , 30V/10A DC at a fairly good price. The question is whether these won't fall apart after 20 "flaps".
Ad2 - contactors controlled from a central system - theoretically there are 16A relays but I don't want to pull each socket to the switchboard and want to control the circuits of several sockets. I don't want to think about whether my wife's curling iron and my daughter's hairdryer will accidentally exceed the permissible load on the circuit
A few sockets like the fridge etc will probably be on their own circuit (if only to be able to switch off all the sockets except those that need to be "online" 24 hours a day).
Ad3 - here Domoticz + Kodi (as a media centre with NAS) - + possibly an IR transmitter for equipment that cannot be controlled otherwise than via IR
Ad4 - I haven't touched on this subject yet, although it seems that there are simply electro-valves there.... so it's just a matter of connecting enough wires to the switchboard to be able to control them...
Ad5 - here, from my own based on e.g. arduino with 1wire etc. to some ready-made device, which will transmit e.g. by 433 data to mysensors or rflink etc. .
Ad6 - the topic has not been touched so far - as a distant topic - but I have seen some ready projects on arduino or raspberry pi so you will be able to see something and probably use it.
Ad7 - what is certain is that I would not like to make the alarm a control panel for the house. One, that the alarm is mainly to be used for alarming ;P Two, any damage causes a problem. I can live without an alarm, the rest of the house is supposed to work.
What I would definitely like to use are PIR or presence detectors, reed switches at windows etc. Mainly for alarming me that e.g. windows are open when it's raining etc., or controlling lights at night when I go to the toilet etc
Ad8 - here usually relays to start roller shutter motors. Dependent on dusk detector, wind, temperature etc.
Ad9 - here it is probably a simple matter - some kind of electro-valve with a bypass - as if the power fails, unless I place a UPS or some kind of power generator for circuits that should have power supply 24/7
Ad10 - I don't know if this is useful, the only thing I can think of is lighting control or information that e.g. the door from the boiler room to the outside or the terrace door is open. The lighting control can in theory be replaced by a presence detector - the question is to what extent in practice such a sensor makes a "false positive" and turns on the light when you are not present?
On the other hand, a door left open, which is probably the norm, would also take the system apart ? This would still have to be integrated with the motion detector. This is probably not very practical ? Does anyone have one? Can confirm that it is actually useful ?
Ad11 - we know that we can't predict everything, what I won't be able to do with the cable technology after the plastering, I will want to add power with the radio - whether 433 or higher.
The most important thing is how to connect all this?
Raspberry PI 3 - 40GPIO, Arduino Mega - 54 digital inputs, I think 16 pwm - ideal for controlling e.g. led sets, even ws2801 can be easily controlled. I don't think there will be enough such inputs anyway. Any multiplexer? Can something like that be done? Or simply a few such uC's integrated with one main one. Only then there is the question of backup - in the case of Raspberry - a few CFs + one board and a person who does not have a clue about electronics will change it. Arduino ? Not so good here - even if I have programmed procs with backup configuration. On the other hand - I keep thinking about the main switch - which will simply cut off the intelligence and provide manual control of the main functionalities, i.e. lighting + sockets + home heating + roller shutters. Anyway, as I wrote in the introduction - I want to start with a "dumb" house and add "intelligence" later on in small steps etc, so this solution would be ideal for me.
As far as my skills are concerned, as I'm sure there will be a lot of talk about thousands of designers sitting on Fibaro, KNX etc expensive systems. Yes, I know that you pay for ready-made, proven solutions, but personally I think that the name smart home - intelligently increases the price of the solution
I did simple things in AVR, Arduino also played with, I am able to handle some things - even some things I have already arranged on my desk. I don't think that controlling relays or contactors with uc based on information from inputs is so complicated that you can't do it DIY and have to pay sick money. Although the fact is I lack experience - but mainly in terms of: "which components to use" - mainly concerns relays or contactors - as these will be the most exploited. Although proven detectors I am also keen to know, as there are quite a few on the market.
Intelligences in the form of - if the twilight detector has detected dusk, close the roller blinds, turn on the evening scene, turn on the lawn sprinkler, or if it is raining, report open windows, do not water the lawn, if the motion detector has detected movement and it is night, turn on the emergency floor lights, if the alarm is armed - turn off all sockets, lights except the fridge, aquarium, etc. Most of this type of intelligence is based on reading data from some sensor anyway and reacting by turning on/off some output.
In fact, if I don't have any additional devices and if I enclose everything in a switchboard and have the possibility to switch to manual control, it doesn't really matter whether it's a bus in the switchboard or a single control panel. Apart from the fact that I may have a lot of actuators on the bus which may fail.
Phew, if you made it to the end, well done - lots of content but not much detail - but it's hard to cover such a big topic in one post. I would like to focus on individual components in smaller steps. I do not expect any ready-made schemes or solutions, but rather tips on what to look for in order to realise these ideas.
First thing - at this stage I'm not interested in any off-the-shelf solutions like Fibaro etc, I'm also not interested in DIY wireless solutions or off-the-shelf solutions like KNX etc. I have the possibility of laying cables, so I would like to limit the amount of mess flying over the radio waves to a minimum. Of course, the system should be able to connect such ready-made solutions, because I am sure I will forget something or some other idea will come to mind, and then if I do not have copper nearby, I will use radio waves.
What I have planned for myself:
1) control of lighting in the house as well as outside
2) control of 230V sockets and socket circuits)
3) Control of audio/video equipment
4) Control of room temperature (underfloor heating)
5) External weather station
6) automation of garden watering
7) integration with alarm - e.g. Satel Integra or something similar - although I would not like the control unit to control the whole system - rather I would like to use PIR sensors, smoke etc.
8) control of external blinds
9) possibility of shutting off the main water valve
10) reed switches in doors - for actions like light on, light off, etc
11) I'm sure I've forgotten something
The first thing is to choose the 'type' of system - distributed or central.
Distributed has its advantages but it also has disadvantages. Theoretically, there is no single point of failure, but on the other hand, when several executive modules with microcontrollers go down, things are not so rosy. This is where I am considering HAPCAN, but probably without the additional elements. Although this system has some limitations, and I would certainly link it to a central system of some kind, in order to be able to expand it.
Anyway, I would like to build a normal installation first and gradually introduce automation, e.g. using some group switches which would allow to switch control between manual and "intelligent" circuits.
That's why I'd be inclined towards star wiring - meaning that all circuits go to one or two switchboards (one in the garage, the other on the first floor).
It's a question of whether I'll have the space for a second switchboard so that I don't hear the relays clacking. The plus side is that there would be far fewer wires going to the ground floor - basically phase and control wires to connect the floor's actuators to the "switchboard"
The whole controlled with e.g. Domoticz + RFLink to whatever I forget and connect wirelessly using off-the-shelf or e.g. from MySensors and DIY on some arduino nano with 433 modules. Domoticz because it has lua and python scripts - and in fact, if I saw correctly, you can run any script/program in shell. This gives unlimited possibilities really.
I've also been looking at HomeGen, which seems equally interesting, although I guess it's harder to implement your own add-ons.
As for the detectors: DS18B20 temperature sensors in switches, mono and bi-stable switches - depending on their function, PIR or smoke detectors I would like to use from the alarm, dusk detector, outdoor weather station, soil moisture sensors (this is just a question of the future ;P) to be used for garden automation, humidity detectors if it is possible to use them to control recuperation or some humidifiers
As for the implementation of all this
Ad1 - relays controlled from the central system. Anyone recommend any worthwhile ? On banggood I see, for example, sets of 16 relays with optoisolation 230V/10A AC , 30V/10A DC at a fairly good price. The question is whether these won't fall apart after 20 "flaps".
Ad2 - contactors controlled from a central system - theoretically there are 16A relays but I don't want to pull each socket to the switchboard and want to control the circuits of several sockets. I don't want to think about whether my wife's curling iron and my daughter's hairdryer will accidentally exceed the permissible load on the circuit
Ad3 - here Domoticz + Kodi (as a media centre with NAS) - + possibly an IR transmitter for equipment that cannot be controlled otherwise than via IR
Ad4 - I haven't touched on this subject yet, although it seems that there are simply electro-valves there.... so it's just a matter of connecting enough wires to the switchboard to be able to control them...
Ad5 - here, from my own based on e.g. arduino with 1wire etc. to some ready-made device, which will transmit e.g. by 433 data to mysensors or rflink etc. .
Ad6 - the topic has not been touched so far - as a distant topic - but I have seen some ready projects on arduino or raspberry pi so you will be able to see something and probably use it.
Ad7 - what is certain is that I would not like to make the alarm a control panel for the house. One, that the alarm is mainly to be used for alarming ;P Two, any damage causes a problem. I can live without an alarm, the rest of the house is supposed to work.
What I would definitely like to use are PIR or presence detectors, reed switches at windows etc. Mainly for alarming me that e.g. windows are open when it's raining etc., or controlling lights at night when I go to the toilet etc
Ad8 - here usually relays to start roller shutter motors. Dependent on dusk detector, wind, temperature etc.
Ad9 - here it is probably a simple matter - some kind of electro-valve with a bypass - as if the power fails, unless I place a UPS or some kind of power generator for circuits that should have power supply 24/7
Ad10 - I don't know if this is useful, the only thing I can think of is lighting control or information that e.g. the door from the boiler room to the outside or the terrace door is open. The lighting control can in theory be replaced by a presence detector - the question is to what extent in practice such a sensor makes a "false positive" and turns on the light when you are not present?
Ad11 - we know that we can't predict everything, what I won't be able to do with the cable technology after the plastering, I will want to add power with the radio - whether 433 or higher.
The most important thing is how to connect all this?
Raspberry PI 3 - 40GPIO, Arduino Mega - 54 digital inputs, I think 16 pwm - ideal for controlling e.g. led sets, even ws2801 can be easily controlled. I don't think there will be enough such inputs anyway. Any multiplexer? Can something like that be done? Or simply a few such uC's integrated with one main one. Only then there is the question of backup - in the case of Raspberry - a few CFs + one board and a person who does not have a clue about electronics will change it. Arduino ? Not so good here - even if I have programmed procs with backup configuration. On the other hand - I keep thinking about the main switch - which will simply cut off the intelligence and provide manual control of the main functionalities, i.e. lighting + sockets + home heating + roller shutters. Anyway, as I wrote in the introduction - I want to start with a "dumb" house and add "intelligence" later on in small steps etc, so this solution would be ideal for me.
As far as my skills are concerned, as I'm sure there will be a lot of talk about thousands of designers sitting on Fibaro, KNX etc expensive systems. Yes, I know that you pay for ready-made, proven solutions, but personally I think that the name smart home - intelligently increases the price of the solution
Intelligences in the form of - if the twilight detector has detected dusk, close the roller blinds, turn on the evening scene, turn on the lawn sprinkler, or if it is raining, report open windows, do not water the lawn, if the motion detector has detected movement and it is night, turn on the emergency floor lights, if the alarm is armed - turn off all sockets, lights except the fridge, aquarium, etc. Most of this type of intelligence is based on reading data from some sensor anyway and reacting by turning on/off some output.
In fact, if I don't have any additional devices and if I enclose everything in a switchboard and have the possibility to switch to manual control, it doesn't really matter whether it's a bus in the switchboard or a single control panel. Apart from the fact that I may have a lot of actuators on the bus which may fail.
Phew, if you made it to the end, well done - lots of content but not much detail - but it's hard to cover such a big topic in one post. I would like to focus on individual components in smaller steps. I do not expect any ready-made schemes or solutions, but rather tips on what to look for in order to realise these ideas.