I hope to release v0.5.0 of the GW1000 driver (with GW2000/WS90 support) tonight, just need to do a few final checks.
Gary On Friday, 29 April 2022 at 09:25:15 UTC+10 [email protected] wrote: > Hi Gary, > > My WH40 has turned up, and is reporting along with the piezo rain sensor > on my WittBoy. We're expecting a fair amount of rain this weekend, so it'll > be interesting to see what each one reports. > > On Wed, 20 Apr 2022 at 14:58, gjr80 <[email protected]> wrote: > >> I'm presently working on adding support for the GW2000/WS90 to the GW1000 >> driver. Unfortunately the current release (1.6.4) of the Ecowitt gateway >> API documentation has a number of errors relating to the GW2000/WS90. >> Whilst I have been able to work around most of these errors, I am uncertain >> if the revised driver will work robustly across the plethora of Ecowitt >> setups I know are out there (in particular sites that have the WS90 and >> another Ecowitt 'traditional' rain gauge). I also have also observed some >> WS2000 behaviour that does no match the API documentation or indeed any of >> the previous Ecowitt gateway devices and I am not sure if this is just my >> device misbehaving or something wider. >> >> I would like to ask the Ecowitt GW2000/WS90 users for some help in >> running a small python script to interrogate the GW2000. The script sends a >> number of API commands to Ecowitt gateway devices on your network and the >> GW2000 and displays the raw data results on screen. It is the script output >> to the screen that I am after. The script has no WeeWX dependencies but it >> does require the python six module (this will already be installed if >> you are running WeeWX v4.0.0 or later). The script can be downloaded and >> saved anywhere (provided you alter the PYTHONPATH setting appropriately) >> or for convenience I suggest users download the script to >> /home/weewx/bin/user or /usr/share/weewx/user. There should be no >> sensitive data in the required output other than the local (not public) IP >> addresses of your Ecowitt gateway devices, but please check to satisfy >> yourself before sending/posting. If sending such info to me or posting here >> then please contact me via private message and we will see if we can work >> something out. >> >> If you are a GW2000/WS90 user and would be willing to help out the >> following instructions should be followed: >> >> 1. download the script (change /home/weewx/bin/user to >> /usr/share/weewx/user if you have a WeeWX package install): >> >> $ wget -P /home/weewx/bin/user >> https://raw.githubusercontent.com/gjr80/weewx-gw1000/api_1_6_4/bin/user/api_data.py >> >> 2. obtain the IP address of your GW2000 >> >> 3. run the script(change /home/weewx/bin/user to /usr/share/weewx/user >> if you have a WeeWX package install): >> >> $ PYTHONPATH=/home/weewx/bin python3 --run --ip-address=IP_ADDRESS >> >> where IP_ADDRESS is the IP address of your GW2000. You may need to >> substitute python2 for python3 if you are running WeeWX under python2. >> You should see some output to screen similar to: >> >> gary@bullseye30:~$ PYTHONPATH=/home/weewx/bin python3 -m user.api_data >> --run --ip-address=192.168.2.38 >> CMD_BROADCAST (12): >> Sending broadcast packet 'FF FF 12 03 15' to '255.255.255.255:46000' >> Received broadcast response 'FF FF 12 00 27 E8 68 E7 87 1C 5A C0 A8 >> 02 23 AF C8 17 47 57 31 31 30 30 43 2D 57 49 46 49 31 43 35 41 20 56 32 2E >> 31 2E 33 D9' >> Received broadcast response 'FF FF 12 00 26 DC 4F 22 58 B7 FF C0 A8 >> 02 24 AF C8 16 47 57 31 30 30 30 2D 57 49 46 49 42 37 46 46 20 56 31 2E 36 >> 2E 38 DF' >> Received broadcast response 'FF FF 12 00 26 50 02 91 E3 FD 32 C0 A8 >> 02 25 AF C8 16 47 57 31 30 30 30 2D 57 49 46 49 46 44 33 32 20 56 31 2E 36 >> 2E 38 64' >> Discovered device: {'mac': 'E8:68:E7:87:1C:5A', 'ip_address': >> '192.168.2.35', 'port': 45000, 'ssid': 'GW1100C-WIFI1C5A V2.1.3'} >> Discovered device: {'mac': 'DC:4F:22:58:B7:FF', 'ip_address': >> '192.168.2.36', 'port': 45000, 'ssid': 'GW1000-WIFIB7FF V1.6.8'} >> Discovered device: {'mac': '50:02:91:E3:FD:32', 'ip_address': >> '192.168.2.37', 'port': 45000, 'ssid': 'GW1000-WIFIFD32 V1.6.8'} >> CMD_READ_FIRMWARE_VERSION (50): >> sending: FF FF 50 03 53 >> received: FF FF 50 12 0E 47 57 32 30 30 30 43 5F 56 32 2E 31 2E 34 BB >> >> If you could capture this output as text (no images please) and either >> send to me privately or post here that would be appreciated. >> >> Once finished you can delete api_data.py from the directory where it was >> saved. >> >> thanks, >> Gary >> >> -- >> > 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/1314ef1e-7de8-48a6-9e8f-2633c7e75939n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/1314ef1e-7de8-48a6-9e8f-2633c7e75939n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > > "I and the public know > what all schoolchildren learn > Those to whom evil is done > Do evil in return" W.H. Auden, "September 1, 1939" > > > -- 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/c3b38242-87be-4bd4-b227-8ab5fb820f31n%40googlegroups.com.
