node-red-contrib-valetudo 2.3.0

Node-RED-nodes for valetudo

npm install node-red-contrib-valetudo

Valetudo is a self-contained control webinterface for rooted xiaomi vacuum robots.

valetudo-map-png

A node to convert Valetudo map_data to a png image which can be send to a dashboard template node.

Supports:

  • JSON string map from Valetudo < 0.6.0
  • JSON string map from Valetudo >= 0.6.0
  • deflated JSON string map from Valetudo >= 2021.01.0b0 (optionally base64 encoded)

Input should be an mqtt node from valetudo map_data topic, e.g. valetudo/robot/map_data.

Output is an png image as buffer which can be send (base64 encoded) to a dashboard template node.

Sample flow: sample flow

HTML for template node:

<div>
    <img src="data:image/png;base64,{{msg.payload}}" style="width: 100%;height: auto" />
</div>

valetudo-parse-binmap

A node to convert Valetudo RE binary map data to a JSON string which can be send to the map-png node.

Binary map data is only sent by Valetudo RE.

Node Info

Version: 2.3.0
Updated 7 months, 1 week ago
License: Apache-2.0
Rating: not yet rated

Downloads

12 in the last week

Nodes

  • valetudo-map-png
  • valetudo-parse-binmap

Keywords

  • node-red

Maintainers