If you have beaufort in the loop packets then you should end up with 
beaufort in archive records. Does it work now? If not $current.xxxxx tags 
come from the archive record hence the suggestion to run WeeWX directly for 
at least a full archive period to confirm that beaufort is appearing in 
archive records.

Gary

On Thursday, 23 July 2020 22:38:14 UTC+10, Vetti52 wrote:
>
> Hi, Gary!
> Thanks for the hints. In deed, there is a value for beaufort in the loop:
> LOOP:   2020-07-23 14:16:36 CEST (1595506596) altimeter: 
> 30.065488730750573, appTemp: 69.20122805363343, barometer: 30.014, 
> beaufort: 1, cloudbase: 3824.7354273385445, dateTime: 1595506596, dewpoint: 
> 52.73310752508154, heatindex: 69.1, humidex: 72.72248011924633, inDewpoint: 
> 54.980122811806766, inHumidity: 64.0, inTemp: 67.6, maxSolarRad: 
> 820.4582989978796, outHumidity: 56.0, outTemp: 69.1, pressure: 29.949, 
> radiation: 604.7, rain: None, rainEvent: 0.0, rainRate: 0.0, 
> txBatteryStatus: 0.0, usUnits: 1, UV: 5.0, windchill: 69.1, windDir: 240.0, 
> windGust: 3.36, windSpeed: 1.34
>
> I did not wait for the REC: record.
> So then I should have a look into the skin/skin config. However, I use the 
> seasons skin with some translations of the descriptions into German and 
> just added the value, as Tom posted above. I put it into current.inc here
>   <div class="widget_contents">
>   <table>
>     <tbody>
>       <tr>
>         <td class="label">$obs.label.outTemp</td>
>         <td class="data">$current.outTemp</td>
>       </tr>
>       <tr>
>         <td class="label">$obs.label.heatindex</td>
>         <td class="data">$current.heatindex</td>
>       </tr>
>       <tr>
>         <td class="label">$obs.label.windchill</td>
>         <td class="data">$current.windchill</td>
>       </tr>
>       <tr>
>         <td class="label">$obs.label.dewpoint</td>
>         <td class="data">$current.dewpoint</td>
>       </tr>
>       <tr>
>         <td class="label">$obs.label.outHumidity</td>
>         <td class="data">$current.outHumidity</td>
>       </tr>
>       <tr>
>         <td class="label">$obs.label.barometer</td>
>         <td class="data">$current.barometer (Trend: 
> $trend.barometer.formatted)</td>
>       </tr>
>       <tr>
>         <td class="label">$obs.label.wind</td>
>         <td class="data">$current.windSpeed ($current.beaufort bft) 
> $current.windDir.ordinal_compass 
> ($current.windDir)<br/>$word_current_beaufort<br />Böen 
> $current_gust_beaufort</td>
>       </tr>
>
>
> gjr80 schrieb am Mittwoch, 22. Juli 2020 um 04:54:16 UTC+2:
>
>> Hi,
>>
>> If you have beaufort = prefer_hardware under [StdWXCalculate] then you 
>> should be seeing field beaufort in loop packets and archive records 
>> provided you have field windSpeed in the same packet/record. I would go 
>> back to basics as far as you can and run WeeeWX directly 
>> <http://weewx.com/docs/usersguide.htm#Running_directly> for at least an 
>> archive interval (you want to see at least one archive record) and observe 
>> the loop packets (lines starting with LOOP:) and archive records (lines 
>> starting with REC:) on the console. Do they have a field windSpeed and 
>> what is its value, do they have a field beaufort and what is its value? 
>> If you have windSpeed and no beaufort or have windSpeed and have an 
>> incorrect beaufort value then something is wrong and we need to dig 
>> deeper. If the loop packets/archive records are correct then the issue is 
>> downstream in the skin/skin config.
>>
>> Gary
>>
>> On Tuesday, 21 July 2020 at 20:55:37 UTC+10 Vetti52 wrote:
>>
>>> Hi, Tom!
>>>
>>> As there was almost no wind last week, I just tried to activate 
>>> $current.beaufort. I decided to show both values, such as $current_beaufort 
>>> ($current.beaufort). However, the new value always shows (0), while the 
>>> other one looks ok to me. Do I have to drive another screw somewhere in 
>>> Weewx. The only place, I know, is the entry in [StdWXCalculate], which is 
>>> set to "prefer_hardware" as by default.
>>> It is not that bad, as the solution from @WindnFog 
>>> <https://groups.google.com/d/msg/weewx-user/b7TqpYD9sxY/60NGeJEFDAAJ>works 
>>> as well. But, at least, the new solution should work too.
>>>
>>> Am Mittwoch, 8. Juli 2020 18:25:06 UTC+2 schrieb Tom Keffer:
>>>
>>>> Beaufort is treated as a separate observation type, not an alternative 
>>>> unit. So, you should be able to use it like any other type. For example,
>>>>
>>>>   <p>The current wind speed is $current.windSpeed, which is beaufort 
>>>> $current.beaufort.</p>
>>>>
>>>> If you want to plot it, you would need to put 'beaufort' in your 
>>>> database schema.
>>>>
>>>> -tk
>>>>
>>>>
>>>>
>>>> On Wed, Jul 8, 2020 at 6:42 AM Vetti52 <drv...@gmail.com> wrote:
>>>>
>>> Hi you Weewx experts!
>>>>>
>>>>> first I would like to say, that my station ( a WS2900 clone) is not 
>>>>> that sophisticated, especially concerning wind speed and direction. There 
>>>>> are many tall trees around, being closer than their 10fold height, so 
>>>>> that 
>>>>> the wind is often much smoother and more disturbed than on top of the 
>>>>> trees. However, I still would like to compare the data to the data 
>>>>> provided 
>>>>> by local weather forecasters. Commonly the wind is announced in the 
>>>>> literally equation of the predicted Beaufort value. So, they talk of 
>>>>> "fresh 
>>>>> breeze", when wind with 5 bft is expected. Therefore I wanted to display 
>>>>> the wind data in bft and its literal equivalent also. In Weewx 3 I 
>>>>> adopted 
>>>>> the solution found here:
>>>>> https://groups.google.com/d/topic/weewx-user/b7TqpYD9sxY/discussion
>>>>> which works fine so far.
>>>>> After upgrading to Weewx 4 I found a new entry in 
>>>>>
>>>>> [StdWXCalculate]
>>>>>     [[Calculations]]
>>>>>           beaufort = prefer_hardware
>>>>>
>>>>> which raised the question, if I could replace the previous solution by 
>>>>> that introduced in version 4.
>>>>> I expected, that there would be an option in the [[[Units]]] section 
>>>>> to chose 'beaufort' instead of 'knot'. But this is not offered in the 
>>>>> options there. Anyway, this would not be the solution, because I want to 
>>>>> see the wind speed as it is actually shown, and *in addition *in 
>>>>> terms of Beaufort. This should also be shown in an extra graph over time.
>>>>>
>>>>> Does anyone have a clue, how to manage this?
>>>>>
>>>>> -- 
>>>>> 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...@googlegroups.com.
>>>>
>>>>
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/weewx-user/e766b133-65d4-4821-917e-49a31936a43do%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/weewx-user/e766b133-65d4-4821-917e-49a31936a43do%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6e6e7078-d70e-41e1-9d7f-a0b253117812o%40googlegroups.com.

Reply via email to