Hi
Thanks for your prompt answer.
I'll try later today and let you know.
Gert
On Sunday, January 12, 2020 at 9:21:35 AM UTC+1, mwall wrote:
>
>
>
> On Sunday, January 12, 2020 at 1:38:45 AM UTC-5, Gert Andersen wrote:
>>
>>
>> Out running directly:
>> pi@Desktop:~/weewx-interceptor/bin/user $ PYTHONPATH=/usr/share/weewx
>> python /usr/share/weewx/user/interceptor.py --device=ecowitt-client --port
>> 8000 --debug
>> raw data:
>> PASSKEY=XXXX&stationtype=EasyWeatherV1.4.5&dateutc=2020-01-12+06:19:35&rainratein=0.000&eventrainin=0.000&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=0.000&monthlyrainin=0.000&yearlyrainin=0.000&temp2f=43.7&humidity2=91&batt2=0&freq=868M&model=HP1000SE_Pro_V1.5.8
>> raw packet: {'temperature_2': 43.7, 'humidity_2': 91.0, 'rain_rate': 0.0,
>> 'battery_2': 0.0, 'dateTime': 1578809975, 'usUnits': 1}
>> mapped packet: {'temperature_2': 43.7, 'humidity_2': 91.0, 'rain_rate':
>> 0.0, 'battery_2': 0.0, 'dateTime': 1578809975, 'usUnits': 1}
>>
>> I have this in in weewx.conf:
>> [Interceptor]
>> driver = user.interceptor
>> device_type = ecowitt-client
>> port = 8000
>> [[sensor_map]]
>> outTemp = temperature_2
>> outHumidity = humidity_2
>>
>>
> i think you should use the sensor_map_extensions, not sensor_map. so your
> configuration would look like this:
>
> [Interceptor]
> driver = user.interceptor
> device_type = ecowitt-client
> port = 8000
> [[sensor_map_extensions]]
> outTemp = temperature_2
> outHumidity = humidity_2
>
> that way all of the normal mappings will remain, and you only override
> outTemp and outHumidity to use the additional sensor.
>
> 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/9c14d6d9-3b52-4089-a804-5700c3e158d6%40googlegroups.com.