I've played with setting up my venv and started, stopped,etc.

I went to the IP100 site and got the ip100.py code but there is no 'automated' package that I can find to do the import and have the station reconfigure do the install, so I put the ip100.py in the weewx-data/bin/user folder and ran the weectl station reconfigure, and got this:



Choose a driver. Installed drivers include:
  0) ?               (user.ip100)              No module named 'six'
  1) AcuRite         (weewx.drivers.acurite)
  2) CC3000          (weewx.drivers.cc3000)
  3) FineOffsetUSB   (weewx.drivers.fousb)
  4) Simulator       (weewx.drivers.simulator)
  5) TE923           (weewx.drivers.te923)
  6) Ultimeter       (weewx.drivers.ultimeter)
  7) Vantage         (weewx.drivers.vantage)
  8) WMR100          (weewx.drivers.wmr100)
  9) WMR300          (weewx.drivers.wmr300)
 10) WMR9x8          (weewx.drivers.wmr9x8)
 11) WS1             (weewx.drivers.ws1)
 12) WS23xx          (weewx.drivers.ws23xx)
 13) WS28xx          (weewx.drivers.ws28xx)
driver [4]: 0
Traceback (most recent call last):
  File "/home/dale/weewx-venv/bin/weectl", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/dale/weewx-venv/lib/python3.13/site-packages/weectl.py", line 67, in main
    namespace.func(namespace)
    ~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/home/dale/weewx-venv/lib/python3.13/site-packages/weectllib/__init__.py", line 90, in dispatch
    namespace.action_func(config_dict, namespace)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dale/weewx-venv/lib/python3.13/site-packages/weectllib/station_cmd.py", line 311, in reconfigure_station
weectllib.station_actions.station_reconfigure(config_dict=config_dict,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
driver=namespace.driver,
^^^^^^^^^^^^^^^^^^^^^^^^
    ...<13 lines>...
no_backup=namespace.no_backup,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dry_run=namespace.dry_run)
^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dale/weewx-venv/lib/python3.13/site-packages/weectllib/station_actions.py", line 164, in station_reconfigure
    config_config(config_dict,
    ~~~~~~~~~~~~~^^^^^^^^^^^^^
                  config_path=config_dict['config_path'],
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
                  user_root=user_root,
                  ^^^^^^^^^^^^^^^^^^^^
                  no_prompt=no_prompt)
                  ^^^^^^^^^^^^^^^^^^^^
  File "/home/dale/weewx-venv/lib/python3.13/site-packages/weectllib/station_actions.py", line 207, in config_config
    config_driver(config_dict, driver=driver, no_prompt=no_prompt)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dale/weewx-venv/lib/python3.13/site-packages/weectllib/station_actions.py", line 424, in config_driver     driver_editor, driver_name, driver_version = weecfg.load_driver_editor(final_driver)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/home/dale/weewx-venv/lib/python3.13/site-packages/weecfg/__init__.py", line 453, in load_driver_editor
    driver_module = importlib.import_module(driver_module_name)
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/home/dale/weewx-data/bin/user/ip100.py", line 11, in <module>
    import six.moves.urllib.request, six.moves.urllib.error, six.moves.urllib.parse
ModuleNotFoundError: No module named 'six'


John Kline indicated that the version of ip100.py from 6 years ago should work with 5.2,

I just need to have a little guidance as to where to put the ip100.py code and then I would anticipate having to create the lines defining the station in the weewx.conf file to tell it to use the ip100 driver, with my IP address for the Rainwise device.


Is this enough info above to be useful or should I load a copy of the journalctl -u weewx to this message?

Dale


--
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/48f45502-64a3-4551-9ea5-da1f965b3fd5%40gmail.com.

Reply via email to