python-kasa icon indicating copy to clipboard operation
python-kasa copied to clipboard

KP303 reporting as device off

Open tknx opened this issue 3 years ago • 1 comments

== TP-LINK_Power Strip_F543 - KP303(US) ==
        Host: 10.0.2.224
        Device state: OFF

        == Plugs ==

        == Generic information ==
        Time:         2022-03-16 08:58:35
        Hardware:     2.0
        Software:     1.0.6 Build 210810 Rel.154849
        MAC (rssi):   B0:A7:B9:25:F5:43 (-36)
        Location:     {'latitude': 37.8164, 'longitude': -122.2279}

        == Device specific information ==
        LED state: True
        Childs count: 0
        On since: None

But it is obviously on, as in everything plugged into it is on and on the iOS app it appears on.

tknx avatar Mar 16 '22 16:03 tknx

Works fine for me (using master branch), I think this problem was one of those fixed by refactoring in #303, so the next release should fix it.

❯ kasa --host 192.168.xx.xx
No --type defined, discovering..
== new alias - KP303(UK) ==
        Host: 192.168.xx.xx
        Device state: ON

        == Plugs ==
        * Socket 'Kasa_Smart Plug_DE66_0' state: ON on_since: 2022-03-16 20:52:23.005080
        * Socket 'Kasa_Smart Plug_DE66_1' state: OFF on_since: None
        * Socket 'Kasa_Smart Plug_DE66_2' state: ON on_since: 2022-03-16 20:52:23.005148

        == Generic information ==
        Time:         2000-01-01 16:00:15
        Hardware:     1.0
        Software:     1.0.3 Build 191105 Rel.113122
        MAC (rssi):   1C:3B:F3:xx (-63)
        Location:     {'latitude': 0.0, 'longitude': 0.0}

        == Device specific information ==
        LED state: False
        Childs count: 3
        On since: 2022-03-16 20:52:23.011369

rytilahti avatar Mar 16 '22 19:03 rytilahti

Please reopen with more details if this is still an issue on the newest release.

rytilahti avatar Oct 18 '22 17:10 rytilahti