Thanks for the background. I might do some testing with my BloomSky and take it offline, I must admit I did not do that test when I wrote the driver. Unfortunately, that won't be possible for a few months. Should not matter though as the updated driver you have now should catch the error, do keep an eye on your logs and let me know if the driver causes WeeWX to fail again.
Gary On Monday, 24 June 2019 01:51:49 UTC+10, Rick Hewett wrote: > > On Sun 23 Jun gjr80 wrote: > > It would appear that at times the driver is getting a response from > > the bloomsky API but that response is empty. I have modified the > > driver to catch the exception, wait for the retry_wait period (10 sec > > by default) and then try again. If it continues to fail after 3 > > attempts that download is skipped. The failures will be logged. this > > won't fix the problem but the driver will now tolerate the error. > > Thanks. Code replaced as instructed. :) > > > I am not sure how often you were seeing the IndexError, > > Not frequently, but often enough for me to notice cause and effect. > There were a couple of instances on June 20th and one more early this > morning. I'll keep an eye on the logs... > > > Would be good to get some feedback, I have not had this issue raised > > by anyone previously plus I don't use the driver myself other than for > > testing. hopefully not a sign that the Bloomsky API is becoming flaky. > > I've had a few issues with my SKY2 showing as offline on the BloomSky > site even though I know my broadband connection's been up solidly. > There's a possibility that's because my SKY2's near the limit for my > WiFi, and may be dropping off it at times. It's possible the empty > responses come back as the SKY2's dropping off. > > -- > 73, Rick, M0LEP > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/14f37b02-1c4e-405c-b98c-1a4670af73a8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
