Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help question #95

Open
edegraaff opened this issue May 31, 2021 · 1 comment
Open

help question #95

edegraaff opened this issue May 31, 2021 · 1 comment

Comments

@edegraaff
Copy link

Hi, i need some help to realise the folowing:
I have an Unit Ventus W830 , it uses ecowitt protocol, and i configured the ventus to send all ecowitt data to 192.168.1.xx on port 4199, this server processes the data in home assistant but ...

I want to reuse this data to aprs, so my idea was i build an pi with weewx since i understood weewx can push data in the right format to aprs.

i tried to use the weewx-interceptor to listen to see the packages but i failed there.

PYTHONPATH=bin python3 ./bin/user/interceptor.py --device=ecowitt-client --mode=sniff --iface=eth0 --filter="src 192.168.1.xx and dst port 4199"

I get this error, while pcap is installed i used : sudo apt-get install python-libpcap

Traceback (most recent call last):
File "/home/weewx/bin/user/interceptor.py", line 2664, in
address=options.addr, port=options.port)
File "/home/weewx/bin/user/interceptor.py", line 1002, in init
AcuriteBridge.Parser(), handler=AcuriteBridge.Handler, **stn_dict)
File "/home/weewx/bin/user/interceptor.py", line 427, in init
iface, pcap_filter, promiscuous)
File "/home/weewx/bin/user/interceptor.py", line 465, in init
import pcap
ModuleNotFoundError: No module named 'pcap'

@SylvainMartel
Copy link

SylvainMartel commented Jul 9, 2021

Are you on a Raspberry pi? Install this instead: sudo apt-get install python3-pypcap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants