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

But its in the amazon emails that I get…

Amazon is not a monitored shipping provider at this time. Please feel free to add it to the GitHub repository as a feature request.

1 Like

Not only that but from my experience it just lists one item and then has a link to the order details. To me it feels like this may be better as a separate component that checks your amazon account than part of this package, but that’s my 2 cents.

1 Like

Anyone else testing the beta version(s)?
I haven’t had packages to 100% test the updated/fixed package counts.

Yes, I have it in my testing instance.

I have a USPS package that was delivered this afternoon and it is showing correctly that 1 item was delivered and 0 are in transit. The USPS delivering sensor correctly shows that 1 package was being delivered at 8:04 AM and drops to 0 after the delivered occurred at noon.

However, 3/8 (11:54 AM) I was sent an email for the expected delivery on 3/9 which was incorrectly picked up as in transit. USPS packages, USPS delivering, and in transit all showed 1, which is programmatically correct. Looking through past notifications the subjects that are sent out before the expected delivery date use ‘USPS® Expected Delivery by’ and were sent out a few days before. On this occasion it was sent the day before and used ‘USPS® Expected Delivery on’ which is what we have in the phrase to match.

I can’t be sure if they have ceased using ‘by’ for alerting of package deliveries before the delivery day or if this is a one off.

1 Like

I’ll keep an eye on my USPS packages emails to see if there’s a change as well.

Posted 0.1.3-b2 in beta:

  • Adds Amazon package sensor (new)
  • Really fixed negative transit package count this time :stuck_out_tongue:
2 Likes

UPDATE: I posted on GitHub as well because I don’t know where people watch… I can delete either if requested.

Trying to setup the Mail and Packages custom component via HACS.
So far everything looks good - but for some reason the sensors are not picking up anything (aka everything is 0). I have had this going for over a week, and received multiple packages from USPS and Fedex - and sensors never tick up from 0.

Today I have a package in route via Fedex and see the email for it. I updated to the BETA just to be sure and still not seeing anything.

Here is my setup (thanks to the beta branch):

Since I am not using the INBOX, but a custom Mail folder, do I need to put it in differently? The integration says it connects successfully, so I expect that means it can reach the account. Is there something I am missing?

I did check the logs, and all it reports is No mail found.

Thanks!
DeadEnd

PS. Saw that Amazon is going to be added - but haven’t found where to turn on email notifications… only Alexa which I don’t use. Look forward to this addition once I get it working!!

Investigating this, I’ll reply to the bug report once I get a lead for you.

How do we get access to the beta? Probably a stupid question, apologies in advance.

See this post for HACS, or if you are manually installing you can grab it from github.

1 Like

Amazon sensor seems to be working… couple different things coming over next few days, I’ll let you know if any issues… thanks for your time and effort!

How do you use the Amazon?
Does it still look at email?
How do you setup Amazon to send emails?
I was looking all over on my Amazon account and couldn’t find it.
Is there anything in the Mail and Packages documents yet to explain the setup?

Thanks!
DeadEnd

I assume it’s just scanning the existing email account for email subjects related to Amazon. There’s no additional configuration for your email notifications because by default Amazon forces you to receive all shipping related emails.

@texanbull14 is correct, it is just scanning your email for emails from amazon with the line: your package “will arrive”… nothing to setup… you should normally get these emails unless you turned them off somehow.

Amazon should send you emails containing your order information.

Yes

I’ll have to check my account on Amazon keep an eye on the readme.

Not yet.

For this issue, please see my post on github, there will be a 2 step process in the new beta.

For anyone interested here’s screenshots:

image
image

Step 2 has a drop down containing a list of all the folders in your mailbox for you to select, no more guessing the proper folder now.

2 Likes

0.1.3-b4 is available for testing.

  • Add folder list drop down to select where your emails are located
  • Version bump
  • Add text for the new 2 step setup process
  • Setup / Reconfigure is now a 2 step process, in step 2 the list of available folders auto populates from the mail server

Just stumbled upon this component and it is great. I installed 0.1.3-b4, and everything set up easily. Thanks for all the hard work put into this component.

One issue I noticed is that I received 2 emails for the same package from USPS today, so the count is showing 2 packages. Let me know if I should post screenshots or text from the emails.

Also, is there a way to adjust the frequency of the component checking my email? It’s checking every 5 minutes, but I think once per hour would suffice for my needs.

Not at this time. Please submit a feature request on github for this.

They sent 2 emails with the subject “Expected Delivery on” ? Kinda odd. I usually only get 1 per package myself.