cyberjunky/home-assistant-p2000

no Brandweer events are coming in for a while now

oklih opened this issue · 7 comments

oklih commented

Hello,

I am not getting any of the brandweer events in my region. I think this started since the disciplines has change from the old version to the new versions (Brandweerdiensten).
I have configured the code now in noumerous ways, also copied the code from the repository. coding with no Long and Lat. so it would take HA default.
Only when I set it to have no disciplines (aka accept all) I get the ambulance events from my region, but just them. I kon that there are events there, because I am a volunteer fireman. It is a great component, but if it not working for Brandweer, then it is not so great. :P

greets Hilko

oklih commented

Hello Is there something wrong with the config of mine. Because the logs are searching in ambulancediensten for brandweerdiensten. Maybe I'm reading this wrong. :)

2021-12-17 15:28:12 DEBUG (MainThread) [custom_components.p2000.sensor] New P2000 event found: A2 Vlijmen Rit: 137676, at Fri, 17 Dec 2021 15:27:59 +0100
2021-12-17 15:28:12 DEBUG (MainThread) [custom_components.p2000.sensor] Filtering on Regio(s) ['21']
2021-12-17 15:28:12 DEBUG (MainThread) [custom_components.p2000.sensor] Searching for regio 21 in 21
2021-12-17 15:28:12 DEBUG (MainThread) [custom_components.p2000.sensor] Regio matched
2021-12-17 15:28:12 DEBUG (MainThread) [custom_components.p2000.sensor] Filtering on Disciplines(s) ['Brandweerdiensten', ' Politiediensten']
2021-12-17 15:28:12 DEBUG (MainThread) [custom_components.p2000.sensor] Searching for discipline Brandweerdiensten in Ambulancediensten
2021-12-17 15:28:12 DEBUG (MainThread) [custom_components.p2000.sensor] Discipline mismatch, discarding
2021-12-17 15:28:12 DEBUG (MainThread) [custom_components.p2000.sensor] Searching for discipline  Politiediensten in Ambulancediensten
2021-12-17 15:28:12 DEBUG (MainThread) [custom_components.p2000.sensor] Discipline mismatch, discarding
2021-12-17 15:28:12 DEBUG (MainThread) [custom_components.p2000.sensor] New P2000 event found: B2 HZL (D10.1) Neurologie Charlotte Jacobslaan SGRAVH : 15423, at Fri, 17 Dec 2021 15:28:06 +0100
2021-12-17 15:28:12 DEBUG (MainThread) [custom_components.p2000.sensor] Filtering on Regio(s) ['21']
2021-12-17 15:28:12 DEBUG (MainThread) [custom_components.p2000.sensor] Searching for regio 21 in 15
2021-12-17 15:28:12 DEBUG (MainThread) [custom_components.p2000.sensor] Regio mismatch, discarding

A piece of the debugging log

I see the same logging passing by, probably this has to do with a configuration mismatch?
For example, this does not look the way like it should in my opinion:
2021-12-17 15:28:12 DEBUG (MainThread) [custom_components.p2000.sensor] Searching for discipline Brandweerdiensten in Ambulancediensten

@cyberjunky would it be possible to share your insights on this topic? Thanks in advance!

oklih commented

Hello i have been looking at the config and I don't think anything is wrong. The probleem is that the rss feed by Erwin had no regio 21 Brabant noord any more. Could you ask Erwin why this is? I can't contact information on the p2000 website.
Doing a search on capcode or regio there is no Brabant Noord
Thanks in advance.