Closed znawcaphotona closed 1 year ago
Do you have domoticz on the same computer as DZGA?
@znawcaphotona: maybe watch out for the ${USER} part
I had the same trouble 1st time downloading the container as a regular user, as docker deamon runs as root
config file was created at first run in /home/root/Domoticz-Google-Assistant/config/ instead of /home/
leading to the situation described above/ message displaying every second about domoticz not connected, I was simply not modifying the correct config file
Same issue, since update to last version.
2023-08-07 07:17:26 - INFO - Connecting to Domoticz on http://XXXXXXXXXXXXXX:9090 2023-08-07 07:17:26 - ERROR - Connection to Domoticz refused with error: 401 Client Error: Unauthorized for url: http://XXXXXXXXXX:9090/json.htm?type=command¶m=addlogmessage&message=Connected%20to%20Google%20Assistant%20with%20DZGA%20v1.23.10
DZGA and Domoticz on the same PI
Domoticz version: 2023.2 Python Version: 3.7.3
Activate 'allow basic-auth' then restart domoticz
Activate 'allow basic-auth' then restart domoticz
Fixed for me
With Docker Same issue, no devices, no connection to domoticz, error: " error getting devices and settings" allow basic auth ok, back to 1.23.7 everything is ok
Having the same issues: Domoticz-Google-Assistant is not connecting to domoticz 401 error
RPI3B Buster Domoticz: 2023.2 DZGA beta
updated DZGA to beta Enabled API Protection in Domoticz, saved new settings, restarted Domoticz, restarted DZGA, still the same issue, "can't connect to Domoticz"
updated and upgraded RPI, rebooted RPI
all no result, error keeps coming...
@Xavier82 please check next: Create new user in Domoticz, set password something 8 chars with *()&^%$ and add this creds to dzga config.yaml It helps me.
_Since Domoticz has improved its security, you have to enable Allow Basic Authentication over plain HTTP in menu Security .
Its recomended to add a new user in Domoticz dedicated for DZGA and add devices to this user. See User Management._
Got it working, enbled "Allow Basic Authentication over plain HTTP", thanks
Describe the bug:
Domoticz-Google-Assistant is not connecting to domoticz
Expected behavior:
i thought it's will connect to domoticz and work
Logs:
Desktop (please complete the following information):