On Thursday, November 10, 2016 at 7:18:22 PM UTC-5, Radar wrote:
>
> the tag $current.rxCheckPercent is showing 1% on the standard page
>
> config file has
> rxCheckPercent = rssi.00002273.*
> in the sensor_map
>
> the data is rssi=3
>
> in the interceptor.py version 0.15 is the line 
> pkt['rssi'] = float(data[n]) / 4.0
>

good catch.

the code is doing what it was told to do, but it is the wrong code.  
because rxCheckPercent should be in [0,100] the code should be:

pkt['rssi'] = 100.0 * float(data[n]) / 4.0

which is equivalent to your

pkt['rssi'] = float(data[n]) * 25

the rssi reported by the bridge is always 0, 1, 2, 3, or 4.  this is 
different from the 0, 1, 2, or 3 reported by an acurite console.

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