Hi,
When I start Weewx, I encounter this error:
```
File "/usr/share/weewx/weewx/wxservices.py", line 105, in __init__
initialize=True)
File "/usr/share/weewx/weewx/manager.py", line 597, in get_manager
self.manager_cache[data_binding] = open_manager(manager_dict,
initialize)
File "/usr/share/weewx/weewx/manager.py", line 747, in open_manager
manager_dict['schema'])
File "/usr/share/weewx/weewx/manager.py", line 151, in open_with_create
connection = weedb.connect(database_dict)
File "/usr/share/weewx/weedb/__init__.py", line 86, in connect
__import__(db_dict['driver'])
ModuleNotFoundError: No module named 'ecowitt'
```
I am not sure whether this means that* my configuration file is wrong*, *or
if I am starting the service in an incorrect way*.
My configuration is quite special : I have *two weather stations* currently
(an old one which I will remove in a couple of weeks, and a new one). The
new one is an *Ecowitt* station, and I want to use the Weewx Interceptor
for that.
As I have 2 weather stations, I need to start *2 weewx daemons*. I tried
https://github.com/weewx/weewx/wiki/weewx-multi which did not exactly work
in my case. So, basically, I copied the /etc/init.d/weewx script, modified
it to read another config (/etc/weewx/ecowitt.conf) + use another pid file.
As for *my ecowitt.conf*, I am not totally sure it is correct either.
At the end I have specified this, I think this is okay (+I'll configure the
customized ecowitt to use port 8090)?
[Interceptor]
driver = user.interceptor
device_type = ecowitt-client
port = 8090
I am unsure of the beginning of the configuration: I have said to* use
"simulator"*. Is that the correct way to do it?
[station]
...
station_type = Simulator
[Simulator]
loop_interval = 2.5
mode = simulator
driver = weewx.drivers.simulator
Thanks for your help.
PS. This is Weewx 4.3.0 on a RPi4. I have installed the weewx-interceptor.
-- Axelle
--
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 on the web visit
https://groups.google.com/d/msgid/weewx-user/065f4932-4280-4cd2-ba8f-6b29240fffacn%40googlegroups.com.