Or just do what Tom says :) Gary
On Thursday, 22 April 2021 at 07:51:46 UTC+10 gjr80 wrote: > If your aim is to store the Davis forecastIcon value in your database for > use in reports etc then you need to do one of two things. Either add a > forecastIcon field/column to your database schema and WeeWX will > automatically save forecastIcon to database. Or, if you are using the > wview_extended schema and the forecast field/column is not being used, you > can re-map the forecastIcon value to forecast by adding a line > to [StdCalibrate] [[Corrections]] as follows (untested): > > [StdCalibrate] > [[Corrections]] > forecast = forecastIcon > > WeeWX will then automatically save the forecastIcon value in the forecast > field/column in the database. > > You probably should also tell WeeWX how to extract the forecast icon value > from the accumulators as well. The default action is to average the values, > this could give an incorrect result if there are multiple different values > in an archive period, in this case the best action would be to extract the > last value. To do this you need to add the following to the end of your > weewx.conf(untested): > > [Accumulator] > [[forecast]] > extractor = last > > Of course you will need to restart WeeWX. > > Gary > On Thursday, 22 April 2021 at 05:08:54 UTC+10 [email protected] wrote: > >> >> Thank you, but that's not exactly what I'm looking for. I wish store the >> number of the rule so that it can be evaluated 6 hours later. In the end, I >> would have a percentage of reliable on the total of all the rules and on >> almost each in particular. >> So there is an unused "forecast" column in the database. >> Is it possible somewhere to parameterize this? >> Thank you ! >> Le mercredi 21 avril 2021 à 19:45:41 UTC+2, [email protected] a écrit : >> >>> Is this what you are looking for : >>> >>> https://groups.google.com/g/weewx-user/c/pZnD5llxKzA/m/I2kiod2wBwAJ >>> >>> or >>> >>> https://github.com/hes19073/hesweewx/blob/master/bin/user/vanfortex.py >>> >>> On Wednesday, April 21, 2021 at 12:47:41 PM UTC-4 [email protected] >>> wrote: >>> >>>> >>>> Hello, >>>> >>>> The Vantage Pro has a Forecast variable that I wanted to add in the >>>> database. To my surprise, the location is there, with a "null" as values. >>>> My question is simple, how to feed it? >>>> >>>> Well to you, >>>> Blaise >>> >>> -- 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/5abf6920-e7f9-47ff-9bfc-34ab8ff4b375n%40googlegroups.com.
