Hi Gary,

Thanks for the quick response. This is my second week with Weewx so I 
assumed it was something I overlooked. And I'm glad a solution is 
relatively close.
I am using a Ambient Weather WS-2902 array with an Ecowitt GW1000 and using 
the interceptor 0.53.  cwxn is 0.4




On Tuesday, February 25, 2020 at 7:42:31 AM UTC-6, gjr80 wrote:
>
> Hi,
>
> Looking at the cwxn service code there are three rain related values 
> included in the output, these are (named in the code) hourRain, rain24 
> and dayRain. Presumably these are total rainfalls in the last hour, the 
> last 24 hours and since midnight respectively. The cwxn service calculates 
> hourRain by querying the database so hourRain should always be correct. 
> However, rain24 and dayRain are not calculated by querying the database, 
> rather they are pulled directly from fields of the same name in either the 
> loop packets or archive records (depending on whether you bind to loop or 
> archive) emitted by your station. Unfortunately, not all stations emit 
> these fields and I am guessing that is the case with your station. You 
> didn't mention what (weather) station you are using?
>
> As for the data on your web page, if that is the Standard or Seasons skin 
> that is shipped with WeeWX then in all likelihood you will find that the 
> WeeWX tag system is being used and something like $day.rain.sum is being 
> used to calculate and display the days rainfall by querying the database. 
> Unfortunately the WeeWX tag system is only available in WeeWX reports and 
> is not available in services such as cwxn.
>
> Don't worry, all is not lost, if it is a case of your station not emitting 
> rain24 and dayRain it will be a fairly straightforward job to modify the 
> cwxn service to calculate these fields from the database just as is done 
> with hourRain. I know the cwxn author is a bit busy with the WeeWX 4.0 
> release at the moment but let me see if I have some time tomorrow to make 
> the necessary changes (or perhaps some other enthusiastic WeeWX user will 
> come along and do the same before then) :)
>
> Gary
>
>
> On Tuesday, 25 February 2020 10:33:29 UTC+10, Bill Arthur wrote:
>>
>> I recently added the cwxn extension so that I could pass the weather to 
>> my APRS/CWOP app
>>
>> Its working fairly well, but it only reports the current rain rate. The 
>> 1hr and 12hr (p and P) are always 000  
>> We had 1.03" today so I had plenty of opportunities to test. The weewx 
>> html page shows the rain.
>>
>> Here's my example:
>> Feb 24 2020 18:20
>> 129/002g004t052r000p000P000h096b10067
>>
>> I put "binding = archive"  in  weewx.conf
>>
>> I'm missing something here, any ideas?
>>
>>

-- 
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/dc3ec9f1-9bf7-4434-9813-8dbb87ebf813%40googlegroups.com.

Reply via email to