There are errors, a test with $current.appTemp and once with appTemp.
The appTemp field is not in the database, how can I modify my database?


Pat schrieb am Donnerstag, 25. Juni 2020 um 21:32:55 UTC+2:

> Good question. If appTemp doesn't exist in the database, then I would have 
> thought the entry would be empty or given an error in the syslog. Any 
> errors?
>
>
> On Thursday, June 25, 2020 at 1:36:54 PM UTC-4, Manfred Maier wrote:
>>
>> Ok. I've just seen that appTemp is not part of the standard installation 
>> of weewx. I've added it later to the database.
>>
>> @Pat: In your index.html.tmpl it looks like your are displaying 
>> $current.appTemp for the "Feels like" temperature. What is used when 
>> appTemp does not exist in the database? Or is appTemp calculated by weewx 
>> anyway, but if there isn't a field in the database it's just not stored and 
>> can't be used for the charts?
>>
>> [email protected] schrieb am Donnerstag, 25. Juni 2020 um 19:22:55 
>> UTC+2:
>>
>>> if appTemp instead of windchill, graphics no longer work
>>>
>>>
>>> Am Donnerstag, 25. Juni 2020 17:46:56 UTC+2 schrieb Manfred Maier:
>>>>
>>>> appTemp is best translated with "Gefühlte Temperatur".
>>>>
>>>> I would have to look it up in the weewx code, but I think it's 
>>>> calculated based on temperature, humidity and wind.
>>>> appTemp can be higher or lower than the temperature.
>>>>
>>>> Windchill is normally (always?) lower than the temperature. It's 
>>>> therefore primarily used in winter. At least in the German news I only 
>>>> hear 
>>>> about it in winter.
>>>>
>>>> Heat Index is the opposite. It's normally (always?) higher than the 
>>>> temperature. It useful in the summer.
>>>>
>>>> Other people might want to add or correct me here!
>>>>
>>>> As mentioned: appTemp get's closest to what we refer to as "Gefühlte 
>>>> Temperature" in Germany (and hopefully also in Switzerland).
>>>> Have you tried to put appTemp in your chart? Does the value correspond 
>>>> to the other value on your page?
>>>>
>>>> [email protected] schrieb am Donnerstag, 25. Juni 2020 um 17:34:22 
>>>> UTC+2:
>>>>
>>>>> what is appTemp?
>>>>> windchill corresponds to 'feels like'?
>>>>>
>>>>>
>>>>> Am Donnerstag, 25. Juni 2020 17:18:38 UTC+2 schrieb Manfred Maier:
>>>>>>
>>>>>> Try to change it to [[[appTemp]]]. It then should correspond to the 
>>>>>> figure at the top.
>>>>>>
>>>>>> [email protected] schrieb am Donnerstag, 25. Juni 2020 um 17:16:32 
>>>>>> UTC+2:
>>>>>>
>>>>>>> in graphs.inc is  [[[windchill]]]
>>>>>>>
>>>>>>>
>>>>>>> Am Donnerstag, 25. Juni 2020 16:51:00 UTC+2 schrieb Manfred Maier:
>>>>>>>>
>>>>>>>> Next try ... the "Gefühlte Temp" in your graphs.conf is displaying 
>>>>>>>> "appTemp"?
>>>>>>>>
>>>>>>>> [email protected] schrieb am Donnerstag, 25. Juni 2020 um 
>>>>>>>> 16:43:53 UTC+2:
>>>>>>>>
>>>>>>>>> MQTT ist not activ.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Am Donnerstag, 25. Juni 2020 15:51:16 UTC+2 schrieb Manfred Maier:
>>>>>>>>>>
>>>>>>>>>> Hi Geni,
>>>>>>>>>> do you have MQTT switched on?
>>>>>>>>>>
>>>>>>>>>> If so, the station observations (top area) display the live data. 
>>>>>>>>>> The charts display the temperature of the last archive loop (= 
>>>>>>>>>> couple of 
>>>>>>>>>> minutes old).
>>>>>>>>>>
>>>>>>>>>> Manfred
>>>>>>>>>>
>>>>>>>>>> [email protected] schrieb am Donnerstag, 25. Juni 2020 um 
>>>>>>>>>> 15:42:15 UTC+2:
>>>>>>>>>>
>>>>>>>>>>> Why is there a different temperature displayed?
>>>>>>>>>>>
>>>>>>>>>>

