Re: [weewx-user] Periodic incorrect date from a Davis Vantage Pro 2

2024-05-11 Thread P Black
Tom,

Thank you.  It gives me some hope that the time warp will not be an issue 
with the new system.  The old used a Raspberry PI 3B with an added clock 
and the new is a RP5 with built-in clock.  I do use a battery backup and 
have not noticed any correlation to voltage drops and the date mix-up.  
Should have some time in the next couple weeks to load the software and 
begin transitioning the database.

Thanks,
Pat

On Friday, May 10, 2024 at 4:36:09 PM UTC-4 Tom Keffer wrote:

> I have never seen the Vantage emit a bad date. What does happen is either
>
> 1. The computer lacks a clock, so it synchronizes the Vantage to the wrong 
> time. There is a check in WeeWX to avoid starting up with a clock that's 
> really off, but the best protection is to install a real-time clock in the 
> computer.
>
> 2. The logger memory gets corrupted. This is pretty rare, but seems to be 
> triggered by power outages (although not always). The symptom is that WeeWX 
> fails to download any new data, so your webpage doesn't change. See the 
> Wiki article *Wiki generates HTML pages, but does not update them 
> *
>  for 
> details. This sounds the closest to the situation you describe, but with 
> WeeWX it does not result in a record being downloaded with a bad date. 
> Perhaps wview does something different in this situation. The problem can 
> always be solved by clearing the logger memory. If you do a memory dump 
> first, it does not result in loss of data.
>
> Hope that answers your question.
>
>
> On Fri, May 10, 2024 at 11:37 AM P Black  wrote:
>
>> Hello,
>>
>> I am in the process of migrating from wview to weewx.  Yes I know I am 
>> very late to the game.
>>
>> The issue I have with wview is that the Davis Vantage Pro 2 periodically 
>> generates a future date that then hangs any further data collection.  The 
>> fix usually involves:
>>
>>  sudo service wview stop
>>  vpconfig /dev/ttyUSB0 cleararchive
>> remove the bad data from the sqlite and mysql databases
>>  sudo service wview start
>>
>> Then if I am late to catch this issue, I have a lot of missing data.
>>
>> I plan to start installing weewx in the next few days on a raspberry pi 5 
>> with a 1TB NVMe and run using the mysql (mariadb) database choice after 
>> migrating my existing database to the new setup.
>>
>> Assuming that the date issue is a Davis glitch and not wview, is there a 
>> software check in weewx to determine if the date is wrong and either delete 
>> the data for that time or correct it to the correct time and then log?  I 
>> assume that the clear archive would also have to be automatically performed 
>> (how is that done by software)
>>
>> PS: I have tried the usual shutdown the Davis, remove batteries and still 
>> the bad date occasionally occurs.  The Davis is the wireless version 
>> purchased 2011.  Also, it must know when I am not around as the bad event 
>> occurs during my away times.
>>
>> Stay healthy,
>> Pat
>>
>> -- 
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/fe2e2e08-bf5b-4da4-a511-7926ede968afn%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/0ba660b1-cb93-4efb-aeb8-189a7266aa6dn%40googlegroups.com.


Re: [weewx-user] Error Reading GW1100

2024-05-11 Thread vince
Verify the ip address on your 'new' gateway is what is in weewx.conf

On Saturday, May 11, 2024 at 5:20:22 AM UTC-7 Ian Millard wrote:

> Following on, hers is my open gw1000 stanza in whew.conf: -
>
> [GW1000]
> # This section is for the Ecowitt Gateway driver.
> 
> # How often to poll the API, default is every 20 seconds:
> poll_interval = 4
> 
> # The driver to use:
> driver = user.gw1000
> # gateway device IP address:
> ip_address = 192.168.1.89
> port = 45000
> 
> [[field_map_extensions]]
> batteryStatus1 = wh65_batt
> barometer = relbarometer
>
>
> On 11 May 2024, at 11:21, 'steepleian' via weewx-user <
> weewx...@googlegroups.com> wrote:
>
> weewx.conf
>
>
>

-- 
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/fb5674c2-cc69-473b-bca6-ff011493886en%40googlegroups.com.


Re: [weewx-user] Error Reading GW1100

2024-05-11 Thread 'Ian Millard' via weewx-user
Following on, hers is my open gw1000 stanza in whew.conf: -

[GW1000]
# This section is for the Ecowitt Gateway driver.

# How often to poll the API, default is every 20 seconds:
poll_interval = 4

# The driver to use:
driver = user.gw1000
# gateway device IP address:
ip_address = 192.168.1.89
port = 45000

[[field_map_extensions]]
batteryStatus1 = wh65_batt
barometer = relbarometer


> On 11 May 2024, at 11:21, 'steepleian' via weewx-user 
>  wrote:
> 
> weewx.conf

-- 
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/3F62BDD5-3823-427E-9AE4-8C0B382034BB%40btinternet.com.


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 

Re: [weewx-user] Error Reading GW1100

2024-05-11 Thread Graham Eddy
this says weewx box is broadcasting query for any gw1000 devices to respond 
with their MAC address but no answer → make sure weewx box and gw1000 device on 
same lan
⊣GE⊢

> On 11 May 2024, at 8:10 PM, Mitchell Tuckness  wrote:
> 
> 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

-- 
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/9E52AE47-1A76-48AC-ADB4-C89D9338B72B%40geddy.au.


[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