Hello everyone, is it possible to convert values in one GET response, there are 6500, you need 100,
there are 3400, you need 50.
http://192.168.0.110:9090/json.htm?type ... 13&kelvin=?
And yes, is it possible to get the status of only one parameter?
http://192.168.0.110:9090/json.htm?type ... tus={value}
Thanks.
converting values
Moderator: leecollings
converting values
Last edited by jorro on Friday 01 April 2022 16:55, edited 1 time in total.
- waltervl
- Posts: 5907
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: converting values
Can you explain what you trying to achieve?
From what application do you want to set the kelvinlevel of a domoticz device? Because in that application you will do the calculation.
From what application do you want to set the kelvinlevel of a domoticz device? Because in that application you will do the calculation.
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
Re: converting values
Smart Alice and Domoticz
Re: converting values
I say, Alice, white light,the value 4500 is passed,And you need from 0-100
http://192.168.0.110:9090/json.htm?type ... elvin=4500
http://192.168.0.110:9090/json.htm?type ... elvin=4500
Re: converting values
Hello again
I'll ask in another way, is it possible to carry out mathematical calculations with {value} ?
For example {value*100},{value/100} ?
I'll ask in another way, is it possible to carry out mathematical calculations with {value} ?
For example {value*100},{value/100} ?
- waltervl
- Posts: 5907
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: converting values
You need a programming language. Url is not a programming language. So that Alice will have to do the calculation.
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
Re: converting values
Alice does not know how to calculate, she only gives values and accepts, it's a pity that there is no answer to my question.
But thanks anyway.
But thanks anyway.
Who is online
Users browsing this forum: No registered users and 1 guest