-- 
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/d127a121-7e1e-4160-a865-3bb9c2a60290n%40googlegroups.com.
Jun 26 07:30:28 Wetter-Raspi weewx[12838] INFO user.belchertown: version 1.1
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine: Caught 
unrecoverable exception in generator 'user.belchertown.HighchartsJsonGenerator'
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****  Error trying to use database binding wx_binding to graph observation 
appTemp. Error was: appTemp.
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****  Traceback (most recent call last):
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****    File "/usr/share/weewx/user/belchertown.py", line 1825, in 
get_observation_data
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****      (time_start_vt, time_stop_vt, obs_vt) = 
archive.getSqlVectors(TimeSpan(start_ts, end_ts), obs_lookup, aggregate_type, 
aggregate_interval)
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****    File "/usr/share/weewx/weewx/manager.py", line 452, in getSqlVectors
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****      aggregate_type, aggregate_interval)
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****    File "/usr/share/weewx/weewx/xtypes.py", line 91, in get_series
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****      raise weewx.UnknownType(obs_type)
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****  weewx.UnknownType: appTemp
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****  
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****  During handling of the above exception, another exception occurred:
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****  
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****  Traceback (most recent call last):
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****    File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****      obj.start()
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****    File "/usr/share/weewx/weewx/reportengine.py", line 280, in start
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****      self.run()
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****    File "/usr/share/weewx/user/belchertown.py", line 1374, in run
Jun 26 07:30:37 Wetter-Raspi weewx[12838] 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)
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****    File "/usr/share/weewx/user/belchertown.py", line 1827, in 
get_observation_data
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****      raise Warning( "Error trying to use database binding %s to graph 
observation %s. Error was: %s." % (binding, obs_lookup, e) )
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****  Warning: Error trying to use database binding wx_binding to graph 
observation appTemp. Error was: appTemp.
Jun 26 07:30:37 Wetter-Raspi weewx[12838] ERROR weewx.reportengine:         
****  Generator terminated
Jun 26 07:20:28 Wetter-Raspi weewx[12705] INFO user.belchertown: version 1.1
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine: Caught 
unrecoverable exception in generator 'user.belchertown.HighchartsJsonGenerator'
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****  Error trying to use database binding wx_binding to graph observation 
$current.appTemp. Error was: $current.appTemp.
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****  Traceback (most recent call last):
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****    File "/usr/share/weewx/user/belchertown.py", line 1825, in 
get_observation_data
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****      (time_start_vt, time_stop_vt, obs_vt) = 
archive.getSqlVectors(TimeSpan(start_ts, end_ts), obs_lookup, aggregate_type, 
aggregate_interval)
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****    File "/usr/share/weewx/weewx/manager.py", line 452, in getSqlVectors
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****      aggregate_type, aggregate_interval)
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****    File "/usr/share/weewx/weewx/xtypes.py", line 91, in get_series
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****      raise weewx.UnknownType(obs_type)
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****  weewx.UnknownType: $current.appTemp
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****  
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****  During handling of the above exception, another exception occurred:
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****  
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****  Traceback (most recent call last):
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****    File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****      obj.start()
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****    File "/usr/share/weewx/weewx/reportengine.py", line 280, in start
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****      self.run()
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****    File "/usr/share/weewx/user/belchertown.py", line 1374, in run
Jun 26 07:20:38 Wetter-Raspi weewx[12705] 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)
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****    File "/usr/share/weewx/user/belchertown.py", line 1827, in 
get_observation_data
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****      raise Warning( "Error trying to use database binding %s to graph 
observation %s. Error was: %s." % (binding, obs_lookup, e) )
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****  Warning: Error trying to use database binding wx_binding to graph 
observation $current.appTemp. Error was: $current.appTemp.
Jun 26 07:20:38 Wetter-Raspi weewx[12705] ERROR weewx.reportengine:         
****  Generator terminated

Reply via email to