On Thursday, April 4, 2019 at 6:48:06 AM UTC-4, bthoven wrote:
>
> That was what I have been trying to do, the sniff, without success. Could
> you suggest how should I set the sniff thing.
>
> Now my ObserverIP has local ip 192.168.2.122. It directs the data to my
> live weewx 192.168.2.3 port 55 which runs Interceptor in listening mode.
>
try running a second instance of weewx with the interceptor driver on
192.168.2.3. it should have a configuration something like this:
[Interceptor]
driver = user.interceptor
device_type = observer
mode = sniff
iface = eth1
pcap_filter = src 192.168.2.122 and dst port 55
you will have to change eth1 to match whatever interface the first
interceptor is listening on
save yourself some time and frustration by first getting it to work with a
direct invocation. assuming that weewx is installed in /home/weewx, cd to
that directory then enter something like this:
PYTHONPATH=bin python bin/user/interceptor.py --device=observer
--mode=sniff --iface=eth1 --filter="src 192.168.2.122 and dst port 55"
experiment with that until you see some data. once you see data, then put
the parameters into the config file and run weewx.
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.