Skip to content

Post images from a rooted L10S Ultra (maybe other things) to MQTT

Notifications You must be signed in to change notification settings

mannkind/vacuumqtt-snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.
GOOS=linux GOARCH=arm64 go build
scp -O vacuumqtt-snapshot root@VACUUMIP:/data

Vacuum

# 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

About

Post images from a rooted L10S Ultra (maybe other things) to MQTT

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages