Thanks for your help, it works

> Le 11 mars 2021 à 19:20, Karen K <[email protected]> a écrit :
> 
> You have version 0.3 installed. In order to calculate solar power you need 
> version 0.4.1. Please install the latest version and try again. 
> 
> [email protected] <http://gmail.com/> schrieb am Donnerstag, 11. März 2021 
> um 19:15:33 UTC+1:
>         prep_services = weewx.engine.StdTimeSynch
>         data_services = ,
>         process_services = weewx.engine.StdConvert, 
> weewx.engine.StdCalibrate, weewx.engine.StdQC, weewx.wxservices.StdWXCalculate
>         xtype_services = weewx.wxxtypes.StdWXXTypes, 
> weewx.wxxtypes.StdPressureCooker, weewx.wxxtypes.StdRainRater, 
> weewx.wxxtypes.StdDelta, user.GTS.GTSService, 
> user.phenologyservice.PhenologyService
>         archive_services = weewx.engine.Std.Archive
>         restful_services = weewx.restx.StdStationRegistry, 
> weewx.restx.StdWunderground, weewx.restx.StdPWSweather, weewx.restx.StdCWOP, 
> weewx.restx.StdWOW, weewx.restx.StdAWEKAS, user.mqtt.MQTT
>         report_services = weewx.engine.StdPrint, weewx.engine.StdReport
> 
> 
> 
> [Calculations]]
>         # How to calculate derived quantities.  Possible values are:
>         #  hardware        - use the value provided by hardware
>         #  software        - use the value calculated by weewx
>         #  prefer_hardware - use value provide by hardware if available,
>         #                      otherwise use value calculated by weewx
>         
>         pressure = prefer_hardware
>         altimeter = prefer_hardware
>         appTemp = prefer_hardware
>         barometer = prefer_hardware
>         cloudbase = prefer_hardware
>         dewpoint = prefer_hardware
>         ET = prefer_hardware
>         heatindex = prefer_hardware
>         humidex = prefer_hardware
>         inDewpoint = prefer_hardware
>         maxSolarRad = prefer_hardware
>         rainRate = prefer_hardware
>         windchill = prefer_hardware
>         windrun = prefer_hardware
>         GTS = "software,archive"
>         GTSdate = "software,archive"
>         utcoffsetLMT = "software,archive"
>         dayET = "software,archive"
>         ET24 = "software,archive"
> 
> 
>        11 19:07:11 Meteo3 weewx[4992] INFO weewx.engine: StdConvert target 
> unit is 0x10
> Mar 11 19:07:11 Meteo3 weewx[4992] INFO user.GTS: Version 0.3
> Mar 11 19:07:11 Meteo3 weewx[4992] INFO user.GTS: Local mean time (LMT) UTC 
> offset 0:21:00
> Mar 11 19:07:12 Meteo3 weewx[4992] INFO weewx.engine: Archive will use data 
> binding wx_binding
> Mar 11 19:07:12 Meteo3 weewx[4992] INFO weewx.engine: Record generation will 
> be attempted in 'hardware'
> Mar 11 19:07:12 Meteo3 weewx[4992] INFO weewx.engine: Using archive interval 
> of 300 seconds (specified in weewx configuration)
> Mar 11 19:07:12 Meteo3 weewx[4992] INFO weewx.restx: StationRegistry: 
> Registration not requested.
> 
>        11 19:10:29 Meteo3 weewx[4992] INFO user.GTS: GTS initialized 
> 2021-01-01 00:39:00 
> Mar 11 19:10:29 Meteo3 weewx[4992] INFO user.GTS: GTS 235.42205669182695, 69 
> loops
> 
> 
> 
> 
>> Le 11 mars 2021 à 18:14, Karen K <[email protected] 
>> <applewebdata://09E710D3-3C83-451B-A5FA-1CF4BD8483D8>> a écrit :
>> 
> 
>> That seems to me that the GTS extension is not really activated. Could you 
>> send the sections [StdWXCalculate] and [Engine] from weewx.conf? 
>> Additionally send all messages in syslog regarding GTS during the start of 
>> WeeWX.
>> 
>> [email protected] <http://gmail.com/> schrieb am Donnerstag, 11. März 2021 
>> um 17:12:58 UTC+1:
>> 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 <kk44...@ <>gmail.com <http://gmail.com/>> 
>>> 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] <http://gmail.com/> 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 <kk44...@ <>gmail.com 
>>>> <http://gmail.com/>> 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 weewx-user+...@ <>googlegroups.com <http://googlegroups.com/>.
>>>> 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 weewx-user+...@ <>googlegroups.com <http://googlegroups.com/>.
>> 
>>> 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] 
>> <applewebdata://09E710D3-3C83-451B-A5FA-1CF4BD8483D8>.
> 
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/76b54eef-33e8-4cac-a0db-bbf7e304509dn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/76b54eef-33e8-4cac-a0db-bbf7e304509dn%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/da010e45-7db0-4a94-b8f6-3b7cb3cddb25n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/da010e45-7db0-4a94-b8f6-3b7cb3cddb25n%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/5E39BCD6-8C31-4D55-8E12-0994BAF2878C%40gmail.com.

Reply via email to