Closed eloekset closed 3 weeks ago
send-snapshot-to-prusaconnect.sh
should be in /etc/init.d/
crontab -e
and add a line @reboot sleep 50 && sh /etc/init.d/send-snapshot-to-prusaconnect.sh &
to the end of that file to run the script on startup.This script should be modified to run a Python script instead, and that script should listen for a push-button on GPIO to start and stop the camera. Further improvement is to listen for printer status events from Prusa Link to automatically take snapshots when status is Printing
. Also send snapshots to an on-prem service that composes time-lapse videos from the snapshots: https://github.com/blog-eivindgl-com/time-lapse-video-service
Raspberry Pi camera module takes snapshots every 5 seconds and sends to Prusa Connect API. Maybe reuse something from the https://github.com/prusa3d/Prusa-Firmware-ESP32-Cam for better functionality.