cyberjunky / home-assistant-p2000

:fire_engine: This component tracks P2000 emergency events in The Netherlands.
MIT License
55 stars 9 forks source link

No firebrigade alerts in region 16 #51

Closed groenmarsmannetje closed 2 years ago

groenmarsmannetje commented 2 years ago

The last fire brigade alert ("Brandweerdiensten") that I have in region 16 is from 22 April 2021. Since then I only get Police and Ambulance notifications. This is my setup:

  - platform: p2000
    name: Brandweer
    regios: 16
    disciplines: Brandweerdiensten
    radius: 1000
    scan_interval: 30
    icon: mdi:fire-truck
    contains: ALPHRN
    nolocation: true
  - platform: p2000
    name: Ambulance
    regios: 16
    disciplines: Ambulancediensten
    radius: 1000
    scan_interval: 30
    icon: mdi:ambulance
    contains: ALPHRN
    nolocation: true
  - platform: p2000
    name: Politie
    regios: 16
    disciplines: Politiediensten
    radius: 1000
    scan_interval: 30
    icon: mdi:car-emergency
    contains: ALPHRN
    nolocation: true
groenmarsmannetje commented 2 years ago

When I do not use disciplines and regio’s but use capcodes instead, then I get alerts. But as you can see in example below both the regio and the discipline is incorrect. Seems that the feed is mixing this up.

C5A5ACCC-C29E-4DF8-9F8A-3FE132CBE30C

cyberjunky commented 2 years ago

Since this has to do with the source and not my code I'm going to close this.

Maybe you can get in contact with admin of http://p2000.brandweer-berkel-enschot.nl/homeassistant/rss.asp

groenmarsmannetje commented 2 years ago

@cyberjunky As you have seen I reported multiple issues with incorrect information coming from current source. My suggestion would be to look for a different source that is more trustful.

For instance would the feeds from Alarmeringen.nl not be better instead of the feed from a person who seems to have set it up only for his personal use.

ernieek commented 2 years ago

Hello groenmarsmannetje, p2000 berkel enschot is not only for personal use. Its a lot of work to get all possible options programmed. P2000 has no lon lat in the message. Also alermetingen.nl has no lon lat. In december i wil make progress for other regio's

jan-dewit commented 2 years ago

Hello groenmarsmannetje, p2000 berkel enschot is not only for personal use. Its a lot of work to get all possible options programmed. P2000 has no lon lat in the message. Also alermetingen.nl has no lon lat. In december i wil make progress for other regio's

Hi @ernieek First of all thanks for your hard work, this is much appreciated, also @cyberjunky for this Home Assistant add-on. I do have a question here: Would it be possible to keep track of the functionality which the RSS feed is currently delivering?

In order to use this, it's nice to know if my region is currently supported, and with what level of details (eg location data)

In short: can you elaborate on what's currently supported?

Thanks in advance!

ernieek commented 2 years ago

Hello,

I did not make the ha integration.

I only have the feed data. The data is comming from my own receivers.

Kind regards.

Currently working on the code to get mero districts working 😄

-------- Oorspronkelijk bericht -------- Van: Jan @.> Datum: 21-12-2021 12:21 (GMT+01:00) Aan: cyberjunky/home-assistant-p2000 @.> Cc: Erwin Kooij @.>, Mention @.> Onderwerp: Re: [cyberjunky/home-assistant-p2000] No firebrigade alerts in region 16 (Issue #51)

Hello groenmarsmannetje, p2000 berkel enschot is not only for personal use. Its a lot of work to get all possible options programmed. P2000 has no lon lat in the message. Also alermetingen.nl has no lon lat. In december i wil make progress for other regio's

Hi @ernieekhttps://github.com/ernieek First of all thanks for your hard work, this is much appreciated, also @cyberjunkyhttps://github.com/cyberjunky for this Home Assistant add-on. I do have a question here: Would it be possible to keep track of the functionality which the RSS feed is currently delivering?

In order to use this, it's nice to know if my region is currently supported, and with what level of details (eg location data)

In short: can you elaborate on what's currently supported?

Thanks in advance!

— Reply to this email directly, view it on GitHubhttps://github.com/cyberjunky/home-assistant-p2000/issues/51#issuecomment-998698311, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHP33X6K334PBMN2ZOVRP53USBPMHANCNFSM5IQWIXAA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>

jan-dewit commented 2 years ago

Hi @ernieek I understand you did not make the HA integration. Let me ask the question differently: Which districts are currently working and which are not working?

dutch-erik commented 2 years ago

https://github.com/leeuwte/home-assistant-p2000 This integration seems to have it all. ;)

cyberjunky commented 2 years ago

Looks promising, but it seems to fetch last event only (at first glance), so when poll-time is to high you might miss something, please check.

groenmarsmannetje commented 2 years ago

Hello groenmarsmannetje, p2000 berkel enschot is not only for personal use. Its a lot of work to get all possible options programmed. P2000 has no lon lat in the message. Also alermetingen.nl has no lon lat. In december i wil make progress for other regio's

@ernieek thank you for all the effort that you put into this. Can you please give an update about your progress with the regions? I am willing to help you, if I somehow can.