Page 10 of 10

Re: 15326 - [WebServer] Depricated RType

Posted: Wednesday 26 March 2025 11:21
by enboer
IP address is the pi running Domoticz. And it appears every 4 minutes.
There are 3 dockers running (Deconz, mosquitto, zwave-js-ui) that could update devices. But stopping this does not help, still getting the message.
Any idea why this more debug level is not working ?

Re: 15326 - [WebServer] Depricated RType

Posted: Wednesday 26 March 2025 11:49
by waltervl
enboer wrote: Wednesday 26 March 2025 11:21 IP address is the pi running Domoticz. And it appears every 4 minutes.
There are 3 dockers running (Deconz, mosquitto, zwave-js-ui) that could update devices. But stopping this does not help, still getting the message.
Any idea why this more debug level is not working ?
It is not mosquitto and not Zwave-JS-UI as they do not communicate over http API with Domoticz.
It could be the Deconz python plugin. Did you update the plugin?
Or it could be another plugin scanning Domoticz regularly.
What is the command you get the error on? getdevices?

Re: 15326 - [WebServer] Depricated RType

Posted: Wednesday 26 March 2025 18:46
by enboer
This is the message:
2025-03-26 18:44:01.626 [WebServer] Deprecated RType (devices) for API request. Handled via fallback (getdevices), please use correct API Command! (192.168.2.8)

The deconz docker is stopped, and the Deconz plugin in Domoticz is disabled. Still gettint this message.

Re: 15326 - [WebServer] Depricated RType

Posted: Wednesday 26 March 2025 19:51
by jvdz
Well, all we can tell you is that there is a process running on ip 192.168.2.8 that is using the old API format, and you are the only person that can check that source.

Re: 15326 - [WebServer] Depricated RType

Posted: Thursday 27 March 2025 11:31
by enboer
Finally I have found the issue. I previously looked at the crons running on my system. There is one checking if Domoticz is still running. I then did not realised that this script uses the json api to do that (thought it just look at the process list :roll:) . Today I looked at the script and it uses the Domoticz json API that to find out the status.
Thanks all for you patience and help.

Re: 15326 - [WebServer] Depricated RType

Posted: Thursday 27 March 2025 19:01
by waltervl
Then it used the incorrect JSON call.
For monitoring Domoticz use eg

Code: Select all

http://127.0.0.1:8080/json.htm?type=command&param=getversion
As described in https://wiki.domoticz.com/Monitoring_domoticz

Edit: I see now that on the wiki n the section of the script the incorrect call is used. I will change that asap. For Monit it has the correct API call.

Edit 2: Fixed the wiki