Domoticz-Google-Assistant (dzga) Topic is solved

Alexa, Google Home and Siri

Moderator: leecollings

gvandick
Posts: 30
Joined: Saturday 01 July 2017 12:48
Target OS: Windows
Domoticz version:
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by gvandick »

file ngrok.yml must install in ngrok2/config this is an hiden file use ls -a to show hidden files.
daroot
Posts: 3
Joined: Wednesday 06 January 2021 23:16
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Netherlands
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by daroot »

Since a few weeks I'm using dzga, which works almost flawlessly. Keep up that good work.
I was looking for a way to get notifications of someone pressing our doorbell on my Google Home speakers and Nest Hub.
I saw that's also possible with dzga, but I can't seem to get it to work.
I have a simple old Friedland wireless 433MHz doorbell, which I made "smart" by putting a Shelly 1 between the doorbell-sender and a classic doorbell knob next to the door. When this knob is pressed, the shelly flips it's relay which is connected to the push-button of the sender/transmitter thing. This way, the receiver/chime is actually ringing, and my Domoticz system is aware of the doorbell being used. This way I can send notifications via Domoticz to my phone via Telegram or other systems.
So far so good..

In Domoticz, I set up HTTP notifications. The test-button works: I see it passing by in the logfile @ dzga.
Then when I setup notifications on the Shelly button or the shelly relay, I get errors. More carefull reading gives me the clue that I won't work with light-switches, only with doorbells and smoke-detectors. Fair enough. I changed the switch type of the shelly to Doorbell, changed the notification, resynced the devices in dzga, the doorbell is then recognized as type Doorbell, but it won't show up in my Google Home app. I did add it to the correct room in Domoticz.

I then tested it with a dummy switch. Made it also type Doorbell, dzga sees it after resyncing, but it's not visible in Google Home app. When I change the type back to Lightswitch, it does show up.

When I change the dummy switch to Smoke detector, resync, and then check the Google Home app, it does show up. Then it's also possible to turn on notifications from within the Home app. After doing that, and virtually pressing the smoke detector in Domoticz, I do get an audio notification on my google home speakers.

Is this simply not yet working for doorbells, or am I missing something?

Some info:
Version: 2023 2
Build Hash: 19efd039c
Compile Date: 2023-07-21 17:23:44
dzVents Version: 3 1 8
Python Version: 3 7 3 (default, Jun 29 2023, 18:03:57) [GCC 8 3 0]

DZGA version 1 23 10

Running on a RPi 3B+
gvandick
Posts: 30
Joined: Saturday 01 July 2017 12:48
Target OS: Windows
Domoticz version:
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by gvandick »

Synchronize devices to Google app failed. Devices showing "offline" in app, but voice control works for lamps and blinds. Get message something go's wrong. I made a new project on Google . Several times but doesn't work. I use ngrok no problem. Devices import from domoticz to dzga no problem. In dzga log all devices listed as online: false 2023-10-02 07:38:20 - ERROR - Unexpected error serializing query for <helpers.AogState object at 0x753335d0> Anyone idea how to solve this.
Kedi
Posts: 536
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by Kedi »

daroot wrote: Wednesday 27 September 2023 14:48 Is this simply not yet working for doorbells, or am I missing something?
I use nodered with https://flows.nodered.org/node/node-red ... -smarthome
I can get any textual message be spoken by my Google devices.
Logic will get you from A to B. Imagination will take you everywhere.
rensbr
Posts: 61
Joined: Friday 27 July 2018 19:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by rensbr »

I have updated Domoticz to the latest version 2023.2, but not dzga does not work anymore. I think this has something to do with the new safety features.

I have created a separate user for Google Assistant and when I try to login with that user into Domoticz trough the http port, I cannot login anymore. I have selected 'Allow Basic Authentication over plain HTTP', but that did not do the trick. I can login trough the https port, but when i change that into the configuration of dzga, the container does not want to start anymore.

I'm running Domoticz and dgza in docker.
Versions:
Domoticz: 2023.2
dzga: 1.23.12

Does anybody has the solution?

Edit: I'm running Domoticz on port 8081 and that was not in my dockerfile, so I have changed that and now it works:

