Hello,
using ZwaveJsUI, now that we have the configuration items available in DZ, in the configuration menu of the MQTT Auto Discovery Hardware page,
can we use them, read or change values from scripts, DZVent first ?
thank you
Config Number actionnable in DZVENT ? Topic is solved
Moderator: leecollings
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Config Number actionnable in DZVENT ?
Definitely not directly from dzvents. Perhaps whith an API call through OpenUrl() but then you have to find out with browser developer tool (F12) what the API call is. Or look in the source code.
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: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Config Number actionnable in DZVENT ?
It seems there is an undocumented MQTTAD_UpdateNumber API command https://github.com/domoticz/domoticz/bl ... .cpp#L4883
So should be something like
HardwareID is the MQTTAD Hardware ID from page Setup-Hardware. So not the device IDX in Setup-Hardware-MQTTAD-Setup button
It seems to select the to be updated Number device based on the device name found in Setup-Hardware-MQTTAD-Setup button
You can test this out, all on your own risk......
So should be something like
Code: Select all
/json.htm?type=command¶m=MQTTAD_UpdateNumber&idx=HARDWAREID&name=DEVICENAME&value=NUMBERVALUE
It seems to select the to be updated Number device based on the device name found in Setup-Hardware-MQTTAD-Setup button
You can test this out, all on your own risk......
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 0 guests