utilities/tp-link-to-influxdb#12: Add support for Kasa Auth (for EP25s etc)



Issue Information

Issue Type: issue
Status: closed
Reported By: btasker

Milestone: v0.26
Created: 10-Jul-25 10:28



Description

Github issue 8 reported that it's not currently possible to poll EP25 plugs because they require authentication.

Investigation on that ticket shows that, although they carry the Kasa branding, they are actually quite different

  • They require authentication
  • They listen on port 80 rather than 9999

It sounds like these plugs are, inadvertantly, becoming quite common

but the sad part is now searching for these plugs, the TPLink 115 for example, you get random luck of the draw repackaged EP25's with Hardware version 2.6 in TP 115 labeled boxes. It seems this has been a headache for a number of people trying to leverage these in Home Assistant or incorporating in other third party energy monitoring like Sense. TPLink secretly changed how this works without changing the product name / sku / packaging etc.

The python-kasa module does support authentication, so this ticket is record making code adjustments to add support.



Toggle State Changes

Activity


The change introduces new configuration elements, by adding an auth attribute to the kasa section:

kasa:
    auth:
      user: ben
      passw: SuperSecret 

    devices:
        -
            name: "heated-art"
            ip: 192.168.3.172

This section remains optional.

The changes are staged in PR 9

I quite badly screwed up a rebase, but it's all sorted now. Changes have been merged, so I'll cut a release

changed title from Add support for Kasa EP25s to Add support for Kasa Auth (for EP25s etc)
unknown_key

mentioned in commit github-mirror/tplink_to_influxdb@fa638955901692cd0baad4643dbd969d33e49c63

Commit: github-mirror/tplink_to_influxdb@fa638955901692cd0baad4643dbd969d33e49c63 
Author: Ben Tasker                            
                            
Date: 2025-07-10T12:08:48.000+01:00 

Message

Implement Support for Authentication with Kasa (utilities/tp-link-to-influxdb#12) (#9)

  • docs: update README

  • docs: update example config

  • feat: implement support for kasa authentication

+38 -31 (69 lines changed)