Code: Select all

FROM domoticz/domoticz

EXPOSE 8080
EXPOSE 8081
EXPOSE 444

WORKDIR /opt/domoticz

RUN pip install --upgrade pip
RUN pip3 install --upgrade pip

#FOR LG plugin
RUN pip install pylgtv paramiko
#FOR Precense detection
RUN pip install paramiko
RUN pip install parallel-ssh
#FOR conbee II plugin
RUN pip install requests
RUN pip3 install requests

#FOR airco
RUN pip3 install wheel
RUN pip3 install pyfujitsu

ENTRYPOINT ["docker-entrypoint.sh"]

CMD ["/opt/domoticz/domoticz"]
louresman
Posts: 5
Joined: Sunday 19 November 2023 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by louresman »

Hello

I made a clean install of Raspios Bullseye and of Domoticz Version: 2023 2 with Python Version: 3 9 2
All running grreat with no issues.

I have have enabled Allow Basic Authentication over plain HTTP

Installed DZGA-Flask version and after issuing:

sudo systemctl status dzga-flask it reports no errors and that it is active and running.

So apparently it is running but I cannot accsess the web interface using ip address:8181
I just get an "unable to connect" message.

Any assitance on how to get this working will be apreciated
daroot
Posts: 3
Joined: Wednesday 06 January 2021 23:16
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Netherlands
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by daroot »

daroot wrote: Wednesday 27 September 2023 14:48 Since a few weeks I'm using dzga, which works almost flawlessly. Keep up that good work.
I was looking for a way to get notifications of someone pressing our doorbell on my Google Home speakers and Nest Hub.
I saw that's also possible with dzga, but I can't seem to get it to work.
I have a simple old Friedland wireless 433MHz doorbell, which I made "smart" by putting a Shelly 1 between the doorbell-sender and a classic doorbell knob next to the door. When this knob is pressed, the shelly flips it's relay which is connected to the push-button of the sender/transmitter thing. This way, the receiver/chime is actually ringing, and my Domoticz system is aware of the doorbell being used. This way I can send notifications via Domoticz to my phone via Telegram or other systems.
So far so good..

In Domoticz, I set up HTTP notifications. The test-button works: I see it passing by in the logfile @ dzga.
Then when I setup notifications on the Shelly button or the shelly relay, I get errors. More carefull reading gives me the clue that I won't work with light-switches, only with doorbells and smoke-detectors. Fair enough. I changed the switch type of the shelly to Doorbell, changed the notification, resynced the devices in dzga, the doorbell is then recognized as type Doorbell, but it won't show up in my Google Home app. I did add it to the correct room in Domoticz.

I then tested it with a dummy switch. Made it also type Doorbell, dzga sees it after resyncing, but it's not visible in Google Home app. When I change the type back to Lightswitch, it does show up.

When I change the dummy switch to Smoke detector, resync, and then check the Google Home app, it does show up. Then it's also possible to turn on notifications from within the Home app. After doing that, and virtually pressing the smoke detector in Domoticz, I do get an audio notification on my google home speakers.

Is this simply not yet working for doorbells, or am I missing something?

Some info:
Version: 2023 2
Build Hash: 19efd039c
Compile Date: 2023-07-21 17:23:44
dzVents Version: 3 1 8
Python Version: 3 7 3 (default, Jun 29 2023, 18:03:57) [GCC 8 3 0]

DZGA version 1 23 10

Running on a RPi 3B+
Dewgew made a new project: DZGA-Flask.
I installed that project (in Docker), works pretty much the same, but now the notifications on the speakers also do work. Very happy with the great work!
louresman
Posts: 5
Joined: Sunday 19 November 2023 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by louresman »

Is no one affected by the problem I am encountering in not beeing able to bring up the Dzga configuration page?

I had everythig working in a prevoius instalation using Rasperry Pi OS Stretch, but decided to do a clean install of the OS. I opted for Bullseye because I believe it is the version which is currently not presenting problems as far as Domoticz is concerned.

