On 13/06/2025 16:38, vince wrote:

Here's how to test it manually....make sure you have the ip address correct
in weewx.conf

# for a venv installation (tested)
PYTHONPATH=~/weewx/src python3 ~/weewx-data/bin/user/gw1000.py
--test-driver --ip-address=192.168.2.87

# for a dpkg installation (found in an old google search)
PYTHONPATH=/etc/weewx/bin python3 -m user.gw1000 --test-driver
--ip-address=192.168.2.87

Vince,

Vince,

That was not a success ... :-(

<code>
pi@RpiPP:~ $ PYTHONPATH=/etc/weewx/bin python -m user.gw1000 --test-driver --ip-address=192.168.1.104
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/etc/weewx/bin/user/gw1000.py", line 380, in <module>
    import weecfg
ModuleNotFoundError: No module named 'weecfg'
</code>

There is a conf file in /etc/weewx

Running with auto for IP & Port I see

<code>
Jun 13 20:13:52 RpiPP weewxd[8000]: INFO user.gw1000: 'unknown model' was found at 192.168.1.104:45000 Jun 13 20:13:52 RpiPP weewxd[8000]: INFO user.gw1000: Using discovered address 192.168.1.104:45000
</code>

So 45000 & the IP are correct, the IP of the RPI is 192.168.1.68 as per the WSView-Plus application.

I am stumped

Regards & thanks

Nick

--
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/1cd5e557-327c-4dcc-8470-fd22a0ff5cab%40dctower.co.uk.

Reply via email to