8000 "on since" changes · Issue #295 · python-kasa/python-kasa · GitHub
[go: up one dir, main page]

Skip to content
"on since" changes #295
Closed
Closed
@mrankine

Description

@mrankine

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
..

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