I'm moving my WeeWx back to the right Pi, but with up-to-date Pi OS, WeeWx and GW1000 driver. Versions are:
WeeWX 4.5.1
GW1000 0.4.1
Raspbian 5.10.63-v7+
I have another Pi working quite happily picking up data via the GW1000 driver, so I don't think there's a problem there.
I've following the instructions at GIT to install it using wee_extension but when I try to test it I get:
$ PYTHONPATH=/home/weewx/bin python -m user.gw1000 --test-driver
Using configuration file /home/weewx/weewx.conf
Unable to connect to device: Failed to detect device IP address and/or port after 3 attempts
So I've run this:
$ PYTHONPATH=/home/weewx/bin python -m user.gw1000 --sensors --debug=3
And this is in /var/log/debug:
Nov 26 15:57:22 LiveWeeWx weewx[6200] DEBUG __main__: Sending broadcast packet 'FF FF 12 03 15' to '255.255.255.255:46000' Nov 26 15:57:22 LiveWeeWx weewx[6200] DEBUG __main__: Received broadcast response 'FF FF 12 00 21 48 3F DA 54 59 59 C0 A8 01 A2 AF C8 10 57 48 32 36 35 30 41 2D 57 49 46 49 35 39 35 39 F0'
Nov 26 15:57:22 LiveWeeWx weewx[6200] DEBUG __main__: Invalid response to command 'CMD_BROADCAST': Invalid checksum in API response. Expected '17' (0x11), received '240' (0xF0).
Nov 26 15:57:27 LiveWeeWx weewx[6200] DEBUG __main__: Failed attempt 1 to detect device IP address and/or port
Nov 26 15:57:37 LiveWeeWx weewx[6200] DEBUG __main__: Sending broadcast packet 'FF FF 12 03 15' to '255.255.255.255:46000' Nov 26 15:57:37 LiveWeeWx weewx[6200] DEBUG __main__: Received broadcast response 'FF FF 12 00 21 48 3F DA 54 59 59 C0 A8 01 A2 AF C8 10 57 48 32 36 35 30 41 2D 57 49 46 49 35 39 35 39 F0'
Nov 26 15:57:37 LiveWeeWx weewx[6200] DEBUG __main__: Invalid response to command 'CMD_BROADCAST': Invalid checksum in API response. Expected '17' (0x11), received '240' (0xF0).
Nov 26 15:57:42 LiveWeeWx weewx[6200] DEBUG __main__: Failed attempt 2 to detect device IP address and/or port
Nov 26 15:57:52 LiveWeeWx weewx[6200] DEBUG __main__: Sending broadcast packet 'FF FF 12 03 15' to '255.255.255.255:46000' Nov 26 15:57:52 LiveWeeWx weewx[6200] DEBUG __main__: Received broadcast response 'FF FF 12 00 21 48 3F DA 54 59 59 C0 A8 01 A2 AF C8 10 57 48 32 36 35 30 41 2D 57 49 46 49 35 39 35 39 F0'
Nov 26 15:57:52 LiveWeeWx weewx[6200] DEBUG __main__: Invalid response to command 'CMD_BROADCAST': Invalid checksum in API response. Expected '17' (0x11), received '240' (0xF0).
Nov 26 15:57:57 LiveWeeWx weewx[6200] DEBUG __main__: Failed attempt 3 to detect device IP address and/or port
No idea what the problem is. I have a feeling I might have had this problem previously and documented it, but I've managed to lose that document - if it ever existed. :(