If you create a test device (of any type you like) in the Domoticz UI in a browser while you have developer tools enabled (ctrl-shift-i in Chrome), under the network tab you'll see the JSON that the UI sends back to the Domoticz engine when you create or change something. From this, you can figure out the correct JSON to use for any command !
Last edited by philchillbill on Friday 19 July 2019 19:35, edited 1 time in total.
willem9136 wrote: ↑Monday 11 October 2021 11:30
Question, can I create any type of sensor?
I need a kind of custom sensor with 3 inputs
I need to see the output of 3 separate thermometers in 1 graph on the dashboard of Domoticz.
Is this possible?
No this is not possible. A Custom Sensor can only store and display 1 value. Also it is not possible to view graphs on the default dashboard of Domoticz.
If you want to graph multiple values on a dashboard you need something like dashticz extension or make your own graphing with grafana.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
philchillbill wrote: ↑Friday 19 July 2019 19:35
If you create a test device (of any type you like) in the Domoticz UI in a browser while you have developer tools enabled (ctrl-shift-i in Chrome), under the network tab you'll see the JSON that the UI sends back to the Domoticz engine when you create or change something. From this, you can figure out the correct JSON to use for any command !