mic,

the d9 packets are the status packets, so those are the only ones we care 
about here.

in the output you posted there were only two d9 packets, and they are 
identical:

Mar  7 21:14:56 petitpc-dot-s weewx[16942]: wmr200: MainThread: D  Sensor 
packet:d9 08 00 00 04 00 e5 00
Mar  7 21:26:56 petitpc-dot-s weewx[16942]: wmr200: MainThread: D  Sensor 
packet:d9 08 00 00 04 00 e5 00

note that the only non-zero value is bit 0x04 of byte 04.  d9 is the packet 
type, 08 is the number of bytes, and e5 00 is the checksum.

so it is possible that bit 0x04 of byte 04 is the battery status flag for 
channel 2 (assuming that the 'battery ok' status has not yet propagated as 
of 21:26:56).

in order to know for certain, we need more data.  specifically, we need a 
low battery status on a sensor, then move that sensor from channel 2 to 
channel 3, then to channel 4, and so on.  each time the sensor is moved to 
a new channel, collect at least one d9 packet, but preferably 5 or 6 d9 
packets.

the test procedure would be:

start capturing data
put sensor with low battery on channel 2
wait for one hour (about 4 d9 packets)
put sensor with low battery on channel 3
wait for one hour
put sensor with low battery on channel 4
wait for one hour
put sensor with low battery on channel 5
...
put sensor with low battery on channel 8
stop capturing data
post the captured data (more specifically, post the d9 packets, e.g., the 
result of 'grep Sensor output.txt')

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

Reply via email to