I'm trying to install the cowitt Local HTTP API Driver from 
https://github.com/weewx-contrib/weewx-ecowitt_local_http?tab=readme-ov-file

I want the Local HTTP API Driver, not the old cloud / push driver.

% weectl extension install 
https://github.com/weewx-contrib/weewx-ecowitt_local_http/archive/refs/heads/main.zip
 
--config ~/Documents/WeeWX/weewx-data/weewx.conf

Reconfiguring this way doesn't work:

weectl station reconfigure --driver=user.ecowitt_local_http --config 
~/Documents/WeeWX/weewx-data/weewx.conf

I get:

ModuleNotFoundError: No module named 'user.ecowitt_local_http'

If I reconfigure this way:

% weectl station reconfigure --driver=user.ecowitt_http --config 
~/Documents/WeeWX/weewx-data/weewx.conf

it works but when I run I get this error:

 %  weewxd --config ~/Documents/WeeWX/weewx-data/weewx.conf

AttributeError: 'EcowittHttpDriver' object has no attribute 'api_key'

which means I'm using the old cloud/push driver.

How can I reconfigure it to use the new Local HTTP API driver?

-- 
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/0d3b9cd9-2c5a-4f0a-a054-627786bc3455n%40googlegroups.com.

Reply via email to