I am not familiar with the skins you are using, but why store beaufort in the database? Starting with V4.2, WeeWX treats it as just another unit, albeit a funny one. You need only override the units.
For example, you can say: <p>The wind speed is $current.windSpeed.knot, or $current.windSpeed.beaufort on the beaufort scale.</p> That will give you something like: The wind speed is 8.3 kn, or 3 on the beaufort scale. -tk On Mon, Dec 26, 2022 at 1:13 AM 'Max Malycha' via weewx-user < [email protected]> wrote: > Hi together! > I wish you all a Merry Christmas! Hope so Father Christmas brought you > everything you need! > > But now: > I'm using a new hardware for the station behause my old WS1 form ADS broke > down. So now I have a GW1000 (from german distributor Froggit). The driver > works works fine (thanks to gjr80 for his work!), I have adapted my old > template (mix of SteelSeries and Belchertown 0.9 –> here > <https://wetter.malycha.de>) to show the data in a way my family likes. > Now I want to add an additional data in the highcharts graphs with the > wind (Beaufort). So first I've created a calculated column in archive but > my WeeWX (3.9.1) throws the error that the word "AS" is not know ... OK, > sqlite knows the generated columns beginning in 3.31 - so I think the used > class in python 7.2 (CentOS 7) is too old for this functionality. The > column is removed and the station runs again. > > Now I've added a view with two columns: dateTime and beaufort. The view > works correct but how to get the data in the json-file? > In WeeWX docs I found a description for additional binding: > wx_manager = db_lookup() # Get default binding > other_manager = db_lookup(data_binding='some_other_binding') # Get an > explicit binding > Is it enough btw required to ad a binding in weewx.conf? Does it work with > just to columns? Or is there a way to calculate the wind from m/s to bft > in the json-file? > > I've tried to upgrade the WeeWX to the actual version, but the rpm does > not show the appTemp in my template. So I had to make a downgrade - every > version above mine does not work :( > > Now I'm in hope for swarm knowledge :) > > Best regards from Good old Germany > Max > > -- > 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/d4600d0c-970c-409b-bd39-9b7e8f32c9den%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/d4600d0c-970c-409b-bd39-9b7e8f32c9den%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/CAPq0zECOPkAfmrQq4dycPhjaL3BOmYJxXR%3DppZ6q%2BU2S0Z8-KQ%40mail.gmail.com.
