Error Reading GW1100

186 views
Skip to first unread message

Mitchell Tuckness

unread,
May 10, 2024, 10:47:25 AM5/10/24
to weewx-user
Hi All,

I could use some help. I have weewx running on Ubuntu and I had an electrician out to replace a plug that had overheated. Anyway, after he left (we had to shut power off to the  area he worked on) I noticed that the webpage wasns't doing the live updates for the weather. I checked everything I could to see if it was hardware was unplugged, or shut off, but I havent seen anything. So I thought maybe the GW100 gateway was having issues and I had purchased a GW1100 gateway a while ago, so I hooked it up and configured it. 

I can login to the Gw1100 and it sees all the sensors, but I am getting errors from the WEEWX server. I could use some help diagnosing this. It has been a while since I created the website and while I remember some, I don't remember it all. Appreciate it! Here is some of the errors from the syslog:

May 10 08:22:51 weewx-pi weewx[1657] INFO __main__: retrying...
May 10 08:22:51 weewx-pi weewx[1657] DEBUG __main__: Initializing engine
May 10 08:22:51 weewx-pi weewx[1657] INFO weewx.engine: Loading station type GW1000 (user.gw1000)
May 10 08:22:53 weewx-pi weewx[1657] DEBUG user.gw1000: Failed to obtain response to attempt 1 to send command 'CMD_READ                 _STATION_MAC': timed out
May 10 08:23:05 weewx-pi weewx[1657] DEBUG user.gw1000: Failed to obtain response to attempt 2 to send command 'CMD_READ_STATION_MAC': timed out
May 10 08:23:17 weewx-pi weewx[1657] DEBUG user.gw1000: Failed to obtain response to attempt 3 to send command 'CMD_READ_STATION_MAC': timed out
May 10 08:23:17 weewx-pi weewx[1657] ERROR user.gw1000: Failed to obtain response to command 'CMD_READ_STATION_MAC' after 3 attempts
May 10 08:23:17 weewx-pi weewx[1657] ERROR weewx.engine: Import of driver failed: Failed to obtain response to command 'CMD_READ_STATION_MAC' after 3 attempts (<class 'user.gw1000.GWIOError'>)
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****  Traceback (most recent call last):
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****    File "/home/weewx/bin/weewx/engine.py", line 119, in setupStation
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****      self.console = loader_function(config_dict, self)
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****    File "/home/weewx/bin/user/gw1000.py", line 1598, in loader
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****      return GatewayDriver(**config_dict[DRIVER_NAME])
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****    File "/home/weewx/bin/user/gw1000.py", line 2038, in __init__
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****      super(GatewayDriver, self).__init__(**stn_dict)
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****    File "/home/weewx/bin/user/gw1000.py", line 872, in __init__
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****      self.collector = GatewayCollector(ip_address=self.ip_address,
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****    File "/home/weewx/bin/user/gw1000.py", line 2428, in __init__
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****      self.station = GatewayCollector.Station(ip_address=ip_address,
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****    File "/home/weewx/bin/user/gw1000.py", line 2966, in __init__
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****      self.mac = self.get_mac_address()
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****    File "/home/weewx/bin/user/gw1000.py", line 3358, in get_mac_address
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****      return self.send_cmd_with_retries('CMD_READ_STATION_MAC')
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****    File "/home/weewx/bin/user/gw1000.py", line 3556, in send_cmd_with_retries
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****      raise GWIOError(_msg)
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL weewx.engine:     ****  user.gw1000.GWIOError: Failed to obtain response to command 'CMD_READ_STATION_MAC' after 3 attempts
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL __main__: Unable to load driver: Failed to obtain response to command 'CMD_READ_STATION_MAC' after 3 attempts
May 10 08:23:17 weewx-pi weewx[1657] CRITICAL __main__:     ****  Waiting 60 seconds then retrying...

Mitchell Tuckness

unread,
May 11, 2024, 6:10:05 AM5/11/24
to weewx-user
Does anyone have some ideas to help point me in the right direction on this?

Graham Eddy

unread,
May 11, 2024, 6:17:21 AM5/11/24
to WeeWX User
this says weewx box is broadcasting query for any gw1000 devices to respond with their MAC address but no answer → make sure weewx box and gw1000 device on same lan
⊣GE⊢

steepleian

unread,
May 11, 2024, 6:21:42 AM5/11/24
to weewx...@googlegroups.com
Are you using the auto setting in weewx.conf? If so try changing to the IP address of your gateway device.


On 11 May 2024, at 11:10, Mitchell Tuckness <purc...@maladomini.com> wrote:

Does anyone have some ideas to help point me in the right direction on this?
--
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/711c16bd-eb98-429a-95c7-376e8c454acan%40googlegroups.com.

Ian Millard

unread,
May 11, 2024, 8:20:22 AM5/11/24
to weewx...@googlegroups.com
Following on, hers is my open gw1000 stanza in whew.conf: -

[GW1000]
    # This section is for the Ecowitt Gateway driver.
    
    # How often to poll the API, default is every 20 seconds:
    poll_interval = 4
    
    # The driver to use:
    driver = user.gw1000
    # gateway device IP address:
    ip_address = 192.168.1.89
    port = 45000
    
    [[field_map_extensions]]
        batteryStatus1 = wh65_batt
        barometer = relbarometer


On 11 May 2024, at 11:21, 'steepleian' via weewx-user <weewx...@googlegroups.com> wrote:

weewx.conf

vince

unread,
May 11, 2024, 12:03:55 PM5/11/24
to weewx-user
Verify the ip address on your 'new' gateway is what is in weewx.conf

Mitchell Tuckness

unread,
May 13, 2024, 4:33:04 PM5/13/24
to weewx-user
I got it! I added the new one and confirmed it and it is working. It seems I had two issues that just happened to happen at the same time. One was the GW1000 lost its connection, then the GW1100 was giving me some issues and then the SSL certificate on the MQTT interface died and I forgot to copy the updated certificate to the MQTT server, sigh.

Thanks for all the help everyone.
Reply all
Reply to author
Forward
0 new messages