Another data point: nmap -sV -p 1-65535 192.168.50.41 Starting Nmap 7.93 ( https://nmap.org ) at 2023-10-17 06:51 CDT Nmap scan report for ecowitt-weather (192.168.50.41) Host is up (0.0069s latency). Not shown: 65533 closed tcp ports (reset) PORT STATE SERVICE VERSION 80/tcp open nagios-nsca Nagios NSCA 45000/tcp open asmp? MAC Address: BC:FF:4D:1C:C0:69 (Espressif)
It appears the port is open on the access point, but it's not answering. Any ideas? On Tuesday, October 17, 2023 at 6:32:48 AM UTC-5 Dale Chatham wrote: > Is it possible to get an help here? > > On Thursday, October 12, 2023 at 9:30:22 PM UTC-5 Dale Chatham wrote: > >> I blew it away and started over. >> >> Installed weewx according to: https://weewx.com/docs/redhat.htm >> Simulator worked fine. >> >> Inst alled Ecowitt Gateway servier according to: >> https://github.com/gjr80/weewx-gw1000/blob/master/readme.txt >> >> Ran PYTHONPATH=/usr/share/weewx python -m user.gw1000 --test-driver from >> the above file. >> >> I get this error: >> Using configuration file /etc/weewx/weewx.conf >> >> Unable to connect to device: Failed to obtain response to command >> 'CMD_READ_FIRMWARE_VERSION' after 3 attempts >> >> Things to check include that the correct device IP address is being >> used, >> the device is powered on and the device is not otherwise disconnected >> from >> the local network. >> >> I used telnet to connect to the IP and port listed in weewx.conf: >> driver = user.gw1000 >> ip_address = 192.168.50.41 >> port = 45000 >> >> I get a connection, but canot get a response to anyting I type (I have no >> idea if/what should be enteed to get a response. >> >> >> >> On Wednesday, October 11, 2023 at 6:13:20 AM UTC-5 gjr80 wrote: >> >>> 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 [email protected] >>> 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/a007ad86-3ac2-4736-897e-5e1ec7cba4f3n%40googlegroups.com.
