Skip to content

Home Automation including Nest Device Access w/ some DLL Machine Learning in there.

License

Notifications You must be signed in to change notification settings

darkmatter2222/HomeAutomation-DNN

Repository files navigation

HomeAutomation-DNN

Nest Home Automation, Deep Neural Networks to recognize things of interest to me.
👉DNN Still WIP👈

Running on a Raspberry PI 3b+ as a service as initialized by ./Home_Automation_Services_Startup.sh
Subscribes to a Google PubSub enpoint with the Google Nest Device Access topic ans write all events to on-prem MongoDB. I have around 2k Events on my property a week:

  • 3 Outdoor Cameras (Cars/Dogs/People)
  • 1 Indoor Camera (People)
  • 1 Thermastat (2x sensors) (Climate control)
  • 5 Smoke/CO (Info) (not yet available in Nest Device Access?)

Due to the nature of Nest Event Image avaibility (expires in 30 seconds), this service also downloads the image and writes to local directory:camera:

⚠️IMPORTANT: This number of events does not charge me anything in GCP. Your milage may vary.⚠️
I had trouble finding information on how to do all this, below are some step-by-step instructions to get you here:

  • Create GCP Account here
  • Create Nest Device Access (NDA) Account here (One time $5 Fee)
  • In GCP, create a project
  • In NDA, create a projact
  • In GCP, add the PubSub service to your project here
  • In GCP, create a GCP Service Account for your PubSub and download the .JSON
  • Follow code from here
    • Have your NDA topic on hand

Running on a raspberry PI as a service as Initialized by ./Home_Automation_Services_Startup.sh
Monitors and automatically refreshes expiring/expiered OAuth2 tokens

About

Home Automation including Nest Device Access w/ some DLL Machine Learning in there.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published