MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Phone Notifications

    Scheduled Pinned Locked Moved Utilities
    97 Posts 31 Posters 148.1k Views 33 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      ronny3050 Module Developer
      last edited by ronny3050

      @tnorling thanks for the information! You’re indeed correct in stating that there is a ratelimit associated with requesting pushes. It indeed seems like an unsolvable issue, given that once we request a push, the JSON response is already sent, even if it is streamed. :(

      The json response comes in whenever a new event occurs, however, we could maintain a stack of current pushes and dismissals. The wait time could then be dynamic shortened if a dismissal is found in the stack.

      Will this work?

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        tnorling @ronny3050
        last edited by

        @ronny3050 I’m not sure if I quite understand. It seems to me that any time there is activity on pushbullet we get a ping saying “hey look at me, I have new information for you” and then we check to see what event occurred and act accordingly. And from what I understand any time pushbullet notifies us of activity it counts towards the ratelimit because that’s when the websocket gets opened. So unless it’s dependent on when you read the JSON, the only way I see us limiting the rate at which we make requests is by periodically checking the JSON and parsing the new information rather than listening for new activity. Which kind of defeats the purpose.

        Of course I could be wrong about all this, I’m not super familiar with websockets or the API. We might be stuck with the way it is, but it works well enough as long as your phone isn’t receiving a ton of notifications at one time.

        1 Reply Last reply Reply Quote 0
        • M Offline
          malicious_banjo
          last edited by

          The very first time I set up this module I was getting notifications. After about ten minutes my log started reporting rateLimit errors, and notifications stopped coming in.

          Since then, notifications don’t work at all. I’ve tried resetting all my tokens and starting over, I’ve completely removed/reinstalled the module, still nothing. I even bought a month of pro to see what would happen.

          The log isn’t reporting any problems, it’s basically like my mirror doesn’t even know it’s connected to my account. Any ideas to fix it?

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            ronny3050 Module Developer @malicious_banjo
            last edited by

            @malicious_banjo do you use Pushbullet a lot? There’s a limit on how many requests are given out per user.

            If you use Pushbullet outside of this module, it is possible that you ran out of requests.

            Seems like a good course of action will be to custom create an Android app that will push notifications.

            M 1 Reply Last reply Reply Quote 0
            • R Offline
              ronny3050 Module Developer
              last edited by

              @tnorling what do you say we create our own mobile application for both Android and iOS that can push notifications. This way, we won’t have to rely on Pushbullet and can control push limits.

              1 Reply Last reply Reply Quote 0
              • M Offline
                malicious_banjo @ronny3050
                last edited by

                @ronny3050 Nope, I made a PushBullet specifically for this module. The error returned after just two notifications on the mirror.

                I can get a single notification to appear now, but only from the “Send Test Notification” button from the Mirroring menu on the Pushbullet app. The console will output null and then after that, nothing more.

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  ronny3050 Module Developer @malicious_banjo
                  last edited by

                  @malicious_banjo the more I think about it, the more convinced I get that we should have our own application. The issue is I am not very knowledgeable in the workings of Pushbullet which will always limit my abilities to solve issues like this.

                  Do you think it is reasonable to have a widget installed on your Android phone that pushes notifications instead of relying on PushBullet?

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    malicious_banjo @ronny3050
                    last edited by

                    @ronny3050 Seems perfectly reasonable to me. Would it abandon the usage of the PushBullet API/Access Token completely?

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      ronny3050 Module Developer @malicious_banjo
                      last edited by

                      @malicious_banjo Yes, it will. It will be a lot of work, but I think it would work well due to the following advantages -

                      • Phone call alert with caller ID
                      • App for both Android and iOS
                      • No relying on push limits/month
                      • Issues can be resolved in an easier fashion
                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        malicious_banjo @ronny3050
                        last edited by

                        @ronny3050 Sounds great. I just finished my mirror a few days ago so I’m quite new to this community; have they’re been a fair amount of issues concerning this module? I’m guessing some kind of recent update to PushBullet is throwing everything out of whack?

                        R 1 Reply Last reply Reply Quote 0
                        • R Offline
                          ronny3050 Module Developer @malicious_banjo
                          last edited by

                          @malicious_banjo said in Phone Notifications:

                          @ronny3050 Sounds great. I just finished my mirror a few days ago so I’m quite new to this community; have they’re been a fair amount of issues concerning this module? I’m guessing some kind of recent update to PushBullet is throwing everything out of whack?

                          It’s possible and yes, there are more issues than I would like to have. I’ll get started on this and update you. Please hang tight! :)

                          R 1 Reply Last reply Reply Quote 0
                          • R Offline
                            ronny3050 Module Developer @ronny3050
                            last edited by

                            @malicious_banjo another advantage is pushbullet does not capture all notifications - it depends on the applications sending the notification. This should be resolved by having a custom app as well :)

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              B3nihana
                              last edited by

                              Was looking at this module to display some push notifications. I know that it won’t work with Pushover due to their API, but there is one option that Pushover has that would be really useful which is syncing alert dismissals. This means that you can get the alerts on your phone or mirror, but as soon as you acknowledge it on the phone it is removed from all other devices. This would be good to ensure you see the alert wherever you are, but are able to control when it is removed from the mirror. Just a thought :)

                              1 Reply Last reply Reply Quote 1
                              • O Offline
                                Ogret
                                last edited by

                                Hello

                                I hope someone could help me.

                                Iphone 6s with IOS 11
                                Rasperrby

                                Issue:
                                I see on the screen no new notifications, I also i added the API Key from Pushbullet on the config but I can’t send message from the Iphone to the MagicMirror. I only see in the Iphone App the Iphone and not the MagicMirror.

                                Thanks for help me or clarified.

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  carnifex82
                                  last edited by carnifex82

                                  Same problem as Ogret2 here. I’m also quite not sure, how the pushbullet app is supposed to know about the other notifactions from my iPhone? But not even pushbullet notes arrive. Am I supposed to add the Mirror as an device? That’s what I did with my raspbery projects so far when using pushbullet to notify myself on the phone. But I only see the option for the general auth token.

                                  [edit]
                                  apparently it’s broken due to pushbullet :( maybe add a notice on github or so.

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    ThePrinoob
                                    last edited by

                                    Hello,

                                    For me everything is working but the Mirror doesn’t show any notification from Snapchat.

                                    Thanks for helping!

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      jew_lion
                                      last edited by

                                      Ive been trying to add this module but everytime i run cd phone_notification it just says no such file or directory. help please!

                                      Cr4z33C 1 Reply Last reply Reply Quote 0
                                      • Cr4z33C Offline
                                        Cr4z33 @jew_lion
                                        last edited by

                                        @jew_lion go for MMM-PushBulletNotifications.

                                        Same features, but perfectly working. ;)

                                        https://github.com/basknol/MMM-PushBulletNotifications

                                        J 2 Replies Last reply Reply Quote 2
                                        • J Offline
                                          jew_lion @Cr4z33
                                          last edited by

                                          @Cr4z33 Thank you so much, I’ll give that a go

                                          1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            jew_lion @Cr4z33
                                            last edited by

                                            @Cr4z33 Worked like a charm! Thanks!

                                            Cr4z33C 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 8 / 5
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy