I have half a dozen KASA switches in use, all controlled by the TP-link Smart Home integration. They were initially configured by the kasa python app, although I cannot remember what I did. I have a vague memory of having to pick an encryption type .. “2”, maybe .. but I could also be way off base.
Anyway, everything has been fine for months, maybe years, until today.
Today, we had a power failure .. not unusual. What was unusual was the way it came back. on-off .. on-off .. onoffonoffonoff .. on-off about twenty times before finally settling on.
Almost everything came back except one Kasa switch. Got a weird error.
Fine, delete it and rediscover. Got a similar weird error.
Connection error: Unsupported device 192.168.2.62 of type SMART.KASASWITCH with encrypt_scheme EncryptionScheme(is_support_https=False, encrypt_type='TPAP', http_port=80, lv=2)
I have no idea where to go from here. I’d happily go back to the kasa python command line .. if I knew what to type!
What I did try was kasa --ipaddress sysinfo for the “bad” switch and another switch right beside it, purchased at the same time, configured at the same time.
Very different output generated!
Output shown here.
Discovering device 192.168.2.62 for 10 seconds
== Unsupported device ==
== Discovery Result ==
Device Type: SMART.KASASWITCH
Device Model: HS200(US)
IP: 192.168.2.62
MAC: D8-44-89-61-5F-3C
Device Id (hash): bc1a905eb712c96f2cfe8041f0eb53c1
Supports IOT Cloud: True
OBD Src: tplink
Encrypt Type: TPAP
HTTP Port: 80
Login version: 2
[bold red]Unable to create device for 192.168.2.62[/bold red]
Discovering device 192.168.2.50 for 10 seconds
== System info ==
{'auto_off_remain_time': 0,
'auto_off_status': 'off',
'avatar': '',
'default_states': {'state': {'on': False}, 'type': 'custom'},
'device_id': '803B5690E906747C2F45E706011C809A22BAE379',
'device_on': False,
'fw_id': '00000000000000000000000000000000',
'fw_ver': '1.0.3 Build 240723 Rel.192622',
'has_set_location_info': False,
'hw_id': '6AF62D27B2AD605568EB99FACA40C4F5',
'hw_ver': '5.26',
'ip': '192.168.2.50',
'lang': '',
'latitude': -1879048193,
'longitude': -1879048193,
'mac': 'D8-44-89-61-55-F5',
'model': 'HS200',
'nickname': '',
'oem_id': '0FCE0680722397453338BE10825E6B91',
'on_time': 0,
'overheat_status': 'normal',
'region': '',
'rssi': -37,
'signal_level': 3,
'smart_switch_state': False,
'specs': '',
'ssid': 'U3R1ZGlvMS0y',
'time_diff': 0,
'type': 'SMART.KASASWITCH'}
Any thoughts appreciated.

