8000 How to access KP115 runtime data? · Issue #244 · python-kasa/python-kasa · GitHub
[go: up one dir, main page]

Skip to content
How to access KP115 runtime data? #244
Closed
@jules43

Description

@jules43

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0