You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/sensor.usps.markdown
+5-15Lines changed: 5 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,8 @@ ha_category: Sensor
12
12
ha_release: 0.36
13
13
---
14
14
15
-
The `usps` platform allows one to track deliveries by the [US Postal Service (USPS)](https://www.usps.com/).
16
-
In addition to having a USPS account, you will need to complete the "Opt-In" process by clicking "Get Started Now" on [this page](https://my.usps.com/mobileWeb/pages/intro/start.action). Currently, you also will need to have a package listed in the "Package Dashboard" in order for the component to complete set-up.
15
+
The `usps` platform allows one to track deliveries and inbound mail from the [US Postal Service (USPS)](https://www.usps.com/).
16
+
In addition to having a USPS account, you will need to complete the "Opt-In" process by clicking "Get Started Now" on [this page](https://my.usps.com/mobileWeb/pages/intro/start.action). You must also "Opt-In" to [Informed Delivery](https://informeddelivery.usps.com/box/pages/intro/start.action)to see inbound mail.
17
17
18
18
To enable this sensor, add the following lines to your `configuration.yaml`:
19
19
@@ -25,23 +25,13 @@ sensor:
25
25
password: YOUR_PASSWORD
26
26
```
27
27
28
+
You will see two new sensors, one for packages and one for mail.
29
+
28
30
Configuration options for the USPS Sensor:
29
31
30
32
- **username** (*Required*): The username to access the MyUSPS service.
31
33
- **password** (*Required*): The password for the given username.
32
-
- **name** (*Optional*): Name the sensor (default: your mailing address).
33
-
- **update_inverval** (*Optional*): Minimum time interval between updates. Default is 1 hour. Supported formats:
34
-
- `update_interval: 'HH:MM:SS'`
35
-
- `update_interval: 'HH:MM'`
36
-
- Time period dictionary, e.g.:
37
-
<pre>update_interval:
38
-
# At least one of these must be specified:
39
-
days: 0
40
-
hours: 0
41
-
minutes: 3
42
-
seconds: 30
43
-
milliseconds: 0
44
-
</pre>
34
+
- **name** (*Optional*): Prefix for sensor names (defaults to "USPS")
45
35
46
36
<p class='note warning'>
47
37
The USPS sensor logs into the MyUSPS website to scrape package data. It does not use an API.
0 commit comments