python-kasa/kasa/tests/fixtures/KP303(UK)_1.0_1.0.3.json
Teemu R f77e87dc5d
dump_devinfo improvements (#657)
* dump_devinfo improvements

* Scrub only the last three bytes for mac addresses
* Add --target to allow creating fixtures based on discovery
* Save fixtures directly to correct location, add --basedir to allow defining the location of repository root
* Add --autosave to disable prompting for saving

* Update fixtures for devices I have

* Add fixture for HS110 hw 4.0 fw 1.0.4

* Improve help strings

* Fix tests

* Update devtools README

* Default to discovery if no host/target given
2024-01-20 14:20:08 +01:00

55 lines
1.7 KiB
JSON

{
"system": {
"get_sysinfo": {
"alias": "TP-LINK_Power Strip_CF69",
"child_num": 3,
"children": [
{
"alias": "Plug 1",
"id": "8006E9854025B67C3F9D99BA1E66223D1C9A8A7700",
"next_action": {
"type": -1
},
"on_time": 79701,
"state": 1
},
{
"alias": "Plug 2",
"id": "8006E9854025B67C3F9D99BA1E66223D1C9A8A7701",
"next_action": {
"type": -1
},
"on_time": 79700,
"state": 0
},
{
"alias": "Plug 3",
"id": "8006E9854025B67C3F9D99BA1E66223D1C9A8A7702",
"next_action": {
"type": -1
},
"on_time": 1484408,
"state": 0
}
],
"deviceId": "0000000000000000000000000000000000000000",
"err_code": 0,
"feature": "TIM",
"hwId": "00000000000000000000000000000000",
"hw_ver": "1.0",
"latitude_i": 0,
"led_off": 1,
"longitude_i": 0,
"mac": "1C:3B:F3:00:00:00",
"mic_type": "IOT.SMARTPLUGSWITCH",
"model": "KP303(UK)",
"ntc_state": 0,
"oemId": "00000000000000000000000000000000",
"rssi": -68,
"status": "new",
"sw_ver": "1.0.3 Build 191105 Rel.113122",
"updating": 0
}
}
}