Replies: 6 comments 1 reply
-
@NiteRide, Allsky doesn't currently have this feature, but I agree it would be nice to have. If we implemented this, I'd probably start with having email sent any time a System Message is added - those messages appear at the top of the WebUI and are usually error or warning messages. |
Beta Was this translation helpful? Give feedback.
-
Do the system messages all log into a unique log or folder (separate from allsky.log)? If so with a little fiddling I could probably figure out a script that could just check that location or file periodically to see if there are any updates. Then try to figure out how to use the sendmail command to set notify.
|
Beta Was this translation helpful? Give feedback.
-
@NiteRide, the System messages are in
There can be an optional |
Beta Was this translation helpful? Give feedback.
-
Vous pouvez intercepter les messages d'erreurs et vous envoyer simplement un Mail d'alerte quand cela se produit ... Avec l'utilitaire "SWAKS" Ce que je fais egalement un resumé de la cloture pour voir si tout a bien été généré !, quand j'ai un plantage etc... ex : "swaks -t MAIL_DESTINATAIRE -s PARAM_SMTP -f MAIL_EXPEDITEUR --h-Subject "AllSky – Rapport de Fin de Nuit via le RaspBerry" --body "En piece jointe, le rapport Jojo !!!" --attach /home/pi/allsky/log-SBRCoach.txt |
Beta Was this translation helpful? Give feedback.
-
The way I do that is via MQTT. I have an MQTT server to which the AllSkyCam publishes data at regular intervals. Then I have node-red that send it all to InfluxDB. Node-Red will mail out (via my dummy gmail account) if no data is received in 15'. The clock resets if data keeps coming... |
Beta Was this translation helpful? Give feedback.
-
Assuming you are taking daytime pictures, you could have a script running in the background that looks at the last time ~/allsky/tmp/image.jpg was updated. |
Beta Was this translation helpful? Give feedback.
-
I'm curious if anyone has a module or a cron script or something setup that alerts them via email when something happens in the allsky program that needs to be addressed. For example if something happens and images stop uploading or allsky stops capturing, etc.
Just a generic email alert that "Oops, something has gone wrong! Login and check your camera" would work for me.
I'm asking as if I don't check the site each day, it would be possible for an error to stop my camera for days (perhaps weeks?) before I knew something was going on. I guess this infers that I would also need to setup some sort of email server or remote SMTP host to send the message.
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions