Hello,
my weewx stopped yesterday unexpected. The last logs are attached. It ran 
stable for over 1 week. I have restarts of my raspberry pi with cron every 
1 or 2 days. What is the reason that the gw1000 driver has suddenly a 
problem? How can I avoid it in future? Should I increase the attemps if 
there is a short problem with the wifi connection?
It is a problem of my gw1000 device? I see no problems with the ecowitt app.
Thank you!
Regards
Thomas

-- 
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/568aacb7-0c11-443b-af24-7879d4f2afabn%40googlegroups.com.
Mar 24 22:17:53 raspberrypi weewxd[1229]: DEBUG user.gw1000:      battery state 
data will be ignored for legacy WH40
Mar 24 22:17:53 raspberrypi weewxd[1229]: DEBUG user.gw1000:      battery state 
will not be reported for sensors with no signal data
Mar 24 22:17:53 raspberrypi weewxd[1229]: DEBUG user.gw1000:      unknown 
fields will be ignored
Mar 24 22:17:55 raspberrypi weewxd[1229]: DEBUG user.gw1000: Failed to obtain 
response to attempt 1 to send command 'CMD_READ_STATION_MAC': timed out
Mar 24 22:18:07 raspberrypi weewxd[1229]: DEBUG user.gw1000: Failed to obtain 
response to attempt 2 to send command 'CMD_READ_STATION_MAC': timed out
Mar 24 22:18:19 raspberrypi weewxd[1229]: DEBUG user.gw1000: Failed to obtain 
response to attempt 3 to send command 'CMD_READ_STATION_MAC': timed out
Mar 24 22:18:19 raspberrypi weewxd[1229]: ERROR user.gw1000: Failed to obtain 
response to command 'CMD_READ_STATION_MAC' after 3 attempts
Mar 24 22:18:19 raspberrypi weewxd[1229]: ERROR weewx.engine: Import of driver 
failed: Failed to obtain response to command 'CMD_READ_STATION_MAC' after >
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****  
Traceback (most recent call last):
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****    
File "/usr/share/weewx/weewx/engine.py", line 115, in setupStation
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****      
self.console = loader_function(config_dict, self)
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****       
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****    
File "/etc/weewx/bin/user/gw1000.py", line 1907, in loader
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****      
return GatewayDriver(**config_dict[DRIVER_NAME])
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****       
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****    
File "/etc/weewx/bin/user/gw1000.py", line 2523, in __init__
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****      
super(GatewayDriver, self).__init__(**stn_dict)
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****    
File "/etc/weewx/bin/user/gw1000.py", line 1156, in __init__
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****      
self.collector = GatewayCollector(ip_address=self.ip_address,
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****       
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****    
File "/etc/weewx/bin/user/gw1000.py", line 2818, in __init__
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****      
self.device = GatewayDevice(ip_address=ip_address, port=port,
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****       
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****    
File "/etc/weewx/bin/user/gw1000.py", line 6240, in __init__
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****      
self.api = GatewayApi(ip_address=ip_address,
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****       
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****    
File "/etc/weewx/bin/user/gw1000.py", line 4981, in __init__
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****      
self.mac = self.get_mac_address()
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****       
          ^^^^^^^^^^^^^^^^^^^^^^
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****    
File "/etc/weewx/bin/user/gw1000.py", line 5416, in get_mac_address
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****      
response = self.send_cmd_with_retries('CMD_READ_STATION_MAC')
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****       
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****    
File "/etc/weewx/bin/user/gw1000.py", line 5670, in send_cmd_with_retries
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****      
raise GWIOError(_msg)
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL weewx.engine:     ****  
user.gw1000.GWIOError: Failed to obtain response to command 'CMD_READ_STATION_>
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL __main__: Unable to load 
driver: Failed to obtain response to command 'CMD_READ_STATION_MAC' after 3 a>
Mar 24 22:18:19 raspberrypi weewxd[1229]: CRITICAL __main__:     ****  
Exiting...
Mar 24 22:18:19 raspberrypi systemd[1]: weewx.service: Main process exited, 
code=exited, status=4/NOPERMISSION
Mar 24 22:18:19 raspberrypi systemd[1]: weewx.service: Failed with result 
'exit-code'.
Mar 24 22:18:19 raspberrypi systemd[1]: weewx.service: Consumed 1h 59min 
24.214s CPU time.

Reply via email to