Hi there,
Is there a way to push more than 3 values to the Virtual Sensor "Dummy (Does nothing, use for virtual switches only)"?
Currently I'm trying to use "Dummy (Does nothing, use for virtual switches only)" for Temperature, Humidity and Pressure and 2 additional "Dummy (Does nothing, use for virtual switches only)" for Humidex and THI separately.
But, I would like to push those 5 values in a single query Temperature, Humidity, Pressure, Humidex and THI, not in 3 separated queries.
Is that possible to do somehow?
Thank you for your answer,
Kind regards,
Viktor
Pushing multiple values to Virtual sensor
Moderators: leecollings, remb0
- waltervl
- Posts: 5770
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Pushing multiple values to Virtual sensor
For a temp/Hum/bar you have to send the following parameters in one API call
TEMP = Temperature
HUM = Humidity
HUM_STAT = Humidity status
BAR = Barometric pressure
BAR_FOR = Barometer forecast
See for more info the API wiki page https://wiki.domoticz.com/Domoticz_API/ ... /barometer
I do not know what Humidex or THI is but the above mentioned parameters is all you can do. Also be aware you have to supply all values in one call to have the device display the correct values.
Code: Select all
/json.htm?type=command¶m=udevice&idx=IDX&nvalue=0&svalue=TEMP;HUM;HUM_STAT;BAR;BAR_FOR
HUM = Humidity
HUM_STAT = Humidity status
BAR = Barometric pressure
BAR_FOR = Barometer forecast
See for more info the API wiki page https://wiki.domoticz.com/Domoticz_API/ ... /barometer
I do not know what Humidex or THI is but the above mentioned parameters is all you can do. Also be aware you have to supply all values in one call to have the device display the correct values.
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
- beic
- Posts: 5
- Joined: Friday 16 September 2016 22:22
- Target OS: Windows
- Domoticz version: 2004.6
- Contact:
Re: Pushing multiple values to Virtual sensor
Thank you, yes, I know that, currently I'm using in that way.
I thought that there might be a Virtual Sensor type that you could add "multiple sub sensors" of any type.
I thought that there might be a Virtual Sensor type that you could add "multiple sub sensors" of any type.
- waltervl
- Posts: 5770
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Pushing multiple values to Virtual sensor
No, there is not such a sensor in Domoticz.
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
- beic
- Posts: 5
- Joined: Friday 16 September 2016 22:22
- Target OS: Windows
- Domoticz version: 2004.6
- Contact:
Re: Pushing multiple values to Virtual sensor
It would be really nice to have that kind of sensor type.
-
- Posts: 600
- Joined: Sunday 01 November 2015 22:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: Twente
- Contact:
Re: Pushing multiple values to Virtual sensor
You can put whatever you want in a (dummy) text sensor.
Bugs bug me.
- beic
- Posts: 5
- Joined: Friday 16 September 2016 22:22
- Target OS: Windows
- Domoticz version: 2004.6
- Contact:
Re: Pushing multiple values to Virtual sensor
Nice one!
Could you please give me an example how could I put 5 different measurement into a single "url" text based Dummy sensor?
And how could I add them into 5 separated Chart?
Thank you!
Could you please give me an example how could I put 5 different measurement into a single "url" text based Dummy sensor?
And how could I add them into 5 separated Chart?
Thank you!

Who is online
Users browsing this forum: No registered users and 1 guest