Hi John,

Unfortunately I was a bit hasty with my message that everything works as 
desired.
Unfortunately I only watched the logfile for a short time during startup 
and did not see the error message that appeared later:

Jul 11 17:50:11 raspberrypi weewx[15962] CRITICAL user.loopdata:     ****  
Traceback (most recent call last):
Jul 11 17:50:11 raspberrypi weewx[15962] CRITICAL user.loopdata:     
****    File "/home/weewx/bin/user/loopdata.py", line 359, in process_queue
Jul 11 17:50:11 raspberrypi weewx[15962] CRITICAL user.loopdata:     
****      self.save_barometer_reading(pkt_time, pkt)
Jul 11 17:50:11 raspberrypi weewx[15962] CRITICAL user.loopdata:     
****    File "/home/weewx/bin/user/loopdata.py", line 847, in 
save_barometer_reading
Jul 11 17:50:11 raspberrypi weewx[15962] CRITICAL user.loopdata:     
****      _, _, _, _, sum, count, _, _ = 
self.arc_per_accum['barometer'].getStatsTuple()
Jul 11 17:50:11 raspberrypi weewx[15962] CRITICAL user.loopdata:     ****  
KeyError: 'barometer'
Jul 11 17:50:23 raspberrypi weewx[15962] INFO weewx.manager: Added record 
2020-07-11 17:50:00 CEST (1594482600) to database 'weewx_sdr2'
Jul 11 17:50:24 raspberrypi weewx[15962] INFO weewx.manager: Added record 
2020-07-11 17:50:00 CEST (1594482600) to daily summary in 'weewx_sdr2'
Jul 11 17:50:24 raspberrypi weewx[15962] INFO weewx.cheetahgenerator: 
Generated 1 files for report WeatherBoardReport in 0.38 seconds
Jul 11 17:50:24 raspberrypi weewx[15962] INFO weewx.reportengine: Copied 2 
files to /var/www/html/weatherboard

LOOP_DATA_VERSION = '1.3.19'

Kind Regard
Michael


Am Samstag, 11. Juli 2020 17:23:02 UTC+2 schrieb John Kline:
>
> Asssuming loop-data.txt is being generated on every loop, some questions:
>
> Is WeatherBoard pointed to the correct location where loop-data.txt is 
> located?
>
> Did you add the fields required by WeatherBoard (see WeatherBoard README) 
> to the fields entry in the LoopData section of weewx.conf?
>
> Perhaps you are missing a field that WeatherBoard requires?  Do you see 
> any JavaScript errors on the WeatherBoard page (Developer Tools->View 
> JavaScript console or something of that sort).  If so, would you tell me 
> what those errors are?
>
> On Jul 11, 2020, at 6:56 AM, Michael <[email protected] <javascript:>> wrote:
>
> 
> Hi John,
>
> great, thankyou. Now weewx-loopdata works as expected
>
> But now I have another question: I installed the Skin Weatherboard. What 
> do I have to do, so that the page refreshes automatically when the values 
> are updated. Until now I have to update the page manually with F5. Then in 
> 5 minutes rhythm updated values are displayed.
>
> Kind Regards 
> Michael
>
>
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/0b321eb5-f81b-4474-8cb8-2cdfa3af45eco%40googlegroups.com.

Reply via email to