After a fresh install of the OS and of the latest Domoticz and resotring the database, everything is working as it should. So next I try to install DZGA running the instalation script and it also reports it is running when I check its status. But I cannot bring up the config screen at <IP Address:3030/settings>.

After multiple reinstalls of the OS, I get the same result. After that I tried installing Raspberry Bookworm, Domoticz runs on this as well, but still no DZGA config page. I also tried DZGA-Flask on another reinstalation but no config screen at <IP Address:8181>.
Since no one else seems to be complaining, I sure it must be something I am missing.

This is all native install, not Docker. Any hints on what could be the cause? Really frustrating as everything worked great on the previous install of Stretch and the older DZGA version.
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by DewGew »

louresman wrote: Thursday 23 November 2023 15:12 Is no one affected by the problem I am encountering in not beeing able to bring up the Dzga configuration page?

I had everythig working in a prevoius instalation using Rasperry Pi OS Stretch, but decided to do a clean install of the OS. I opted for Bullseye because I believe it is the version which is currently not presenting problems as far as Domoticz is concerned.

After a fresh install of the OS and of the latest Domoticz and resotring the database, everything is working as it should. So next I try to install DZGA running the instalation script and it also reports it is running when I check its status. But I cannot bring up the config screen at <IP Address:3030/settings>.

After multiple reinstalls of the OS, I get the same result. After that I tried installing Raspberry Bookworm, Domoticz runs on this as well, but still no DZGA config page. I also tried DZGA-Flask on another reinstalation but no config screen at <IP Address:8181>.
Since no one else seems to be complaining, I sure it must be something I am missing.

This is all native install, not Docker. Any hints on what could be the cause? Really frustrating as everything worked great on the previous install of Stretch and the older DZGA version.
Have you tryed running dzag manually? Maybe its the systemtcl service issue.
For dzga:

Code: Select all

 cd /home/${USER}/
sudo systemctl stop dzga #If service is running
source Domoticz-Google-Assistant/env/bin/activate
python3 Domoticz-Google-Assistant
For dzga-flask:

Code: Select all

 sudo systemctl stop dzga-flask #If service is running
cd /home/${USER}/DZGA-Flask
source env/bin/activate
python3 smarthome.py
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
jpvaneijk
Posts: 76
Joined: Thursday 07 June 2018 21:57
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Noordwijk, Netherlands
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by jpvaneijk »

louresman wrote: Thursday 23 November 2023 15:12 Is no one affected by the problem I am encountering in not beeing able to bring up the Dzga configuration page?

I had everythig working in a prevoius instalation using Rasperry Pi OS Stretch, but decided to do a clean install of the OS. I opted for Bullseye because I believe it is the version which is currently not presenting problems as far as Domoticz is concerned.

After a fresh install of the OS and of the latest Domoticz and resotring the database, everything is working as it should. So next I try to install DZGA running the instalation script and it also reports it is running when I check its status. But I cannot bring up the config screen at <IP Address:3030/settings>.

After multiple reinstalls of the OS, I get the same result. After that I tried installing Raspberry Bookworm, Domoticz runs on this as well, but still no DZGA config page. I also tried DZGA-Flask on another reinstalation but no config screen at <IP Address:8181>.
Since no one else seems to be complaining, I sure it must be something I am missing.

This is all native install, not Docker. Any hints on what could be the cause? Really frustrating as everything worked great on the previous install of Stretch and the older DZGA version.
The same issue here. Fresh install of Bookworm on a RPi 5. No User interface on both DZGA and DZGA FLASK. Not on localhost:8181 and ip:8181
All was fine on RPi 4B that had Buster installed. I used DZGA on that.

Code: Select all

sudo systemctl start dzga-flask
no error returns, all seems ok?

Code: Select all

sudo systemctl stop dzga-flas
no error returns, all seems ok?

Code: Select all

sudo systemctl status dzga-flask
Nov 25 15:29:07 Domoticz systemd[1]: dzga-flask.service: Scheduled restart job, restart counter is at 5.
Nov 25 15:29:07 Domoticz systemd[1]: Stopped dzga-flask.service - DZGA-Flask dashboard.

