hi 
fedora 36 does not have a pcap rpm for python3 you would have to install 
the pcap with pip3 if there is one for python3
i use sdr for my atlas, 5n1s, lightning, towers and pro sensors on fedora 36

On Thursday, September 1, 2022 at 10:46:33 AM UTC-5 meteo219 wrote:

> Hello folks,
>
> I am trying to setup weewx from my old 2015 Acurite 5-in-1 weather station 
> through the Acurite Access but I am not having any luck.  First, I can get 
> weewx to work from my weather display via USB without issue but I am 
> looking to see if I can capture data through the Access in case I upgrade 
> to the Acurite Atlas.  Long story short, my relative humidity sensor is 
> failing (showing a constant 99% relative humidity); the board looks fine, 
> but Acurite doesn't have a replacement part for it.  So, I can either buy a 
> newer Acurite 5-in-1 or upgrade to the Atlas knowing their is no USB option 
> on the Atlas weather display.
>
> Does anyone have step by step directions on how to setup weewx using the 
> interceptor.py with the Acurite Access.  I currently send data to WU and 
> CWOP.  I have read the readme that came with the interceptor.py, but I just 
> get errors when trying. 
>
> For example using it to listen:
>
> PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/interceptor.py 
> --device=acurite-bridge --mode=listen --port=80
> Traceback (most recent call last):
>   File "/usr/share/weewx/user/interceptor.py", line 2671, in <module>
>     device = InterceptorDriver.DEVICE_TYPES.get(options.device_type)(
>   File "/usr/share/weewx/user/interceptor.py", line 1002, in __init__
>     super(AcuriteBridge, self).__init__(
>   File "/usr/share/weewx/user/interceptor.py", line 430, in __init__
>     self._server = Consumer.TCPServer(address, port, handler)
>   File "/usr/share/weewx/user/interceptor.py", line 585, in __init__
>     TCPServer.__init__(self, (address, int(port)), handler)
>   File "/usr/lib64/python3.10/socketserver.py", line 452, in __init__
>     self.server_bind()
>   File "/usr/lib64/python3.10/socketserver.py", line 466, in server_bind
>     self.socket.bind(self.server_address)
> OSError: [Errno 98] Address already in use
>
> Using sniff:
>
> PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/interceptor.py 
> --device=acurite-b
> ridge --mode=sniff --iface=enp0s3 --filter="src 192.168.0.245 and dst port 
> 80"
> Traceback (most recent call last):
>   File "/usr/share/weewx/user/interceptor.py", line 2671, in <module>
>     device = InterceptorDriver.DEVICE_TYPES.get(options.device_type)(
>   File "/usr/share/weewx/user/interceptor.py", line 1002, in __init__
>     super(AcuriteBridge, self).__init__(
>   File "/usr/share/weewx/user/interceptor.py", line 427, in __init__
>     self._server = Consumer.SniffServer(
>   File "/usr/share/weewx/user/interceptor.py", line 466, in __init__
>     import pcap
> ModuleNotFoundError: No module named 'pcap'
>
> I am running Fedora 36, with libpcap installed:
>
> rpm -qa|grep -i pcap
> libpcap-1.10.1-3.fc36.x86_64
>
> Any ideas and suggestions would be greatly appreciated.  I want to make 
> sure I can get the interceptor.py working with the Access before purchasing 
> a new weather station.
>
> Sincerely,
>
> Jeff
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/98ce4819-e01c-4c9a-a024-c442ddb3a80bn%40googlegroups.com.

Reply via email to