MagicMirror² v2.4.1 is available! For more information about this release, check out this topic.
Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!

MMM-ShipmentTracking



  • Preview

    Currently there is only DHL (can someone test if this is also working for non german ids?) included, when i get some tracking ids for other carriers i will implement them as well, if you don’t mind you can send me some per personal message.



  • There is a new carrier called Landmark added



  • is it possible to turn it as general tracking? forexample for site https://www.17track.net/en or that one http://www.track-trace.com/post



  • @Argentum if you provide me tracking ids that work with those sites i will add them for sure



  • You mean tracking code yeah? avg international tracking codes for post are usualy format EE123456789XX

    We use the last 2 letters to automatically send the request to the correct country
    In some cases we use the 2 first letters to select the type of tracking to use
    If the country is not supported or you want to select a specific country you can do this manually after tracking

    forexample one old tracking code RL236121831CN ( 17track.net shows nicely eaven chaina movment but track-trace.com gets stuck… probably cos chaina doesnt write statuses in english)



  • @Argentum said in MMM-ShipmentTracking:

    You mean tracking code yeah? avg international tracking codes for post are usualy format EE123456789XX

    We use the last 2 letters to automatically send the request to the correct country
    In some cases we use the 2 first letters to select the type of tracking to use
    If the country is not supported or you want to select a specific country you can do this manually after tracking

    forexample one old tracking code RL236121831CN ( 17track.net shows nicely eaven chaina movment but track-trace.com gets stuck… probably cos chaina doesnt write statuses in english)

    for 17track could be extra awsome… that starts to trace multiple tracking codes if needed…



  • @Argentum after a lot of struggling 17track is now supported as well, but there is only a correct time displayed, if you are in the same timezone as the carrier. I asked them and they told me the time is the local time of the specific carrier, but there is no information about which timezone it is and without configuring the timezone for all 170+ carriers, everyone has to calculate the difference for themself in their head. Pretty oldschool hah



  • How do you track multiple shipments (for 17track)? I have multiple working tracking codes but it doesn’t seems to find them. Currently I call them like this:
    tracking: {
    ‘17track’: [‘code1’,‘code2’,…,‘codeN’]
    },
    Could you extend the example in the wiki a little?



  • @onlyname0 yes it should be like this, do they work when you put just one in the array?



  • @onlyname0 said in MMM-ShipmentTracking:

    Yes, I’ve tried but it tells me to check the tracking codes. If I check on 17track they work fine, but it can be that the shipping info is in chinese (issue?) which is then translated into english on 17track. Also how do you input several providers, for example 17track and DHL? If I try DHL alone it also tells me to check the tracking number as well. I doubled checked following the base url link in DHL.js and it reads the tracking code fine.