Acurite Atlas with Access -- Weewx on VM

123 views
Skip to first unread message

Sublyime YouKnowWho

unread,
Sep 8, 2021, 9:19:34 AM9/8/21
to weewx-user
OK so i have found some info in the group but not specific -- so here is the issue 

 cannot get data 

here is the setup 

Atlas with Access reporting to WU no problem

Access IP = 192.168.1.166 ( can see its webpage )

weewx installed on Debian 10  
Debian 10 is a VM  192.168.30.216 on a Hyper V host 192.168.30.19 
The Hyper V host has 2 physical network adapters
The Debian machine has 2 network adapters assigned to it 
The Debian machine can ping and see the webpage for ACCESS 192.168.1.166


which method should i use?  
WU-CLIENT
ACURITE-BRIDGE
OBSERVER

???

 I have tried all 3  and for each one i get  this error 


sublyime@debian:/etc/weewx$ sudo tail -f /var/log/syslog
Sep  8 07:37:10 debian weewx[5617] CRITICAL weewx.engine:     ****      self._server = Consumer.TCPServer(address, port, handler)
Sep  8 07:37:10 debian weewx[5617] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/user/interceptor.py", line 584, in __init__
Sep  8 07:37:10 debian weewx[5617] CRITICAL weewx.engine:     ****      TCPServer.__init__(self, (address, int(port)), handler)
Sep  8 07:37:10 debian weewx[5617] CRITICAL weewx.engine:     ****    File "/usr/lib/python3.7/socketserver.py", line 452, in __init__
Sep  8 07:37:10 debian weewx[5617] CRITICAL weewx.engine:     ****      self.server_bind()
Sep  8 07:37:10 debian weewx[5617] CRITICAL weewx.engine:     ****    File "/usr/lib/python3.7/socketserver.py", line 466, in server_bind
Sep  8 07:37:10 debian weewx[5617] CRITICAL weewx.engine:     ****      self.socket.bind(self.server_address)
Sep  8 07:37:10 debian weewx[5617] CRITICAL weewx.engine:     ****  OSError: [Errno 98] Address already in use
Sep  8 07:37:10 debian weewx[5617] CRITICAL __main__: Unable to load driver: [Errno 98] Address already in use
Sep  8 07:37:10 debian weewx[5617] CRITICAL __main__:     ****  Exiting...


any help would be great 

Thanks in advance 




Andy

unread,
Sep 9, 2021, 8:51:50 AM9/9/21
to weewx-user
I would use the SDR driver and a cheap dongle, but that is not what you are asking about. Make sure to read this. Can you post the weewx.conf [Interceptor] section? Are you creating a network bridge on your debian machine with the Access connected to one interface? Need more info on your setup.

Andy

sublyime

unread,
Sep 10, 2021, 8:06:53 PM9/10/21
to weewx...@googlegroups.com
Andy, 

 sorry for the delay , 

 here is the config i use

[Interceptor]
    driver = user.interceptor
    device_type = wu-client
    mode = sniff
    iface = eth1
    pcap_filter = src 192.168.30.166 and dst port 80

and i get this error 

Sep 10 19:02:35 debian weewx[1749] DEBUG weewx.engine: Loading service weewx.engine.StdPrint
Sep 10 19:02:35 debian weewx[1749] DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint
Sep 10 19:02:35 debian weewx[1749] DEBUG weewx.engine: Loading service weewx.engine.StdReport
Sep 10 19:02:35 debian weewx[1749] DEBUG weewx.engine: Finished loading service weewx.engine.StdReport
Sep 10 19:02:35 debian weewx[1749] INFO __main__: Starting up weewx version 4.5.1
Sep 10 19:02:35 debian weewx[1749] DEBUG weewx.engine: Station does not support reading the time
Sep 10 19:02:35 debian weewx[1749] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Sep 10 19:02:35 debian weewx[1749] INFO weewx.manager: Starting backfill of daily summaries
Sep 10 19:02:35 debian weewx[1749] INFO weewx.manager: Daily summaries up to date
Sep 10 19:02:35 debian weewx[1749] INFO weewx.engine: Starting main packet loop.
Sep 10 19:02:45 debian weewx[1749] DEBUG user.interceptor: empty queue
Sep 10 19:02:55 debian weewx[1749] DEBUG user.interceptor: empty queue
Sep 10 19:03:03 debian snmpd[448]: error on subcontainer 'ia_addr' insert (-1)
Sep 10 19:03:05 debian weewx[1749] DEBUG user.interceptor: empty queue
Sep 10 19:03:15 debian weewx[1749] DEBUG user.interceptor: empty queue
Sep 10 19:03:25 debian weewx[1749] DEBUG user.interceptor: empty queue
Sep 10 19:03:33 debian snmpd[448]: error on subcontainer 'ia_addr' insert (-1)
Sep 10 19:03:35 debian weewx[1749] DEBUG user.interceptor: empty queue
Sep 10 19:03:45 debian weewx[1749] DEBUG user.interceptor: empty queue
Sep 10 19:03:55 debian weewx[1749] DEBUG user.interceptor: empty queue
Sep 10 19:04:03 debian snmpd[448]: error on subcontainer 'ia_addr' insert (-1)
Sep 10 19:04:05 debian weewx[1749] DEBUG user.interceptor: empty queue
Sep 10 19:04:15 debian weewx[1749] DEBUG user.interceptor: empty queue
Sep 10 19:04:25 debian weewx[1749] DEBUG user.interceptor: empty queue

I have bonded both nic's on my debian box and still no luck



--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/6t4IeOKz86c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/dd38fabf-b681-43d1-8535-9acaac19c61an%40googlegroups.com.

Andy

unread,
Sep 12, 2021, 9:27:49 AM9/12/21
to weewx-user
How do you have this connected?  Send the output of "ip addr"

# The traffic must pass through your VM to capture, something like this (interface names may vary):

Acurite Access <---> eth0 (Debian VM bridged) eth1 <---> (Home network/ethernet)

#  You will NOT see your Acurite traffic like if you are doing this:

Acurite Access <---> Home Network/Internet <---> Debian VM

Andy

sublyime

unread,
Sep 12, 2021, 2:03:37 PM9/12/21
to weewx...@googlegroups.com

OK so to update, i nixed all VLANS -- everything is all on 192.168.1.0/24




sublyime@debian:/etc/weewx$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:15:5d:01:14:25 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.216/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0
       valid_lft 86183sec preferred_lft 86183sec
    inet6 fe80::441b:3dbd:fa57:7dc9/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:15:5d:01:14:26 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.217/24 brd 192.168.1.255 scope global dynamic noprefixroute eth1
       valid_lft 86185sec preferred_lft 86185sec
    inet6 fe80::215:5dff:fe01:1426/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
6: bridge0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 8a:3b:8f:3e:42:28 brd ff:ff:ff:ff:ff:ff

Reply all
Reply to author
Forward
0 new messages