You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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