AfterShip: Shipment Tracking Platform

Any chance to get this to Home Assistant? No idea is it possible or not but they have API https://www.aftership.com/docs/api/4/overview

I order stuff around the world to my home assistant projects for example, so it would be cool to do automation stuff if package arrives to your postal office or something :stuck_out_tongue:

Slice is another option with an API. I’d really like to see this as well.

Since there already is an Python package for this API this should be possible to get working :slight_smile:

fyi: I got it working with some REST sensors: Aftership package tracking

This way you can write automations of your most recent added package using the package status sensor

1 Like

made a PR for aftership platform at https://github.com/home-assistant/home-assistant/pull/18034

would be curious to hear if your automation ideas works on this too.

Thanks.
When it will available at home assistant release ?
Can I install the code before ? From where ?

You can take the AfterShip.py from the GitHub link and put in custom components to try it out.

Thanks for the quick reply.
Should I create a sub folder under /config/custom_components for the AfterShip.py or just put it without sub folder ?

Yes needs the custom_components subfolder.

Not working since a couple days ago… something changed ?