Hello,
I have a running weewx (3.9.2) connected to a VP2, working perfectly.
This weewx is sending data to wunderground (stationID = IRIVIRED4)
This system is running since a month and is part of a local network of weather stations in south Indian Ocean.
I prefer to stay on the same configuration than the other people in the network.
I would like to import my historical data from wunderground (3 years)
As with the new API from WU, I need to use wee_import v4, my idea is to setup a second system,
to get the historical data in mySql, then transfer the missing records to the running system, as the
structure of the archive table did not change.
I setuped a test weewx 4.0.b12 on a PI4, running with the simulator with mySql,
no errors in the log, data is well simulated...
I put the information for wunderground in weewx.conf (probably not needed for the wee_import)
(station, password, api_key) I used the same parameters as the one used in the working 3.9.2
(BTW is wee_import use WU parameter from weewx.conf ???)
I put station_id and api_key in the util/import/wu-example.conf
Other parameters are with their default value
Is it needed to have weewx deamon running when you are using wee_import ?
(I tried with and without...., same result)
I ran the command:
wee_import --dry-run --config=/home/weewx/weewx.conf --import-config=/home/test/weewx-4.0.0b12/util/import/wu.conf --date=2019-01-01 --verbose
and I got the error:
Starting wee_import...
Traceback (most recent call last):
File "/usr/bin/wee_import", line 834, in <module>
main()
File "/usr/bin/wee_import", line 783, in main wlog)
File "/usr/share/weewx/weeimport/weeimport.py", line 320, in sourceFactory log)
File "/usr/share/weewx/weeimport/wuimport.py", line 82, in __init__ log)
File "/usr/share/weewx/weeimport/weeimport.py", line 155, in __init__ 'schema': 'schemas.wview.schema'})
File "/usr/share/weewx/weewx/manager.py", line 1031, in open_manager_with_config default_binding_dict=default_binding_dict)
File "/usr/share/weewx/weewx/manager.py", line 1002, in get_manager_dict_from_config manager_dict['schema'] = weeutil.weeutil._get_object(schema_name)
File "/usr/share/weewx/weeutil/weeutil.py", line 1107, in _get_object
mod = __import__(module)
ImportError: No module named wview_extended
What did I make wrong ?
Thanks
Nicolas - Mauritius