home-assistant.io/source/_components/sensor.postnl.markdown
2018-09-03 08:54:50 +02:00

1.3 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page PostNL Sensor Instructions on how to set up PostNL sensors within Home Assistant. 2017-04-22 08:00 true false true true postnl.png Postal Service 0.69 Cloud Polling

The postnl platform allows one to track deliveries by PostNL (Dutch Postal Services). To use this sensor, you need a PostNL Account. It is possible to add multiple accounts to your Home Assistant configuration.

The sensor value shows the number of packages to be delivered. Each of the packages is available as an attribute.

{% linkable_title Configuration %}

To enable this sensor, add the following lines to your configuration.yaml:

sensor:
  - platform: postnl
    username: POSTNL_USERNAME
    password: POSTNL_PASSWORD

{% configuration %} name: description: Sensor name required: false default: "postnl" type: string username: description: Account username of jouw.postnl.nl required: true type: string password: description: Account password of jouw.postnl.nl required: true type: string {% endconfiguration %}

This component is not affiliated with PostNL and retrieves data from the endpoints of the mobile application. Use at your own risk.