mrk-its / homeassistant-blitzortung

Custom Component for fetching lightning data from blitzortung.org
MIT License
212 stars 41 forks source link

Error fetching blitzortung data: status: 401 #2

Closed ercsey closed 4 years ago

ercsey commented 4 years ago

Hello

Another error message. Is it possible that blitzortung.org put an authentication on http://data"?".blitzortung.org/Data/Protected/last_strikes.php url?

Thanks for your answer.

mrk-its commented 4 years ago

I'll take a look, thanks!

mrk-its commented 4 years ago

@ercsey I've refactored whole thing a bit. It receives data from Blitzortung via websocket now, so updates will be realtime. Additionally component connects to proxy MQTT server, reducing Blitzortung traffic. Let me know if it works for you now.

ercsey commented 4 years ago

I can confirm that the status 401 error is gone. However still have to wait for some lightnings to see if working without any error. Thank you very much for this great component. Really appreciate it.

mrk-its commented 4 years ago

@ercsey to test you can simply add other instance of this integration with bigger radius (like 1000 km or so) :)