ayasystems / Domoticz-Google-Assistant

Google Assistant for Domoticz

Home Page:https://github.com/DewGew/Domoticz-Google-Assistant/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 Let's 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.
  • Modes for thermostat
  • Function to change device type, icon and some behavior depending on the device

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)

About

Google Assistant for Domoticz

https://github.com/DewGew/Domoticz-Google-Assistant/wiki

License:Apache License 2.0


Languages

Language:CSS 40.2%Language:SCSS 24.3%Language:JavaScript 18.3%Language:Python 12.1%Language:HTML 4.3%Language:Shell 0.8%Language:Dockerfile 0.0%