Author Topic: Home Automation from scratch  (Read 1405 times)

0 Members and 1 Guest are viewing this topic.

Offline pknoe3lh

  • Regular Contributor
  • *
  • Posts: 115
  • Country: at
  • Trust me I'm an engineer
    • My Homepage
Home Automation from scratch
« on: March 28, 2019, 07:44:36 pm »
Hello everyone

I'm starting a series of videos building a home automation system from scratch. I want to make it open source and maybe make an new standard for DIY home automation.

Here the introduction into the series:
https://youtu.be/hzYn_wvNji8

I want to do it as generic and open as possible.
So Feedback ist needed and welcome ;-)

Greetings
im-pro
 
The following users thanked this post: Shock

Offline pknoe3lh

  • Regular Contributor
  • *
  • Posts: 115
  • Country: at
  • Trust me I'm an engineer
    • My Homepage
Re: Home Automation from scratch
« Reply #1 on: April 03, 2019, 08:08:26 pm »
The next video is online:

https://youtu.be/p9erX_hQ0Z0
 
The following users thanked this post: Shock

Offline Cliff Matthews

  • Supporter
  • ****
  • Posts: 1766
  • Country: ca
    • General Repair and Support
Re: Home Automation from scratch
« Reply #2 on: April 04, 2019, 12:25:03 am »
IMO, unless this thread is asking questions about a project or design, this thread should be moved to: https://www.eevblog.com/forum/other-blog-specific/
 

Offline pknoe3lh

  • Regular Contributor
  • *
  • Posts: 115
  • Country: at
  • Trust me I'm an engineer
    • My Homepage
Re: Home Automation from scratch
« Reply #3 on: April 04, 2019, 06:41:19 am »
Sorry die not know that this is the wrong froum. The discription tells: "Show off your projects or other stuff you are working on. Talk about designs or ideas, ask technical questions, and share technical information. This is the big catch-all thread for anything electronic".
How do I move the thread?

Online Simon

  • Global Moderator
  • *****
  • Posts: 13647
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Home Automation from scratch
« Reply #4 on: April 04, 2019, 06:47:36 am »
I am moving the thread. It's not really the place to dump links to other blogs, it's more to talk about the more technical questions.
https://www.simonselectronics.co.uk/shop
Varied stock of test instruments and components including EEVblog gear and Wurth Elektronik Books.
Also, if you want to get ripped off: https://www.ebay.co.uk/usr/simons_electronics?_trksid=p2047675.l2559
 

Offline awallin

  • Frequent Contributor
  • **
  • Posts: 580
Re: Home Automation from scratch
« Reply #5 on: April 04, 2019, 05:34:31 pm »
Is there an open-source project for a surveillance-camera like the Nest cameras?
Seems the hardware for this is sub 100 $/eur but they want 3-500 $/eur for a Nest - would be useful and interesting project IMO...
 

Offline pknoe3lh

  • Regular Contributor
  • *
  • Posts: 115
  • Country: at
  • Trust me I'm an engineer
    • My Homepage
Re: Home Automation from scratch
« Reply #6 on: April 04, 2019, 06:17:26 pm »
I don't know what the nest can do. But look at banggoods:

https://m.banggood.com/de/TTGO-T-Camera-Plus-ESP32-DOWDQ6-8MB-SPRAM-OV2640-Camera-Module-1_3-Inch-Display-With-WiFi-Bluetooth-Board-p-1426498.html?rmmds=search

It's very cheep and also a WiFi cam with face detection.

Offline pknoe3lh

  • Regular Contributor
  • *
  • Posts: 115
  • Country: at
  • Trust me I'm an engineer
    • My Homepage
Re: Home Automation from scratch
« Reply #7 on: April 10, 2019, 05:00:34 pm »
Now to the Network:

https://youtu.be/QIOLc_1VYxM

any ideas?
 
The following users thanked this post: Shock

Offline pknoe3lh

  • Regular Contributor
  • *
  • Posts: 115
  • Country: at
  • Trust me I'm an engineer
    • My Homepage
Re: Home Automation from scratch
« Reply #8 on: April 12, 2019, 05:06:05 pm »
Now part selection:

https://youtu.be/m7WxveJLYRI

There is the List:

https://github.com/pknoe3lh/DIYsmarthome/blob/master/PCB/room/BOM.md

60€ is really nice I think :-)
 
The following users thanked this post: Shock

