Package tracking in Home Assistant — PostNL, DHL, DPD, GLS + 40 more carriers

Any plans to support more providers like GLS NL & UPS.

@Johan_L I'll have a look; not sure if it's possible.

New releases are on the way for all carriers. You can now configure if you want the history to be also present within a parcel object. It's a normalized field. By default history is off and the value is null:

history: null

If you enable history, you get something like below, where status is the normalized status field and raw_status is the carrier specific status.

  history:
    - timestamp: '2026-06-29T00:45:08Z'
      status: registered
      raw_status: PRENOTIFICATION_RECEIVED
    - timestamp: '2026-06-29T01:30:02.349Z'
      status: in_transit
      raw_status: INTERVENTION_RECEIVER_REQUESTS_DELIVERY_AT_ANOTHER_TIME/DATE
    - timestamp: '2026-06-29T06:19:00Z'
      status: in_transit
      raw_status: PARCEL_SORTED_AT_HUB
    - timestamp: '2026-06-29T12:46:39Z'
      status: in_transit
      raw_status: PARCEL_ARRIVED_AT_LOCAL_DEPOT
    - timestamp: '2026-06-30T09:02:13Z'
      status: out_for_delivery
      raw_status: OUT_FOR_DELIVERY
    - timestamp: '2026-06-30T09:48:04Z'
      status: delivered
      raw_status: DELIVERED

@Klaptafeltje / @jonisnet might be interesting (or not) for the lovelace cards you have developed.

1 Like

Thanks,

They seem to have a not that complicated API, but only thing i can do is yell at ai what it's doing wrong :wink:

I prefer, when possible, a user account mechanism because then we can read the parcels in the account. Don't know if there is a my GLS account kind of way? Else you need to insert parcel codes every time :slight_smile:

Also see Simple card · Issue #2 · peternijssen/ha-dhl-nl · GitHub

Did some digging and there is no way to register. Probably only business account or something like that.

Would it already be helpful if you could insert GLS t&t codes in HA manually and then have the same options as the other carriers? If possible of course.

Trying to explore what is possible/doable :slight_smile:

Thanks! Added support for the timeline/history events in v1.1.0 :smiley:

1 Like

To see what is possible with GLS, would someone be willing to follow the steps below and share the details with me through the chat option here? Note that you redact any personal information by replacing it with XXX for example.

What you need

  • A GLS-NL parcel number: 7 or 8 digits (this is the short number, not the long letters+digits barcode). You can usually find it in the GLS track & trace mail/SMS or on gls-info.nl.
  • The delivery postal code for that parcel, e.g. 1234AB (no space).
  1. Open this URL in your browser, replacing the two placeholders:

    https://apm.gls.nl/api/tracktrace/v1/PARCELNO/postalcode/POSTALCODE/details/nl-NL
    

    Example (fake): https://apm.gls.nl/api/tracktrace/v1/12345678/postalcode/1234AB/details/nl-NL

  2. You should see a page full of JSON ({ ... }).

    • If the page is blank / "no content", the parcel number or postal code is wrong, or the parcel is too old — double-check both.
  3. Select all (Ctrl/Cmd-A), copy, and send it back to me (redact any personal info).

Following this, I might need more info from different endpoints.

Just sended the details to you, just hit me up if you need anything else.

Also wondering if it would be possible to use a sensor of input_text or something like that to get the tracking numbers in the plugin.

Then people could use the email function of Home Assistant and just forward the received tracking emails.

Thanks!

Here is a first initial alpha version. Same structure, sensors etc as the other carriers:

Since there is no account structure, you have to add T&Ts yourself. There is a service available that you can use to add tracking numbers by either adding an input field in your dashboard:

Or you can use an automation to of course trigger the service. Hope this helps in automating it as much as possible.

Let me know any bugs that you might come across :slight_smile:

1 Like

Added the packages via dev_tools, actions. This works so i assume it works in automations etc.. also.

All sensors seem to load the correct data and i added the sensors to HKI as a custom and that also works.

Do I need to untrack packages manual or will they disappear after a while?

Great! Delivered parcels will automatically be removed (the separate sensors). For the delivered sensor, I've just pushed an update that has the same config setting as all other carriers (amount of days or parcels you want to keep in "memory").

In the git issue you referred to I noticed that there was also questions about ups.

Did you know that the ups basic tracking api is free to use for everyone with a ups mychoice account?

https://developer.ups.com/tag/Tracking?loc=nl_NL

Unfortunately not all dutch addresses are supported but if the shipper uses the linked email address the packages should appear.

Added beta-support for peternijssen/ha-gls:

2 Likes

Is it possible to add multiple accounts for PostNL?

Yes, should be possible. :slight_smile:

Hi!
I’m trying to install the package-tracker-card, and there is a small issue with the instructions in the README:
If you press the button “Open Hacs Repository on MyHA” on GitHub - klaptafel/ha-package-tracker-card: Custom Package Tracker Card for Home Assistant. · GitHub to add the repository to HACS, my Homeassistant gives me an errormessage:

I think the repository url in the button is incorrect?

Following the manual instructions does work.

Good catch. I made the mistake of adding category=dashboard to the link (just like you choose in the GUI), but it should be category=plugin. I will fix it, thanks!

1 Like

Hi all! Couple of updates from my side here;

Repositories have been moved
I’ve moved all repositories to a dedicated organization; ha-parcel-integrations · GitHub
Which basically means that you can find all related material in a single place. You should not need to update the repo’s in HACS, but might be good to do anyway.

HACS support
All carriers will become available through HACS. Unfortunately there is a long queue in HACS to be accepted, but in the end they should all be added.

Dragonfly Shipping Support
Thanks to the great work from @Alwin_Hummels, we can very soon welcome Dragonfly Shipping to the family: GitHub - ha-parcel-integrations/ha-dragonfly: Home Assistant custom component for Dragonfly Shipping · GitHub
You can already add this in HACS if you want.

Bpost and UPS
I’ve been reviewing both BPost and UPS. I suspect we can add support at one point, similar to GLS and Dragonfly. I have to review it further. Especially for bpost, I need someone who has actual parcels or mail. You can sent me a DM if you want to collaborate.

4 Likes

Another great suggestion from the community: Automatically add GLS and Dragonfly shippings through imap / emails. See the open PR:

If someone willing to do some additional testing and report back here, I can review for a potential merge.