RESOL KM2 Communication

This flow is a direct communication with the RESOL KM2 module (1) to read all the temperature sensors and outputs. Based on the information found here: Home-assistant community.

RESOL KM2 Communication

Used palettes:

Steps to take:

RESOL KM2 Communication settings


  1. Only tested with KM2 Firmware version 1.2.0
[{"id":"4a069ba74b2ba4d8","type":"inject","z":"8109ecee23597475","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"5","crontab":"","once":true,"onceDelay":0.1,"topic":"","payloadType":"date","x":330,"y":540,"wires":[["8d0a9e86ed998876"]]},{"id":"5a4a49ff3472de6b","type":"debug","z":"8109ecee23597475","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":990,"y":540,"wires":[]},{"id":"8d0a9e86ed998876","type":"http request","z":"8109ecee23597475","name":"","method":"GET","ret":"bin","paytoqs":"ignore","url":"http://192.X.X.X/current/current_packets.vbus","tls":"","persist":false,"proxy":"","authType":"","senderr":false,"credentials":{"user":"","password":""},"x":540,"y":540,"wires":[["73d86d7ecb0391d7"]]},{"id":"73d86d7ecb0391d7","type":"buffer-parser","z":"8109ecee23597475","name":"","data":"payload","dataType":"msg","specification":"spec","specificationType":"ui","items":[{"type":"int16le","name":"S1","offset":40,"length":1,"offsetbit":0,"scale":"0.1","mask":""},{"type":"int16le","name":"S2","offset":42,"length":1,"offsetbit":0,"scale":"0.1","mask":""},{"type":"int16le","name":"S3","offset":44,"length":1,"offsetbit":0,"scale":"0.1","mask":""},{"type":"int16le","name":"S4","offset":46,"length":1,"offsetbit":0,"scale":"0.1","mask":""},{"type":"int16le","name":"S5","offset":48,"length":1,"offsetbit":0,"scale":"0.1","mask":""},{"type":"int16le","name":"S6","offset":50,"length":1,"offsetbit":0,"scale":"0.1","mask":""},{"type":"int16le","name":"S7","offset":52,"length":1,"offsetbit":0,"scale":"0.1","mask":""},{"type":"int16le","name":"S8","offset":54,"length":1,"offsetbit":0,"scale":"0.1","mask":""},{"type":"int16le","name":"S9","offset":56,"length":1,"offsetbit":0,"scale":"0.1","mask":""},{"type":"int8","name":"R1","offset":80,"length":1,"offsetbit":0,"scale":"1","mask":""},{"type":"int8","name":"R2","offset":81,"length":1,"offsetbit":0,"scale":"1","mask":""},{"type":"int8","name":"R3","offset":82,"length":1,"offsetbit":0,"scale":"1","mask":""},{"type":"int8","name":"R4","offset":83,"length":1,"offsetbit":0,"scale":"1","mask":""},{"type":"int8","name":"R5","offset":84,"length":1,"offsetbit":0,"scale":"1","mask":""}],"swap1":"","swap2":"","swap3":"","swap1Type":"swap","swap2Type":"swap","swap3Type":"swap","msgProperty":"payload","msgPropertyType":"str","resultType":"keyvalue","resultTypeType":"return","multipleResult":false,"fanOutMultipleResult":false,"setTopic":true,"outputs":1,"x":760,"y":540,"wires":[["5a4a49ff3472de6b"]]}]

Flow Info

Created 2 years, 10 months ago
Rating: 5 2

Owner

Actions

Rate:

Node Types

Core
  • debug (x1)
  • http request (x1)
  • inject (x1)
Other

Tags

  • RESOL
  • KM2
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option