Yes, I am using that version of cwxn. Humidity is set to zeroes.  As I 
said, Wunderground is getting humidity.  I added a bit of code to cwxn to 
display the packet data, here it is:

weewxd[834]: INFO user.cwxn: packet:windSpeed: 33.0, windDir: 
173.91699604743084, outTemp: 65.86189999999999, txBatteryStatus: 0, 
dateTime: 1741147384, usUnits: 1, pressure: None, altimeter: None, appTemp: 
None, barometer: None, cloudbase: None, dewpoint: None, ET: None, 
heatindex: None, humidex: None, inDewpoint: None, maxSolarRad: 
24.12908023880754, rainRate: 0.0, windchill: 65.86189999999999, windrun: 
None

So, clearly, without outHumidity in the record cwxn can't post the actual 
humidity, and posts zeroes. I've run grep on the log and humidity never 
appears in the packet data. 

This leads me to believe there is an issue in weewx since it is posting to 
wunderground but not to cwxn. I was hoping someone had bumped into it 
before.

B
On Sunday, March 2, 2025 at 4:07:42 AM UTC-5 gjr80 wrote:

> Will need a bit more information. First up, which cwxn are you using? This 
> one - https://github.com/matthewwall/weewx-cwxn ?
>
> What do you mean by '*The problem I'm having is Humidity is not making it 
> to the wxnow.txt file*'. Is humidity data appearing but is zero or is the 
> humidity field omitted completely? Does it happen in every wxnow.txt that 
> is generated or just occasionally? The cwxn code I linked to generates a 
> new wxnow.txt on receipt of every loop packet and the code inserts the 
> outHumidty value if it exists in the loop packet otherwise it inserts the 
> value 0.
>
> You may well see different behaviour between what you see on WU and in 
> wxnow.txt. Chances are that WU is receiving archive record data (which is 
> an aggregate of the loop packet data) whereas cwxn is generating wxnow.txt 
> based on the data in individual loop packets.
>
> You might find it useful to run WeeWX directly 
> <https://weewx.com/docs/5.1/usersguide/running/#running-directly> so you 
> can see the individual loop packets (and archive records) on the console. 
>
> Gary
> On Sunday, 2 March 2025 at 12:40:36 UTC+10 [email protected] wrote:
>
>> I've setup Weewx using sdrdavis and it works great posting to 
>> Wunderground and its own web interface.  
>>
>> However, I also wanted to post to APRS, so I added cwxn, which I have 
>> used with my Ambient Weather station with great success. 
>>
>> The problem I'm having is Humidity is not making it to the wxnow.txt 
>> file.  I added some debug code to cwxn and discovered outHumidity is not 
>> being passed in the packet! It is posting humidity to wunderground, so I 
>> know its not an issue with the rtldavis driver.
>>
>> Has anyone run into this? 
>>
>> Thanks in advance for any info.
>>
>> B
>>
>

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/13077920-c1af-4f37-a96b-365579382f8en%40googlegroups.com.

Reply via email to