Skip to content

7. Debugging

DewGew edited this page Feb 12, 2024 · 1 revision

Manually run server

When running DZGA-Flask manually you can get more info in terminal log:

sudo systemctl stop dzga-flask #If service is running
cd /home/${USER}/DZGA-Flask
source env/bin/activate
python3 smarthome.py

To stop server press ctrl-c

Running on docker:

cd /opt/DZGA-Flask
docker-compose down
docker-compose up

To stop server press ctrl-c

FAQ

I can see my domoticz device on the UI, I setup the google cloud API. But when I link the service in Google Home, I can login but no devices show up.

  • Missing step somewhere during installation. Restart from scratch.

Sync button does not work.

  • Make sure the json file is for same project you use for dzga.
  • Json file is not valid

Sync button and sync by voice does not work.

  • Try Goto action on google and press Test button again.

The action is completed normal but Google responds with an error.

  • can report error if there is a special character in device name or levelnames
  • try set report state to false for this device
  • try to do a sync request 1-2 times
Clone this wiki locally