Sign inSign up

dewgew/dzga-flask

By dewgew

•Updated 11 months ago

Domoticz Google Assistant using flask server

Image
0

4.1K

dewgew/dzga-flask repository overview

⁠DZGA-Flask

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.

Required:

  • latest Domoticz stable 2023.2 or above.
  • public url
  • python >= 3.5
  • Make local deployment available trough HTTPS with valid certificate with one of 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
⁠Usage with Docker compose
wget -P /opt/DZGA-Flask https://raw.githubusercontent.com/DewGew/DZGA-Flask/development/docker-compose.yaml
cd /opt/DZGA-Flask

Depending on your system, you can now launch the container by issuing:

docker-compose up -d

or

docker compose up -d

(Note the difference with/without the dash, this also applies for instructions below)

Start/stop DZGA-Flask docker server:

cd /opt/DZGA-Flask
docker-compose start
docker-compose stop

Update DZGA-Flask docker server:

cd /opt/DZGA-Flask
docker-compose pull dzga-flask
docker-compose down
docker-compose up -d --remove-orphans
docker image prune

Tag summary

Content type

Image

Digest

sha256:586816d2b…

Size

37.4 MB

Last updated

11 months ago

docker pull dewgew/dzga-flask