Online Shock

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: au
Re: Home Automation from scratch
« Reply #9 on: April 15, 2019, 10:24:35 am »
Interested to see where this goes, a couple of design considerations if I was doing the same. Make it a true closed system, don't interface or rely on preexisting products, and if you have to then make them optional. People are going to feel differently but inviting google and the like into your home automation is a bad idea because it's exactly what they want. The other is device, network and data encryption security built into wired, wireless networking and storage.
Soldering/Rework: Pace ADS200, Pace MBT350
Multimeters: Fluke 87V, 117, 27/FM
Oscilloscopes: Rigol DS1054Z, Phillips PM3065
 

Offline pknoe3lh

  • Regular Contributor
  • *
  • Posts: 115
  • Country: at
  • Trust me I'm an engineer
    • My Homepage
Re: Home Automation from scratch
« Reply #10 on: April 15, 2019, 11:26:34 am »
Make it a true closed system, don't interface or rely on preexisting products, and if you have to then make them optional.

Yes I don't what it to rely on a random clowd service.
I want to have speak control. At first this will be done over Google or Alexa but later I think it should be possible to make this Funktion locally if you use the syntax given.

The other is device, network and data encryption security built into wired, wireless networking and storage..

The esp 32 has hardware accelerated for encryption. Do have some ideas how to implement that? How to make the key exchange? I'm not an expert in this field and if you do something wrong its wrong anyway....

Online Shock

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: au
Re: Home Automation from scratch
« Reply #11 on: April 15, 2019, 12:36:01 pm »
No its been years since so I'm way out of date.

I'm not the average consumer but if this was an any off the shelf product (not just home automation) the main considerations I would have is that it can be both hardwired and wireless, is secure and can't be bypassed easily by a man in the middle type attack, give people infinite attempts to authenticate or worse, zero security. I also like devices that are largely self sustaining.

So it must not rely on any form of phoning home or requiring an app or any interface for configuration that isn't commonly available. i.e. a web interface with the exception of a secondary command line interface, it's got to be something that you don't have to dive into a crawl space to update the code or configure. You should not be locked out because you aren't running the right version of the app and your phone no longer supports it. If you have to make an app to win consumers over make it an accessory not a necessity.

Lastly and this is rare to find in a product, is a method to remove all interfaces (not just switch it off in a config) but physically any interface code from the product so once it's running as expected you have to jump through hoops to mess with it.

All this is more important if you have cameras, locks, and alarms that can be enabled and disabled. :)
Soldering/Rework: Pace ADS200, Pace MBT350
Multimeters: Fluke 87V, 117, 27/FM
Oscilloscopes: Rigol DS1054Z, Phillips PM3065
 

Offline pknoe3lh

  • Regular Contributor
  • *
  • Posts: 115
  • Country: at
  • Trust me I'm an engineer
    • My Homepage
Re: Home Automation from scratch
« Reply #12 on: April 27, 2019, 08:45:07 pm »
The PCBs are finished! Here a timelaps video of the design process:

https://youtu.be/YQT2HXxLCkw



Offline pknoe3lh

  • Regular Contributor
  • *
  • Posts: 115
  • Country: at
  • Trust me I'm an engineer
    • My Homepage
Re: Home Automation from scratch
« Reply #13 on: April 28, 2019, 07:08:00 am »
And a sort explanation of the PCB Design:

https://youtu.be/Ae0AMbXFxIA

Online Shock

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: au
Re: Home Automation from scratch
« Reply #14 on: April 29, 2019, 02:56:33 pm »
Congrats on getting the first design and layout together.
Soldering/Rework: Pace ADS200, Pace MBT350
Multimeters: Fluke 87V, 117, 27/FM
Oscilloscopes: Rigol DS1054Z, Phillips PM3065
 

Offline pknoe3lh

  • Regular Contributor
  • *
  • Posts: 115
  • Country: at
  • Trust me I'm an engineer
    • My Homepage
Re: Home Automation from scratch
« Reply #15 on: April 30, 2019, 08:07:25 am »
Congrats on getting the first design and layout together.

Thanks I'm really happy that I found the time for that. It was around 40 hours. What needed the most time was the io resources problem. This was really challenging but I hop I did it right. The Esp32 iomux is really complex and limited in some ways it's really easy to overlook something ....
Root for me :-)

Online Shock

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: au
Re: Home Automation from scratch
« Reply #16 on: April 30, 2019, 01:23:55 pm »
Thanks I'm really happy that I found the time for that. It was around 40 hours. What needed the most time was the io resources problem. This was really challenging but I hop I did it right. The Esp32 iomux is really complex and limited in some ways it's really easy to overlook something ....
Root for me :-)

Yeah I thought that would have taken a good chunk of time, a nice example of what is involved in getting a project of this size onto a PCB.
Soldering/Rework: Pace ADS200, Pace MBT350
Multimeters: Fluke 87V, 117, 27/FM
Oscilloscopes: Rigol DS1054Z, Phillips PM3065
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf