With this config you get both, outHumidity and extraHumid1 mixed.

Try, as mentioned above:

outHumidity = extraHumid1 if extraHumid1 is not None else None

tadej.j...@gmail.com schrieb am Mittwoch, 8. November 2023 um 18:28:20 
UTC+1:

> It is not working with StdCalibrate
>
> [StdCalibrate]
>     [[Corrections]]
>         # For each type, an arbitrary calibration expression can be given. 
>         # It should be in the units defined in the StdConvert section.
>         # Example:
>         foo = foo + 0.2
>         outHumidity = extraHumid1 
>
> I am getting correct values in extraHumid1 from replacement sensor. I 
> checked database. But outHumidity is stil getting value from dead station 
> sensor.
>
> sreda, 8. november 2023 ob 11:14:14 UTC+1 je oseba tadej.j...@gmail.com 
> napisala:
>
>> I will try this one for now! I hope weewx will use it later to calculate 
>> dew point and heat index with this value.
>>
>> [StdCalibrate]
>> [[Corrections]]
>> outHumidity = extraHumid1 if extraHumid1 is not None else None
>>
>> torek, 7. november 2023 ob 12:36:26 UTC+1 je oseba michael.k...@gmx.at 
>> napisala:
>>
>>> Thanks, I forgot about that! Then I would definitely prefer getting an 
>>> Ecowitt Gateway + outdoor sensor over the replacement part. 
>>>
>>> gjr80 schrieb am Montag, 6. November 2023 um 21:08:54 UTC+1:
>>>
>>>> Not necessary, if the Ecowitt gateway driver can be used it can be run 
>>>> as a data service to augment an existing driver.
>>>>
>>>> Gary
>>>>
>>>> On Tuesday, 7 November 2023 at 06:03:39 UTC+10 michael.k...@gmx.at 
>>>> wrote:
>>>>
>>>>> With the ecowitt gateway you need a second weewxd running, as a 
>>>>> downside. But you can build a whole new station, step by step, around 
>>>>> that 
>>>>> gateway (which is probably way to go, sooner or later). 
>>>>>
>>>>> vince schrieb am Montag, 6. November 2023 um 20:41:08 UTC+1:
>>>>>
>>>>>> Another option is an ecowitt gateway and their outside T+H sensor, 
>>>>>> which integrates well into weewx.  
>>>>>>
>>>>>> On Monday, November 6, 2023 at 11:19:23 AM UTC-8 michael.k...@gmx.at 
>>>>>> wrote:
>>>>>>
>>>>>>> Do not use a BME280 as an outdoor Sensor, it is not suited for this 
>>>>>>> purpose. The operating range is only valid in non-condensing 
>>>>>>> environments. 
>>>>>>> In condensing environments, especially below freezing point, these 
>>>>>>> sensors 
>>>>>>> are proven unusable. Go for a SHT3x or SHT4x. 
>>>>>>>
>>>>>>> Mark Fraser schrieb am Montag, 6. November 2023 um 18:32:59 UTC+1:
>>>>>>>
>>>>>>>> On 06/11/2023 08:18, tadej.j...@gmail.com wrote: 
>>>>>>>> > Hello i have ws2300 station and my humidity sensor probably died. 
>>>>>>>> It 
>>>>>>>> > only shows values from 70 to 80% .I cannot get replacement part 
>>>>>>>> anywhere 
>>>>>>>> > because it is not in production anymore and I cannot buy whole 
>>>>>>>> new 
>>>>>>>> > station because it will be complicated to get all things up 
>>>>>>>> running again. 
>>>>>>>> > 
>>>>>>>> > I was thinking of getting external humidity sensor and hook it to 
>>>>>>>> > arduino board and then read humidity values remotely  via 
>>>>>>>> crontabs in a 
>>>>>>>> > txt file. Is is somehow possible to "trick" weewx to read this 
>>>>>>>> value 
>>>>>>>> > instead of getting it from station because I am using weewx to 
>>>>>>>> calculate 
>>>>>>>> > heat index and dew point. 
>>>>>>>> Could you use something like BME280WX from here? 
>>>>>>>> https://gitlab.com/wjcarpenter/bme280wx 
>>>>>>>>
>>>>>>>

-- 
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/09ac9b56-5c4e-49f2-9514-c349dab46723n%40googlegroups.com.

Reply via email to