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/28eb.5d0fa012.1d5a8.m0lep%40hewett.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to