Node-RED Exemples

This is an examle room flow, Sending payload to my ThermIQ’s SET-endpoint

 

Where the extract_temperature creates the payload:

room_temp=msg.payload.temperature;

msg.payload={INDR_T:room_temp};

return msg;

This is an example tibber flow which sends an EVU message on the hour.
Currently selecting the cheapest 20 hours and if price is lower than treshold then enable, else disable

 

The enable function looks like this

msg.payload='{“EVU”:0}’;
return msg;

The disable function looks like this

msg.payload='{“EVU”:1}’;
return msg;