Search found 2 matches
- Tuesday 06 January 2026 21:20
- Forum: LUA
- Topic: Sensor is not updated by Luascript (http poller)
- Replies: 4
- Views: 56
Re: Sensor is not updated by Luascript (http poller)
Or as in the example on the wiki
domoticz_updateDevice(14051,'',temp)
Actually, this IS correct! I never expected that the sensor expects a number as a string. :lol:
The main issue was that I selected the wrong ID. I checked several pages in the wiki for help, and on https://wiki.domoticz ...
- Monday 05 January 2026 22:27
- Forum: LUA
- Topic: Sensor is not updated by Luascript (http poller)
- Replies: 4
- Views: 56
Sensor is not updated by Luascript (http poller)
Hi,
I just installed Domoticz, and I want to use it to display data which I can read out from a device via JSON.
What I did:
Create Dummy Hardware
Create Virtual Sensor, Type "Temp", which received the ID 14051
Create Hardware "HTTP/HTTPS poller" with custom command file.
I created the ...
I just installed Domoticz, and I want to use it to display data which I can read out from a device via JSON.
What I did:
Create Dummy Hardware
Create Virtual Sensor, Type "Temp", which received the ID 14051
Create Hardware "HTTP/HTTPS poller" with custom command file.
I created the ...