Ken,

Sorry, I failed to delete the second "driver = user.interceptor" line.  That 
was the cause of the duplicate keyword complaint.
There was the one right under [Interceptor] and the one further down after the 
comments.  I see you cleaned that up and you've got past the parsing issue.

Sorry I don't know how those inTemp mappings work.  I'm sure someone on the 
alias will know...

You do realize all those China / Swiss ones are commented out, right?
So you really only have the one inTemp set:

>       inTemp = temperature.*.*

Regards,
Leon
--
Leon Shaner :: Dearborn, Michigan (iPad Pro)

> On Apr 27, 2019, at 10:33 AM, Ken Booth <[email protected]> wrote:
> 
>> On Saturday, 27 April 2019 15:58:57 UTC+2, Leon Shaner wrote:
>> Hey, Ken,
>> 
>> You've got two [Interceptor] sections, run together, using two different IP 
>> addresses.
>> 
>> So you should end up with the following for the [Interceptor] section, but 
>> check that the IP is correct:
>> 
>> ##############################################################################
>> 
>> [Interceptor]
>>     # This section is for the network traffic interceptor driver.
>> 
>>     # The driver to use:
>>     driver = user.interceptor
>> 
>>     # Specify the hardware device to capture.  Options include:
>>     #   acurite-bridge - acurite internet bridge, smarthub, or access
>>     #   observer - fine offset WH2600/HP1000/HP1003, ambient WS2902
>>     #   lw30x - oregon scientific LW301/LW302
>>     #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
>>     #   wu-client - any hardware that uses the weather underground protocol
>> 
>>     driver = user.interceptor
>>     device_type = acurite-bridge
>>     mode = listen
>>     iface = ens3
>>     pcap_filter = src 192.168.2.10 and dst port 80
>> 
>>     [[sensor_map]]
>>         inTemp = temperature.8565.*  
>>         inTemp = temperature.12520.* 
>>         inTemp = temperature.2190.*  
>> 
>> ##############################################################################
>> 
>> 
>> Regards,
>> Leon
>> --
>> Leon Shaner :: Dearborn, Michigan (iPhone)
> 
> Thanks Leon,
> 
> However, it didn't like that:
> Apr 27 15:39:52 hostname weewx[20326]: engine: Error while parsing 
> configuration file /etc/weewx/weewx.conf
> Apr 27 15:39:52 hostname weewx[20326]: ****    Reason: 'Duplicate keyword 
> name at line 79.'
> 
> Now I've got:
> [Interceptor]
>     driver = user.interceptor
>     device_type = acurite-bridge
>     mode = listen
>     iface = ens3
>     pcap_filter = src 192.168.180.0/22 and dst port 80
>     [[sensor_map]]
>         inTemp = temperature.*.*
>         inHumidity = inHumidity.*.*
>         barometer = barometer.*.*
>         rxCheckPercent = rxCheckPercent.*.*
>         txBatteryStatus = txBatteryStatus.*.*
> 
>         #inTemp = temperature.12387.* china room 1
>         #inTemp = temperature.15283.* china room 2
>         #inTemp = temperature.5422.* china room 3
>         #inTemp = temperature.2266.* china room 4
>         #inTemp = temperature.8565.* swiss room 1
>         #inTemp = temperature.12520.* swiss room 2
>         #inTemp = temperature.2190.* swiss room 3
> 
> But, looking at the my webpage, I'm only getting one value for inside 
> temperature, so I'm guessing that I need to define each sensor with a 
> different name other than inTemp
> -- 
> 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.

-- 
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