Since this last update I get the above messages. I don't have any camera's installed at the moment.2023-06-01 23:12:13.626 Status: [WebServer] Depricated RType (cameras) for API request. Please use correct API Command!
2023-06-01 23:16:04.417 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
15326 - [WebServer] Depricated RType Topic is solved
Moderators: leecollings, remb0
Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
15326 - [WebServer] Depricated RType
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- waltervl
- Posts: 5844
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: 15326 - [WebServer] Depricated RType
Is there something else running or accessing Domoticz on the same time? That would help debugging....
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
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: 15326 - [WebServer] Depricated RType
No, nothing else running at the same time.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 56
- Joined: Monday 26 March 2018 18:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: 15326 - [WebServer] Depricated RType
Same messages here.... (only about devices, not cameras)
Code: Select all
2023-06-02 09:02:00.900 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:02:00.903 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:02:00.905 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:02:00.909 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:02:00.921 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:02:00.925 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:02:00.933 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:02:00.941 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:02:00.949 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:02:00.952 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:02:00.954 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:02:00.958 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:02:01.189 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:03:01.015 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:03:01.029 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:03:01.040 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:03:01.065 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:03:01.069 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:03:01.129 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:03:01.151 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:03:01.165 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:03:01.174 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:03:01.182 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:03:01.193 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:03:01.213 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-02 09:03:01.216 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
-
- Posts: 4
- Joined: Friday 02 June 2023 10:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: 15326 - [WebServer] Depricated RType
Same error occurs here on build 15326 when doing a request on the API/JSON. In my case I'm doing a GET on the historic data: https://www.domoticz.com/wiki/Domoticz_ ... 7s#History
- waltervl
- Posts: 5844
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: 15326 - [WebServer] Depricated RType
Be sure you cleared your browser cache as a lot of javascript files have been modified in this latest beta version!
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: 4
- Joined: Friday 02 June 2023 10:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: 15326 - [WebServer] Depricated RType
I tested it by doing a GET-request with Postman, same error: [WebServer] Depricated RType (graph) for API request. Please use correct API Command!
I don't see that has anything to do with cache in my browser?
I don't see that has anything to do with cache in my browser?
- waltervl
- Posts: 5844
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: 15326 - [WebServer] Depricated RType
That is correct in your specific case, only to be sure browser cache is not the source of these log entries.
Also for the other users that have similar log entries but say not to use API calls (but do when using the browser).
Also for the other users that have similar log entries but say not to use API calls (but do when using the browser).
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
- waltervl
- Posts: 5844
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: 15326 - [WebServer] Depricated RType
In the change https://github.com/domoticz/domoticz/pull/5697/files I see the API call
Code: Select all
/json.htm?type=graph&...
Code: Select all
/json.htm?type=command¶m=graph&
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
- gizmocuz
- Posts: 2537
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: 15326 - [WebServer] Depricated RType
For external API queries, RType queries have been replaced by normal queries.
We might need to update the wiki for these left overs.
The user interface commands (web gui) have been modified
We might need to update the wiki for these left overs.
The user interface commands (web gui) have been modified
Quality outlives Quantity!
-
- Posts: 56
- Joined: Monday 26 March 2018 18:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: 15326 - [WebServer] Depricated RType
I changed all my scripts (104):
Code: Select all
/json.htm?type=devices
Code: Select all
/json.htm?type=command¶m=getdevices
and
Code: Select all
/json.htm?type=graph&
Code: Select all
/json.htm?type=command¶m=graph&

