Because your configuration file is in a protected area, you need to be a
superuser to change things. Easily done: just prefix things with 'sudo':
*sudo wee_config --reconfigure*
On Sat, Apr 30, 2022 at 4:46 PM D R wrote:
> And this is what is in my weewx.conf file (or part of it):
>
>
>
And this is what is in my weewx.conf file (or part of it):
[[CWOP]]
# This section is for configuring posts to CWOP.
# If you wish to post to CWOP, set the option 'enable' to true,
# then specify the station ID (e.g., CW1234).
enable = false
I perhaps spoke too soon:
I went back to complete the install, and got this:
choose a driver [4]: 0
Specify the serial port on which the station is connected, for
example /dev/ttyUSB0 or /dev/ttyS0.
port [/dev/ttyUSB0]: /dev/ttyUSB0
Traceback (most recent call last):
File
Let me know if it works. Like I said, there may be a few issues dealing
with byte streams coming on and off the hardware.
On Sat, Apr 30, 2022 at 4:40 PM D R wrote:
> ls -l /usr/share/weewx/user
> total 168
> -rw-rw-r-- 1 root root 142476 Apr 25 18:53 belchertown.py
> -rw-r--r-- 1 root root
ls -l /usr/share/weewx/user
total 168
-rw-rw-r-- 1 root root 142476 Apr 25 18:53 belchertown.py
-rw-r--r-- 1 root root541 Mar 1 17:19 extensions.py
-rw-r--r-- 1 root root306 Apr 21 19:32 __init__.py
drwxr-xr-x 4 root root 4096 Apr 30 13:57 installer
drwxr-xr-x 2 root root 4096 Apr 25
The package installer should not be necessary. All the installer does is
call the same API as wee_config.
-tk
On Sat, Apr 30, 2022 at 3:08 PM vince wrote:
> yeah - it's a little more complicated than just grabbing one file.
> You want to download it as a package and use the extension
Yes, that should have worked. At least, it worked on my test machine.
Let's make sure it's where it should be. What do you get if you list the
contents of the 'user' subdirectory?
*ls -l /usr/share/weewx/user*
And, let's make sure the correct version is there:
*grep VERSION
yeah - it's a little more complicated than just grabbing one file.
You want to download it as a package and use the extension installer.
cd
git clone https://github.com/tkeffer/weewx-twi.git weewx-twi
sudo wee_extension --install weewx-twi
then it should appear in the menu.
If 'git' is not
I downloaded the twi.py which you furnished at the above link, and copied
it from the pi/Downloads directory to the /usr/share/weewx/user area and
re-ran the wee_config --reconfigure program, but again only 12 choices were
shown and the TWI was not one of them.
I'm sure it is my error with the
I just did a quick port. There may be issues with how the driver
communicates with the hardware. Give it a try.
You can find the port at https://github.com/tkeffer/weewx-twi
On Sat, Apr 30, 2022 at 1:05 PM DR wrote:
> a) thank you for the very speedy reply.
>
> b) I would have never figured
a) thank you for the very speedy reply.
b) I would have never figured that out, so thank you for sharing your
knowledge of all this
c) I am happy with python 3 and the way things run and would be too
nervous about goofing something up. I will wait patiently for the
system to work, with
The problem is that the twi driver has not been ported to Python 3.
I'll do the port and submit a PR to Matthew. Or, you can try Python 2.7.
On Sat, Apr 30, 2022 at 12:22 PM D R wrote:
> I did forget to mention that I found twi.py in the /usr/share/weewx/user
> directory. It is puzzling to
12 matches
Mail list logo