cyberjunky / home-assistant-p2000

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

P2000 Source offline - slow Home Assistant #60

Closed martijntenpas closed 7 months ago

martijntenpas commented 2 years ago

Last weekend the source http://p2000.brandweer-berkel-enschot.nl/ was offline. I'm running with a interval of 1 second (i'm firefighter and using it to put on the lights at night). It triggers a lot of exeptions (TimeoutError: [Errno 110] Operation timed out) in the log, and after serval minutes HA starts to responding very slow. After disabling the P2000 integration everything is working fine again.

beffin commented 2 years ago

Same problem here. I reload it every 2 seconds because I am also a firefighter. It slows down my Home Assistant so much that it runs unstable.

Hopefully a solution can be found for this, because I really appreciate the integration!

HenkSnavel commented 2 years ago

@cyberjunky i found another p2000 component which uses https://beta.alarmeringdroid.nl/api2/find/ maybe a option te replace http://p2000.brandweer-berkel-enschot.nl/

dutch-erik commented 2 years ago

I see you found it: https://github.com/leeuwte/home-assistant-p2000 🙂

ArnolddeBolster commented 7 months ago

problem solved, feed is working again