DarkSky rate limit issues

awesome work, thanks @fredrike

got a few of errors in the log, I haven’t in the HA docker image before, any suggestions, please?!

No data in response from hub None

17:23 components/xiaomi_aqara/binary_sensor.py (ERROR) - message first occured at 14. Juli 2019, 21:05 and shows up 7 times

Cannot connect to Gateway

17:23 components/xiaomi_aqara/binary_sensor.py (ERROR) - message first occured at 14. Juli 2019, 21:05 and shows up 7 times

Update of binary_sensor.door_window_sensor_xxxxx is taking over 10 seconds

17:23 main.py (WARNING) - message first occured at 14. Juli 2019, 21:05 and shows up 7 times

Error doing job: Task exception was never retrieved

15:08 util/temperature.py (ERROR) - message first occured at 00:47 and shows up 25 times

Unable to connect to Dark Sky. HTTPSConnectionPool(host=‘api.darksky.net’, port=443): Max retries exceeded with url: /forecast/XXXXXXXXXXXXX?units=ca&lang=en (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0x7fc00a51c908>: Failed to establish a new connection: [Errno -3] Try again’))

15:05 components/darksky/weather.py (ERROR)

Endpoint is disabled

13:41 components/ios/notify.py (ERROR) - message first occured at 07:00 and shows up 5 times

Got exception while fetching the state: Unable to discover the device 192.168.178.43

10:36 components/xiaomi_miio/vacuum.py (WARNING) - message first occured at 03:52 and shows up 3 times

Unable to discover a device at address 192.168.178.43

10:36 components/xiaomi_miio/vacuum.py (ERROR) - message first occured at 03:52 and shows up 3 times

Update of vacuum.xiaomi_vacuum_cleaner is taking over 10 seconds

10:36 main.py (WARNING) - message first occured at 03:52 and shows up 2 times

Unable to connect to Dark Sky: HTTPSConnectionPool(host=‘api.darksky.net’, port=443): Max retries exceeded with url: /forecast/XXXXXXXXXXXXX?units=si&lang=de (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0x7fc00a4d38d0>: Failed to establish a new connection: [Errno -3] Try again’))

08:03 components/darksky/sensor.py (ERROR)

Unable to connect to Dark Sky. HTTPSConnectionPool(host=‘api.darksky.net’, port=443): Max retries exceeded with url: /forecast/XXXXXXXXXXXXX?units=ca&lang=en (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0x7fc00a502a20>: Failed to establish a new connection: [Errno -3] Try again’))

05:04 components/darksky/weather.py (ERROR)

Unable to connect to Dark Sky. HTTPSConnectionPool(host=‘api.darksky.net’, port=443): Max retries exceeded with url: /forecast/XXXXXXXXXXXXX?units=ca&lang=en (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0x7fc00a18c3c8>: Failed to establish a new connection: [Errno -3] Try again’))

03:28 components/darksky/weather.py (ERROR)

Unable to connect to Dark Sky. HTTPSConnectionPool(host=‘api.darksky.net’, port=443): Max retries exceeded with url: /forecast/XXXXXXXXXXXXX?units=ca&lang=en (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0x7fc00a17b940>: Failed to establish a new connection: [Errno -3] Try again’))

00:47 components/darksky/weather.py (ERROR)

Update for media_player.vu_zero4k fails

  1. Juli 2019, 22:01 components/enigma2/media_player.py (ERROR) - message first occured at 14. Juli 2019, 22:00 and shows up 6 times

http://192.168.178.23:8123/frontend_latest/chunk.cc929c57c6a4d7f5f19d.js:2877:1343 TypeError: e is undefined

  1. Juli 2019, 20:47 components/system_log/init.py (ERROR)

Xiaomi ofenthrows errors… I got rid of my Xiaomi hub as after about a year of working, it suddently stopped, so I replaced all my proprierty hubs (Xiaomi, Hue) with a conbee stick…

The vacuum, often does not connect, just check your UI to make sure you can see the data from the vacuum…

As for darksky, I have noticed that if you place your API key in a !secret file, this does not work…

----1. Try a reboot
----2. Check your ports to ensure there are no conflicts…

Sorry I couldn’t be more help…

Changed the Dark Sky from secret file to config again, but throws out same errors as before.

You are making too many requests limit darksky rate so you don’t hit the limit.

Checked the stats on dark sensor and i am under 1.000 calls each day that’s very strange

You are right, it is not an DarkSky rate limit issue. But it seems to be an issue with the HTTPSConnectionPool. Create an issue at https://github.com/home-assistant/home-assistant/issues and see if the developers knows what is going on here.

Edit: these are similar issues https://github.com/home-assistant/home-assistant/issues/25351 perhaps you could join that discussion.

Edit2: Here is @frenck’s answer https://github.com/home-assistant/home-assistant/issues/25351#issuecomment-513505310