Yea I feel you, I have said about this breaking change what I wanted to say, but decision was made and guess it is an Fait Accompli.houk wrote: ↑Saturday 25 November 2023 14:23 Simpler option is to maintain backward compatibility in domoticz itself and no disabling old format.
I already lost one way to access domoticz via old, not maintained from 2017 year app Imperihome because of changes in domoticz security.
Now another thing in next version will be lost. It shouldn't be like this.
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.
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: 15326 - [WebServer] Depricated RType
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
- madpatrick
- Posts: 636
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: 15326 - [WebServer] Depricated RType
Both Pilot and Domoticz app for IOS are given this error.
Not a big issue because they still are working, but i don’t expect this will be solved.
Both looks abandoned
Not a big issue because they still are working, but i don’t expect this will be solved.
Both looks abandoned
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: 15326 - [WebServer] Depricated RType
Well the reverse proxy worked for me when the android app had issues.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: 15326 - [WebServer] Depricated RType
This is the proxy definition for OLD requests to New Server which I didn't post in the other topic in case you like to support old API calls with new Domoticz versions:
Code: Select all
server {
listen 8081;
server_name domoapi_Old1New;
access_log /var/log/nginx/domoapi1new.log;
error_log /var/log/nginx/domoapi1new.log;
location / {
if ($args ~ (^|.*&)type=settings(.*)) { set $args $1type=command¶m=getsettings$2; break;}
if ($args ~ (^|.*&)type=users(.*)) { set $args $1type=command¶m=getusers$2; break;}
if ($args ~ (^|.*&)type=devices(.*)) { set $args $1type=command¶m=getdevices$2; break;}
if ($args ~ (^|.*&)type=hardware(.*)) { set $args $1type=command¶m=gethardware$2; break;}
if ($args ~ (^|.*&)type=events(.*)) { set $args $1type=command¶m=events$2; break;}
if ($args ~ (^|.*&)type=notifications(.*)) { set $args $1type=command¶m=getnotifications$2; break;}
if ($args ~ (^|.*&)type=createdevice(.*)) { set $args $1type=command¶m=createdevice$2; break;}
if ($args ~ (^|.*&)type=scenes(.*)) { set $args $1type=command¶m=getscenes$2; break;}
if ($args ~ (^|.*&)type=plans(.*)) { set $args $1type=command¶m=getplans$2; break;}
if ($args ~ (^|.*&)type=graph(.*)) { set $args $1type=command¶m=graph$2; break;}
if ($args ~ (^|.*&)type=scenelog(.*)) { set $args $1type=command¶m=getscenelog$2; break;}
if ($args ~ (^|.*&)type=mobiles(.*)) { set $args $1type=command¶m=getmobiles$2; break;}
if ($args ~ (^|.*&)type=cameras(.*)) { set $args $1type=command¶m=getcameras$2; break;}
if ($args ~ (^|.*&)type=cameras_user(.*)) { set $args $1type=command¶m=getcameras_user$2; break;}
if ($args ~ (^|.*&)type=schedules(.*)) { set $args $1type=command¶m=getschedules$2; break;}
if ($args ~ (^|.*&)type=timers(.*)) { set $args $1type=command¶m=gettimers$2; break;}
if ($args ~ (^|.*&)type=scenetimers(.*)) { set $args $1type=command¶m=getscenetimers$2; break;}
if ($args ~ (^|.*&)type=setpointtimers(.*)) { set $args $1type=command¶m=getsetpointtimers$2; break;}
if ($args ~ (^|.*&)type=plans(.*)) { set $args $1type=command¶m=getplans$2; break;}
if ($args ~ (^|.*&)type=floorplans(.*)) { set $args $1type=command¶m=getfloorplans$2; break;}
if ($args ~ (^|.*&)type=lightlog(.*)) { set $args $1type=command¶m=getlightlog$2; break;}
if ($args ~ (^|.*&)type=textlog(.*)) { set $args $1type=command¶m=gettextlog$2; break;}
if ($args ~ (^|.*&)type=setused(.*)) { set $args $1type=command¶m=setused$2; break;}
proxy_http_version 1.1;
proxy_read_timeout 90;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Scheme $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
add_header X-Frame-Options SAMEORIGIN;
proxy_set_header Authorization "Basic";
proxy_pass http://localhost:8080/;
}
}
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Re: 15326 - [WebServer] Depricated RType
type=command¶m=switchscene&idx=55&switchcmd=on
switchscene from API not working
switchscene from API not working
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: 15326 - [WebServer] Depricated RType
But with switchcmd=On (capital o) it is....
See wiki https://www.domoticz.com/wiki/Domoticz_ ... .2F_Groups
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
- habahabahaba
- Posts: 192
- Joined: Saturday 18 March 2023 14:44
- Target OS: Windows
- Domoticz version: 2024.4
- Contact:
Re: 15326 - [WebServer] Depricated RType
Hi everybody.
Updated from 2022.2 version and see the same messages.
How can i find who is sending and what? And will it cause problems in the future?
Debug mode didnt help.
SystemName "windows"
UseUpdate true
build_time "2024-01-30 11:16:34"
dzvents_version "3.1.8"
hash "731719420"
python_version "3.8.2
status "OK"
title "GetVersion"
version "2024.4"
Only Domoticz and ZigbeeForDomoticz plugin
Updated from 2022.2 version and see the same messages.
- Spoiler: show
How can i find who is sending and what? And will it cause problems in the future?
Debug mode didnt help.
SystemName "windows"
UseUpdate true
build_time "2024-01-30 11:16:34"
dzvents_version "3.1.8"
hash "731719420"
python_version "3.8.2
status "OK"
title "GetVersion"
version "2024.4"
Only Domoticz and ZigbeeForDomoticz plugin
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: 15326 - [WebServer] Depricated RType
It is sometjing on your server. Could be scripts, a theme, Dashticz that needs to be updated etc.
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
- habahabahaba
- Posts: 192
- Joined: Saturday 18 March 2023 14:44
- Target OS: Windows
- Domoticz version: 2024.4
- Contact:
Re: 15326 - [WebServer] Depricated RType
Only native Theme, no Dashticz.
Scripts... disabled everything.. and the same
- Spoiler: show
How can i filter out the one?
Or may be the old plugin version? Im using 6.3.015
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: 15326 - [WebServer] Depricated RType
Yes could be the zigbee4Domoticz plugin sending these commands. Did you update it recently?
Edit: from Z4D stable 7 the plugin is compatible with the new API.
Edit: from Z4D stable 7 the plugin is compatible with the new API.
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
- habahabahaba
- Posts: 192
- Joined: Saturday 18 March 2023 14:44
- Target OS: Windows
- Domoticz version: 2024.4
- Contact:
Re: 15326 - [WebServer] Depricated RType
I tried but im on windows and its no so easy
Gitcmd giving some errors, webUI updating gives nothing.
May be i can download the v.7 and just replace the folder?
Will it work and all devices on their places?
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: 15326 - [WebServer] Depricated RType
I dont now, better make a new topic for this in the Zigbee subforum.habahabahaba wrote: ↑Thursday 01 February 2024 14:55I tried but im on windows and its no so easy
Gitcmd giving some errors, webUI updating gives nothing.
May be i can download the v.7 and just replace the folder?
Will it work and all devices on their places?
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: 12
- Joined: Friday 26 June 2020 23:14
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: 15326 - [WebServer] Depricated RType
I am affraid You are rightmadpatrick wrote: ↑Saturday 25 November 2023 21:58 Both Pilot and Domoticz app for IOS are given this error.
Not a big issue because they still are working, but i don’t expect this will be solved.
Both looks abandoned
Wrote an emil to Pilot developer with no reply at all.
-
- Posts: 21
- Joined: Friday 16 November 2018 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: 15326 - [WebServer] Depricated RType
I get the "Deprecated RType (graph) for API request. Handled via fallback (graph), please use correct API Command!" error to. After some searching
I found that the problem was created by a script that shows my electricity consumption and cost.
This is the script what triggerd my error:
Could someone help me with the script? I dont know where the problem is created.
I found that the problem was created by a script that shows my electricity consumption and cost.
This is the script what triggerd my error:
Code: Select all
local scriptVar = 'ElectricityConsumptionAndCost'
return
{
on =
{
timer = {'every 2 minutes'}, -- Run this script every 2 minutes
httpResponses = {scriptVar .. '*'},
},
logging =
{
level = domoticz.LOG_ERROR, -- Change to LOG_DEBUG to debug / Change to LOG_ERROR if script is running properly
marker = scriptVar,
},
data =
{
electricity =
{
initial = {},
},
},
execute = function(dz, item)
-- Variables -------------------------------------------------------
local inputDevice = dz.devices('Electra') -- Input device (P1)
local outputDeviceConsumptionToday = dz.devices('Electriciteit Verbruik (vandaag)') -- Output device consumption today
local outputDeviceConsumptionMonth = dz.devices('Electriciteit Verbruik (maand)') -- Output device consumption month
local outputDeviceConsumptionYear = dz.devices('Electriciteit Verbruik (jaar)') -- Output device consumption year
local outputDeviceCostToday = dz.devices('Electriciteit Kosten (vandaag)') -- Output device cost today
local outputDeviceCostMonth = dz.devices('Electriciteit Kosten (maand)') -- Output device cost month
local outputDeviceCostYear = dz.devices('Electriciteit Kosten (jaar)') -- Output device cost year
-- Electricity costs per unit ------
local costElectricityUnitT1 = 0.36264
local costElectricityUnitT2 = 0.30987
local costElectricityUnitR1 = 0.11500
local costElectricityUnitR2 = 0.11500
-- Fixed cost per day -------------------------------------------------------------------------------------------------------
local costElectricityFixedDay = (0.25526 + 1.16656 - 1.7298) -- (Transport cost + Grid operator cost - Energy tax reduction)
-- Funtion for consumption retrieval ------------
local function ConsumptionGetGraphData(id, delay)
local period = 'year'
electricityURL = dz.settings['Domoticz url'] .. '/json.htm?type=graph&sensor=counter&range=' .. period .. '&idx=' .. id
dz.openURL({ url = electricityURL, callback = scriptVar .. '_' .. id}).afterSec(delay or 0)
end
-- Function for consumption calculation --
local function makeConsumption(device)
local currentConsumption
if device == outputDeviceConsumptionToday then
currentConsumption = (dz.data.electricity.consumptionTodayT1) + (dz.data.electricity.consumptionTodayT2)
currentConsumption = currentConsumption - (dz.data.electricity.consumptionTodayR1) - (dz.data.electricity.consumptionTodayR2)
dz.log('currentConsumption (today): ' .. currentConsumption .. ' kWh', dz.LOG_DEBUG)
end
if device == outputDeviceConsumptionMonth then
currentConsumption = (dz.data.electricity.consumptionMonthT1) + (dz.data.electricity.consumptionMonthT2)
currentConsumption = currentConsumption - (dz.data.electricity.consumptionMonthR1) - (dz.data.electricity.consumptionMonthR2)
dz.log('currentConsumption (month): ' .. currentConsumption .. ' kWh', dz.LOG_DEBUG)
end
if device == outputDeviceConsumptionYear then
currentConsumption = (dz.data.electricity.consumptionYearT1) + (dz.data.electricity.consumptionYearT2)
currentConsumption = currentConsumption - (dz.data.electricity.consumptionYearR1) - (dz.data.electricity.consumptionYearR2)
dz.log('currentConsumption (year): ' .. currentConsumption .. ' kWh', dz.LOG_DEBUG)
end
return dz.utils.round(currentConsumption, 3)
end
-- Function for cost calculation --
local function makeCost(device)
local currentCost
if device == outputDeviceCostToday then
currentCost = (dz.data.electricity.consumptionTodayT1 * dz.data.electricity.costElectricityUnitT1) + (dz.data.electricity.consumptionTodayT2 * dz.data.electricity.costElectricityUnitT2)
currentCost = currentCost - (dz.data.electricity.consumptionTodayR1 * dz.data.electricity.costElectricityUnitR1) - (dz.data.electricity.consumptionTodayR2 * dz.data.electricity.costElectricityUnitR2)
currentCost = currentCost + (dz.data.electricity.costElectricityFixedDay)
dz.log('currentCost (today): ' .. currentCost .. ' EUR', dz.LOG_DEBUG)
end
if device == outputDeviceCostMonth then
currentCost = (dz.data.electricity.consumptionMonthT1 * dz.data.electricity.costElectricityUnitT1) + (dz.data.electricity.consumptionMonthT2 * dz.data.electricity.costElectricityUnitT2)
currentCost = currentCost - (dz.data.electricity.consumptionMonthR1 * dz.data.electricity.costElectricityUnitR1) - (dz.data.electricity.consumptionMonthR2 * dz.data.electricity.costElectricityUnitR2)
currentCost = currentCost + (dz.data.electricity.costElectricityFixedDay * dz.data.electricity.daysCounterMonth)
dz.log('currentCost (month): ' .. currentCost .. ' EUR', dz.LOG_DEBUG)
end
if device == outputDeviceCostYear then
currentCost = (dz.data.electricity.consumptionYearT1 * dz.data.electricity.costElectricityUnitT1) + (dz.data.electricity.consumptionYearT2 * dz.data.electricity.costElectricityUnitT2)
currentCost = currentCost - (dz.data.electricity.consumptionYearR1 * dz.data.electricity.costElectricityUnitR1) - (dz.data.electricity.consumptionYearR2 * dz.data.electricity.costElectricityUnitR2)
currentCost = currentCost + (dz.data.electricity.costElectricityFixedDay * dz.data.electricity.daysCounterYear)
dz.log('currentCost (year): ' .. currentCost .. ' EUR', dz.LOG_DEBUG)
end
return dz.utils.round(currentCost, 2)
end
-- Function for updating a Virtual Custom Sensor --
local function updateCustomSensor(device, value)
local currentValue = device.rawData[1]
if value ~= tonumber(currentValue) then -- Update only necessary when new value differs from the previous one
device.updateCustomSensor(value)
dz.log(device.name .. " ==>> Previous value: " .. currentValue .. " ; New value: " .. value,dz.LOG_DEBUG)
end
end
-- Function for JSON processing --
local function ProcessJSON(t)
local todayVolumeT1, todayVolumeT2, todayVolumeR1, todayVolumeR2 = 0, 0, 0, 0
local monthVolumeT1, monthVolumeT2, monthVolumeR1, monthVolumeR2 = 0, 0, 0, 0
local yearVolumeT1, yearVolumeT2, yearVolumeR1, yearVolumeR2 = 0, 0, 0, 0
local daysCounterMonth = 0
local daysCounterYear = 0
local currentDayIdentifier = dz.time.rawDate:sub(1,10)
local currentMonthIdentifier = dz.time.rawDate:sub(1,4) .. '%-' .. dz.time.rawDate:sub(6,7)
local day = 86400 -- (24 * 60 * 60)
for index, inputDevice in ipairs(t) do
if inputDevice.d == currentDayIdentifier then
todayVolumeT1 = todayVolumeT1 + inputDevice.v
todayVolumeT2 = todayVolumeT2 + inputDevice.v2
todayVolumeR1 = todayVolumeR1 + inputDevice.r1
todayVolumeR2 = todayVolumeR2 + inputDevice.r2
end
if inputDevice.d:match(currentMonthIdentifier) then
monthVolumeT1 = monthVolumeT1 + inputDevice.v
monthVolumeT2 = monthVolumeT2 + inputDevice.v2
monthVolumeR1 = monthVolumeR1 + inputDevice.r1
monthVolumeR2 = monthVolumeR2 + inputDevice.r2
daysCounterMonth = daysCounterMonth + 1
end
if inputDevice.d:match(dz.time.year) then
yearVolumeT1 = yearVolumeT1 + inputDevice.v
yearVolumeT2 = yearVolumeT2 + inputDevice.v2
yearVolumeR1 = yearVolumeR1 + inputDevice.r1
yearVolumeR2 = yearVolumeR2 + inputDevice.r2
daysCounterYear = daysCounterYear + 1
end
end
dz.log('daysCounterMonth: ' .. daysCounterMonth, dz.LOG_DEBUG)
dz.log('daysCounterYear: ' .. daysCounterYear, dz.LOG_DEBUG)
dz.data.electricity.consumptionTodayT1 = todayVolumeT1
dz.data.electricity.consumptionTodayT2 = todayVolumeT2
dz.data.electricity.consumptionTodayR1 = todayVolumeR1
dz.data.electricity.consumptionTodayR2 = todayVolumeR2
dz.data.electricity.consumptionMonthT1 = monthVolumeT1
dz.data.electricity.consumptionMonthT2 = monthVolumeT2
dz.data.electricity.consumptionMonthR1 = monthVolumeR1
dz.data.electricity.consumptionMonthR2 = monthVolumeR2
dz.data.electricity.consumptionYearT1 = yearVolumeT1
dz.data.electricity.consumptionYearT2 = yearVolumeT2
dz.data.electricity.consumptionYearR1 = yearVolumeR1
dz.data.electricity.consumptionYearR2 = yearVolumeR2
dz.data.electricity.costElectricityUnitT1 = costElectricityUnitT1
dz.data.electricity.costElectricityUnitT2 = costElectricityUnitT2
dz.data.electricity.costElectricityUnitR1 = costElectricityUnitR1
dz.data.electricity.costElectricityUnitR2 = costElectricityUnitR2
dz.data.electricity.costElectricityFixedDay = (costElectricityFixedDay or 0)
dz.data.electricity.daysCounterMonth = daysCounterMonth
dz.data.electricity.daysCounterYear = daysCounterYear
end
-- Main -----------------------------------
if item.isHTTPResponse and item.isJSON then
ProcessJSON(item.json.result)
elseif item.isTimer or item.isDevice then
ConsumptionGetGraphData(inputDevice.id, 0)
updateCustomSensor(outputDeviceConsumptionToday, makeConsumption(outputDeviceConsumptionToday))
updateCustomSensor(outputDeviceConsumptionMonth, makeConsumption(outputDeviceConsumptionMonth))
updateCustomSensor(outputDeviceConsumptionYear, makeConsumption(outputDeviceConsumptionYear))
updateCustomSensor(outputDeviceCostToday, makeCost(outputDeviceCostToday))
updateCustomSensor(outputDeviceCostMonth, makeCost(outputDeviceCostMonth))
updateCustomSensor(outputDeviceCostYear, makeCost(outputDeviceCostYear))
else
dz.log('Error retrieving data. Result is: ' .. item.statusText ..' ; Response is: ' .. item.data,LOG_ERROR)
end
end
}
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: 15326 - [WebServer] Depricated RType
This is an pretty easy one as there is only one API call in that script!
Line 49:
From the API Definitions Wiki:
Line 49:
Code: Select all
electricityURL = dz.settings['Domoticz url'] .. '/json.htm?type=graph&sensor=counter&range=' .. period .. '&idx=' .. id
Code: Select all
Warning Stable 2023.2 (and newer)
For users using API calls from outside Domoticz there has been some changes in API calls. They now always should be of the form /json.htm?type=command¶m=**command**
For example
/json.htm?type=graph will be /json.htm?type=command¶m=graph
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 21
- Joined: Friday 16 November 2018 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: 15326 - [WebServer] Depricated RType
Thanks, that was the trickjvdz wrote: ↑Saturday 16 March 2024 11:10 This is an pretty easy one as there is only one API call in that script!
Line 49:From the API Definitions Wiki:Code: Select all
electricityURL = dz.settings['Domoticz url'] .. '/json.htm?type=graph&sensor=counter&range=' .. period .. '&idx=' .. id
Code: Select all
Warning Stable 2023.2 (and newer) For users using API calls from outside Domoticz there has been some changes in API calls. They now always should be of the form /json.htm?type=command¶m=**command** For example /json.htm?type=graph will be /json.htm?type=command¶m=graph
- McMelloW
- Posts: 427
- Joined: Monday 20 November 2017 17:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.1
- Location: Harderwijk, NL
- Contact:
Re: 15326 - [WebServer] Depricated RType
@jvdz
Thanks for the solution, works for me too.
Thanks for the solution, works for me too.
Greetings McMelloW
Who is online
Users browsing this forum: No registered users and 0 guests