Thanks for your answer, but when I copy the info I get these errors:

ar 11 17:00:27 Meteo3 weewx[30301] INFO weewx.cheetahgenerator: Generated 11 
files for report Belchertown in 3.60 seconds
Mar 11 17:00:27 Meteo3 weewx[30301] INFO weewx.reportengine: Copied 2 files to 
/var/www/html
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine: Caught 
unrecoverable exception in generator 'user.belchertown.HighchartsJsonGenerator'
ghchartsJsonGenerator'
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****  
Error trying to use database binding wx_binding to graph observation radiation. 
Error was: energy_integral('radiation').
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****  
Traceback (most recent call last):
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****    
File "/usr/share/weewx/user/belchertown.py", line 2423, in get_observation_data
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****      
(time_start_vt, time_stop_vt, obs_vt) = 
archive.getSqlVectors(TimeSpan(start_ts, end_ts), obs_lookup, aggregate_type, 
aggregate_interval)
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****    
File "/usr/share/weewx/weewx/manager.py", line 456, in getSqlVectors
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****      
aggregate_type, aggregate_interval)
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****    
File "/usr/share/weewx/weewx/xtypes.py", line 86, in get_series
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****      
aggregate_interval)
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****    
File "/usr/share/weewx/weewx/xtypes.py", line 140, in get_series
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****      
agg_vt = get_aggregate(obs_type, stamp, do_aggregate, db_manager)
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****    
File "/usr/share/weewx/weewx/xtypes.py", line 105, in get_aggregate
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****      
raise weewx.UnknownAggregation("%s('%s')" % (aggregate_type, obs_type))
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****  
weewx.UnknownAggregation: energy_integral('radiation')
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****  
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****  
During handling of the above exception, another exception occurred:
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****  
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****  
Traceback (most recent call last):
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****    
File "/usr/share/weewx/weewx/reportengine.py", line 196, in run
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****      
obj.start()
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****    
File "/usr/share/weewx/weewx/reportengine.py", line 281, in start
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****      
self.run()
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****    
File "/usr/share/weewx/user/belchertown.py", line 1917, in run
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****      
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, 
wind_rose_color)
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****    
File "/usr/share/weewx/user/belchertown.py", line 2425, in get_observation_data
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****      
raise Warning( "Error trying to use database binding %s to graph observation 
%s. Error was: %s." % (binding, obs_lookup, e) )
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****  
Warning: Error trying to use database binding wx_binding to graph observation 
radiation. Error was: energy_integral('radiation').
Mar 11 17:00:28 Meteo3 weewx[30301] ERROR weewx.reportengine:         ****  
Generator terminated


and no graphics produced


> Le 11 mars 2021 à 15:58, Karen K <[email protected]> a écrit :
> 
> graphs.conf for Belchertown skin uses another syntax:
> 
> [[Sonnenenergie]] 
>     title = "Sonnenenergie (täglich gesamt)" 
>     aggregate_type = energy_integral 
>     aggregate_interval = 86400 
>     yAxis_label = Energie 
>     yAxis_label_unit = "Wh/m&sup2;" 
>     [[[radiation]]]
> 
> 
> [email protected] schrieb am Donnerstag, 11. März 2021 um 15:23:10 UTC+1:
> Hello,
> I try to integrate in the month section of "graph.conf" of belchertown skin 
> the following information
> but it doesn't work, can someone tell me where there is an error?
> 
>  [[chart4]]
>         title = Barometer
>         aggregate_type = avg
>         [[[barometer]]]
>             color = "#BECC00"
>             
>     [[monthRadiationEnergy]]
>         line_gap_fraction = 0.04
>          #y_label = "Wh/m²"
>         [[[radiation]]]
>             label = "Sonnenenergie (täglich gesamt)"
>             data_type = radiation
>             aggregate_type = energy_integral
>             aggregate_interval = 86400 
> 
> 
> 
>> Le 11 mars 2021 à 11:40, Karen K <[email protected] 
>> <applewebdata://65341B88-3FEC-4A79-BADE-F6F86321ADFD>> a écrit :
>> 
> 
>> [email protected] <http://gmail.com/> schrieb am Donnerstag, 11. März 2021 
>> um 11:34:04 UTC+1:
>> fault with me 
>> after reinstalling version 0.4.1
>> everything's o.k
>> 
>> Thank you, too.
>>  
>> 
> 
>> -- 
>> 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] 
>> <applewebdata://65341B88-3FEC-4A79-BADE-F6F86321ADFD>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/3472537f-4fcb-4e4d-bfa7-d9adbe7da4d4n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/3472537f-4fcb-4e4d-bfa7-d9adbe7da4d4n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/38b873bf-33c8-4b47-b32d-e92b80af9e49n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/38b873bf-33c8-4b47-b32d-e92b80af9e49n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/288D0137-91DB-4021-928D-98AF3BB4FA8C%40gmail.com.

Reply via email to