Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no Brandweer events are coming in for a while now #58

Open
oklih opened this issue Dec 17, 2021 · 7 comments
Open

no Brandweer events are coming in for a while now #58

oklih opened this issue Dec 17, 2021 · 7 comments

Comments

@oklih
Copy link

oklih commented Dec 17, 2021

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
Copy link
Author

oklih commented Dec 17, 2021

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

@jan-dewit
Copy link

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
Copy link
Author

oklih commented May 3, 2022

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.

@ArnolddeBolster
Copy link

@oklih am i right that there's only 1 capcode in Brabant Noord ?
image

@oklih
Copy link
Author

oklih commented Apr 10, 2024

@oklih am i right that there's only 1 capcode in Brabant Noord ? image

Hello, no there are more then 1 capcode. I think a lot.
This link is just for my hometown Oss.

https://112alarm.net/capcodes.php?regio=21&plaats=OSS&dienst=BRW

@ArnolddeBolster
Copy link

You're right, I can see them also in 112meldingen.nl so i think the rss feed contains filtered data and now whole of Netherlands.
So maybe for you the RTL stick option is more reliable or try p2000 github option from leeuwte

@oklih
Copy link
Author

oklih commented Apr 11, 2024

Thank you for the given solutions. I will try this. 👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants