Thank you, works a treat!
I just have to remember to test new Interceptor versions then edit if
needed.
On Friday, February 14, 2020 at 11:36:59 AM UTC-5, Vetti52 wrote:
>
> When looking at interceptor.py version 0.53, there is not yet a wh40batt
> sensor listed at the class ecowitt-client (Consumer).
> You may insert in interceptor.py after line 2249 wh65.batt an extra line
> like
> 'wh65batt': 'wh65_battery',
> 'wh40batt': 'wh40_battery',
> 'pm25_ch1': 'pm2_5',
>
> and then add the sensor to weewx.conf like
> [Interceptor]
> ...
> [[sensor_map_extensions]]
> rainBatteryStatus = wh40_battery
>
>
>
>
>
> Am Mittwoch, 12. Februar 2020 11:22:19 UTC+1 schrieb G Hammer:
>>
>>
>> The question I have is how to map my rain gauge battery (wh40batt). This
>> is the output running Interceptor directly.
>> raw data:
>> PASSKEY=XXXX&stationtype=GW1000B_V1.5.6&dateutc=2020-02-12+10:11:35&tempinf=72.3&humidityin=29&baromrelin=30.020&baromabsin=29.551&tempf=34.7&humidity=60&winddir=352&windspeedmph=2.46&windgustmph=6.93&maxdailygust=15.88&solarradiation=0.00&uv=0&rainratein=0.000&eventrainin=0.091&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=0.177&monthlyrainin=0.189&yearlyrainin=2.110&totalrainin=2.110&wh65batt=0&wh40batt=1.6&wh26batt=0&freq=915M&model=GW1000_Pro
>> raw packet: {'wind_speed': 2.46, 'humidity_in': 29.0, 'temperature_in':
>> 72.3, 'rain_total': 2.11, 'solar_radiation': 0.0, 'wind_gust': 6.93,
>> 'wh65_battery': 0.0, 'humidity_out': 60.0, 'uv': 0.0, 'rain': 0.0,
>> 'wh26_battery': 0.0, 'pressure': 29.551, 'temperature_out': 34.7,
>> 'wind_dir': 352.0, 'dateTime': 1581502295, 'rain_rate': 0.0, 'usUnits': 1}
>> mapped packet: {'pressure': 29.551, 'outHumidity': 60.0, 'UV': 0.0,
>> 'radiation': 0.0, 'rain': 0.0, 'dateTime': 1581502295, 'windDir': 352.0,
>> 'outTemp': 34.7, 'windSpeed': 2.46, 'inHumidity': 29.0, 'inTemp': 72.3,
>> 'windGust': 6.93, 'rainRate': 0.0, 'usUnits': 1}
>>
>>
>>
>>
--
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 on the web visit
https://groups.google.com/d/msgid/weewx-user/ffe5b6f5-8505-4e2c-93dd-aba563e1afee%40googlegroups.com.