MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-Parcel

    Utilities
    11
    24
    5600
    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
      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
      • twosquirrels
        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
          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.

          twosquirrels 1 Reply Last reply Reply Quote 0
          • twosquirrels
            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
              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.

              L 1 Reply Last reply Reply Quote 0
              • M
                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
                • L
                  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
                    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.

                    bhepler 1 Reply Last reply Reply Quote 0
                    • bhepler
                      bhepler Project Sponsor @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
                      • L
                        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
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy