Dashticz not working need help
Moderators: leecollings, remb0
-
- Posts: 245
- Joined: Wednesday 17 February 2016 22:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Germany
- Contact:
Dashticz not working need help
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. Any help appreciated.
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. Any help appreciated.
-
- Posts: 2287
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz not working need help
If you've updated from an older Domoticz version then this probably is caused by changes in Domoticz authentication mechanisms.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.
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)
-
- Posts: 245
- Joined: Wednesday 17 February 2016 22:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Germany
- Contact:
Re: Dashticz not working need help
Hello Lokonli,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)
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.
-
- Posts: 2
- Joined: Wednesday 01 January 2025 19:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.7
- Location: France
- Contact:
Re: Dashticz not working need help
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
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
-
- Posts: 2287
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz not working need help
Can you post the log info (user messages) from DevTools?
- waltervl
- Posts: 5770
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Dashticz not working need help
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
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 2
- Joined: Wednesday 01 January 2025 19:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.7
- Location: France
- Contact:
Re: Dashticz not working need help
Hi lokonli, waltervl,waltervl wrote: ↑Wednesday 01 January 2025 21:21Warning, in latest beta the API backward compatibility code has been removed. Perhaps this is causing some issues.....
https://github.com/domoticz/domoticz/co ... dfa0c48375
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
-
- Posts: 2287
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz not working need help
Because of a recent Domoticz change indeed the websocket interface in Dashticz is broken.pquinqu wrote: ↑Wednesday 01 January 2025 21:59Hi lokonli, waltervl,waltervl wrote: ↑Wednesday 01 January 2025 21:21Warning, in latest beta the API backward compatibility code has been removed. Perhaps this is causing some issues.....
https://github.com/domoticz/domoticz/co ... dfa0c48375
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
Work around as posted by Phil is to add the following to CONFIG.js:
Code: Select all
config["enable_websocket"]=false
-
- Posts: 245
- Joined: Wednesday 17 February 2016 22:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Germany
- Contact:
Re: Dashticz not working need help
Thank you very much to all of you! It's working with the work around.
Cheers
Cheers
- kiddigital
- Posts: 438
- Joined: Thursday 10 August 2017 6:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Dashticz not working need help
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...
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
One RPi with Pi foundation standard touch screen to display Dashticz
-
- Posts: 2287
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz not working need help
Excellent!kiddigital wrote: ↑Sunday 27 April 2025 20:00Any 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...
Indeed working again with a recent Domoticz version.
Maybe fixed as part of the following commit? https://github.com/domoticz/domoticz/pull/5918
Who is online
Users browsing this forum: No registered users and 1 guest