Standalone implementation for Domoticz. 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 this forum thread
Required:
- public url
- python >= 3.5
- Make local deployment available trough HTTPS with valid certificate with one below:
- Configure reverse proxy with valid certificate using Let's Encrypt
- Use ngrok (included in dzga) for a secure SSL tunnel with valid public HTTPS URL
- SSL with own domain or dynamic DNS, require ssl key and ssl certficate
Domoticz-Google-Assistant delivers:
- The oauth authorization and smarthome endpoint for the google assistant.
- Two-factor authentication domoticz protected devices. (limited language support)
- Arm Disarm Securitypanel. (limited language support)
- Stream surveillance camera to chromecast.
- Toggel Selector devices
- Thermostat modes
- Query battery level
- Switch Off timer
- Change device type
- Chromecast Notification
- and more..
Installation Raspberry Pi/Ubuntu:
Just run below in terminal
Code: Select all
bash <(curl -s https://raw.githubusercontent.com/DewGew/dzga-installer/master/install.sh)
Code: Select all
cd /home/${USER}
git clone https://github.com/DewGew/Domoticz-Google-Assistant -b docker --single-branch
docker-compose -f /home/${USER}/Domoticz-Google-Assistant/docker-compose.yaml up -d
Wiki:
https://github.com/DewGew/Domoticz-Goog ... stant/wiki
Sourcecode:
https://github.com/DewGew/Domoticz-Google-Assistant
Please feel free to modify it, extend and improve!