I think you have a mismatch between OutTempBatteryStatus in the chartcode 
and outTempBatteryStatus which is the name in the database.  Change the O 
to an o






On Sunday, 17 May 2020 16:07:45 UTC+3, Ron Sell wrote:
>
> Anyone see this error:
>
> Weewx 4.0:
> Belchertown 1.1
>
> The database has those fields:
>
> 107|windBatteryStatus|REAL|0||0
> 69|outTempBatteryStatus|REAL|0||0
>
> Chart Code:
> [[Battery]]
>         title = Battery Status
>         [[[OutTempBatteryStatus]]]
>             name = Air Battery
>             zIndex = 1
>     color = blue
>         [[[windBatteryStatus]]]
>             name = Sky Battery
>             color = gray
>
> Error Log:
> pi@raspberrypi:~ $ sudo wee_reports
> Using configuration file /etc/weewx/weewx.conf
> Generating for all time
> Traceback (most recent call last):
>   File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
>     obj.start()
>   File "/usr/share/weewx/weewx/reportengine.py", line 280, in start
>     self.run()
>   File "/usr/share/weewx/user/belchertown.py", line 1374, in run
>     series_data = self.get_observation_data(binding, archive, 
> observation_type, minstamp, maxstamp, aggregate_type, aggregate_interval, 
> time_length, xAxis_groupby, xAxis_categories, mirrored_value, 
> weatherRange_obs_lookup)
>   File "/usr/share/weewx/user/belchertown.py", line 1827, in 
> get_observation_data
>     raise Warning( "Error trying to use database binding %s to graph 
> observation %s. Error was: %s." % (binding, obs_lookup, e) )
> Warning: Error trying to use database binding wx_binding to graph 
> observation OutTempBatteryStatus. Error was: OutTempBatteryStatus.
>
>
>

-- 
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/61fb1bd4-afd8-40c9-903f-9a36f05040b5%40googlegroups.com.

Reply via email to