-
- Posts: 54
- Joined: Thursday 23 June 2016 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: NL
- Contact:
Re: 15326 - [WebServer] Depricated RType
thanks!Joep123 wrote: ↑Friday 02 June 2023 19:55I changed all my scripts (104):
intoCode: Select all
/json.htm?type=devices
Code: Select all
/json.htm?type=command¶m=getdevices
and
intoCode: Select all
/json.htm?type=graph&
The messages about "Depricated RType" don't appear anymoreCode: Select all
/json.htm?type=command¶m=graph&
![]()
-
- Posts: 4
- Joined: Friday 02 June 2023 10:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: 15326 - [WebServer] Depricated RType
thanks! I updated the API Command, now it's working again.waltervl wrote: ↑Friday 02 June 2023 11:47In the change https://github.com/domoticz/domoticz/pull/5697/files I see the API callhas been changed toCode: Select all
/json.htm?type=graph&...
Code: Select all
/json.htm?type=command¶m=graph&
- waltervl
- Posts: 5844
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: 15326 - [WebServer] Depricated RType
In your case it looks to be a browser cache issue, please clear it. If it does not disappear it should be triggered to a User action. Please check what you are doing with Domoticz if the message appears.EdwinK wrote: ↑Thursday 01 June 2023 23:18Since this last update I get the above messages. I don't have any camera's installed at the moment.2023-06-01 23:12:13.626 Status: [WebServer] Depricated RType (cameras) for API request. Please use correct API Command!
2023-06-01 23:16:04.417 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
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: 1
- Joined: Saturday 03 June 2023 19:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 15330
- Location: Ukraine/Odesa
- Contact:
Re: 15326 - [WebServer] Depricated RType
I had such a problem after update 15326. In addition, both applications on the phone (old and new with an annual subscription) stopped working - they cannot connect - an error (Error getting http data!). For any request through the site or the site "controlicz"com" - I get errors in the logs described above in the posts. And there is the same error in the logs when I try to see the voltage or temperature graph in the application on the phone. At the same time, the graph does not appear on the phone (the page in the application just twitches to the side).
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: 15326 - [WebServer] Depricated RType
Had cleared the browser cache, but still there. Even cleared out browsing history cached images with time range 'all time'. Treid switching browser, but still this
Still no luck. Giving up right now. It doesn't really hurt anything, just filling the logs with this error.
Also turned off all the events I had. So the only thing I could think of is the Open Meteo flow.2023-06-04 09:11:12.836 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-04 09:11:17.837 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-04 09:11:17.885 Status: [WebServer] Depricated RType (settings) for API request. Please use correct API Command!
2023-06-04 09:11:18.491 Status: [WebServer] Depricated RType (cameras) for API request. Please use correct API Command!
Still no luck. Giving up right now. It doesn't really hurt anything, just filling the logs with this error.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Re: 15326 - [WebServer] Depricated RType
Joep123 wrote: ↑Friday 02 June 2023 19:55I changed all my scripts (104):
intoCode: Select all
/json.htm?type=devices
Code: Select all
/json.htm?type=command¶m=getdevices
and
intoCode: Select all
/json.htm?type=graph&
The messages about "Depricated RType" don't appear anymoreCode: Select all
/json.htm?type=command¶m=graph&
![]()
Thanks
any idea whats new command for
Code: Select all
/json.htm?type=schedules&filter=device
old one isnt working...
Re: 15326 - [WebServer] Depricated RType
Hi,
Just faced the same issue...
I'm using Monitor (https://github.com/vil1driver/monitor) as custom page , and was working fine until this damned beta update...
Why are they breaking this API ?
Is that a mistake or will it be it at final ?
My problem is on Devices and Scenes... if there is an easy way to fix Monitor I'm in !
Just faced the same issue...
I'm using Monitor (https://github.com/vil1driver/monitor) as custom page , and was working fine until this damned beta update...
Why are they breaking this API ?
Is that a mistake or will it be it at final ?
My problem is on Devices and Scenes... if there is an easy way to fix Monitor I'm in !
- kiddigital
- Posts: 438
- Joined: Thursday 10 August 2017 6:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: 15326 - [WebServer] Depricated RType
No mistake, matter of cleaning up old inconsistencies.
Should be easy to fix. Maybe ask the either the author to fix it for you or do it yourself.
Look for the API calls that do not start with `type=command`.
Example `type=devices` should become `type=command¶m=getdevices`
Should be easy to fix. Maybe ask the either the author to fix it for you or do it yourself.
Look for the API calls that do not start with `type=command`.
Example `type=devices` should become `type=command¶m=getdevices`
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
- waltervl
- Posts: 5844
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: 15326 - [WebServer] Depricated RType
Could be your theme as some themes have Camera suppport added. Do you use a default theme or a custom one?EdwinK wrote: ↑Sunday 04 June 2023 8:48 Had cleared the browser cache, but still there. Even cleared out browsing history cached images with time range 'all time'. Treid switching browser, but still this
Also turned off all the events I had. So the only thing I could think of is the Open Meteo flow.2023-06-04 09:11:12.836 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-04 09:11:17.837 Status: [WebServer] Depricated RType (devices) for API request. Please use correct API Command!
2023-06-04 09:11:17.885 Status: [WebServer] Depricated RType (settings) for API request. Please use correct API Command!
2023-06-04 09:11:18.491 Status: [WebServer] Depricated RType (cameras) for API request. Please use correct API Command!
Still no luck. Giving up right now. It doesn't really hurt anything, just filling the logs with this error.
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
Who is online
Users browsing this forum: No registered users and 1 guest