/Domoticz-Google-Assistant

Google Assistant for Domoticz

Primary LanguagePythonApache License 2.0Apache-2.0

Travis (.com) Docker Cloud Build Status GitHub release (latest by date) Discord

Domoticz-Google-Assistant

drawing

Standalone implementation for Domoticz Home Automation. It means that you can put this server wherever you want, even on another machine. You need to setup a project in Actions on Google Console. You find instructions below.

Based on Pawcio's script at Domoticz Forum

Required:

  • public url
  • python >= 3.5
  • Make local deployment available trough HTTPS with valid certificate with one below:
    • SSL with own domain or dynamic DNS, require ssl key and ssl certficate
    • Use ngrok for a secure SSL tunnel with valid public HTTPS URL
    • Configure reverse proxy with valid certificate using Lets Encrypt

Domoticz-Google-Assistant delivers:

  • The oauth authorization and smarthome endpoint for the google assistant.
  • Two-factor authentication pin for domoticz protected devices. (limited language support)
  • Acknowledgement with Yes or No. (limited language support)
  • Arm Disarm Securitypanel. (limited language support)
  • On/Off, Brightness, Thermostat, Color Settings, speaker volume, Lock/Unlock, Scene and Open/Close.
  • Stream surveillance camera to chromecast.
  • Toggle Selector switches.
  • Ngrok, instantly create a public HTTPS URL. Don't have to open any port on router and do not require a reverse proxy.
  • NEW Modes for thermostat

Please feel free to modify it, extend and improve

Installation

Just open a terminal window and execute this command. Then set up Actions on Google. Thats it!

bash <(curl -s https://raw.githubusercontent.com/DewGew/dzga-installer/master/install.sh)

Installation and configuration wiki

Docker install