Re: [weewx-user] Re: Error Reading GW1100

2024-05-11 Thread 'steepleian' via weewx-user
Are you using the auto setting in weewx.conf? If so try changing to the IP address of your gateway device.https://claydonsweather.org.ukOn 11 May 2024, at 11:10, Mitchell Tuckness  wrote:Does anyone have some ideas to help point me in the right direction on this?On Friday, May 10, 2024 at 8:47:25 AM UTC-6 Mitchell Tuckness wrote: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 engineMay 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 outMay 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 outMay 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 outMay 10 08:23:17 weewx-pi weewx[1657] ERROR user.gw1000: Failed to obtain response to command 'CMD_READ_STATION_MAC' after 3 attemptsMay 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 ()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 setupStationMay 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 loaderMay 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_addressMay 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_retriesMay 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 attemptsMay 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 attemptsMay 10 08:23:17 weewx-pi weewx[1657] CRITICAL __main__:       Waiting 60 seconds then retrying...



-- 
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 

[weewx-user] Re: Error Reading GW1100

2024-05-11 Thread Mitchell Tuckness
Does anyone have some ideas to help point me in the right direction on this?

On Friday, May 10, 2024 at 8:47:25 AM UTC-6 Mitchell Tuckness wrote:

> 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 ()
> 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...
>

-- 
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