Hi
After running a GQ1000 for around 8 weeks it has stopped working at 03:15 am so I wasn’t around at that time of the morning fiddling. it just stopped for some reason
After it stopped reviving data
I have rebooted the GW1000 and the pi
Upgraded the GW1000 firmware
Tried the sd card in another pi
Used a backup image from 3 weeks ago that worked fine then
Weewx cant see the GW1000 nothing works
I have run
python -m user.gw1000 --test-driver
no data is being picked up, previously you could see what information was being received
I thought maybe the GW100 had failed or not working
But the ecowitt webpage is receiving data
Any ideas ?
Jul 22 09:06:13 raspberrypiwx weewx[771] DEBUG __main__: Initializing engine
Jul 22 09:06:13 raspberrypiwx weewx[771] INFO weewx.engine: Loading station type GW1000 (user.gw1000)
Jul 22 09:06:15 raspberrypiwx weewx[771] DEBUG user.gw1000: Failed to obtain response to attempt 1 to send command 'CMD_READ_STATION_MAC': timed out
Jul 22 09:06:16 raspberrypiwx postfix/qmgr[863]: 0FFBEDF431: from=<p...@raspberrypiwx.home>, size=967, nrcpt=1 (queue active)
Jul 22 09:06:16 raspberrypiwx postfix/pickup[4522]: E45F4DF429: uid=1000 from=<pi>
Jul 22 09:06:16 raspberrypiwx postfix/cleanup[7600]: E45F4DF429: message-id=<202307220806...@raspberrypiwx.home>
Jul 22 09:06:27 raspberrypiwx weewx[771] DEBUG user.gw1000: Failed to obtain response to attempt 2 to send command 'CMD_READ_STATION_MAC': timed out
Jul 22 09:06:39 raspberrypiwx weewx[771] DEBUG user.gw1000: Failed to obtain response to attempt 3 to send command 'CMD_READ_STATION_MAC': timed out
Jul 22 09:06:39 raspberrypiwx weewx[771] ERROR user.gw1000: Failed to obtain response to command 'CMD_READ_STATION_MAC' after 3 attempts
Jul 22 09:06:39 raspberrypiwx weewx[771] ERROR weewx.engine: Import of driver failed: Failed to obtain response to command 'CMD_READ_STATION_MAC' after 3 attempts (<class 'user.gw1000.GWIOError'>)
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** Traceback (most recent call last):
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** File "/home/weewx/bin/weewx/engine.py", line 119, in setupStation
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** self.console = loader_function(config_dict, self)
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** File "/home/weewx/bin/user/gw1000.py", line 1674, in loader
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** return GatewayDriver(**config_dict[DRIVER_NAME])
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** File "/home/weewx/bin/user/gw1000.py", line 2111, in __init__
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** super(GatewayDriver, self).__init__(**stn_dict)
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** File "/home/weewx/bin/user/gw1000.py", line 968, in __init__
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** debug=self.debug)
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** File "/home/weewx/bin/user/gw1000.py", line 2436, in __init__
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** log_unknown_fields=log_unknown_fields, debug=debug)
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** File "/home/weewx/bin/user/gw1000.py", line 5847, in __init__
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** debug=debug)
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** File "/home/weewx/bin/user/gw1000.py", line 4578, in __init__
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** self.mac = self.get_mac_address()
Jul 22 09:06:39 raspberrypiwx weewx[771] CRITICAL weewx.engine: **** Filecan you see the live data in the WS View Plus app or in the WebUI/embedded webpage (IP address of your GW1100 in the browser URL field) ?
maybe the IP of your GW1100 changed, which won't keep it from posting to ecowitt.net, but if it is now different from what is written in weewx.conf, weewx won't recieve anything
please post the syslog of the weewx startup
procedure, best for one archive interval, so we can see what the
Ecowitt Gateway driver feedback is
did you make your IP address of the GW1100
static (WebUI, device settings) ? - you better do !
or alternatively make a so-called IP/MAC address binding of the
current DHCP provided IP in your router
making it static from within the WebUI is in my experience the
better version, but both work
(whenever you make changes inside WS View Plus or the WebUI,
make sure you see the "success" message after pressing "save" or
"apply"
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/2af26648-63ca-47f3-b70f-e6315b9a40f3n%40googlegroups.com.
the message is clear:
DEBUG user.gw1000: Failed attempt 1 to send command
'CMD_READ_STATION_MAC': [Errno 101] Network is
unreachable
you have an issue reaching your GW1100 from the weewx server
at first glance that's neither a weewx nor a GW1100 issue - it looks like an issue in your local network infrastructure.
Also, I hope that your IP address for the
GW1100 is 192.168.1.248 and NOT, as you write, 192.168.1..248
(if in weewx.conf you have 192.168.1..248 then that's not not a
valid IP address !!
It might just be a typo (error while typing) at your end, but
worth checking.
Can you reach your router and the GW1100 on the operating system level of your RPi ?
ping 192.168.1.1 would/should reach the
router
ping 192.168.1.248
should reach the GW1100 unless your router has some policy
active which doesn't allow that
or
traceroute 192.168.1.248
should give you the IP addresses of the devices (router/switch
...) on the network path between your device (RPi) and the
destination device (GW1100)
Depending on which router you have, some router set by default a
tag which doesn't allow WLAN/WiFi devices to communicate inside
the local network - you have to explicitly allow that, often by
removing a tagged/ticket box.
It's not impossible that your image is faulty and you might need to flash that image again.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/86b4f30b-2901-46e9-842a-9f6df8bb1d42n%40googlegroups.com.
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/131679f4-e4fa-4c90-9baa-712b9cb14f70n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/8b7a9f80-12cb-4f18-b889-eb8b75b4922fn%40googlegroups.com.
you have to do some proper network analysis
- this whole story is neither a GW1000 nor a weewx issue.
And I doubt that "just out of the air" it all stopped and went
wrong.
Something must have (been) changed in the network configuration.
"Upgraded the
GW1000 firmware"
that means you must have used the WS View Plus app and are now
on firmware 1.7.6
That also means that a mobile device inside your local network
(your smartphone, tablet ...) can contact the GW1000 via port
45000 (that's what WS View Plus does)
The issue is then between your RPi, your router and the GW1000.
I assume the "culprit" is your router (some of its
configuration).
Can you ping the GW1000 from your router ?
Routers usually allow to issue/send ping and traceroute
commands.
And can you ping your RPi from your router ?
Have you checked if your router has some
special flag/option/button/tag (in fact a firewall feature)
where a specific WLAN device (here your GW1000) is allowed to
communicate with other devices in the local network ?
I asked this already earlier but you didn't reply to the
question
"i dont know how to get the
netmask of the GW1000"
the GW1000 has received its subnet information (netmask) from your
router's DHCP server
it should be correct - it's most likely 192.168.1.1/24 (or
255.255.255.0),
and the router (the DHCP server of the router) will provide the
gateway information and usually names itself as DNS server
This must all be correct - otherwise the GW1000 could not
successfully post to ecowitt.net
"But the ecowitt webpage is receiving data"
that clearly tells that the GW1100 is properly connected to your router and posts to the internet
"initially it wont ping then it succeeds why ??"
something (some network element) was sleeping in your local network, it needed the ping to wake up - these things happen
If nothing works (I don't know what your infrastructure is like -
is your router at the same time the WLAN access point or not
etc.),
but I would suggest that you connect your router directly with a
LAN cable to the RPi
(you hopefully have a more modern one which has a LAN/Ethernet
interface; you didn't tell us which models you use)
and see what it gives.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c964f7f6-77c9-44f4-bedf-03842c729ec8n%40googlegroups.com.