Can't set temprature via bash script
Posted: Tuesday 10 December 2019 13:39
Hello,
I'm trying to set the temprature of one dummy hardware temperature sensor.
Here's what I've so far:
Result looks like this:
So as you can see my variable is filled corretly but the temperature is still 0 in domoticz (I've checked the IDX multiple times, it's correct and sensor type is Temp).
Any hints?
I'm trying to set the temprature of one dummy hardware temperature sensor.
Here's what I've so far:
Code: Select all
echo $MEASURED
curl 'http://127.0.0.1:8080/json.htm?username=XXX&password=XXX&type=command¶m=udevice&idx=175&nvalue=0&svalue=$MEASURED'
Code: Select all
19.5
{
"status" : "OK",
"title" : "Update Device"
}
Any hints?