mchristopher / PokemonGo-DesktopMap

Electron App around PokemonGo-Map
https://pokemon-go-updater.mike.ai/download
MIT License
1.76k stars 393 forks source link

Any way to send push notifications to a mobile device? #1218

Closed tinarazzburton closed 2 years ago

tinarazzburton commented 7 years ago

it would be nice if there was an easy way to have the desktop app send a push notification to your mobile device when something on your notify list appeared.

DHollande commented 7 years ago

That'd be the ideal feature - something that could directly push notifications either to mobile or via email or SMS as the notifications pushed out by the 'Share Mobile' are a bit flaky.

PJRay commented 7 years ago

Maybe using PushBullet or similar?

homerfan123 commented 7 years ago

In the issue #869 there was already a discussion and solution but no further steps. Would be indeed great if there would be something like sms/email notification.

DHollande commented 7 years ago

Maybe using PushBullet or similar?

I see some mention of Poke Alert being capable of sending notifications from this version, but the specifics on implementing it are slim.

baer1 commented 7 years ago

today i was able to get push notifications on my phone. unfortunately its a standalone solution for myself so i cant publish it.

the idea was to use the IFTTT Maker channel to get Notifications to the smartphone

https://github.com/mchristopher/PokemonGo-DesktopMap/issues/1165

the map has already the ability to set up a webhook with some limitations. 1) the problem is that the webhook does really send everything. so you cant set the maker channel url directly in the config.ini of the map. you wont be happy because you would get flooded with messages.

so i was developing my own small webservice for the webhook and filter the events there. i am basically repacking the post i am getting from the pokemon go map and do a maker channel post there. (but only the events i would like to know)

the second problem is that the webhook doesnt get called when you have already set a notification in the desktop version. so i had to remove the notifications in the desktop map.

the best solution would be a integration of the ifttt maker channel in the desktop map under the notification settings.

androidfan84 commented 7 years ago

I made a request in #869 for the tutorial.

homerfan123 commented 7 years ago

better than a training would be a direct implementation in the application @mchristopher :) Would be really great if this could be integrated. possibly the only thing missing at the moment

baer1 commented 7 years ago

unfortunately i have had to find out that the webhooks stop after a while and my data layer application is not called. but i am working on something new

tinarazzburton commented 7 years ago

There was this other project that had a method for sending notifications for Push Bullet... i know nothing about coding, but maybe that would help in figuring out an integration? https://github.com/jxmorris12/PokemonGo-Finder

squirterbulb commented 7 years ago

I get notifications on my phone. I didn't have to do anything

ehsians commented 7 years ago

Right now, what seems to be working for a bit is using the default samsung phone internet browser and loading the map on that. Setup the Very Rare, Ultrarare notifications, set sound. When you close the browser, it sends Notification alerts on the phone.

DHollande commented 7 years ago

I'm running into an issue where the default notifications will keep hitting my phone for a single spawn. It'll keep repeating until I eventually remove that Pokemon from my notifications list, otherwise I'll get keep getting flooded with notifications long after it's despawned.

random189268 commented 7 years ago

PokeAlarm works, you just need to edit the config for the map to enable webhooks then give that IP and port to PokeAlarm so it knows where to monitor for spawn data.

More info/brief tutorial in the issue I opened a few weeks back:

1191

tinarazzburton commented 7 years ago

Do some people already get push notifications? I open the ngrok link on my iPhone with Safari and it never sends any kind of notification. If I'm actively looking at the map I can see the rares bouncing up and down, but it never shows any kind of alert.

tinarazzburton commented 7 years ago

Thanks for the comment about pokealarm, but I didn't see much of a tutorial. I'm not even sure how to install pokealarm