the "no attribute 'api_key' " suggests that you have an api_key entry in your weewx.conf but no key entered

I suggest you get yourself an API and an APP key in your ecowitt.net account and enter it into the [EcowittHttp] stanza on your weewx.conf including the MAC address of the console
or
in the [EcowittHttp] stanza in weewx.conf comment the line with "api_key" out by placing a # in front

[EcowittHttp]

......

# provide Ecowitt API and APP key to have permission for the ecowitt.net backfill download # api_key = xxxxxxxxxxxxxxx # app_key = xxxxxxxxxxxxxxx # MAC address to identify the console # mac = xx:xx:xx:xx:xx:xx

......

On 15.01.2026 03:49, Vince Skahan wrote:
And run 'weectl station reconfigure' and look carefully at the selections there.  You don't see one called user.ecowitt_local_http in the list.

On Wednesday, January 14, 2026 at 5:00:57 PM UTC-8 Vince Skahan wrote:

    Module not found tends to be a typo. What does ‘weectl extension
    list’ say ?

    On Wednesday, January 14, 2026 at 3:42:25 PM UTC-8 NotThePainter
    wrote:

        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/59e2b382-4e85-4074-b96f-b749d74a1c7fn%40googlegroups.com <https://groups.google.com/d/msgid/weewx-user/59e2b382-4e85-4074-b96f-b749d74a1c7fn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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/2155bcd3-7fea-448b-98d4-b9074778bc0c%40gmail.com.

Reply via email to