UniFi stock alerts in Home Assistant.
Home Assistant accepts arbitrary JSON on a webhook trigger, which makes it a perfect endpoint for NotiFi: no relay, no glue code. When a product you watch comes back in stock, your automation runs within minutes of the restock hitting the store.
01Create the webhook automation
Add an automation with a webhook trigger. The webhook_id becomes part of the URL, so treat it like a password: long and random. NotiFi posts from the internet, so local_only must be off, and your Home Assistant instance needs to be reachable externally (Nabu Casa or your own reverse proxy both work).
automation:
- alias: "UniFi restock alert"
trigger:
- platform: webhook
webhook_id: notifi-restock # pick any long random string
allowed_methods: [POST]
local_only: false # NotiFi posts from the internet
condition:
- condition: template
value_template: "{{ trigger.json.event == 'in_stock' }}"
action:
- service: notify.mobile_app_your_phone
data:
title: "UniFi restock"
message: >-
{{ trigger.json.product.title }} is back in stock
({{ '%.2f' | format(trigger.json.price.amount / 100) }}
{{ trigger.json.price.currency }})
# Anything else you like:
# - service: light.turn_on
# target: { entity_id: light.office }
# data: { flash: long }02Point NotiFi at it
In NotiFi, open Settings, then Webhook, and paste your webhook URL:
https://YOUR-INSTANCE/api/webhook/notifi-restock
Use the Test button to fire a sample delivery and confirm the automation runs. Every alert for the products you watch now POSTs the full payload (product, variant, price) to Home Assistant the moment it fires; the webhook docs show the exact JSON shape and the optional HMAC signature if you want to verify sender authenticity.
03Watch the gear you actually want
Webhooks fire for the products on your watchlist. Sold-out gateways and WiFi 7 APs are the classic picks; the rarity leaderboard shows which products are worth automating over.
UniFi restocks, in Home Assistant, within minutes.
NotiFi watches every product on the UniFi store around the clock. Webhooks are included in the Ultra plan, alongside the fastest alert delivery tier.
Full payload and signature details in the webhook documentation.