For this version of the driver which was Gary’s final version, the API key is most definitely not required and is probably why you are having problems with your weewx.conf. Also the backfill only works when the extension is set up as a driver, it does not work when set up as a service.

Quickly reading through this thread, unless I have missed it, I cannot see which device you are using. I have only tested it with a GW3000 which is the only one of the GW series of devices that has the on-board logging to a removable SD card, which is required by this version of the driver for backfill to work.

This is my own working weewx.conf snippet which is working perfectly for me, including backfill (see below link).

[EcowittHttp]
    # This section is for the Ecowitt local HTTP API driver.
    
    # the driver to use
    driver = user.ecowitt_http
    
    # how often to poll the device
    poll_interval = 8
    # how many attempts to contact the device before giving up
    max_tries = 3
    # wait time in seconds between retries to contact the device
    retry_wait = 2
    # max wait for device to respond to a HTTP request
    url_timeout = 3
    
    # whether to show all battery state data including nonsense data and 
    # sensors that are disabled sensors and connecting
    show_all_batt = False
    # whether to ignore battery state data from legacy WH40 sensors that do 
    # not provide valid battery state data
    ignore_legacy_wh40_battery = True
    # whether to always log unknown API fields, unknown fields are always 
    # logged at the debug level, this will log them at the info level
    log_unknown_fields = False
    
    # How often to check for device firmware updates, 0 disables firmware 
    # update checks. Available firmware updates are logged.
    firmware_update_check_interval = 86400
    
    # provide additional log information to help debug rainfall issues
    debug_rain = False
    # provide additional log information to help debug wind issues
    debug_wind = False
    # provide additional log information to help debug loop packet issues
    debug_loop = False
    # provide additional log information to help debug sensor issues
    debug_sensors = False
    ip_address = 192.168.55.102
    [[field_map_extensions]]
        batteryStatus1 = ws90.battery
        rain = rain.0x10.val
        stormRain = rain.0x0D.val
        rainRate = rain.0x0E.val
        hourRain = t_rainhour
        dayRain = rain.0x10.val
        weekRain = rain.0x11.val
        monthRain = rain.0x12.val
        yearRain = rain.0x13.val
        is_raining = piezoRain.srain_piezo.val
        p_rain = piezoRain.0x10.val
        p_stormRain = piezoRain.0x0D.val
        p_rainRate = piezoRain.0x0E.val
        p_hourRain = p_rainhour
        p_dayRain = piezoRain.0x10.val
        p_weekRain = piezoRain.0x11.val
        p_monthRain = piezoRain.0x12.val
        p_yearRain = piezoRain.0x13.val
        vpd = common_list.5.val
        lightning_distance = lightning.distance
        lightning_last_det_time = lightning.timestamp
        lightningcount = lightning.count
        pm2_5 = ch_pm25.1.PM25_RealAQI
        pm2_52_24h_avg = ch_pm25.1.PM25_24HAQI
        pm10_0 = co2.PM10
        radiation = common_list.0x15.val

If you do not have a device with onboard logging, I would, as Vince has suggested, use the GW1000 driver.

https://claydonsweather.org.uk

On 16 Jan 2026, at 01:27, Vince Skahan <[email protected]> wrote:

Sorry - can't help you.  That thing is too absurdly complicated and undocumented for me.

Again - I'd take the 90% win and just use the gw1000 driver to get 'anything' working unless somebody has battled this variant into submission successfully.

On Thursday, January 15, 2026 at 2:53:30 PM UTC-8 NotThePainter wrote:
I want backfill. I just got my API Key. Off to install it.


So I added this to my conf file and I still get the "AttributeError: 'EcowittHttpDriver' object has no attribute 'api_key'" error.

[EcowittHttp]
    # This section is for the Ecowitt Local HTTP API driver.
    api_key = 3f405ece-90e9-4697-********

   
    # The device IP address:
    ip_address = 10.0.4.37
 
   etc...

 

--
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/f401c5cb-867b-4ee6-ad37-d762523fb4ddn%40googlegroups.com.

--
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/0F12B0F7-D296-427E-BA99-B1AEFAE0285F%40btinternet.com.

Reply via email to