oh ok strange then. I must have changed it one day and forgot about it... 

On Monday, July 24, 2023 at 2:46:31 AM UTC+2 Tom Keffer wrote:

> ... and that is indeed the default. 
>
> https://github.com/weewx/weewx/blob/master/weewx.conf#L370
>
> On Sun, Jul 23, 2023 at 9:35 AM Invisible Man <axelle....@gmail.com> 
> wrote:
>
>> yes, that's what I did, and it works just great. IMHO, the default option 
>> should be "prefer_hardware" for everything. That should normally suit 
>> nearly all situations.
>>
>> -- Axelle.
>>
>> On Sunday, July 23, 2023 at 1:59:23 PM UTC+2 Tom Keffer wrote:
>>
>>> Yes. If you specify 'hardware', then WeeWX will not calculate it at all. 
>>> It depends on the value being supplied by the hardware.
>>>
>>> Usually you want "prefer_hardware". Same with the other calculations. I 
>>> would change them all.
>>>
>>> On Sun, Jul 23, 2023 at 4:07 AM Invisible Man <axelle....@gmail.com> 
>>> wrote:
>>>
>>>> Hello Tom,
>>>>
>>>> I am using an EcoWitt HP2551 (station_type = Interceptor) and WeeWx 
>>>> 4.10.2
>>>> In StdWXCalculate I have the following: I see that heat index is 
>>>> expected to be provided by my hardware (which obviously doesn't). I 
>>>> suppose 
>>>> I can just change that to software, or prefer_hardware?
>>>>
>>>> ```
>>>> [StdWXCalculate]
>>>>     [[Calculations]]
>>>>         # Derived quantities are calculated by this service.  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
>>>>         barometer = prefer_hardware
>>>>         altimeter = prefer_hardware
>>>>         windchill = hardware
>>>>         heatindex = hardware
>>>>         dewpoint = prefer_hardware
>>>>         inDewpoint = prefer_hardware
>>>>         rainRate = hardware
>>>>         maxSolarRad = prefer_hardware
>>>>         cloudbase = prefer_hardware
>>>>         humidex = prefer_hardware
>>>>         appTemp = prefer_hardware
>>>>         ET = prefer_hardware
>>>>         windrun = prefer_hardware
>>>> ```
>>>>
>>>> Thanks,
>>>> Axelle
>>>> On Friday, July 21, 2023 at 1:12:43 AM UTC+2 Tom Keffer wrote:
>>>>
>>>>> For most weather stations, heat index is a derived quantity, so it 
>>>>> must be calculated in software.
>>>>>
>>>>> What kind of hardware?
>>>>>
>>>>> What version of WeeWX are you using?
>>>>>
>>>>> What is in the section [StdWXCalculate] in weewx.conf?
>>>>>
>>>>> -tk
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Jul 20, 2023 at 1:39 PM Invisible Man <axelle....@gmail.com> 
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> My weather station has both current temperature and current humidity, 
>>>>>> but it continuously displays *N/A for humidex* (or is it heat index) 
>>>>>> ?
>>>>>>
>>>>>> My template uses this:
>>>>>> ```
>>>>>> Humidex: $current.heatindex
>>>>>> ```
>>>>>> and my `skin.conf` translates heatindex to Humidex:
>>>>>> ```
>>>>>>     [[Generic]]
>>>>>>         # Generic labels, keyed by an observation type.
>>>>>> barometer      = Barometre
>>>>>>         dewpoint       = Point de rosee
>>>>>>         heatindex      = Humidex
>>>>>> ```
>>>>>> I'm not sure I'm doing the right thing. 
>>>>>> If I query the database : 
>>>>>>
>>>>>> ```
>>>>>> sqlite> select barometer, pressure,outTemp,outHumidity,heatindex from 
>>>>>> archive where dateTime = 1689884400;
>>>>>> 1010.28419008758|998.764391620552|24.8333333333333|93.0|<select 
>>>>>> heatindex from archive where dateTime = 1689884400;
>>>>>> ```
>>>>>> Notice I do have values for everything *except* heatindex (no value).
>>>>>> Why don't I have any value? How can I enable it?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> PS. I'm using Weewx 4.10.2 on a RPi.
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> 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.
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/weewx-user/b47986e2-ae87-41c7-89c3-032447c75e59n%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/weewx-user/b47986e2-ae87-41c7-89c3-032447c75e59n%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.
>>>>
>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/90b5c374-f6ae-4795-842d-4e0eb43c846dn%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/90b5c374-f6ae-4795-842d-4e0eb43c846dn%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.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/18b3937f-25e0-439d-aaaf-98d0a14dc590n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/18b3937f-25e0-439d-aaaf-98d0a14dc590n%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/0ce125e1-24f3-4f62-9b45-ef762c2afb0fn%40googlegroups.com.

Reply via email to