Mail and Packages: Custom component for UPS, FEDEX, and USPS

Is there a way in Git to request new features? For instance, my UPS package today came with the subject: “UPS Update: Follow Your Delivery on a Live Map” instead of the normal non-trackable email. Unsure if this will always happen now that the tracking feature is available in my region or if this is a one-off…

For now I just modified my const.py to reflect the updated email subject line.

You’d open it as an issue.
Did the email have any other data in it like a date/time?

The card likely needs re-tooling. Maybe a separate repo for it so it can be HACS’ized :wink:
I’ve never really used the card myself, I made my own lovelace UI around the sensors.

Yeah I might suggest removing it from the repo while it’s broken and throwing a sample config like yours/mine/thenorthernsmith’s in the readme

1 Like

I can’t find the integration in HACS. Do I need a custom repo?

Correct add it as a custom repo for now.

Also updated to add @fuzzymistborn’s fix and @FunPsycho’s suggestion (I’ll work on adding the examples tomorrow), but it will auto create the www directories as needed and copy the default images automagicly :slight_smile:

2 Likes

I will give it a spin. Thank you for your hard work!

If anyone would like I put up a faster version for testing:

https://github.com/firstof9/Home-Assistant-Mail-And-Packages/tree/efficiency-patch

Oo nice wonder if it would fix the 10 second error on boot

When I loaded it on a clean docker install (non-pi machine) it completed in under 10 seconds :slight_smile:
I’ll give it a go on my pi tonight.

1 Like

Sweet, would love to see https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/issues/10 go away.

SO happy to that you two (@fuzzymistborn and @firstof9) have been able to give this project some love. You have created a flurry of activity recently, thank you. I haven’t even had time to upgrade my instance of HA, still on 100.2.

I did attempt to get the newest version (0.0.6) running and I received the AttributeError: ‘int’ object has no attribute ‘decode’. Which version of python are you running? I think it might be my environment.

I’m running 3.7.3 on my venv install.
The docker where I test is whatever version the HA docker version is :stuck_out_tongue:

Yeah I’m on 3.7.6 in Docker.

ETA that looks like the error you got in https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/issues/18. If that’s your python version (3.7.5) I doubt that’s the problem.

Yeah, it is showing up whether I use 3.7.5 or 3.6.8. I’m thinking my tinkering is due for a fresh install. Thanks for the input!

Hmmm, i got the notification this morning with the images but on TG the gif on a few images was garbled. It’s showing up fine in HASS so I’m gonna chalk it up to a TG issue more than a this plugin issue. Otherwise working great (and loving the no startup errors!)

You could try manually triggering the automation again to see if the image transmits properly.
I usually just send the http link which works great for Hangouts, but I’m going to look into switching over to the notifications on the Home Assistant phone app.

Tried retriggering and using the url (was using path), still doesn’t work. Image actually doesn’t rotate at all on desktop and i get garbbled on mobile. It may be using image.io isn’t liked by telegram, not sure. Will try the hass mobile notification.

I’m wondering if the image is too large for telegram.

Doubt it, it’s less than a mb (783kb) today. I’ve sent far larger lol.