• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 122.8k 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 @nobita
    last edited by Oct 5, 2016, 3:16 AM

    @nobita call ‘git pull’ in the phone_notification directory.

    1 Reply Last reply Reply Quote 0
    • G Offline
      guybatt234
      last edited by Oct 12, 2016, 5:08 PM

      Has there been any progress in making notifications time out?

      1 Reply Last reply Reply Quote 0
      • M Offline
        mschlesinger19
        last edited by Nov 13, 2016, 5:25 PM

        @guybatt234 I am not sure if the fix was ever put in for reversing the order but I figured out how to reverse the order of notifications. In phone_notification.js in the cleanPayload function instead of pushing to the back of the array just call a payload.unshift(newPayload) and that should treat it like a stack and not a queue

        1 Reply Last reply Reply Quote 0
        • T Offline
          Toast
          last edited by Nov 15, 2016, 10:22 AM

          im on the latest revision but not receiving any notifcations

          1 Reply Last reply Reply Quote 0
          • L Offline
            lucallmon
            last edited by Feb 15, 2017, 10:37 AM

            Has anyone had an issue with filling up your notifications and then no new notifications come through at all?

            1 Reply Last reply Reply Quote 0
            • R Offline
              rchase
              last edited by Apr 9, 2017, 8:13 PM

              Anyone ever get iphone work?

              L 1 Reply Last reply Apr 9, 2017, 8:30 PM Reply Quote 0
              • L Offline
                lucallmon @rchase
                last edited by Apr 9, 2017, 8:30 PM

                @rchase android seems to work fine. As long as there’s a pushbullet app for iPhone it should work. I don’t even use the app on my phone.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MaengMarco
                  last edited by May 4, 2017, 2:41 AM

                  How can I reset?
                  Notifications always keep.
                  Also The second notification is output hundreds or thousands of times.
                  What should I do??

                  1 Reply Last reply Reply Quote 0
                  • O Offline
                    Oliver_Tooth
                    last edited by May 6, 2017, 4:33 PM

                    Hi,

                    I’ve just installed your module for use with an iPhone. As I understand it, push-functionality is somewhat limited with Apple, but what can I expect this module to receive? Facebook messenger? Email? Calls/texts? Currently it doesn’t look like it’s receiving anything, but that may be because i’ve configured it wrong!

                    Cheers!

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tnorling
                      last edited by May 17, 2017, 10:39 PM

                      So I had a few issues with this module that I think I was able to fix. The first issue I had was that the second notification gets posted several times. Second, when a notification from an app is already on the list, if a new notification from that app comes in it does not update or push it to the top. Finally, the top of the list is the oldest notification, not the newest. I came up with a solution that seems to work for me so far.

                      In the phone_notification.js file update the cleanPayload function to look like this

                      cleanPayload: function(newPayload){
                              var application_name = newPayload.application_name;
                              var that = this;
                              var dupIndex = 0;
                              if(this.payload.length > 0)
                              {
                                  this.payload.forEach(function (m) {
                                      // If application_name already exists, increment notification count
                                      if(m.application_name === application_name)
                                      {
                                          m.count++;
                                          that.payload.splice(dupIndex,1);
                                      }
                                      dupIndex++;
                                  });
                              }
                              
                              this.payload.unshift(newPayload);
                              this.payload.slice(0, this.config.displayCount -1);
                          },
                      

                      Let me know if this helps or if you have any issues with it.

                      S 1 Reply Last reply May 18, 2017, 2:34 AM Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 10
                      • 6 / 10
                      • 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