Yes Gary - as soon as I cycled power to the GW1000 - then Weewx connected 
up to it again on it's next retry  and works fine again.  I have had it 
crash 3 times in past month though I did not pay close attention to find 
the cause . I will from now on. Thanks for your efforts developing the 
driver. 
Larry 

On Wednesday, September 23, 2020 at 5:27:03 AM UTC-5 gjr80 wrote:

> Larry,
>
> So I guess the GW1000 driver picked up the GW1000 again? If the WSView app 
> doesn't pick p the GW1000 then the driver probably doe snot have much 
> chance either. I believe there have been a few issues after firmware 
> updates, I have been getting into the habit of verifying everything is 
> working after a firmware update.
>
> From the log extract you posted the driver appears to have been doing what 
> it should have on loss of contact with/being unable to contact the GW1000.
>
> Gary
>
>
> On Wednesday, 23 September 2020 12:42:33 UTC+10, Larry wrote:
>>
>> okay I just checked with WSview and notice it isn't seeing the weather 
>> station . I guess that is the problem. Seems like these issues happened 
>> after the last Ecowitt updates. 
>> I repowered the GW1000 and it came back to life and WSView now sees it 
>> again. 
>> The lights were all on the GW1000 - not sure what made it crash . 
>>
>> Larry 
>>
>> On Tuesday, September 22, 2020 at 9:33:06 PM UTC-5 Larry wrote:
>>
>>> I have had three crashes of Weewx on my Raspberry Pi Zero W in past few 
>>> weeks .
>>> Here is the log I have now - not sure if it is the right one you would 
>>> need to gather any clues. 
>>> Any help on what I should do is appreciated 
>>> Thanks  
>>> Larry 
>>>  sudo tail -f /var/log/syslog
>>>
>>> Sep 22 21:23:34 pizerowx weewx[701] CRITICAL __main__:     ****  Waiting 
>>> 60 seconds then retrying...
>>> Sep 22 21:24:34 pizerowx weewx[701] INFO __main__: retrying...
>>> Sep 22 21:24:34 pizerowx weewx[701] INFO __main__: Using configuration 
>>> file /etc/weewx/weewx.conf
>>> Sep 22 21:24:34 pizerowx weewx[701] INFO __main__: Debug is 0
>>> Sep 22 21:24:34 pizerowx weewx[701] INFO weewx.engine: Loading station 
>>> type GW1000 (user.gw1000)
>>> Sep 22 21:25:01 pizerowx weewx[701] ERROR gw1000: user.gw1000: Failed to 
>>> detect GW1000 ip address and/or port after 3 attempts
>>> Sep 22 21:25:01 pizerowx weewx[701] ERROR weewx.engine: Import of driver 
>>> failed: Failed to detect GW1000 ip address and/or port after 3 attempts 
>>> (<class 'user.gw1000.GW1000IOError'>)
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****  
>>> Traceback (most recent call last):
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/usr/share/weewx/weewx/engine.py", line 103, in setupStation
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> self.console = loader_function(config_dict, self)
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/usr/share/weewx/user/gw1000.py", line 1136, in loader
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> return Gw1000Driver(**config_dict[DRIVER_NAME])
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/usr/share/weewx/user/gw1000.py", line 1415, in __init__
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> super(Gw1000Driver, self).__init__(**stn_dict)
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/usr/share/weewx/user/gw1000.py", line 762, in __init__
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> debug_wind=self.debug_wind)
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/usr/share/weewx/user/gw1000.py", line 1630, in __init__
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> lost_contact_log_period=lost_contact_log_period)
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/usr/share/weewx/user/gw1000.py", line 2017, in __init__
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> raise GW1000IOError(_msg)
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****  
>>> GW1000IOError: Failed to detect GW1000 ip address and/or port after 3 
>>> attempts
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL __main__: Unable to load 
>>> driver: Failed to detect GW1000 ip address and/or port after 3 attempts
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL __main__:     ****  Waiting 
>>> 60 seconds then retrying...
>>> Sep 22 21:23:34 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> lost_contact_log_period=lost_contact_log_period)
>>> Sep 22 21:23:34 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/usr/share/weewx/user/gw1000.py", line 2017, in __init__
>>> Sep 22 21:23:34 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> raise GW1000IOError(_msg)
>>> Sep 22 21:23:34 pizerowx weewx[701] CRITICAL weewx.engine:     ****  
>>> GW1000IOError: Failed to detect GW1000 ip address and/or port after 3 
>>> attempts
>>> Sep 22 21:23:34 pizerowx weewx[701] CRITICAL __main__: Unable to load 
>>> driver: Failed to detect GW1000 ip address and/or port after 3 attempts
>>> Sep 22 21:23:34 pizerowx weewx[701] CRITICAL __main__:     ****  Waiting 
>>> 60 seconds then retrying...
>>> Sep 22 21:24:34 pizerowx weewx[701] INFO __main__: retrying...
>>> Sep 22 21:24:34 pizerowx weewx[701] INFO __main__: Using configuration 
>>> file /etc/weewx/weewx.conf
>>> Sep 22 21:24:34 pizerowx weewx[701] INFO __main__: Debug is 0
>>> Sep 22 21:24:34 pizerowx weewx[701] INFO weewx.engine: Loading station 
>>> type GW1000 (user.gw1000)
>>> Sep 22 21:25:01 pizerowx weewx[701] ERROR gw1000: user.gw1000: Failed to 
>>> detect GW1000 ip address and/or port after 3 attempts
>>> Sep 22 21:25:01 pizerowx weewx[701] ERROR weewx.engine: Import of driver 
>>> failed: Failed to detect GW1000 ip address and/or port after 3 attempts 
>>> (<class 'user.gw1000.GW1000IOError'>)
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****  
>>> Traceback (most recent call last):
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/usr/share/weewx/weewx/engine.py", line 103, in setupStation
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> self.console = loader_function(config_dict, self)
>>> Sep 22 21:25:01 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/us
>>> Sep 22 21:26:01 pizerowx weewx[701] INFO __main__: Using configuration 
>>> file /etc
>>> Sep 22 21:26:01 pizerowx weewx[701] INFO __main__: Debug is 0
>>> Sep 22 21:26:01 pizerowx weewx[701] INFO weewx.engine: Loading station 
>>> type GW10
>>> Sep 22 21:26:27 pizerowx weewx[701] ERROR gw1000: user.gw1000: Failed to 
>>> detect
>>> Sep 22 21:26:27 pizerowx weewx[701] ERROR weewx.engine: Import of driver 
>>> failed:
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL weewx.engine:     ****  
>>> Traceback (
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/us
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> self.co
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/us
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> return
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/us
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> super(G
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/us
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> debug_w
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/us
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> lost_co
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/us
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> raise G
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL weewx.engine:     ****  
>>> GW1000IOErr
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL __main__: Unable to load 
>>> driver: Fa
>>> Sep 22 21:26:27 pizerowx weewx[701] CRITICAL __main__:     ****  Waiting 
>>> 60 seco
>>> Sep 22 21:27:27 pizerowx weewx[701] INFO __main__: retrying...
>>> Sep 22 21:27:27 pizerowx weewx[701] INFO __main__: Using configuration 
>>> file /etc/weewx/weewx.conf
>>> Sep 22 21:27:27 pizerowx weewx[701] INFO __main__: Debug is 0
>>> Sep 22 21:27:27 pizerowx weewx[701] INFO weewx.engine: Loading station 
>>> type GW1000 (user.gw1000)
>>> Sep 22 21:27:53 pizerowx weewx[701] ERROR gw1000: user.gw1000: Failed to 
>>> detect GW1000 ip address and/or port after 3 attempts
>>> Sep 22 21:27:53 pizerowx weewx[701] ERROR weewx.engine: Import of driver 
>>> failed: Failed to detect GW1000 ip address and/or port after 3 attempts 
>>> (<class 'user.gw1000.GW1000IOError'>)
>>> Sep 22 21:27:53 pizerowx weewx[701] CRITICAL weewx.engine:     ****  
>>> Traceback (most recent call last):
>>> Sep 22 21:27:53 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/usr/share/weewx/weewx/engine.py", line 103, in setupStation
>>> Sep 22 21:27:54 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> self.console = loader_function(config_dict, self)
>>> Sep 22 21:27:54 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/usr/share/weewx/user/gw1000.py", line 1136, in loader
>>> Sep 22 21:27:54 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> return Gw1000Driver(**config_dict[DRIVER_NAME])
>>> Sep 22 21:27:54 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/usr/share/weewx/user/gw1000.py", line 1415, in __init__
>>> Sep 22 21:27:54 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> super(Gw1000Driver, self).__init__(**stn_dict)
>>> Sep 22 21:27:54 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/usr/share/weewx/user/gw1000.py", line 762, in __init__
>>> Sep 22 21:27:54 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> debug_wind=self.debug_wind)
>>> Sep 22 21:27:54 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/usr/share/weewx/user/gw1000.py", line 1630, in __init__
>>> Sep 22 21:27:54 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> lost_contact_log_period=lost_contact_log_period)
>>> Sep 22 21:27:54 pizerowx weewx[701] CRITICAL weewx.engine:     ****    
>>> File "/usr/share/weewx/user/gw1000.py", line 2017, in __init__
>>> Sep 22 21:27:54 pizerowx weewx[701] CRITICAL weewx.engine:     ****      
>>> raise GW1000IOError(_msg)
>>> Sep 22 21:27:54 pizerowx weewx[701] CRITICAL weewx.engine:     ****  
>>> GW1000IOError: Failed to detect GW1000 ip address and/or port after 3 
>>> attempts
>>> Sep 22 21:27:54 pizerowx weewx[701] CRITICAL __main__: Unable to load 
>>> driver: Failed to detect GW1000 ip address and/or port after 3 attempts
>>> Sep 22 21:27:54 pizerowx weewx[701] CRITICAL __main__:     ****  Waiting 
>>> 60 seconds then retrying...
>>>
>>>
>>>
>>>
>>> On Tuesday, September 22, 2020 at 4:33:07 AM UTC-5 ti...@skybase.net 
>>> wrote:
>>>
>>>> Hi Gary, 
>>>>
>>>> Thanks for your concise explanation, I think I understand now :) 
>>>>
>>>> I have both radiation and my PM2.5 fields being populated now and 
>>>> reading back data from them. 
>>>>
>>>> Please find attached my log snippets as requested. 
>>>>
>>>> Interestingly the uvradiation field is there this time around when 
>>>> running the driver test so I don't know why it was absent before! 
>>>>
>>>> regards 
>>>>
>>>> Tim 
>>>>
>>>>
>>>>

-- 
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/4eb3925a-d6fe-41bd-9347-c2f56274c7b5n%40googlegroups.com.

Reply via email to