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 12.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 @goprojojo
      last edited by

      @goprojojo Thanks! But also thanks to Aftership.com for providing the API.

      The parcel names (titles in aftership-speak) are customizable via the aftership app, or via the aftership.com website (login -> trackings). Just select the shipment, click edit and enter your own title in the title field. This name will then appear on the mirror-screen. Let me know if that helps and answers your question.

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