rkaczorek / astroberry-server

Astroberry Server is a ready to use system for Raspberry Pi for controlling all your astronomy equipment
GNU General Public License v3.0
274 stars 19 forks source link

Notification infrastructure #77

Open picciux opened 4 years ago

picciux commented 4 years ago

Hi Radek,

first, thank you very much for Astroberry, I really appreciate it. During astrophoto sessions, something can go wrong: it's not an astroberry thing, it's that systems are never perfect. I thought: would be nice if Ekos could notify me when an error occur; and found KStars has a configurable notification system. Good! But... hey... How can I see/hear notifications in a headless system? I should mount a speaker on my tube? I have to vnc it all the time to check problems? Mhm... a remote bluetooth speaker? Best of all: receive a notification on my phone! Ok so... push notifications: all notification services are cloud (and internet) based, but often dark skyes are not "connected", at least for me. Found Gotify and works perfectly. I'm still doing some tweaks to integrate it in Astroberry, but basically it's there. One step further. People can have different needs: users with a remote-internet-connected-obsy would obviously benefit from a cloud based push notification service, for instance. My idea is a notification infrastructure for Astroberry:

A simple config file can be used for choosing the backend and enabling gotify or not (if not needed).

In a few days I think I could provide a tar archive with my Astroberry-Gotify integration, as soon as I finished testing it, for you to evaluate.

What do you think about it?

Thanks for all your work.

rkaczorek commented 4 years ago

This is really cool idea! Thanks for sharing this. Let me know when you're ready and I will give it a look and build a debian package so it can be pushed to the repository.

rkaczorek commented 4 years ago

Hi, any update on this?

picciux commented 4 years ago

Sorry Radek, been busy. Hope to send you something tomorrow.

picciux commented 4 years ago

Almost ready: how to send you files? Thanks

rkaczorek commented 4 years ago

Depends on the size. If too big for email share it via any cloud service and send me a link via email

picciux commented 4 years ago

Sent email.

rkaczorek commented 4 years ago

Got it! Thanks Matteo. I will look at it over weekend