Tertiush / Alarmin-Android-App

Alamin is an android app for controlling Paradox alarms through an IP module
MIT License
12 stars 10 forks source link

How push notifications work? #45

Closed dziedrius closed 6 years ago

dziedrius commented 6 years ago

I've set up the app and can see status/control it, but I'm not receiving push notifications, even though I'm receiving emails from IP module. I'm not sure how push notifications should work, how they are related to SMTP server settings? Is the app reading SMTP settings from IP module and periodically checking for new emails and turning them into push notifications or it works somehow differently, I could not find explanaition?

Tertiush commented 6 years ago

Hi, see here: https://github.com/Tertiush/Alarmin-Android-App/wiki/Push-Notifications Alarmin has a server that receives the emails and translates them to push notifications. Assuming you have an IP150, Alarmin will configure the email address in the first available opening,

On Mon, 16 Apr 2018 at 20:04 dziedrius notifications@github.com wrote:

I've set up the app and can see status/control it, but I'm not receiving push notifications, even though I'm receiving emails from IP module. I'm not sure how push notifications should work, how they are related to SMTP server settings? Is the app reading SMTP settings from IP module and periodically checking for new emails and turning them into push notifications or it works somehow differently, I could not find explanaition?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Tertiush/Alarmin-Android-App/issues/45, or mute the thread https://github.com/notifications/unsubscribe-auth/ALGOjG5VJZBjv4tWs_Kx5hO7TAmMeZJSks5tpN1CgaJpZM4TXAFj .

dziedrius commented 6 years ago

Ok, I finally managed to make it work, missing piece was to configure push notifications after connecting to alarm in app. Everything works perfectly, thanks a lot :)