Nov 25 15:29:07 Domoticz systemd[1]: dzga-flask.service: Start request repeated too quickly.
Nov 25 15:29:07 Domoticz systemd[1]: dzga-flask.service: Failed with result 'exit-code'.
Nov 25 15:29:07 Domoticz systemd[1]: Failed to start dzga-flask.service - DZGA-Flask dashboard.

A bit of help would be great!

EDIT:
I've got another Rpi 4B 8GB running on Bullseye and installed DZGA-Flask once more.

Code: Select all

bash <(curl -s https://raw.githubusercontent.com/DewGew/dzga-installer/master/DZGA-Flask-install.sh)
Couldn't start the dashboard:
dzga-flask.service - DZGA-Flask dashboard
Loaded: loaded (/etc/systemd/system/dzga-flask.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2023-11-26 10:42:00 CET; 8min ago
Process: 3201 ExecStart=/home/pi/DZGA-Flask/env/bin/python /home/pi/DZGA-Flask/smarthome.py (code=exited, status=1/FAILURE)
Main PID: 3201 (code=exited, status=1/FAILURE)
CPU: 1.666s

nov 26 10:42:00 Server systemd[1]: dzga-flask.service: Consumed 1.666s CPU time.
nov 26 10:42:00 Server systemd[1]: dzga-flask.service: Scheduled restart job, restart counter is at 5.
nov 26 10:42:00 Server systemd[1]: Stopped DZGA-Flask dashboard.
nov 26 10:42:00 Server systemd[1]: dzga-flask.service: Consumed 1.666s CPU time.
nov 26 10:42:00 Server systemd[1]: dzga-flask.service: Start request repeated too quickly.
nov 26 10:42:00 Server systemd[1]: dzga-flask.service: Failed with result 'exit-code'.
nov 26 10:42:00 Server systemd[1]: Failed to start DZGA-Flask dashboard.

Just a friendly heads-up:
Do you know that there are 2 installation-codes on Github?
Under the tab Wiki is

Code: Select all

bash <(curl -s https://raw.githubusercontent.com/DewGew/dzga-installer/master/dzga-flask-install.sh)

Under the tab Code is

Code: Select all

bash <(curl -s https://raw.githubusercontent.com/DewGew/dzga-installer/master/DZGA-Flask-install.sh)
In my case only the one under Code is working.
louresman
Posts: 5
Joined: Sunday 19 November 2023 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by louresman »

@DewGew thanks for the suggestion. I have followed the install instructions very carefully.
I have tried running dzga manually in both instances of DZGA and DZGA-Flask on the various installs I have tried.
It reports DZGA is running when checking the status bit I still cannot access the web interface.
User avatar
fabry91
Posts: 67
Joined: Sunday 09 December 2018 16:52
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Italy
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by fabry91 »

Hello,

since I have updated my Domoticz (running on Synology - DSM 7.1) to the latest release v2023.2 (build 15674) the DGA doesn't connect to the Domoticz server.

When I login to the console 192.xxx.xx.x:3031/settings it keeps me message me "Connection to Domoticz refused! Check configuration." but I didn't change anything on the configuration of Domoticz and DGA.

Sync device results in "Page not found!: 500 Server Error: Internal Server Error for url: https://homegraph.googleapis.com/v1/devices:requestSync"

Anybody have had this problem?

Thank you in advanced!
User avatar
fabry91
Posts: 67
Joined: Sunday 09 December 2018 16:52
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Italy
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by fabry91 »

fabry91 wrote: Monday 27 November 2023 16:29 Hello,

since I have updated my Domoticz (running on Synology - DSM 7.1) to the latest release v2023.2 (build 15674) the DGA doesn't connect to the Domoticz server.

When I login to the console 192.xxx.xx.x:3031/settings it keeps me message me "Connection to Domoticz refused! Check configuration." but I didn't change anything on the configuration of Domoticz and DGA.

Sync device results in "Page not found!: 500 Server Error: Internal Server Error for url: https://homegraph.googleapis.com/v1/devices:requestSync"

Anybody have had this problem?

Thank you in advanced!
Solved, in Domoticz (menu setup - settings - security) tipped "allow http api calls", this solved the problem.
More info here: viewtopic.php?t=40205
jpvaneijk
Posts: 76
Joined: Thursday 07 June 2018 21:57
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Noordwijk, Netherlands
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by jpvaneijk »

Unfortunately, this is not a solution for me. I had already configured this nicely.

Since Bookworm there seem to be some problems with pip in Python and I thought that might be where the problem lay. Unfortunately, that does not appear to be the case either.
It applies to both DZGA and DZGA-Flak. I can't get the user interface up and running with anything.

My hopes lie with Dewgew who will probably come up with a simple solution soon, I seem to be missing something.
I was able to install all the other plugins and software/hardware just fine but unfortunately I am stuck on, what I think is just so important, linking everything through to my Google devices at home.

My problem seems to be the same as Louresman's. So just a little more patience (I hope)
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by DewGew »

jpvaneijk wrote: Monday 27 November 2023 20:52 Unfortunately, this is not a solution for me. I had already configured this nicely.

Since Bookworm there seem to be some problems with pip in Python and I thought that might be where the problem lay. Unfortunately, that does not appear to be the case either.
It applies to both DZGA and DZGA-Flak. I can't get the user interface up and running with anything.

My hopes lie with Dewgew who will probably come up with a simple solution soon, I seem to be missing something.
I was able to install all the other plugins and software/hardware just fine but unfortunately I am stuck on, what I think is just so important, linking everything through to my Google devices at home.

My problem seems to be the same as Louresman's. So just a little more patience (I hope)
Install script for DZGA-Flask is updated and should now work.
Remove all old service and DZGA-Flask folder first

Code: Select all

bash <(curl -s https://raw.githubusercontent.com/DewGew/dzga-installer/master/DZGA-Flask-install.sh)
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
jpvaneijk
Posts: 76
Joined: Thursday 07 June 2018 21:57
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Noordwijk, Netherlands
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by jpvaneijk »

Hi DewGew,
Very glad you apparently had the opportunity to take a look. Unfortunately, your work so far has not had the desired result. Below I'll just show you what's happening on my end and I'd love to hear if I can test something for you.

Thanks in advance!

Code: Select all

*--------------------**---------------------*
Install DZGA-Flask
---------------------------------------------
*Note : Dzga-Flask is free
*for personal use.
---------------------------------------------
Install the DZGA-Flask?
(y)es or (N)o? Default : No
y
Installing DZGA-Flask
Cloning into 'DZGA-Flask'...
remote: Enumerating objects: 1433, done.
remote: Counting objects: 100% (519/519), done.
remote: Compressing objects: 100% (297/297), done.
remote: Total 1433 (delta 330), reused 330 (delta 218), pack-reused 914
Receiving objects: 100% (1433/1433), 5.65 MiB | 9.24 MiB/s, done.
Resolving deltas: 100% (693/693), done.

This script must run as MYUSERNAME, trying to change user...

Installing system requirements...

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libffi-dev is already the newest version (3.4.4-1).
libssl-dev is already the newest version (3.0.11-1~deb12u2+rpt1).
python3 is already the newest version (3.11.2-1+b1).
python3-dev is already the newest version (3.11.2-1+b1).
python3-pip is already the newest version (23.0.1+dfsg-1+rpt1).
python3-venv is already the newest version (3.11.2-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 DZGA-Flask requires python 3.5 or greater

Installing dzga-flask.service...

Created symlink /etc/systemd/system/multi-user.target.wants/dzga-flask.service → /etc/systemd/system/dzga-flask.service.

Starting DZGA-Flask...

Login to DZGA-Flask Server UI at: http://ip.address:8181
Default username is admin and default password is smarthome

*-----------------------------------*
MYUSERNAME@Domoticz:~ $ sudo systemctl start dzga-flask
MYUSERNAME@Domoticz:~ $ sudo systemctl status dzga-flask
× dzga-flask.service - DZGA-Flask dashboard
     Loaded: loaded (/etc/systemd/system/dzga-flask.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Fri 2023-12-01 10:52:38 CET; 5s ago
   Duration: 1ms
    Process: 2302 ExecStart=/home/MYUSERNAME/DZGA-Flask/env/bin/python /home/[email protected]/DZGA-Flask/smarthome.py (code=exited, status=203/EXEC)
   Main PID: 2302 (code=exited, status=203/EXEC)
        CPU: 1ms

Dec 01 10:52:38 Domoticz systemd[1]: dzga-flask.service: Scheduled restart job, restart counter is at 5.
Dec 01 10:52:38 Domoticz systemd[1]: Stopped dzga-flask.service - DZGA-Flask dashboard.
Dec 01 10:52:38 Domoticz systemd[1]: dzga-flask.service: Start request repeated too quickly.
Dec 01 10:52:38 Domoticz systemd[1]: dzga-flask.service: Failed with result 'exit-code'.
Dec 01 10:52:38 Domoticz systemd[1]: Failed to start dzga-flask.service - DZGA-Flask dashboard.
[email protected]@Domoticz:~ $

EDIT:
Good to know is that on my RPi 4B with Bulleye installed I now can get my UI up DewGew. Great!
However It is verry much advised to install Bookworm om my new RPi 5 and as described above, no such luck. Could it be a Bookworm issue?
It does make me curious to know if Louresman is moving on now?
Last edited by jpvaneijk on Friday 01 December 2023 16:21, edited 1 time in total.
Xavier82
Posts: 178
Joined: Tuesday 07 June 2016 22:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Netherlands
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by Xavier82 »

I have today installed DZGA-Flask on a Raspberry Pi 4B (8GB), with OS Bullseye, Domoticz 2023.2 (BETA build 15679).
This is my test-environment.

I think I have entered all information correct but the Dashboard doesn't display the devices from Domoticz.
I can't find any clue in the logging of DZGA-flask.

The only message I get is:

Code: Select all

2023-12-01 11:34:46 http://X.X.X.X:8084 "GET /json.htm?type=command&param=getversion HTTP/1.1" 200 46
No other message is displayed.

What could be wrong?
I checked the user in Domoticz (incl. password)--> changing password give me:

Code: Select all

2023-12-01 11:29:34 http://X.X.X.X.:8084 "GET /json.htm?type=command&param=getusers HTTP/1.1" 401 91
ofcourse also restarted DZGA-flask....

In the old DZGA version there was the use of NGROK, how and where in DZGA-flask is this configurable?

UPDATE:
I now get this error in the logg:

Code: Select all

2023-12-01 13:09:43 Error on request:
Traceback (most recent call last):
  File "/home/pi/DZGA-Flask/env/lib/python3.9/site-packages/werkzeug/serving.py", line 364, in run_wsgi
    execute(self.server.app)
  File "/home/pi/DZGA-Flask/env/lib/python3.9/site-packages/werkzeug/serving.py", line 328, in execute
    write(data)
  File "/home/pi/DZGA-Flask/env/lib/python3.9/site-packages/werkzeug/serving.py", line 300, in write
    self.wfile.write(hex(len(data))[2:].encode())
  File "/usr/lib/python3.9/socketserver.py", line 799, in write
    self._sock.sendall(b)
TimeoutError: [Errno 110] Connection timed out
louresman
Posts: 5
Joined: Sunday 19 November 2023 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by louresman »

Hi DewGew,

After the latest update, I can now access the user interface and see my Domoticz devices.
Thanks for your work fixing this issue.
jpvaneijk
Posts: 76
Joined: Thursday 07 June 2018 21:57
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Noordwijk, Netherlands
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by jpvaneijk »

louresman wrote: Friday 01 December 2023 20:44 Hi DewGew,

After the latest update, I can now access the user interface and see my Domoticz devices.
Thanks for your work fixing this issue.
Just to be clear: This is not on Bookworm or a RPi 5 right?
Thanx
louresman
Posts: 5
Joined: Sunday 19 November 2023 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by louresman »

In response to jpvaneijk

I am running a fresh install of Bullseye on a RPi 3 and DZGA-Flask. I had previously installed Bookworm, thought the issue was the OS and reverted back to Bullseye. I only managed to get everything working with DZGA-Flask v23.9. Previously I could not launch the web inerface.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest