diff --git a/devices/gosund-sw5-a-v2.1-smart-switch-bk7231n-v1.0.1.json b/devices/gosund-sw5-a-v2.1-smart-switch-bk7231n-v1.0.1.json new file mode 100644 index 00000000..2987aaf8 --- /dev/null +++ b/devices/gosund-sw5-a-v2.1-smart-switch-bk7231n-v1.0.1.json @@ -0,0 +1,100 @@ +{ + "manufacturer": "Gosund", + "name": "SW5 A V2.1 Smart Switch BK7231N v1.0.1", + "key": "ztaqo0d0mite9udq", + "ap_ssid": "SmartLife", + "github_issues": [ + 598 + ], + "image_urls": [ + "gosund-sw5-a-v2.1-smart-switch-bk7231n-v1.0.1.jpg" + ], + "profiles": [ + "cuco-switch-sw5-bk-n-com-1.0.1-sdk-2.3.1-40.00" + ], + "schemas": { + "e0vqs8": [ + { + "type": "obj", + "mode": "rw", + "property": { + "type": "bool" + }, + "id": 1 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "min": 0, + "max": 86400, + "scale": 0, + "step": 1, + "type": "value" + }, + "id": 7 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "range": [ + "off", + "on", + "memory" + ], + "type": "enum" + }, + "id": 14 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "range": [ + "none", + "relay", + "pos" + ], + "type": "enum" + }, + "id": 15 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "type": "string", + "maxlen": 255 + }, + "id": 17 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "type": "string", + "maxlen": 255 + }, + "id": 18 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "type": "string", + "maxlen": 255 + }, + "id": 19 + }, + { + "mode": "ro", + "property": { + "type": "bool" + }, + "id": 101, + "type": "obj" + } + ] + } +} diff --git a/images/gosund-sw5-a-v2.1-smart-switch-bk7231n-v1.0.1.jpg b/images/gosund-sw5-a-v2.1-smart-switch-bk7231n-v1.0.1.jpg new file mode 100644 index 00000000..2150cafd Binary files /dev/null and b/images/gosund-sw5-a-v2.1-smart-switch-bk7231n-v1.0.1.jpg differ diff --git a/profiles/cuco-switch-sw5-bk-n-com-1.0.1-sdk-2.3.1-40.00.json b/profiles/cuco-switch-sw5-bk-n-com-1.0.1-sdk-2.3.1-40.00.json new file mode 100644 index 00000000..7bd36a41 --- /dev/null +++ b/profiles/cuco-switch-sw5-bk-n-com-1.0.1-sdk-2.3.1-40.00.json @@ -0,0 +1,17 @@ +{ + "name": "1.0.1 - BK7231N", + "sub_name": "cuco_switch_sw5_bk_n_com", + "type": "CLASSIC", + "icon": "toggle-switch-outline", + "firmware": { + "chip": "BK7231N", + "name": "cuco_switch_sw5_bk_n_com", + "version": "1.0.1", + "sdk": "2.3.1-40.00" + }, + "data": { + "address_finish": "0x1B3AB", + "address_ssid": "0xC49C9", + "address_ssid_padding": 4 + } +}