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