Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

How to access KP115 runtime data? #244

Copy link
Copy link
@jules43

Description

@jules43
Issue body actions

I've been using python-kasa to operate and get data from a KP115 smart plug but I can't figure out how to get the runtime data.

In the Kasa app it can display current and total run-time today, plus daily average and totals for last 7 days and past 30 days.

You can get the runtime the plug was last switched on by querying the device time and the on since time, but there doesn't seem to be any way to access the other run-time data.

Am I missing something?

I did spot that the tplink cloud api python project appeared to do this piekstra/tplink-cloud-api#43. From what I can see it's using the schedule API to retrieve runtime stats, but I'm not sure whether this means it's possible to get the runtime data with a python-kasa raw command.

Would it be possible to do this with python-kasa?

Thanks

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.