Hello everyone,
I am a bit new to scripting/programming and everytime i try to learn i stumble to something that seems entirely new and nowhere an answer can be found. As I think that can not be true I ask you for help.
I have Toon (hacked) and using a url i can retrieve the info I am looking for.
I have setup a timestamp node to trigger a HTTP request node. Next i put it trough the json node to convert it to a javascript object. That was what I understood from the documentation.
Now de debug node output looks like this:
object
result: "ok"
currentTemp: "2021"
currentSetpoint: "1550"
currentInternalBoilerSetpoint: "6"
programState: "2"
activeState: "3"
nextProgram: "1"
nextState: "2"
nextTime: "1649880000"
nextSetpoint: "1900"
randomConfigId: "1804289383"
errorFound: "255"
connection: "0"
burnerInfo: "0"
otCommError: "0"
currentModulationLevel: "
I am interesting in only the burnerinfo value, so i can use it to trigger an action. So how i go from here?
I have Node-red running as add-on in Homeassistant, so i want to trigger an action when burnerinfo has for period of time a value of 2.
Hope someone can help...
Thanks!