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

"on since" changes #295

Copy link
Copy link
@mrankine

Description

@mrankine
Issue body actions

Every time I call kasa state on my KP115 plug, the On since: date-time field changes value slightly. As it represents a fixed point in time, it should not be changing. Perhaps just needs rounding to the nearest second?

matthew@XPS2:~ $ kasa --host 192.168.0.131 --type plug state
== Computer speakers - KP115(UK) ==
        Host: 192.168.0.131
        Device state: ON

        == Generic information ==
        Time:         2022-01-29 08:41:15
        Hardware:     1.0
        Software:     1.0.16 Build 210205 Rel.163735
        MAC (rssi):   CC:32:E5:18:3A:6E (-64)
        Location:     {'latitude': 55.9143, 'longitude': -3.2013}

        == Device specific information ==
        LED state: True
        On since: 2022-01-29 08:11:47.643296


        == Current State ==
        <EmeterStatus power=6.042 voltage=245.143 current=0.05 total=0.081>
matthew@XPS2:~ $ kasa --host 192.168.0.131 --type plug state
..
        On since: 2022-01-29 08:11:48.409994
..
matthew@XPS2:~ $ kasa --host 192.168.0.131 --type plug state
..
        On since: 2022-01-29 08:11:47.986349
..
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.