i would like to ask something about curl and how to implement it.
I just set up my new boiler controller that has also an internet module. After some research i found out tha i can receive data from it with some curl commands and also post to it changes that i want.
When i type the command below from linux shell
Thanks vzorglub!!! It seems to be working.
Another thing i missed to mention, is that in the data i receive, the format is 501_670 and not 501_67 so is there any way to discard the last zero? Thank you once more.
No that won’t work if the temperature is 60 then it will return 6 only
rule "Text to Temperature"
Item stringItem changed
var temperature = (Float::parseFloat(stringItem.state.toString.split("_").get(1)) as Number) / 10