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.

    MMM-Parcel

    Scheduled Pinned Locked Moved Utilities
    24 Posts 11 Posters 14.6k Views 12 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.
    • M Offline
      martinkooij @modderhut
      last edited by martinkooij

      @modderhut . Thanks for your comment and compliments! For now you can set maxWidth: "350px" in the module config parameters or whatever pixwidth works for you. Sorry, this was an undocumented feature ;).

      Your feedback also prompted me to consider the behavior of the module in a “narrow” space. I will soon release a functional enhancement for this module in order to autoadapt the module display to a narrow(er) space, maintaining effectiveness and the “look and feel”.

      1 Reply Last reply Reply Quote 0
      • twosquirrelsT Offline
        twosquirrels
        last edited by

        This is a great module, but whenever I change the compactness to anything other than 1, it fails to load. I really want 2 for “very compact”, but it just displays this:

        alt text

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          martinkooij @twosquirrels
          last edited by

          @twosquirrels Thank you for liking the module, and this clearly seems a bug that I haven’t seen yet, and can’t reproduce at home here. Sorry. I have dropped you a PM with my contact info, if you would be willing to help me debugging your situation.

          twosquirrelsT 1 Reply Last reply Reply Quote 0
          • twosquirrelsT Offline
            twosquirrels @martinkooij
            last edited by

            @martinkooij

            This wound up being due to my own impatience. I did get “undefined” after restarting magic mirror, but if I waited a few minutes, it would appear in the desired format. Perhaps the API call wasn’t being performed yet. I was just tinkering too much to wait. Thanks again for making this module!

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

              To the users: thanks for your compliments. Your comments inspire me to add new functionality. Today (2018-03-30): a layout that caters for narrow spaces on the mirror and the possibility to automatically hide delivered packages after a configurable number of days. Have fun and keep on commenting!

              1 Reply Last reply Reply Quote 0
              • twosquirrelsT Offline
                twosquirrels
                last edited by

                Great! But… I seem to have messed up the update, perhaps because I tried to update from the /config folder:

                pi@magicmirror:~/MagicMirror/config $ git pull https://github.com/martinkooij/MMM-Parcel.git
                warning: no common commits
                remote: Counting objects: 241, done.
                remote: Compressing objects: 100% (23/23), done.
                remote: Total 241 (delta 11), reused 14 (delta 4), pack-reused 214
                Receiving objects: 100% (241/241), 682.03 KiB | 0 bytes/s, done.
                Resolving deltas: 100% (119/119), done.
                From https://github.com/martinkooij/MMM-Parcel
                 * branch            HEAD       -> FETCH_HEAD
                fatal: refusing to merge unrelated histories
                
                pi@magicmirror:~/MagicMirror/modules/MMM-Parcel $ git pull
                Updating a4093aa..31ec835
                Fast-forward
                 MMM-Parcel.js  | 160 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------
                 README.md      | 135 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------
                 node_helper.js |  10 +++++----
                 package.json   |   2 +-
                 4 files changed, 199 insertions(+), 108 deletions(-)
                

                It’s stuck at “Loading Parcel module…” How do I remove MMM-Parcel so that I can put it back correctly?

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  martinkooij @twosquirrels
                  last edited by

                  @twosquirrels Basically the most radical way is to remove everything MMM-Parcel from both …/config and from …/modules and make a clean install with clone. I sent you a PM, let me know if it works for you.

                  twosquirrelsT 1 Reply Last reply Reply Quote 0
                  • twosquirrelsT Offline
                    twosquirrels @martinkooij
                    last edited by twosquirrels

                    @martinkooij

                    I installed the update and used the new module code. It worked, although the “hideDelivered” doesn’t seem to be working. I have it set for “3” and as of April 5, I still have a March 28 delivery showing as delivered.

                      hideDelivered: 3, // Hide delivered parcels after 15 days. 
                    
                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      martinkooij @twosquirrels
                      last edited by

                      @twosquirrels Hi. I am sorry it doesn’t work for you. I must have missed a date format from aftership I think, because on my parcels upto now it works like a charm. If you can help me debug, can you please send me (via my personal mail, I sent you a PM) the console output after putting debug: true in the module config. This spits out a lot of info into the console output / log files.

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

                        This site is not bad for tracking parcels. The site can be viewed at https://parceltrackingapp.com/en.

                        1 Reply Last reply Reply Quote 0
                        • luisestradaL Offline
                          luisestrada @martinkooij
                          last edited by

                          @martinkooij said in MMM-Parcel:

                          onsole outpu

                          did you guys come up with a solution? I get that “Loading Parcel Module” and even when I delete and redo anything, it doesn’t work

                          J 1 Reply Last reply Reply Quote 0
                          • J Offline
                            JohnBachini @luisestrada
                            last edited by

                            @luisestrada

                            it works for me. But sure for how much longer as had email from them saying they are making some changes to there API. So that may well break it.

                            bheplerB 1 Reply Last reply Reply Quote 0
                            • bheplerB Offline
                              bhepler Module Developer @JohnBachini
                              last edited by

                              @JohnBachini - As a developer, you can probably ask them for a preview of their upcoming API changes. They may be running it on a test server somewhere that you can hit and work out the necessary modifications to your code.

                              1 Reply Last reply Reply Quote 0
                              • luisestradaL Offline
                                luisestrada
                                last edited by

                                This is my error message

                                [ERROR]  TypeError: aftershipSDK is not a constructor
                                    at Class.fetchShipments (/home/pi/MagicMirror/modules/MMM-Parcel/node_helper.js:91:22)
                                    at Class.startUpdateNext (/home/pi/MagicMirror/modules/MMM-Parcel/node_helper.js:126:8)
                                    at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Parcel/node_helper.js:116:9)
                                    at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:113:11)
                                    at Socket.emit (events.js:200:13)
                                    at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
                                    at processTicksAndRejections (internal/process/task_queues.js:82:9)
                                
                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  PH1TCH
                                  last edited by

                                  Are there any news on this topic? Unfortunately I can’t get it to work either …

                                  1 Reply Last reply Reply Quote 1
                                  • B Offline
                                    BlackZero
                                    last edited by

                                    Hello,

                                    I have installed the module today and somehow the Module just says “Loading Parcel module…” for quite a while and nothing will happen… is there any solution for this?

                                    Thank you very much :)

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

                                      Hello,

                                      I found a solution for this on the issues tab on GitHub of MMM-Parcel.
                                      But now I have the text stated “No Shipment Data” although I have some shipments listed on AfterShip.

                                      Has anyone an idea for a solution of this problem?

                                      G 1 Reply Last reply Reply Quote 0
                                      • G Offline
                                        gtodd @BlackZero
                                        last edited by

                                        @BlackZero I have spoken to AfterShip’s support and they verified that they no longer offer API keys for end-user accounts. You would have to have a merchant account, which does not support importing from amazon and gmail and all those nice features.

                                        So, basically, this module is dead. :(

                                        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
                                        • 1 / 2
                                        • 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