On Tuesday, August 15, 2023 at 2:18:22 AM UTC-7 Rainer Lang wrote:

I think a simple solution could be to extract the file gw1000.py from the 
gw1000-0.5.0b5.tar.gz 
archive and copy it to /usr/share/weewx/user


Agree. That worked here. But....there does seem to be a bug in either weewx 
or Gary's driver however.   You shouldn't have to copy it from 
/etc/weewx/user to /usr/share/weewx/user manually.  It should install to 
the correct place and work fine.

FWIW - I'd also use a current beta (5.0b10) from 
http://weewx.com/downloads/development_versions/ if you want to go with a 
.deb installation.

wget -P /var/tmp 
https://github.com/gjr80/weewx-gw1000/releases/download/v0.5.0b5/gw1000-0.5.0b5.tar.gz
sudo weectl extension install /var/tmp/gw1000-0.5.0b5.tar.gz
sudo weectl extension list

sudo weectl station reconfigure
(note that GW1000 does 'not' appear in the driver picks)

sudo cp -r /etc/weewx/bin/user/* /usr/share/weewx/user

sudo weectl station reconfigure
(note GW1000 'does' appear now - so pick it and answer the questions)

 PYTHONPATH=/usr/share/weewx python3 -m user.gw1000 --test-driver
(it worked here)

-- 
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/542ff9e7-76e2-4717-ae63-bea5c2686f96n%40googlegroups.com.

Reply via email to