How to create a new "apparaat"

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
willem9136
Posts: 58
Joined: Friday 11 December 2020 15:09
Target OS: Linux
Domoticz version: 2026.2
Location: Netherlands Paesens
Contact:

How to create a new "apparaat"

Post by willem9136 »

Running Domoticz 2026.2
I run a python script collecting the water level in a tank.
Sending data (water pressure) to Domoticz using this script (part of a larger script).

ldrukfor = "1"
commando = 'curl -s \"http://127.0.0.1:8080/json.htm?type=com ... am=udevice&
idx=4&nvalue=0&svalue=LDRUK;LDRUKFOR\"'
commando = commando.replace("LDRUKFOR",ldrukfor)
commando = commando.replace("LDRUK",druk)
print (commando)
os.system(commando)

my question is how to create a "apparaat" which will display the data I send to IDX4.
IDX4 is just something what does not exist. Just for testing.
All want is an X Y display with data and data.

Please advice. Regards Willem
homeJLB
Posts: 153
Joined: Tuesday 16 October 2018 23:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Belgium
Contact:

Re: How to create a new "apparaat"

Post by homeJLB »

You can use The

Code: Select all

Dummy Hardware
for this.

With it you can create a virtual sensor and then update the IDX for that device.

Met Vriendelijke Groeten

Jurgen
User avatar
waltervl
Posts: 7012
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2026.3
Location: NL
Contact:

Re: How to create a new "apparaat"

Post by waltervl »

Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
willem9136
Posts: 58
Joined: Friday 11 December 2020 15:09
Target OS: Linux
Domoticz version: 2026.2
Location: Netherlands Paesens
Contact:

Re: How to create a new "apparaat"

Post by willem9136 »

Werkt, dank je wel
Alisson4
Posts: 3
Joined: Friday 25 September 2020 17:06
Target OS: Windows
Domoticz version:
Contact:

Re: How to create a new "apparaat"

Post by Alisson4 »

thank you.
Post Reply