Hi,
Trying to get working dzga on rpi4.
Few infos on the RPi4 setup:
- Domoticz 2020.2
- Octoprint
- Homebridge
- Plex server,
- Nextcloud,
- Dzga
- in fex others servers,...
- reverse proxy with ssl management through haproxy.
Everything works impressively good expect few issues with current on progress configuration of dzga.
I can get syncing data through google and dzga.
Log level to Debug, but no errors in it.
anyway I think there is an mistake with the oauth currently.
I did the following tests:
- https://[my public url]/smarthome ---> not supported
- https://[my public url]/oauth ----> response_type must equal "code"
- https://[my public url]/token ----> Page not found!: '/token'
If I replace "https://[my public url]/" to "
http://localhost:3030/" I get the same replies.
Then I believe there is something wrong into my config.yaml or smart-homekey.json.
Nevertheless I did follow the wiki
https://github.com/DewGew/Domoticz-Goog ... stant/wiki upto chapter 4 without apparent issue.
Here is the log:
2020-11-06 08:43:02 - INFO - Connecting to Domoticz on
http://192.168.1.2:8080
2020-11-06 08:43:02 - DEBUG - Starting new HTTP connection (1): 192.168.1.2:8080
2020-11-06 08:43:02 - DEBUG -
http://192.168.1.2:8080 "GET /json.htm?type=command¶m=addlogmessage&message=Connected%20to%20Google%20Assistant%20with%20DZGA%20v1.8.13 HTTP/1.1" 200 49
2020-11-06 08:43:02 - DEBUG - Popen(['git', 'version'], cwd=/, universal_newlines=False, shell=None, istream=None)
2020-11-06 08:43:02 - DEBUG - Popen(['git', 'version'], cwd=/, universal_newlines=False, shell=None, istream=None)
2020-11-06 08:43:02 - DEBUG - Starting new HTTPS connection (1): raw.githubusercontent.com:443
2020-11-06 08:43:02 - DEBUG -
https://raw.githubusercontent.com:443 "GET /DewGew/Domoticz-Google-Assistant/master/const.py HTTP/1.1" 200 9029
2020-11-06 08:43:02 - DEBUG - <pid.posix.PidFile object at 0xb5cefe68> entering setup
2020-11-06 08:43:02 - DEBUG - <pid.posix.PidFile object at 0xb5cefe68> create pidfile: /run/user/1000/dzga.pid
2020-11-06 08:43:02 - DEBUG - <pid.posix.PidFile object at 0xb5cefe68> check pidfile: /run/user/1000/dzga.pid
2020-11-06 08:43:02 - INFO - ========
2020-11-06 08:43:02 - INFO - Started DZGA v1.8.13 server at port 3030
2020-11-06 08:43:02 - INFO -
2020-11-06 08:43:02 - INFO - Visit
http://localhost:3030/settings to access the user interface
2020-11-06 08:43:02 - INFO -
2020-11-06 08:43:02 - INFO - =========
2020-11-06 08:43:02 - INFO - Visit the Actions on Google console at
http://console.actions.google.com
2020-11-06 08:43:02 - INFO - Under Develop section, replace the fulfillment URL in Actions with:
2020-11-06 08:43:02 - INFO - https://[your public url]/smarthome
2020-11-06 08:43:02 - INFO -
2020-11-06 08:43:02 - INFO - In Account linking, set the Authorization URL to:
2020-11-06 08:43:02 - INFO - https://[your public url]/oauth
2020-11-06 08:43:02 - INFO -
2020-11-06 08:43:02 - INFO - Then set the Token URL to:
2020-11-06 08:43:02 - INFO - https://[your public url]/token
2020-11-06 08:43:02 - INFO -
2020-11-06 08:43:02 - INFO - Finally press 'SAVE' and then 'TEST' button
2020-11-06 08:43:02 - INFO - =======
2020-11-06 08:43:02 - DEBUG - Starting new HTTP connection (1): 192.168.1.2:8080
2020-11-06 08:43:02 - DEBUG -
http://192.168.1.2:8080 "GET /json.htm?type=devices&plan=0&filter=all&used=true HTTP/1.1" 200 3606
2020-11-06 08:43:02 - DEBUG - {
"Je pars": {
"idx": 1,
"type": "Scene",
"state": "On",
"lastupdate": "2019-05-08 17:10:06",
"willReportState": true
}
}
Many other lines for each device without error.
any idea what to do ? I believe that as long as I don't get a good answer to
http://localhost:3030/token, I will not go ahead. How to see what is blocking this ?
Is there any others redirections required than the following ones for the reverse proxy ?:
- https://[my public url]/smarthome
- https://[my public url]/oauth
- https://[my public url]/token