Does any one knows if it possible to receive NL-alerts.
Want to use the nl-alert to automate some systems, like ventilation and lights in the building.
Best regards
Ocean
Does any one knows if it possible to receive NL-alerts.
Want to use the nl-alert to automate some systems, like ventilation and lights in the building.
Best regards
Ocean
NL-Alert is a Dutch mechanism of alerting civilians in the vicinity of a (potantial) crisis situation through their mobile phones using cell broadcast. Different from SMS, cell broadcast is anonymous and works even with a network overload. It’s sent out by the Dutch government.
We got an Alert yesterday, about a large harzadous fire, issuing the closing of doors and windows. I was away from my phone, doing some home improvement. A Home Assistant integration would be awesome. That way, I can have cloud_tts issue the alert through all speakers in the house and have the LEDs turn Red.
If they show up as notifications on the phone then I believe the app can read them.
Look at last_notification
Well there must be an API because of this… Uitbreiding van NL-Alert | Crisis.nl
" Op dit moment kun je NL-Alert pushnotificaties via de Yazula-app en NL-Alarm app ontvangen. In de toekomst zullen ook andere apps NL-Alert pushnotificaties delen. Het ministerie van Justitie en Veiligheid is in gesprek met regionale publieke omroepen om NL-Alert pushnotificaties ook te delen via hun apps."
Has scaped NL-alert
You can use this now: https://api.public-warning.app/api/v1/providers/nl-alert/alerts. It looks like this:
{
"data": [
{
"id": "feba2ed1e2d6",
"message": "Brand met veel rook in Amsterdam, Vlothavenweg. Blijf uit de rook! Sluit ramen en deuren. Zet ventilatie uit. Meer informatie op https://www.brandweer.nl/nieuws/grote-brand-vrachtschip-aan-vlothavenweg/ *** Dutch Public Warning System. Fire with a lot of smoke in Amsterdam, Vlothavenweg. Stay out of the smoke! Close windows and doors. Switch ventilation systems off. For more info, see https://www.brandweer.nl/nieuws/grote-brand-vrachtschip-aan-vlothavenweg/",
"type": "alert",
"start_at": "2025-05-15T21:45:39Z",
"area": [
"52.40124,4.86918 52.40224,4.83122 52.33634,4.79426 52.25336,4.71471 52.21705,4.85392 52.28918,4.89195 52.29476,4.90032 52.27244,4.90564 52.2743,4.91325 52.28639,4.91325 52.31335,4.92086 52.3612,4.91781 52.39971,4.91477 52.40124,4.86918"
],
"stop_at": "2025-05-15T22:45:39Z"
},
...
]
}
Thank you for the link to the API. Could you also provide a link to the accompanying documentation or website?
Thank you,
Eric
I would also like to use this. But how can we use the geo data in area and determine if we are in it? Or perhaps show those areas on the map in HA?
Making a map can be easy done with some linux script that creates a map instance using the rest apt.