https://github.com/mannkind/vacuumqtt-snapshot
Post images from a rooted L10S Ultra (maybe other things) to MQTT
https://github.com/mannkind/vacuumqtt-snapshot
Last synced: over 1 year ago
JSON representation
Post images from a rooted L10S Ultra (maybe other things) to MQTT
- Host: GitHub
- URL: https://github.com/mannkind/vacuumqtt-snapshot
- Owner: mannkind
- Created: 2024-01-24T07:11:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-05T05:54:22.000Z (over 2 years ago)
- Last Synced: 2025-02-07T14:14:35.755Z (over 1 year ago)
- Language: Go
- Size: 10.7 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VacuuMQTT Snapshot
Post images from a rooted L10S Ultra (maybe other things) to MQTT.
## Setup
### Binary
* Download a release from GitHub or build one locally.
```sh
GOOS=linux GOARCH=arm64 go build
scp -O vacuumqtt-snapshot root@VACUUMIP:/data
```
### Vacuum
```sh
# Run vacuumqtt-snapshot at startup
cat >> /data/_root_postboot.sh << EOF
if [[ -f /data/vacuumqtt-snapshot ]]; then
/data/vacuumqtt-snapshot send-latest --broker mqtt.lan:1883 --topic whatever/your/topic/is > /dev/null 2>&1 &
fi
EOF
# Reboot
reboot
```