Re: [weewx-user] Replacement humidity sensor

2023-11-08 Thread tadej.j...@gmail.com
It works! In the end the solution was so simple. I also changed dewpoint from hardware to software calculation and it also works OK. Now I must only get one proper sensor instead dht22. Thank you all! četrtek, 9. november 2023 ob 07:55:05 UTC+1 je oseba michael.k...@gmx.at napisala: > It

Re: [weewx-user] Replacement humidity sensor

2023-11-08 Thread michael.k...@gmx.at
It should work like this, when set the database column from above to outHumidity instead of extraHumid1. (And nothing in the Corrections) tadej.j...@gmail.com schrieb am Donnerstag, 9. November 2023 um 07:37:18 UTC+1: > For testing purpose I used esp32 with dht22 configured as web server. >

Re: [weewx-user] Replacement humidity sensor

2023-11-08 Thread michael.k...@gmx.at
It should work like this, when set the database column from above to outHumidity instead of extraHumid1. tadej.j...@gmail.com schrieb am Donnerstag, 9. November 2023 um 07:37:18 UTC+1: > For testing purpose I used esp32 with dht22 configured as web server. > Every 10 minutes i use cron to wget

Re: [weewx-user] Replacement humidity sensor

2023-11-08 Thread tadej.j...@gmail.com
For testing purpose I used esp32 with dht22 configured as web server. Every 10 minutes i use cron to wget value from esp32 to a .txt file. Then I use weewx user service to read this value into database. Service: # -*- coding: utf-8 -*- import syslog import weewx from weewx.wxengine import

Re: [weewx-user] Replacement humidity sensor

2023-11-08 Thread michael.k...@gmx.at
Did run run weewxd directly, and check, how the loop packet drop in and what in there? Also: what kind of sensor did you apply to augment your data and how does the data go into into you weewx? MQTT? What I did: With my ws23xx, I have a outHumidity Sensor that works well below 85%, but barely

Re: [weewx-user] Replacement humidity sensor

2023-11-08 Thread tadej.j...@gmail.com
Michael, when trying this I get value N/A for outHumidity so we are getting somewhere, but it is still not replaced with extraHumid1 value. What do you mean with removin it from locals? :) -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To

Re: [weewx-user] Replacement humidity sensor

2023-11-08 Thread michael.k...@gmx.at
As I said: "something like" "not tested" Then I'd give outHumidity = extraHumid1 if 'extraHumid1' in locals() else None a try. Still: not tested, an I am just assuming that setting it to None when present it will be ignored when accumulating the value over an archive_interval. It might

Re: [weewx-user] Replacement humidity sensor

2023-11-08 Thread michael.k...@gmx.at
As I said: "something like" "not tested" Then I'd give outHumidity = extraHumid1 if 'extraHumid1' in locals() else None a try. Still: not tested, an I am just assuming that setting it to None when present it will be ignored when accumulating the value over an archive_interval. gjr80

Re: [weewx-user] Replacement humidity sensor

2023-11-08 Thread gjr80
When merging sources it is often useful to run WeeWX directly , that way you can see exactly what is/is not in your loop packets. Frequently it is not what you may expect. Gary On Thursday, 9 November 2023 at 09:33:30 UTC+10 Graham

Re: [weewx-user] Replacement humidity sensor

2023-11-08 Thread Graham Eddy
just looking at the intention of the code without having read the thread [always dangerous!] i cannot quote the original python text here because unfortunately it was reported using a screenshot [please don’t do that] but note that if extraHumid1 is undefined (not present in packet, as opposed

Re: [weewx-user] Replacement humidity sensor

2023-11-08 Thread michael.k...@gmx.at
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] >

Re: [weewx-user] Replacement humidity sensor

2023-11-08 Thread michael.k...@gmx.at
With this config you get both, outHumidity and extraHumid1 mixed try: 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]] >

Re: [weewx-user] Replacement humidity sensor

2023-11-08 Thread tadej.j...@gmail.com
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

Re: [weewx-user] Replacement humidity sensor

2023-11-08 Thread tadej.j...@gmail.com
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: >

Re: [weewx-user] Replacement humidity sensor

2023-11-07 Thread michael.k...@gmx.at
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

Re: [weewx-user] Replacement humidity sensor

2023-11-07 Thread michael.k...@gmx.at
Thanks, I forgot about that! 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

Re: [weewx-user] Replacement humidity sensor

2023-11-06 Thread gjr80
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

Re: [weewx-user] Replacement humidity sensor

2023-11-06 Thread michael.k...@gmx.at
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

Re: [weewx-user] Replacement humidity sensor

2023-11-06 Thread vince
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

Re: [weewx-user] Replacement humidity sensor

2023-11-06 Thread michael.k...@gmx.at
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

Re: [weewx-user] Replacement humidity sensor

2023-11-06 Thread Mark Fraser
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