DIY Smart Home HUB + Home Assistant

Ғылым және технология

In this video, I'll show you how I built my Smart Home HUB.
JLCPCB ($2 for 1-4 layer PCBs; PCB assembly from $0): jlcpcb.com/SMA
STORE: store.smartsolutions4home.com/
Everyday Astronaut: • Starbase Tour with Elo...
If you like what I'm doing, consider supporting me:
PayPal.Me/ss4h

Пікірлер: 104

  • @cooperised
    @cooperised2 жыл бұрын

    I'm subscribed to a fair few "smart home" channels, but as an engineer this is far and away my favourite. Can't believe you don't have more subs!

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Thank you very much! You made me a day! :) As I'm an engineer myself, I really appreciate such kind words from a fellow engineer :)

  • @BenReese

    @BenReese

    2 жыл бұрын

    Well I'm convinced.... This is my first time coming across this channel so I'll subscribe.

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    @@BenReese Thanks, I appreciate it! :)

  • @generelspaz
    @generelspaz2 жыл бұрын

    I need to make every new dev watch this. Great explanation and examples of scope creep and YAGNI(you ain’t going to need it) and how to iterate as well as planning for maintenance! What ever your job is they don’t pay you enough. Subbed and rang that bell!!!!

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Thanks for such an awesome comment!! I'm glad you like my video. I didn't know the word YAGNI, but I love it! I'll definitely use it from now on :)

  • @shahidmustafa7768
    @shahidmustafa77682 жыл бұрын

    Video appeared in my timeline today and its worth watching. The amount of time, effort, thinking behind the concept is phenomenal.. you deserve a subscription.. keep it up.

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Wow, thank you!

  • @LooseOrangeJuice
    @LooseOrangeJuice Жыл бұрын

    Holy crap. You do it right, man. I hope this channel gets a lot more popular. This is super interesting and informative stuff.

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    Жыл бұрын

    I appreciate that!

  • @ronaldronald8819
    @ronaldronald88192 жыл бұрын

    Fantastic that i found your channel. I am busy wiring up a newly self build smart home. I also made the choice to take the same centralized approach but separated out the controllers R.Pi's and esp32's into a different cabinet. Ran into the same latency issue with Home Assistant. I do the switching directly with a esp32 that controls a relay the test's work fast and reliable. For now i am still in the wiring phase. Cheers i am gone follow your channel with interest!

  • @sundersquare
    @sundersquare Жыл бұрын

    super interesting to hear about the process and your decision making along the way. much more info that way and still entertaining

  • @ivancorrea5110
    @ivancorrea51102 жыл бұрын

    Great job as always! Can't wait to see more about the new version!!

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Coming soon :)

  • @amateurwizard
    @amateurwizard2 жыл бұрын

    This was recommended to me, I love it. I'm going to do something similar, keep up the great work.

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Thanks! Will do!

  • @nativeme2143
    @nativeme21432 жыл бұрын

    Hey! Perfect job! I've faced a lot of similar problems when I've built my system. I had also concerns about that "how that will be maintained or modified if I would decide to sell the house?". Due to that I decided to minimalize usage of DIY solutions and make it as much "reversable" to classic installation as possible. So I decided to partly abandon the idea of centralized point. That lead to reduction of cabling that is hard to organize in one place. I also thought about that "My family and friends are mostly not IT people" so when something will fuck up and i would not be around there will be major problem. So again - decentralized everything a little bit in that way that if something is broken I loose control only on that one device and usually I don't have to open fuse box to take care of the problem. Thanks for four time making these video's! Your channel i very undervalued. I'd like to see some PCB making tutorial from you! It's clear that you are doing it professionally. 🙂

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Thanks!! So far I wasn't worried about "what will happen if I sell the house", but of course you are right! This is a very valid question! I also tried to make my system "reversible", that's why my "smart" installations are parallel to the classic one. I've two sets of cables in the socket boxes :) If something happens to me, any electrician will be able to restore the installation to its default state before my integrations. Thank you for your fantastic comment and kind words! :) As for the "PCB making tutorial", I'm gonna do something like this for a long time. I'm trying to figure out what format it should be.

  • @saurabhmehra2753
    @saurabhmehra27532 жыл бұрын

    very nice 👌, look forward to the second version. also interested in preordering one for my flat.

  • @pangit9999
    @pangit99992 жыл бұрын

    Really good, looking forward to more details of the new one. More videos of interim updates would be great!

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Thank you, Sean!

  • @alpdemirel
    @alpdemirel2 жыл бұрын

    Very imressive love watching your videos. Especially the engineering aspect of it.

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Glad you enjoy it!

  • @cpyandy
    @cpyandy2 жыл бұрын

    I love to know more details about your smart home architecture~

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Do you mean this version from the video or the next (future) one?

  • @cpyandy

    @cpyandy

    2 жыл бұрын

    @@SmartSolutionsForHome Both if you can share

  • @Dr.paardekuth
    @Dr.paardekuth2 жыл бұрын

    Nice overview and always helpful to hear what wasn't used or didn't work so well! I am also pretty obsessed with 'fallback' mainly for lights but decided on a decentralised approach because of that (and because it is simpler). I think a sensible check to make before you add any automation hardware is to think what impact it has if the automation is not available or doesn't work properly. If the result is worse than it is without the smart hardware, or if bringing it up to the same level takes a lot of work, then I have a pretty strict rule that it is probably dumb and I shouldn't do it. The result is that my house isn't super 'smart' but my wife and visitors consistently find the automations that do exist very useful. I say this while these instances are super rare so it isn't really necessary, but it appears to also keep the automations 'sane'.

  • @Fine_i_set_the_handle

    @Fine_i_set_the_handle

    2 жыл бұрын

    I use ge enbrighten smart switches, no extra wiring 100% standalone unit doesn't need coms, internet, wifi or anything to manually switch on and off. Unfortunately it does sacrifice rgbccw control, but i fixed that by setting up secondary colored lights

  • @CelsiusAray
    @CelsiusAray2 жыл бұрын

    Is amazing your work man 👍

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Thanks a lot!

  • @tincanpete
    @tincanpete2 жыл бұрын

    Great video, interesting and helpful. Thank you!

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    My pleasure! :)

  • @zht9
    @zht92 жыл бұрын

    Can't wait to see this commercialised!!

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    If you mean the second revision, it should be here on the channel pretty soon :)

  • @RaphaelAguirre
    @RaphaelAguirre2 жыл бұрын

    instant sub. Amazing stuff, looking forward to see V2 :)

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Welcome aboard! I'm working on V2. Hope to post the video as soon as possible.

  • @TradieTrev
    @TradieTrev2 жыл бұрын

    She's a flash one your old setup. Following a few folks designs how they've wired up their setups up with ELV switches, I opted for a more traditional method so any electrician could service such a system. The biggest challenge I've found in creating an automation system is making it serviceable, mostly for others not just yourself!

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    I agree, that's why solid documentation is essential in these kinds of systems.

  • @Blueshiftent
    @Blueshiftent2 жыл бұрын

    I lead a software engineering team and have used that Elon video numerous times. Excited to see how your project progresses mate!

  • @MrElofix
    @MrElofix2 жыл бұрын

    I dont know where you come from but in my country this cable mess is not conform to electrical wirering rules. I suggest also to use a much bigger box to fit all the components and fuses, terminals ect. I also suggest to choose a box at least 1/3rd bigger then needed to have some space left for further improofements and expansions ;)

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    In the video, I tried to explain myself a bit about this mess. I was supposed to put it in order, but the two years flew by so quickly that I missed it ;) In the second revision it'll be neat :)

  • @andrewlhoover
    @andrewlhoover2 жыл бұрын

    I too am quite guilty of over engineering a solution when simpler is better. I look forward to what comes next.

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    I think it's a popular "attribute" of the engineering mindset :)

  • @nikhuge6580
    @nikhuge65802 жыл бұрын

    Great work

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Thanks!

  • @timderks5960
    @timderks59602 жыл бұрын

    Great video. If I can request one thing: Could you please increase the volume? Your video is a lot quieter than most videos on KZread. For the haters that'll say "jUsT iNcReAsE yOuR vOlUmE": It's not about that, it's about consistency. For this video I needed my volume at 100%, for others it's at 40%. It's annoying and unnecessary to have to keep adjusting your volume.

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Thanks for comment! Of course, you are absolutely right! The audio is definitely too quiet :( I was in a rush to render this video and forgot to check the audio level. My bad, but I promise to improve for the future :)

  • @timderks5960

    @timderks5960

    2 жыл бұрын

    @@SmartSolutionsForHome No worries, mistakes happen. You already gained a subscriber, even with the low audio levels.

  • @MichaRutkowskiEngineering
    @MichaRutkowskiEngineering2 жыл бұрын

    nice, i am also doing stuff myself but i have much more networked / distributed approach based on off the shelf components mostly

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Completely opposite approach to mine, but I think both are ok :)

  • @MichaRutkowskiEngineering

    @MichaRutkowskiEngineering

    2 жыл бұрын

    @@SmartSolutionsForHome I have been renovating old house so it was impossible at the time to make a central hub

  • @sayanee
    @sayanee Жыл бұрын

    Love your work, Sebastian! I have been following all your projects and there are lots of things to learn from you :) 4:03 It seems like this HUB is able to monitor the states (something like a digital twin) of the switches E.g. on or off, but not actually program it via HA to set up some automation. Or am I missing something? Thanks for the clarification 😊

  • @CraigHissett
    @CraigHissett2 жыл бұрын

    This is a fantastic bit of kit! I have a Homeassistant instance running on a Pi4 at the moment, but isn't in a location I can run cables to to set up something as fantastic as this with SSRs. I'm looking at using NodeRed or MQTT as a link between a microcontroller (something like an arduino Mega with an ESP32 for WiFi communication) to communicate with HA. Nice an easy to get data into HA and you can build dashboard elements from the NodeRed devices.

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    In that case, you'll definitely like the second version of my HUB :) It'll be very close to what you described.

  • @CraigHissett

    @CraigHissett

    2 жыл бұрын

    @@SmartSolutionsForHome I'm excited, ha ha ha! I'm very keen to make use of those protocols to bring together my smart network. I have them both installed now but don't make use of them just yet.

  • @tanel.vakker
    @tanel.vakker2 жыл бұрын

    This looks very complex - I wish I had the skills to build something like this. This is why I use KNX for my new house. I have subscribed and eager to see how you did yours.

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    KNX is a very good choice. I bet it'll serve you well for years to come :)

  • @farmaforpresident8138
    @farmaforpresident81382 жыл бұрын

    This is very impressive, thank you for sharing! What model of RPI are you using? Do you run it from a micro SD?

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Thank you! I'm using RPI 3B+. And unfortunately, I'm using an SD card. But for the second revision, I'm gonna use an SSD.

  • @slack0ne
    @slack0ne2 жыл бұрын

    This sounds really interesting, looking forward to the follow up.

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Thanks. I'l try to deliver the follow up it as soon as possible

  • @flaginto
    @flaginto2 жыл бұрын

    Very Very interesting

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Glad you think so!

  • @82levy5
    @82levy52 жыл бұрын

    Very impressive. But the costs are huge. There are very good and stable wireless solutions with a lot of benefits (simple installation, no wires, easy adaptation to existing infrastructure).

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Thanks. I know there are good wireless solutions, but they will never be as solid as the wired ones :)

  • @82levy5

    @82levy5

    2 жыл бұрын

    @@SmartSolutionsForHome Maybe. I have wireless devices working for years without any issues. So wireless solutions are solid too and more flexible.

  • @sumedhburbure4173
    @sumedhburbure41732 жыл бұрын

    Wow!

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Thanks! :)

  • @tonywebb9909
    @tonywebb99092 жыл бұрын

    Yes, start with an absolute basic bare bones program, then slowly introduce complexity through automation. Label everything.

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Thank you for your comment. I'll do my best to introduce every detailed aspect of the new project.

  • @vmoutsop
    @vmoutsop2 жыл бұрын

    If you take the led's off the board and you have to perform diagnostics or figure out a problem and your remote system isn't communicating, how are you supposed to know if a relay, breaker, switch or whatever is even working or errored out?

  • @parisiadrian
    @parisiadrian2 жыл бұрын

    Hi men great project! Where are you from and why do you use to drink mate? Regards from Argentina

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Hi! I'm form Poland, and my favorite mate (Amanda) is from your country :)

  • @ToPProjectsCompilation
    @ToPProjectsCompilation2 жыл бұрын

    Hey, your projects are amazing. We want to feature them on our channel (no money involved). If it sounds good, then kindly reply.

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    I replied to your e-mail. And of course you can use any of my projects in your videos :)

  • @jashmaniar
    @jashmaniar2 жыл бұрын

    I noticed ur esp home has a "coffee maker " can u make a video on that

  • @antitukangjawagoblok
    @antitukangjawagoblok2 жыл бұрын

    How do you wire that wall switch ? Do you switch the dc or the ac ? If the dc what voltage you switch it with ?. I want to make my own smart home hub. My concern with wall switch is the distance from the hub (voltage drop over the wire). If I give it a 5v to switch, im affraid it will come back far below 5v let just say 3v.

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Your concern about voltage drop is perfectly legitimate. I use 12VDC and I think that is the absolute minimum. 5V can be very unreliable. If possible, use 12 or even 24V.

  • @gringoire986
    @gringoire9862 жыл бұрын

    Would you describe better in a video how you deal with smart lights and physical switches? In your setup how does a physical switch control a smart light without cutting the power to the light?

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    I don't use smart light in my system. I use dumb switches and dumb lights :) And it's thanks to this HUB + Home Assistant it'll become "smart".

  • @gringoire986

    @gringoire986

    2 жыл бұрын

    @@SmartSolutionsForHome i understand now. Thank you very much for answering. :)

  • @SiBex_ovh
    @SiBex_ovh9 ай бұрын

    In IT outsourcing I have a todo way in order, by me: 1) Documentation (to know how recover, where are passwords etc.) 2) Backup (in more then 2 place xD ) 3) Monitoring (any NMS) 4) Client requests :) (force client to use any RequestTicket ) Pozdro ! xDˣᴰ

  • @ei23de
    @ei23de2 жыл бұрын

    Great stuff as always Sebastian! Elon also said "best part is no part" This is why I do nothing anymore :D Just a joke ;-)

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Thanks, Felix! "best part is no part" is the ultimate optimization! You can't do better :) If it's not a secret, what are you working on now?

  • @mailwash
    @mailwash2 жыл бұрын

    Mooore moooore :)

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    I'm on it! Ps. dzięki za komentarz :)

  • @sjamesparsonsjr
    @sjamesparsonsjr2 жыл бұрын

    At 4:19 is that an accurate model of your home or a placeholder?

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    It's an accurate model of my home. I made it in "Sweet Home 3D". It's super simple and free :)

  • @maksimmuruev423
    @maksimmuruev4232 жыл бұрын

    If you already have PI why you still need STM32 ?

  • @ONWOTE
    @ONWOTE2 жыл бұрын

    any chance to work with you? we can sponsor a security camera to you to review it

  • @erikcramer
    @erikcramer2 жыл бұрын

    Why didn't you opt for the compute module?

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    What do you mean? What "compute module"?

  • @burger2205
    @burger22052 жыл бұрын

    Ile to kosztowało tak mniej więcej?

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    Naprawdę ciężko to oszacować. Najdroższe z tego wszystkiego były SSRy - jakieś 350 - 400 zł. Łącznie z Raspberry Pi pewnie coś koło 1k zł. Ale pamiętaj, że to było jeszcze przed pandemią. Teraz pewnie ze 2 razy tyle musiałbym na to wydać.

  • @jamess1787
    @jamess17872 жыл бұрын

    No GPIO access!? "Nooooo HA! Don't do this!"

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    There's a workaround for this. You have to use HACKS. So it isn't a perfect solution, but better than none :)

  • @1over137
    @1over1372 жыл бұрын

    I don't mean to contradict Sir Elon but he is missing very important steps. 2.5 Make it work. 2.6 Prove it works. and 5.1 Prove it still works.

  • @1over137

    @1over137

    2 жыл бұрын

    On this though. Step 1 and Step 2 are often done far too late in development or not at all. In my heating setup, I spent a LOT of time going through the requirements and removing everything I didn't need, forcing simplification. For example. State machines. "If it's ON, toggle = off" etc. Shun them, push them as close to the actual device as possible. Remove any need to actually hold ANY state. Run everything off the message bus, stateless. If your automation needs to know if a radiator or boiler is on, it can ask it. No assumptions. I also removed the whole "right side" of the state machine problem. "When do you turn it off?", "How can you manage mulitple demands for a device to be on, when only one of them asks for it to be turned off?". The solution is, don't turn anything off. Make every request for it to be on timeout. Have devices repeat requests. If anything dies or crashes, stuff turns off naturally and by default. All of that through 1000s of lines of state machine code in the bin and 1000s more not having to manage them at all.

  • @HansHampel7018
    @HansHampel70182 жыл бұрын

    USA NJ kzread.info/dash/bejne/ZWWpk8WNlbmtfLw.html

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    2 жыл бұрын

    What's this?

  • @ronniepaulinc
    @ronniepaulinc Жыл бұрын

    takes so much effort trying to understand you as you chew on the english language

  • @SmartSolutionsForHome

    @SmartSolutionsForHome

    Жыл бұрын

    Sorry to hear that. I'm trying my best to be understandable, but I'm still learning English. Maybe someday it'll be easier for you to understand me. In the meantime, you can just skip my videos :)

  • @bestyav5529
    @bestyav5529 Жыл бұрын

    The channel showed up to my list today. after watching I directly subscribed and it's really worth it . Any whatsapp number for fast communication please? I thought a lot about such a system in houses I'll be installing from now on.

Келесі