The error shows that the driver could not contact your GW1000 for some 
reason, once the driver had everything required to connect to the GW1000 
the GW1000 did not respond. It could have happened for any number of 
reasons; the GW1000 driver may have been using an incorrect address when 
trying to connect to the GW1000,  the GW1000 may have changed address or 
the network may have experienced a problem. Impossible to say more without 
knowing exact config details both of the driver and your GW1000/network 
config. 

Things to try. You could set loop_on_init = True 
<http://weewx.com/docs/usersguide.htm#General> in weewx.conf so that WeeWX 
will wait 60 seconds when the driver fails to load and then try again. If 
the issue is transient in nature this may work but if it is something more 
permanent then it likely will just cause WeeWX to loop indefinitely. You 
could try configuring your network such that the GW1000 uses a static IP 
rather than having the GW1000 driver locate the GW1000 via network 
broadcast.

Gary
On Tuesday, 1 December 2020 at 01:51:08 UTC+10 [email protected] wrote:

> Hi
>
> Running RPI 4, Weewx 4.2 and GW1000 latest version and suddenly this 
> appears. Any ideas what's going on?
>
> The combination has been running stable, so my best quest it might be a 
> hardware problem or? 
>
> Never seen this before and couldn't find anything on the net.
>
> Nov 30 16:30:32 raspberrypi weewx[537] ERROR user.gw1000: Failed to obtain 
> response to command 'CMD_READ_STATION_MAC' after 3 attempts
> Nov 30 16:30:32 raspberrypi weewx[537] ERROR weewx.engine: Import of 
> driver failed: Failed to obtain response to command 'CMD_READ_STATION_MAC' 
> after 3 attempts (<class 'user.gw1000.GW1000IOError'>)
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****  
> Traceback (most recent call last):
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
> File "/home/weewx/bin/weewx/engine.py", line 109, in setupStation
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
>   self.console = loader_function(config_dict, self)
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
> File "/home/weewx/bin/user/gw1000.py", line 1293, in loader
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
>   return Gw1000Driver(**config_dict[DRIVER_NAME])
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
> File "/home/weewx/bin/user/gw1000.py", line 1568, in __init__
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
>   super(Gw1000Driver, self).__init__(**stn_dict)
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
> File "/home/weewx/bin/user/gw1000.py", line 767, in __init__
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
>   debug_wind=self.debug_wind)
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
> File "/home/weewx/bin/user/gw1000.py", line 1870, in __init__
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
>   lost_contact_log_period=lost_contact_log_period)
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
> File "/home/weewx/bin/user/gw1000.py", line 2276, in __init__
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
>   self.mac = self.get_mac_address()
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
> File "/home/weewx/bin/user/gw1000.py", line 2407, in get_mac_address
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
>   return self.send_cmd_with_retries('CMD_READ_STATION_MAC')
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
> File "/home/weewx/bin/user/gw1000.py", line 2532, in send_cmd_with_retries
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****    
>   raise GW1000IOError(_msg)
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL weewx.engine:     ****  
> user.gw1000.GW1000IOError: Failed to obtain response to command 
> 'CMD_READ_STATION_MAC' after 3 attempts
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL __main__: Unable to load 
> driver: Failed to obtain response to command 'CMD_READ_STATION_MAC' after 3 
> attempts
> Nov 30 16:30:32 raspberrypi weewx[537] CRITICAL __main__:     ****  
> Exiting...
>
> Gert
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f20fc723-aa20-4152-a556-837b0ffe3115n%40googlegroups.com.

Reply via email to