For completeness, I found that this command:

sudo tcpflow -i any -C port 80 and src host [BRIDGE URL]

allowed me to see all traffic from the AcuRite bridge.

Further fiddling revealed that the word "daily" only appeared as part of a 
line structured this way: "&rainin=0.00&dailyrainin=0.00" and the 
dailyrainin value could be extracted easily from that line. Since I'm doing 
my realtime display in the bash shell, that's all I need.

Of course, if different conditions ever cause the bridge to spit out a line 
including "daily" in some other context, or if the line containing 
dailyrainin is ever formatted differently, my script will fail miserably.



On Sunday, April 1, 2018 at 1:42:16 PM UTC-4, RobbH wrote:
>
> Never mind! I've discovered the tcpflow command. tcpflow -i any -C -J port 
> 80 | grep "dailyrainin" should provide what I need.
>
>
>
> On Saturday, March 31, 2018 at 5:07:46 PM UTC-4, RobbH wrote:
>>
>> Thanks. I understand that, for a change.
>>
>> So there's no way to work around that? Those fields are not updated until 
>> the end of the archive interval, but the value I want is available to the 
>> driver as rain_total, but it is not mapped to a weewx field. Is there any 
>> way to pass that value to the crt service, without waiting for weewx to do 
>> its calculations?
>>
>>
>>
>> On Friday, March 30, 2018 at 9:54:25 PM UTC-4, mwall wrote:
>>>
>>> On Friday, March 30, 2018 at 6:00:14 PM UTC-4, RobbH wrote:
>>>>
>>>>
>>>> We can see that field 10 (rain today) and 48 (rainfall last hour) still 
>>>> contain zero. They will be updated in another minute, at the end of the 
>>>> archive period.
>>>>
>>>> How might I get the current value of rain_total.00002774.* into the 
>>>> realtime.txt file?
>>>>
>>>
>>> the rain today and rain last hour are calculated from the database, and 
>>> the database is updated each archive interval.  this would explain the 
>>> behavior you see.
>>>
>>> m 
>>>
>>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to