> On Mar 30, 2025, at 22:54, n7uv...@gmail.com <n7uv....@gmail.com> wrote:
> 
> Oh, and when I attempt "weectl device info" I get the following
> 
> jta@rpi-weewx:~ $ weectl device info
> Error parsing config file: info is not a file
> Traceback (most recent call last):
>   File "/usr/share/weewx/weectllib/device_actions.py", line 34, in device
>     config_fn, config_dict = weecfg.read_config(config_path, sys.argv[2:])
>                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/share/weewx/weecfg/__init__.py", line 147, in read_config
>     config_path = find_file(option_path, args, locations=locations, 
> file_name=file_name)
>                   
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/share/weewx/weecfg/__init__.py", line 106, in find_file
>     raise OSError(f"{option_path} is not a file")
> OSError: info is not a file
> jta@rpi-weewx:~ $

you want:

    weectl device --info

the full form is:

    weectl device [/path/to/configfile] [--help]

there may be additional options, such as --info, depending on the driver that 
is specified in the config file.  see the docs for details:

https://weewx.com/docs/5.1/utilities/weectl-device/



-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/1F4A2F53-D5C1-4D2D-BCB2-1F8D561058AD%40gmail.com.

Reply via email to