• 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.9k 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
    last edited by Mar 24, 2018, 10:58 PM

    yes, would be possible, I think. Good idea,!

    I’ll look into a compact “3”. If we exchange mailadresses can you send me a picture of your mirror, so I can understand a little bit better what you mean… Because compactness 2 should already show a 1 liner…

    cheers, martin

    1 Reply Last reply Reply Quote 1
    • G Offline
      goprojojo
      last edited by Mar 27, 2018, 6:29 AM

      Great module! Are the names of the packages customizable too?

      M 1 Reply Last reply Mar 27, 2018, 8:55 AM Reply Quote 0
      • M Offline
        martinkooij @goprojojo
        last edited by Mar 27, 2018, 8:55 AM

        @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 Mar 27, 2018, 11:13 AM Mar 27, 2018, 10:27 AM

          @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
          • T Offline
            twosquirrels
            last edited by Mar 27, 2018, 9:17 PM

            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 Mar 27, 2018, 10:08 PM Reply Quote 0
            • M Offline
              martinkooij @twosquirrels
              last edited by Mar 27, 2018, 10:08 PM

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

              T 1 Reply Last reply Mar 28, 2018, 12:37 AM Reply Quote 0
              • T Offline
                twosquirrels @martinkooij
                last edited by Mar 28, 2018, 12:37 AM

                @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 Mar 30, 2018, 10:09 AM Mar 30, 2018, 10:09 AM

                  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
                  • 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
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        8/24
                        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