Hi Bill,

Yes that will cause problems. I have two GW1000 on my network and the when 
run as a driver/service the ip_address setting has always been honoured in 
my testing. Running the driver directly is a little different, I thought i 
had coded the driver such that it would take the IP address from weewx.conf 
or the command line, seems I never included weewx.conf and it was being 
ignored. b9 and earlier exhibited the following behaviour:

   - when run as a driver/service as part of a running WeeWX install:


   1. if an IP address is specified at [GW1000] ip_address that IP address 
      is used
      2. if [GW1000] ip_address is 'auto' or the setting is omitted the 
      driver searches for GW1000 on the local network and uses the address of 
the 
      first GW1000 that responds
   

   - when run directly:


   1. if --ip is specified  on the command line that IP address is used
      2. if --ip is not specified on the command line the driver searches 
      for GW1000 on the local network and uses the address of the first GW1000 
      that responds
   
Under b10 the behaviour will change when run directly:

   1. if --ip is specified  on the command line that IP address will be used
   2. if --ip is not specified on the command line weewx.conf is checked 
   and [GW1000] ip_address will be used if set
   3. if --ip is not specified on the command line and there is nothing 
   under [GW1000] in weewx.conf the driver searches for GW1000 on the local 
   network and uses the address of the first GW1000 that responds

The behaviour when run as part of a running WeeWX install will not change.

Gary

On Sunday, 2 August 2020 13:09:34 UTC+10, Bill Arthur wrote:
>
> Hi Gary,
> I believe I found my problem. Sorry to have caused any confusion.
> After I ran wee_install I saw the GW1000 stanzas at the end of weewx.conf 
> and I falsely assumed it was configured.
> I had a ton of problems because I didn't run wee_config.
>
> On Saturday, August 1, 2020 at 12:41:19 AM UTC-5 Bill Arthur wrote:
>
>> Hi Gary,
>> I wasn't able to make time to get the logs tonight. I'll try again 
>> tomorrow.
>> But I did test running the driver directly. I have three GW-1000s, 
>> 192.168.0.104, 204 and 205.
>> Out of ten runs it chooses 204 four times, 205 four times and 104 two 
>> times.
>>
>> # Options for extension 'GW1000'                                          
>>                                               
>> [Accumulator]                                                            
>>                                                    
>> [[lightning_strike_count]]                                                
>>                                                   
>> extractor = sum                                                          
>>                                                 
>> [[lightning_last_det_time]]                                              
>>                                                    
>> extractor = last                                                          
>>                                                                             
>>                                                                             
>>       
>> ##############################################################################
>>   
>>                                                                             
>>                                                                             
>>         
>> # Options for extension 'GW1000'                                          
>>                                              
>>  [GW1000]                                                                
>>                                                    
>>  driver = user.gw1000                                                    
>>                                                 
>> ip_address = 192.168.0.104                                                
>>                                                                             
>>                                                                             
>>           
>> ####################################
>>
>> On Friday, July 31, 2020 at 4:21:43 PM UTC-5 gjr80 wrote:
>>
>>> Bill,
>>>
>>> Does this occur every time or occasionally? Could you post your [GW1000] 
>>> stanza, the output from my previous post should contain everything else I 
>>> need to troubleshoot this issue.
>>>
>>> Gary
>>>
>>>

-- 
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/2f27f67e-cbf7-496d-8cea-89946c81b315o%40googlegroups.com.

Reply via email to