Page 1 of 1
Dashticz not working need help
Posted: Wednesday 01 January 2025 12:51
by sailmich
Happy new year!
I'm not sure if it is a bug in domoticz, dashticz or something wrong with my RPi4
I run domoticz beta and dashticz beta on the same RPi 4 for months. After an update of domoticz in the last days I got "error for more help visit Dashticz v3 documentation" on my wall tablet. I usually work with domoticz on my phone, after trying open dashticz on my phone I got the same fault. I tried also open dashticz on my notebook with firefox. Sometimes dashticz get open sometimes not. I checked with developer console in firefox this delivers an error at logincheck. Could this be the cause?
Domoticz and dashticz are on newest beta. RPi 4 is updated too.

- Bildschirmfoto vom 2025-01-01 11-58-39-obfuscated.png (42.83 KiB) Viewed 797 times
Any help appreciated.
Re: Dashticz not working need help
Posted: Wednesday 01 January 2025 17:41
by Lokonli
sailmich wrote: ↑Wednesday 01 January 2025 12:51
Happy new year!
I'm not sure if it is a bug in domoticz, dashticz or something wrong with my RPi4
I run domoticz beta and dashticz beta on the same RPi 4 for months. After an update of domoticz in the last days I got "error for more help visit Dashticz v3 documentation" on my wall tablet. I usually work with domoticz on my phone, after trying open dashticz on my phone I got the same fault. I tried also open dashticz on my notebook with firefox. Sometimes dashticz get open sometimes not. I checked with developer console in firefox this delivers an error at logincheck. Could this be the cause?
Domoticz and dashticz are on newest beta. RPi 4 is updated too.
Bildschirmfoto vom 2025-01-01 11-58-39-obfuscated.png
Any help appreciated.
If you've updated from an older Domoticz version then this probably is caused by changes in Domoticz authentication mechanisms.
In Domoticz you have to add the IP address, or subnet, of your Dashticz notebook to Domoticz->Settings->Security->Trusted network.
Or add the correct Domoticz user name and password to your Dashticz CONFIG.js.
You also have to update Dashticz to a recent version (latest master or beta will work)
Re: Dashticz not working need help
Posted: Wednesday 01 January 2025 18:43
by sailmich
In Domoticz you have to add the IP address, or subnet, of your Dashticz notebook to Domoticz->Settings->Security->Trusted network.
Or add the correct Domoticz user name and password to your Dashticz CONFIG.js.
You also have to update Dashticz to a recent version (latest master or beta will work)
Hello Lokonli,
thx für answering, but all of this I already have before the issue appered. It's in the trusted network, user name and password are in CONFIG.js and dashticz is newest version.
Re: Dashticz not working need help
Posted: Wednesday 01 January 2025 19:37
by pquinqu
Hi, this is m'y first post here.
I had the same issue few days ago.
Into the debugger, I noticed a timeout on the initial loading of Dashticz, when requesting all domoticz devices with a web socket connection in domoticz_api.is.
Setting enable_websocket to false in the config section of the CONFIG.js file fixed the issue for me.
It seems that a parseFloat on the Domoticz version enable websockets and this doesn't work in my nginx docker conf.
Hope that help. Have a nice year
Phil
Re: Dashticz not working need help
Posted: Wednesday 01 January 2025 20:03
by Lokonli
Can you post the log info (user messages) from DevTools?
Re: Dashticz not working need help
Posted: Wednesday 01 January 2025 21:21
by waltervl
Lokonli wrote: ↑Wednesday 01 January 2025 20:03
Can you post the log info (user messages) from DevTools?
Warning, in latest beta the API backward compatibility code has been removed. Perhaps this is causing some issues.....
https://github.com/domoticz/domoticz/co ... dfa0c48375
Re: Dashticz not working need help
Posted: Wednesday 01 January 2025 21:59
by pquinqu
Hi lokonli, waltervl,
Can you consider my post above. I fixed the issue with config["enable_websocket"]=false in the CONFIG.js dashticz file.
It seems that Dashticz try to establish a websocket connection to Domoticz after parsing 2024.7 domoticz version, which enables websockets.
The promise fails in timeout as it's in pending state in domoticz_api.js.
I am not fluent in js, but I guess this is the issue.
Say me if I'm wrong
Phil
Re: Dashticz not working need help
Posted: Thursday 02 January 2025 7:49
by Lokonli
pquinqu wrote: ↑Wednesday 01 January 2025 21:59
Hi lokonli, waltervl,
Can you consider my post above. I fixed the issue with config["enable_websocket"]=false in the CONFIG.js dashticz file.
It seems that Dashticz try to establish a websocket connection to Domoticz after parsing 2024.7 domoticz version, which enables websockets.
The promise fails in timeout as it's in pending state in domoticz_api.js.
I am not fluent in js, but I guess this is the issue.
Say me if I'm wrong
Phil
Because of a recent Domoticz change indeed the websocket interface in Dashticz is broken.
Work around as posted by Phil is to add the following to CONFIG.js:
I'll analyze the issue.
Re: Dashticz not working need help
Posted: Thursday 02 January 2025 17:48
by sailmich
Thank you very much to all of you! It's working with the work around.
Cheers
Re: Dashticz not working need help
Posted: Sunday 27 April 2025 20:00
by kiddigital
Lokonli wrote: ↑Thursday 02 January 2025 7:49
pquinqu wrote: ↑Wednesday 01 January 2025 21:59
waltervl wrote: ↑Wednesday 01 January 2025 21:21
Warning, in latest beta the API backward compatibility code has been removed. Perhaps this is causing some issues.....
...
Hi lokonli, waltervl,
...
Because of a recent Domoticz change indeed the websocket interface in Dashticz is broken.
Work around ...
I'll analyze the issue.
Any idea already @Lokonli what is not working anymore? After some debugging and testing I could not found anything wrong.. WebSocket seems to work as normal.. I do not get any timeouts or something.. and see continues updates...
Re: Dashticz not working need help
Posted: Sunday 27 April 2025 22:19
by Lokonli
kiddigital wrote: ↑Sunday 27 April 2025 20:00
Lokonli wrote: ↑Thursday 02 January 2025 7:49
pquinqu wrote: ↑Wednesday 01 January 2025 21:59
Hi lokonli, waltervl,
...
Because of a recent Domoticz change indeed the websocket interface in Dashticz is broken.
Work around ...
I'll analyze the issue.
Any idea already @Lokonli what is not working anymore? After some debugging and testing I could not found anything wrong.. WebSocket seems to work as normal.. I do not get any timeouts or something.. and see continues updates...
Excellent!
Indeed working again with a recent Domoticz version.
Maybe fixed as part of the following commit?
https://github.com/domoticz/domoticz/pull/5918