Skip to content

Latest commit

 

History

History
executable file
·
98 lines (82 loc) · 3.35 KB

File metadata and controls

executable file
·
98 lines (82 loc) · 3.35 KB

Home Assistant Email Sensor

Gets emails from IMAP and parses out any tracking numbers. Goes well with the tracking-number-card for lovelace!

Supported Emails

  • Adafruit
  • Adam & Eve
  • Amazon
  • Amazon DE
  • Ali Express
  • B&H Photo
  • Bespoke Post
  • Best Buy
  • Chewy
  • DHL
  • Dollar Shave Club
  • DSW
  • eBay
  • Etsy
  • FedEx
  • Gamestop
  • Georgia Power
  • Google Express
  • Groupon
  • Guitar Center
  • Home Depot
  • House of Noa
  • Litter Robot
  • Loog Guitars
  • Lowes
  • Manta Sleep
  • Moen
  • Monoprice
  • NewEgg
  • Nintendo
  • Nuleaf
  • Paypal
  • Pledge Box
  • Philips Hue
  • Prusa
  • Reolink
  • Rockauto
  • Sylvane
  • Sony
  • Swiss Post
  • SwitchBot
  • Target
  • Thriftbooks
  • Timeless
  • The Smartest House
  • Ubiquiti
  • UPS
  • USPS
  • Wayfair
  • Western Digital
  • Wyze
  • Zazzle

If you want support for tracking, forward me the email (ljmerza at gmail) and open an issue.


GitHub Release License

Project Maintenance GitHub Activity

Options

Name Type Requirement default Description
email string Required email address
password string Required email password
imap_server string Optional imap.gmail.com IMAP server address>
imap_port number Optional 993 IMAP port
folder string Optional INBOX Which folder to pull emails from
ssl boolean Optional true enable or disable SSL when using IMAP
days_old number Optional 30 how many days of emails to retrieve

Manual Tracking Numbers

If you have a package that is not captured via email, call the tracking_numbers.add_manual_tracking_number service (or use the lovelace card's add button) to save it alongside your parsed deliveries. Provide the target sensor's entity_id, the tracking_number, and optionally a link, carrier, origin, or status string. Use tracking_numbers.remove_tracking_number to delete a manual entry or hide a tracking number that was parsed from email.


Enjoy my card? Help me out for a couple of 🍻 or a ☕!

coffee