• 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.

MMM-Parcel

Scheduled Pinned Locked Moved Utilities
24 Posts 11 Posters 10.8k 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.
  • T Offline
    twosquirrels
    last edited by Apr 4, 2018, 2:07 PM

    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 Apr 4, 2018, 2:58 PM Reply Quote 0
    • M Offline
      martinkooij @twosquirrels
      last edited by Apr 4, 2018, 2:58 PM

      @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.

      T 1 Reply Last reply Apr 5, 2018, 7:15 PM Reply Quote 0
      • T Offline
        twosquirrels @martinkooij
        last edited by twosquirrels Apr 5, 2018, 7:18 PM Apr 5, 2018, 7:15 PM

        @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 Apr 6, 2018, 7:23 AM Reply Quote 0
        • M Offline
          martinkooij @twosquirrels
          last edited by Apr 6, 2018, 7:23 AM

          @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 May 3, 2020, 12:07 AM Reply Quote 0
          • M Offline
            Mike111111
            last edited by Feb 8, 2019, 5:14 PM

            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 Offline
              luisestrada @martinkooij
              last edited by May 3, 2020, 12:07 AM

              @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 May 3, 2020, 9:02 AM Reply Quote 0
              • J Offline
                JohnBachini @luisestrada
                last edited by May 3, 2020, 9:02 AM

                @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.

                B 1 Reply Last reply May 3, 2020, 4:37 PM Reply Quote 0
                • B Offline
                  bhepler Module Developer @JohnBachini
                  last edited by May 3, 2020, 4:37 PM

                  @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 Offline
                    luisestrada
                    last edited by May 4, 2020, 4:20 AM

                    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 May 26, 2020, 9:39 PM

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

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      • 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