I'm not sure what you are trying to do. The link you provided uses a custom 
WeeWX data service to parse a text file from the Ecowitt device, but the 
log extract you provided contains errors relating to the Ecowitt gateway 
driver <https://github.com/gjr80/weewx-gw1000> which uses the Ecowitt 
gateway device API to read data from the Ecowitt gateway device. You need 
to choose one method or the other, not both. If your intent is to utilise 
the linked page in your original post then you should uninstall the Ecowitt 
gateway driver.

Gary
On Wednesday, 11 October 2023 at 08:41:26 UTC+10 dale.c...@gmail.com wrote:

> Following these instructions:
>
> https://www.cougar.eu.com/useful-guides/weewx-guides/rasberry-pi/add-ecowitt/modify-weewx.html
>
> Directory in /var/www/html/weewx/uploads is filling with data, so the 
> upload data part is working.  
>
>
>
> Here is the pertinent log entries:
>
> Oct 10 17:37:23 fedora-workstation python3[49897]: weewx[49897] DEBUG 
> user.gw1000: Invalid response to attempt 2 to send command 
> 'CMD_READ_FIRMWARE_VERSION': Invalid checksum in API response. Expected 
> '136' (0x88), received '51' (0x33).
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] DEBUG 
> user.gw1000: Invalid response to attempt 3 to send command 
> 'CMD_READ_FIRMWARE_VERSION': Invalid checksum in API response. Expected 
> '136' (0x88), received '51' (0x33).
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] ERROR 
> user.gw1000: Failed to obtain response to command 
> 'CMD_READ_FIRMWARE_VERSION' after 3 attempts
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] ERROR 
> weewx.engine: Import of driver failed: Failed to obtain response to command 
> 'CMD_READ_FIRMWARE_VERSION' after 3 attempts (<class 
> 'user.gw1000.GWIOError'>)
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****  Traceback (most recent call last):
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****    File "/usr/share/weewx/weewx/engine.py", line 
> 119, in setupStation
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****      self.console = loader_function(config_dict, 
> self)
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****                     
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****    File "/usr/share/weewx/user/gw1000.py", line 
> 1700, in loader
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****      return GatewayDriver(**config_dict[DRIVER_NAME])
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****    File "/usr/share/weewx/user/gw1000.py", line 
> 2311, in __init__
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****      super(GatewayDriver, self).__init__(**stn_dict)
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****    File "/usr/share/weewx/user/gw1000.py", line 
> 1014, in __init__
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****      self.collector = 
> GatewayCollector(ip_address=self.ip_address,
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****                       
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****    File "/usr/share/weewx/user/gw1000.py", line 
> 2608, in __init__
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****      self.device = 
> GatewayDevice(ip_address=ip_address, port=port,
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****                   
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****    File "/usr/share/weewx/user/gw1000.py", line 
> 6024, in __init__
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****      self.api = GatewayApi(ip_address=ip_address,
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****    File "/usr/share/weewx/user/gw1000.py", line 
> 4769, in __init__
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****      self.model = 
> self.get_model_from_firmware(self.get_firmware_version())
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****                                               
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****    File "/usr/share/weewx/user/gw1000.py", line 
> 5217, in get_firmware_version
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****      response = 
> self.send_cmd_with_retries('CMD_READ_FIRMWARE_VERSION')
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****                 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****    File "/usr/share/weewx/user/gw1000.py", line 
> 5454, in send_cmd_with_retries
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****      raise GWIOError(_msg)
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> weewx.engine:     ****  user.gw1000.GWIOError: Failed to obtain response to 
> command 'CMD_READ_FIRMWARE_VERSION' after 3 attempts
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] CRITICAL 
> __main__: Unable to load driver: Failed to obtain response to command 
> 'CMD_READ_FIRMWARE_VERSION' after 3 attempts
> Oct 10 17:37:33 fedora-workstation python3[49897]: weewx[49897] 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 
https://groups.google.com/d/msgid/weewx-user/9900a7c5-f99a-45bd-93c9-5c6051ae4b23n%40googlegroups.com.

Reply via email to