Hi Chris,

What version of the GW1000 (now Ecowitt Gateway) driver are you using? It 
appears from the code in error trace you provided that you have v0.3.1, the 
last release was v0.4.2 and we are testing v0.5.0b5 now. There have been 
substantial changes by Ecowitt to battery state handling since v0.3.1 was 
released. I suggest you upgrade to v0.5.0b5 which can be found on GitHub 
here <https://github.com/gjr80/weewx-gw1000/releases>.

Gary.

On Wednesday, 15 June 2022 at 11:38:06 UTC+10 [email protected] wrote:

> Hello all,
>
> I noticed that my web pages have stopped working and I've looked into the 
> logs and I see this:
>
> Jun 14 19:58:46 rocky1 journal[42479]: weewx[42479] CRITICAL user.gw1000: 
>     ****  Traceback (most recent call last):
> Jun 14 19:58:47 rocky1 journal[42479]: weewx[42479] CRITICAL user.gw1000: 
>     ****    File "/usr/share/weewx/user/gw1000.py", line 2827, in run
> Jun 14 19:58:47 rocky1 journal[42479]: weewx[42479] CRITICAL user.gw1000: 
>     ****      self.client.collect_sensor_data()
> Jun 14 19:58:47 rocky1 journal[42479]: weewx[42479] CRITICAL user.gw1000: 
>     ****    File "/usr/share/weewx/user/gw1000.py", line 2282, in 
> collect_sensor_data
> Jun 14 19:58:47 rocky1 journal[42479]: weewx[42479] CRITICAL user.gw1000: 
>     ****      queue_data = self.get_live_sensor_data()
> Jun 14 19:58:47 rocky1 journal[42479]: weewx[42479] CRITICAL user.gw1000: 
>     ****    File "/usr/share/weewx/user/gw1000.py", line 2329, in 
> get_live_sensor_data
> Jun 14 19:58:47 rocky1 journal[42479]: weewx[42479] CRITICAL user.gw1000: 
>     ****      self.update_sensor_id_data()
> Jun 14 19:58:47 rocky1 journal[42479]: weewx[42479] CRITICAL user.gw1000: 
>     ****    File "/usr/share/weewx/user/gw1000.py", line 2344, in 
> update_sensor_id_data
> Jun 14 19:58:47 rocky1 journal[42479]: weewx[42479] CRITICAL user.gw1000: 
>     ****      self.sensors_obj.set_sensor_id_data(sensor_id_data)
> Jun 14 19:58:47 rocky1 journal[42479]: weewx[42479] CRITICAL user.gw1000: 
>     ****    File "/usr/share/weewx/user/gw1000.py", line 4108, in 
> set_sensor_id_data
> Jun 14 19:58:47 rocky1 journal[42479]: weewx[42479] CRITICAL user.gw1000: 
>     ****      batt_fn = Gw1000Collector.sensor_ids[data[index:index + 
> 1]]['batt_fn']
> Jun 14 19:58:47 rocky1 journal[42479]: weewx[42479] CRITICAL user.gw1000: 
>     ****  KeyError: b'0'
>
> I recently upgraded the firmware, so I wonder if that is what is causing 
> this error. The firmware version is GW1000B_V1.7.3 connected to an Ambient 
> Weather WS-5000. 
>
> I've found this error mentioned in web searches, but I'm not sure of what 
> I can do. I did a wee_config --reconfigure --driver=user.gw1000, but I 
> still get the error on startup (starting from a command line: sudo weewxd 
> /etc/weewx/weewx.conf).
>
> I'm happy to provide any information requested and thank you for your kind 
> attention.
>
>  - chris
>

-- 
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/2716d810-4d82-42c7-b5f9-7c2e3be57b3en%40googlegroups.com.

Reply via email to