Hello friends,
I'm about to build a house and interested in automating it as much as it makes sense. I started doing some research and didn't find anything that would match my needs and/or budget. So I thought let's build it myself. (I'm a software engineer with some basic hardware knowledge)
After some more research I came across different possible platforms, among others the Arduino which got my attention most. So I bought a Mega Kit with lots of sensors/actors. After a full weekend of fun I had almost everything working which was a great motivation (and big kudos to all the folks involved to make it so simple!)
Next I started to think about the topology. After some more research I decided to take a Raspberry Pi as the main brain/server and several Arduinos in each room. The server shall run openhab, the communication to happen per MQTT. Another fun weekend and this part was also working.
So now I'm basically at a point where I could start implementing/prototyping. But I have many guidance questions where I hope YOU can tell me if I should go my way or do it differently.
So let's go into the details:
SUMMARY - WHAT I WANT
- Automate light, indoor/outdoor weather monitoring with heating/cooling settings, Multimedia control (music and video), Security (CCTV, alarm system, windows/doors), Energy monitoring, ...
- I DON'T want to be able to open/close/lock/unlock doors or windows. Old school keys shall still do the work here But I want to monitor their state and see e.g. if a door or window is left open
SUMMARY - HOW I WANT TO BUILD IT
- As I mentioned, the brain is planned to be a Raspberry Pi with Openhab and a MQTT broker
- Each room will get an Arduino connected to Ethernet and PoE. Each Arduino is connected to a 5" LCD touch display where you can get and set values.
- Each Arduino is connected to a relais board from which you control the high voltage sources like light, TV, etc.
- Each room will get ceiling speakers where I can play back music
- Use the openhab app to control things through mobile devices
This should hopefully give a basic idea of my intentions. Now my questions (and I'm sure there will be more coming )
- What's your overall opinion? Any objections/confirmation of any of the ideas above?
- Server side with RPi and Openhab: Openhab seems overblown, takes even minutes to fully start which is ridiculous. But I couldn't find any better alternative. Any suggestions/recommendation/experience?
- The relais boards all seems to be those with the blue relais (SRD-05VCD-SL-C) and all coming directly from China. I had to send already two boards back because at least one relais didn't work. And I want to control high voltage devices. I don't want to see my kid's room on fire tomorrow and regret the project. Any recommendations on good high voltage/current relais boards?
- Music playback: I'd like to stream from the internet, or a local music library or directly from my phone to the speakers in each room. Thereby I'd like to choose if to a single room or multiple rooms. (e.g. room1 play a stream from the internet, room2 and room3 play the same playlist in sync from a local library and room4 plays from a mobile device). I was thinking of mounting some sort of music shield on each Arduino which can play back the music that comes from the network (locally or from outside). Is this possible? I probably also need a music server, right? If yes, anyone that you would recommend? If not, how shall this be done?
- Video playback: I'd like to have a few sources (cable, game console, DVD player, streaming device e.g. Apple TV or Chromecast, etc.). They would all sit in one room maybe. And I can e.g. choose game console on TV in room3, DVD on TV in room2, etc.). Obviously I won't have several loooong HDMI cable to each room. Instead I was thinking of some sort of HDMI2Ethernet on the source side and Ethernet2HDMI on the client/TV side. And I'd like to choose from the different channels that might exist on the network due to the different sources. Any recommendations/hints/ideas?
- CCTV: Here I have spent the least amount of time and did the least research so far. Any recommendation what (not) to pick or what the requirements are? I'd like to use network PoE cameras if possible. What kind of equipment shall I use/ is recommended to capture/store the data from the cameras?
- Energy monitoring: Best case I'd like to have one power line from the fuse box to each room except where a dedicated line is required (stove, boiler, etc.). And I'd like to monitor and store the data of energy that flows through each line so that I can see when which room is drawing how much power. I think next to comfort, with some intelligent there can be some energy saving if you automate your home correctly.
- Client side with Arduino: I'd like to stick with the Arduino but I thought already several times to also use a RPi or a more powerful device for the clients. They would be more powerful and I could even play music/Video on the attached screens (e.g. from the CCTV). Any comments/experience considering the features I'd like to have?
COSTS
I know that this project won't be cheap. I'm not a millionaire but I'm ok to spend some money on good electronic equipments. I'd like to build as much as possible myself but ok to choose from ready components (e.g. the cameras) where it makes more sense. And I'm ok to spend a few more €€€ for better equipment than the cheap version which is unsafe or breaks in 2 months.
It would be great if you could help me with your experience through this journey.
Thanks,
Amir