17TRACK
The seventeentrack
sensor platform allows users to get package data tied to their 17track.net account. The platform creates both summary sensors, which show the number of packages in a current state (e.g., “In Transit”), as well as individual sensors for each package within the account.
Although the 17track.net website states that account passwords cannot be longer than 16 characters, users can technically set long-than-16-character passwords. These passwords will not work with the used API. Therefore, please ensure that your 17track.net password does not exceed 16 characters.
Configuration
To enable the platform, add the following lines to your configuration.yaml
file:
sensor:
- platform: seventeentrack
username: EMAIL_ADDRESS
password: YOUR_PASSWORD
Examples
Lovelace summary card
Use the following templated Markdown card to list all packages in transit along their status:
type: markdown
title: Packages in transit
content: >-
{% for package in
states.sensor.seventeentrack_packages_in_transit.attributes.packages %}
**{{ package.friendly_name }}:** {{ package.info_text }}
{% endfor %}