On 15 Aug 2023, at 05:57, gert.a...@gmail.com <gert.a...@gmail.com> wrote:
Hi Vince
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/99af5f5f-3f49-441d-acf0-e4006a1e734fn%40googlegroups.com.
sudo apt install ./python3-weewx_5.0.0a24-a_all.deb
and this command to install GW1000
sudo weectl extension install https://github.com/gjr80/weewx-gw1000/releases/download/v0.5.0b5/gw1000-0.5.0b5.tar.gz
From syslog:
Aug 15 10:36:01 raspberrypi weewx[677] INFO weewx.engine: Loading station type GW1000 (user.gw1000)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: Caught unrecoverable exception:
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: **** No module named 'user.gw1000'
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: **** Traceback (most recent call last):
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: **** File "/usr/share/weewx/weewxd.py", line 149, in main
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: **** engine = weewx.engine.StdEngine(config_dict)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 78, in __init__
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: **** self.setupStation(config_dict)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 105, in setupStation
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: **** __import__(driver)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: **** ModuleNotFoundError: No module named 'user.gw1000'
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: **** Exiting.
Aug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Main process exited, code=exited, status=1/FAILURE
Aug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Failed with result 'exit-code'.
I have attached the weewx.conf file
Gert
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
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/3cac5915-3b90-44f0-9f5d-e6e85ec506f4n%40googlegroups.com.
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
see inline below
Hi RainerI did as you suggested and it seems to work now. gw1000.py was not there, so something went wrong during the installation.
A couple of questions:1) I used sudo to install and WeeWX is running under root. Should I just use the user login(pi), to install WeeWx?
2) Is the weewx.sdb compatible with Version 5?
I don't think the database type has changed
(still either a sqlite3 database or a MySQL database, and the
weewx.sdb is/was a sqlite3 database)
- and you will probably still use the wview_extended database
schema
what does weewx show when you use your "old" weewx.sdb in
/var/lib/weewx ?
if you can see you historical data, all is fine 😉
3) Should I use pip to install or sudo apt install ./python3-weewx_5...., as I did
as far as I know the general weewx install instructions are valid - you can use apt and pip as package managers, depending on installation type
see weewx documentation
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/691f18ef-cf92-48d9-b409-d440e3986915n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/3cac5915-3b90-44f0-9f5d-e6e85ec506f4n%40googlegroups.com.
<weewx.conf>
sudo weectl extension install https://github.com/gjr80/weewx-gw1000/releases/download/v0.4.2/gw1000-0.4.2.tar.gz
Afterwards, "weectl extension list" shows that it installed.
-tk
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/0A38E170-E51D-400D-BAAC-509EA31550EB%40btinternet.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/d02de458-3ea0-48de-b5b1-2f9c7f026c24n%40googlegroups.com.