https://github.com/alexkn/node-red-contrib-valetudo
A Node-RED node to convert Valetudo map_data to a png image wich can be send to a dashboard template node.
https://github.com/alexkn/node-red-contrib-valetudo
iot node-red roborock rockrobo smarthome vacuum valetudo xiaomi
Last synced: 6 months ago
JSON representation
A Node-RED node to convert Valetudo map_data to a png image wich can be send to a dashboard template node.
- Host: GitHub
- URL: https://github.com/alexkn/node-red-contrib-valetudo
- Owner: alexkn
- License: apache-2.0
- Created: 2019-05-28T16:11:38.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-04T03:24:07.000Z (over 3 years ago)
- Last Synced: 2025-10-02T12:38:09.157Z (9 months ago)
- Topics: iot, node-red, roborock, rockrobo, smarthome, vacuum, valetudo, xiaomi
- Language: JavaScript
- Homepage:
- Size: 748 KB
- Stars: 14
- Watchers: 1
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# node-red-contrib-valetudo
[Valetudo](https://github.com/Hypfer/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
- deflated JSON string map from Valetudo >= 2021.01.0b0 (optionally base64 encoded)
- V2 Maps from Valetudo >= 2021.12.0
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:

HTML for template node:
```HTML
```