Hmm, my apologies, not very good form on my part. I have just pushed a 
commit to fix this problem, you just need to re-install bloomsky.py as 
follows:

1. on your WeeWX machine delete the current bloomsky driver:

$ sudo rm /usr/share/weewx/user/bloomsky.py

2. download the revised bloomsky driver to your WeeWX machine:

$ wget -P /usr/share/weewx/user https://
raw.githubusercontent.com/gjr80/weewx-bloomsky/master/bin/user/bloomsky.py

3. restart WeeWX

Gary

On Tuesday, 25 June 2019 17:48:43 UTC+10, Rick Hewett wrote:
>
> On Mon 24 Jun gjr80 wrote: 
> > 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. 
>
> The following traceback in the logs this morning. 
>
> Jun 25 05:58:40 duma weewx[10623]: 
> bloomsky: bloomsky-client: Exception: 
>  Traceback (most recent call last): 
>    File "/usr/share/weewx/user/bloomsky.py", line 684, in run 
>      self.client.collect_data() 
>    File "/usr/share/weewx/user/bloomsky.py", line 485, in collect_data 
>      raw_data = self.sd.get_data() 
>    File "/usr/share/weewx/user/bloomsky.py", line 708, in get_data 
>      params, headers) 
>    File "/usr/share/weewx/user/bloomsky.py", line 751, in get_request 
>      "Failed to get BloomSky API data") 
>  TypeError: logerr() takes exactly 1 argument (2 given) 
>
> -- 
> 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/180a159e-7bd5-49bb-993d-51295081f199%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to