https://hackaday.io/project/195309-my-fully-custom-home-automation-system Hackaday.io Hackaday.io Projects Recently Updated Most Likes Newest Project Lists Discover Contests Courses Stack More Courses Tutorials Events Hackerspaces Hackaday.com Tindie Marketplace [ ] Sign up Log in Close 0% 0% My fully custom home automation system Built from the microcontroller up using rs486 and 2 km of CAT6. bernard-kerckenaereBernard Kerckenaere Following Follow project Liked Like project Become a Hackaday.io member Not a member? You should Sign up. Already have an account? Log in. Sign up with Github Sign up with Twitter OR [ ] [ ] [*] Remember me [ ] [captcha] Sign up Forgot your password? Just one more thing To make the experience fit your profile, pick a username and tell us what interests you. Pick an awesome username [link] hackaday.io/ [ ] [complete-c] Your profile's URL: hackaday.io/username. Max 25 alphanumeric characters. Pick a few interests Projects that share your interests People that share your interests We found and based on your interests. Choose more interests. OK, I'm done! Skip Join this project Similar projects worth following 1 comments 1 followers 3 likes * Description * Details * Files 0 * Components 0 * Logs 0 * Instructions 0 * Discussion 1 View Gallery 1 1 3 Team (1) * bernard-kerckenaereBernard Kerckenaere Join this project's team * Project website completed project hardware domotica home automation arduino raspberry pi rs486 Related lists DIY SCADA / smart home A list for all DIY smart home projects This project is submitted for * 2024 Sweet Home Automation This project was created on 03/21/2024 and last updated 3 days ago. Description The home automation system I built over the past 15 years. Run by a raspberry pi and 32 arduino mini 04 boards. Connecting: * 31 sensor combinations * 28 two button wall switches * 8 thermostats * 29 lights * 3 dimmers * 17 switchable power sockets * 6 blinds * 2 doors (with smart lock electrolocks) * the garagedoor * 10 speakers Over 164 cables, or 2 km, of CAT6 terminated in four 48 port RJ45 patch panels, patched to eight 24 port patch panels, each of which holds four custom PCBs with an arduino plugged in. Details When we bought our house back in 2009 I started looking at the available domotica options on the market. And the one thing they all had in common at the time was their non-interoperability (and being extraordinarily expensive, as in 1000 euro for a module with four relays). So I decided to design my own system, so as not to be restricted in what I could connect and control, now and in the future. I picked CAT6 as my carrier cable as it's cheap, has eight wires, and plenty of connector and patching options. The electrician put in 2km(!) of it throughout the house. I went with a star layout because it offers the most options in how to wire and control it all. 164 CAT6 cables (142 for the domotica, 22 for network) are terminated at four 48 port patch panels in a second hand (old telco) 19" rack in my home office. From there they are patched through to eight 24 port patch panels, each of which houses four domotica modules which are connected to six ports each. The first port on each module is used for the rs485 bus which the modules use to communicate with the master (originally a foxboard, then a nanos g20, and now a raspberry pi 3), the other five can be hooked up to a number of combinations of sensors and actors. The bus cables are patched to two extra 24 port patch panels which are wired up to a 2u panel with 32 leds and a five and twelve volt power supply. The raspberry pi has a custom rs485 hat (built using an arduino mega for its UARTs) and a UPS hat. Throughout the house there are 31 sensor combinations which measure light, temperature and detect movement. In the hallways, stair cases, basement and toilet the lights are controlled by movement. The modules I designed around the arduino mini 04. These communicate over rs485 with the master using a token based protocol. They get input from the 31 sensor combinations, 28 two button wall switches and 8 thermostats. And they give output to 29 lights, 3 dimmers, 17 switchable power sockets, 8 thermostats, 6 blinds, 2 doors (with smart lock electrolocks), and the garagedoor. I also still need to connect an electrovalve to fill the bath tub along with an ultra sonic range finder to detect whether the bath tub is full, and add a few sensors for the utilities and washer/dryer. The existing radiators I connected to the domotica system by using cheap HoneyWell HR20 thermostats, which I hooked up through their serial debug ports. In the kitchen I installed a second hand 23" touch screen, with another raspberry pi behind it, on which I can display the domotica UI, my recipes website, and control the music in the rooms. During the remodeling I had speakers put in all rooms (10 in total), for which I built five stereo amplifier modules, connected to an old media server with two sound cards. The sound server shares its case with my VM server. The amplifier modules are switched on by solid state relays, which are switched by the parallel port on the sound server. This gives us the ability to have separate music streams in each room. (Or the same streams in any combination of rooms.) As well as intercom capability. (Mainly used for the doorbell.) The doors are equipped with smart locks from Invited. I put remote controls for these in the ceiling as well, so I can open/lock the doors through the domotica. There happened to be just enough space in the bottom of the garage door button box to add one of those 2$ double optocoupled relay boards. (Well, after removing some plastic to make room for the IC, and relocating the headers to the bottom of the board.) At some point we installed solar panels, and will soon be forced to replace our analog electricity counter (which simply goes backwards when we're exporting electricity), with a digital one which will count import/export separately, and only give you a fraction of the import price for your export. To investigate whether a battery solution would make financial sense when this happens, I wanted to have a clear view... Read more >> View all details Enjoy this project? Share Discussions [ ] [Post comment] [ ] Log In/Sign up to comment Become a Hackaday.io Member Create an account to leave a comment. Already have an account? Log In . Sign up with Github Sign up with Twitter OR [ ] [ ] [ ] [captcha] Sign up [7177081684] stefan.schnitzer wrote a day ago * point Very nice system and neat execution, especially the cable management Are you sure? yes | no Similar Projects [submission] The 2016 Hackaday Prize [5866831468] Solar powered Raspberry Pi measuring greenhouse environmental data and driving some actors Project Owner Contributor Greenhouse Pi dotpidotDotPiDot [submission] The 2015 Hackaday Prize [9875111432] Creating home automation sensors and controllers that can be used around the house forming a mesh network for communication Project Owner Contributor Home automation using RF mesh network and arduino lewisLewis [submission] The 2016 Hackaday Prize [7797291578] Bringing Bluetooth/wifi streaming and USB/SD Card music to my auld car via the head unit's CD Changer port Project Owner Contributor Raspberry Pi Head Unit craig-hissettCraig Hissett [submission] The 2017 Hackaday Prize [8086901476] Automated aquarium monitor with Web GUI. daisychain units can control multiple tank all from the one master unit. PI/Arduino/ESP Powered Project Owner Contributor Aquariumatic craig-hissettCraig Hissett Does this project spark your interest? Become a member to follow this project and never miss any updates [ ][ ] [ ] [captcha] Become a member Going up? About Us Contact Hackaday.io Give Feedback Terms of Use Privacy Policy Hackaday API (c) 2024 Hackaday [impression] Yes, delete it Cancel Report project as inappropriate You are about to report the project "My fully custom home automation system", please tell us the reason. [ ] [Report] Send message [Hello, I really lik] Your application has been submitted. [Send] Remove Member Are you sure you want to remove yourself as a member for this project? Project owner will be notified upon removal. Remove Nevermind