works for vantage, error for ecowitt. maybe latter is expected (after 2am here
and my concentration is wavering..)
(venv) weewx@wx:~$ weectl device /home/weewx/vantage/weewx.conf --help
Using configuration file /home/weewx/vantage/weewx.conf
Using driver weewx.drivers.vantage.
Using Vantage driver version 3.6.2 (weewx.drivers.vantage)
Usage: /home/weewx/venv/bin/weectl device --help
/home/weewx/venv/bin/weectl device --info [config_file]
[snip]
(venv) weewx@wx:~$ weectl device /home/weewx/ecowitt/weewx.conf --help
Using configuration file /home/weewx/ecowitt/weewx.conf
Using driver user.gw1000.
Unable to import driver user.gw1000: No module named 'user'.
(venv) weewx@wx:~$ cd ecowitt/bin
(venv) weewx@wx:~/ecowitt/bin$ weectl device /home/weewx/ecowitt/weewx.conf
--help
Using configuration file /home/weewx/ecowitt/weewx.conf
Using driver user.gw1000.
Unable to import driver user.gw1000: No module named 'user’.
(venv) weewx@wx:~/ecowitt/bin$ python -m user.gw1000 --test-driver
--config=/home/weewx/ecowitt/weewx.conf
Using configuration file /home/weewx/ecowitt/weewx.conf
/home/weewx/ecowitt/bin/user/gw1000.py:2780: DeprecationWarning: setDaemon() is
deprecated, set the daemon attribute instead
self.thread.setDaemon(True)
/home/weewx/ecowitt/bin/user/gw1000.py:2781: DeprecationWarning: setName() is
deprecated, set the name attribute instead
self.thread.setName('GatewayCollectorThread')
Interrogating GW2000 at 192.168.37.58:45000
2023-09-07 02:07:10 AEST (1694016430): 'co2': '483', 'co2_24h_avg': '478',
'dateTime': '1694016430', 'daymaxwind': '1.8', 'dayRain': '0.0',
'extraHumid17': '44', 'extraTemp17': '22.5', 'inHumidity': '48', 'inTemp':
'19.2', ‘lightning_distan
[snip]
⊣GE⊢
> On 7 Sep 2023, at 1:54 am, Tom Keffer <[email protected]> wrote:
>
> Right you are.
>
> This is because weectl device is actually implemented as a wrapper around the
> old wee_device.
>
> Try
>
> weectl device /home/weewx/ecowitt/weewx.conf --help
>
> On Wed, Sep 6, 2023 at 5:52 AM Graham Eddy <[email protected]
> <mailto:[email protected]>> wrote:
>> i have several stations, none of them using the default name. weectl device
>> seems to ignore —config directive:
>>
>> (venv) weewx@wx:~/ecowitt$ weectl device --help
>> Unable to find file 'weewx.conf'. Tried directories
>> ['/home/weewx/weewx-data', '/etc/weewx', '/home/weewx']
>> (venv) weewx@wx:~/ecowitt$ weectl device
>> --config=/home/weewx/ecowitt/weewx.conf --help
>> Unable to find file 'weewx.conf'. Tried directories
>> ['/home/weewx/weewx-data', '/etc/weewx', '/home/weewx']
>>
>> ⊣GE⊢
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "weewx-development" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected]
>> <mailto:[email protected]>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-development/69D680AC-EE07-40C3-A412-A6F36643B4B9%40geddy.au
>>
>> <https://groups.google.com/d/msgid/weewx-development/69D680AC-EE07-40C3-A412-A6F36643B4B9%40geddy.au?utm_medium=email&utm_source=footer>.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/CAPq0zED9iUuOd76hHQnit5bPmc2bQvjogok9HGcS-vDFavmrMQ%40mail.gmail.com
>
> <https://groups.google.com/d/msgid/weewx-development/CAPq0zED9iUuOd76hHQnit5bPmc2bQvjogok9HGcS-vDFavmrMQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-development/90D4FBA5-D524-4296-9539-F7FFB7E358E0%40geddy.au.