The Nova Poshta integration allows you to track delivered parcels, exposed as sensor per warehouse.
- Supports multiple warehouses (post office, poshtomat, different cities)
- Separate integration for every person in the household
Here's what I use to get a notification when there's a parcel in poshtomat and I'm approaching home:
alias: Poshtomat
trigger:
- platform: zone
entity_id: person.krasnoukhov
zone: zone.home
event: enter
condition:
- condition: numeric_state
entity_id: sensor.dmytro_delivered_parcels_in_kyiv_XXXX
above: 0
action:
- alias: Send critical mobile app notification
service: notify.mobile_app_dmytro_iphone
data:
data:
push:
sound:
critical: 1
name: default
title: >
Посилки в поштоматі: {{ states("sensor.dmytro_delivered_parcels_in_kyiv_XXXX") }}шт
message: >
{{ state_attr("sensor.dmytro_delivered_parcels_in_kyiv_XXXX", "parcels") | join("\n") }}
mode: single
- Search for "Nova Poshta" on HACS tab in Home Assistant
- Click on three dots and use the "Download" option
- Follow the steps
- Restart Home Assistant
- Copy the entire
custom_components/nova_poshta/
directory to your server's<config>/custom_components
directory - Restart Home Assistant