Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request support for 2 Gang Switch (CB02-SBL) #2870

Open
jcsf opened this issue Jan 29, 2025 · 0 comments
Open

Request support for 2 Gang Switch (CB02-SBL) #2870

jcsf opened this issue Jan 29, 2025 · 0 comments
Labels
full_info All info needed was provided new device Unsupported device

Comments

@jcsf
Copy link

jcsf commented Jan 29, 2025

Log message

Device matches None with quality of 0%. DPS: {"updated_at": 1738106565.544874}

Product ID

gil9ghzq169mkirg

Product Name

CB02-SBL

DPS information

{
    "result": {
        "model": {
            "modelId": "0000047g3c",
            "services": [
                {
                    "actions": [],
                    "code": "",
                    "description": "",
                    "events": [],
                    "name": "默认服务",
                    "properties": [
                        {
                            "abilityId": 1,
                            "accessMode": "rw",
                            "code": "switch_1",
                            "description": "",
                            "extensions": {
                                "iconName": "icon-power",
                                "attribute": "661"
                            },
                            "name": "开关1",
                            "typeSpec": {
                                "type": "bool"
                            }
                        },
                        {
                            "abilityId": 2,
                            "accessMode": "rw",
                            "code": "switch_2",
                            "description": "",
                            "extensions": {
                                "iconName": "icon-power",
                                "attribute": "661"
                            },
                            "name": "开关2",
                            "typeSpec": {
                                "type": "bool"
                            }
                        },
                        {
                            "abilityId": 7,
                            "accessMode": "rw",
                            "code": "countdown_1",
                            "description": "",
                            "extensions": {
                                "iconName": "icon-dp_time2",
                                "attribute": "640"
                            },
                            "name": "开关1倒计时",
                            "typeSpec": {
                                "type": "value",
                                "max": 86400,
                                "min": 0,
                                "scale": 0,
                                "step": 1,
                                "unit": "s"
                            }
                        },
                        {
                            "abilityId": 8,
                            "accessMode": "rw",
                            "code": "countdown_2",
                            "description": "",
                            "extensions": {
                                "iconName": "icon-dp_time2",
                                "attribute": "640"
                            },
                            "name": "开关2倒计时",
                            "typeSpec": {
                                "type": "value",
                                "max": 86400,
                                "min": 0,
                                "scale": 0,
                                "step": 1,
                                "unit": "s"
                            }
                        },
                        {
                            "abilityId": 14,
                            "accessMode": "rw",
                            "code": "relay_status",
                            "description": "",
                            "extensions": {
                                "iconName": "icon-dp_box",
                                "attribute": "128"
                            },
                            "name": "设备重启状态设置",
                            "typeSpec": {
                                "type": "enum",
                                "range": [
                                    "off",
                                    "on",
                                    "memory"
                                ]
                            }
                        },
                        {
                            "abilityId": 16,
                            "accessMode": "rw",
                            "code": "switch_backlight",
                            "description": "",
                            "extensions": {
                                "iconName": "icon-dp_light",
                                "attribute": "144"
                            },
                            "name": "背光开关",
                            "typeSpec": {
                                "type": "bool"
                            }
                        },
                        {
                            "abilityId": 17,
                            "accessMode": "rw",
                            "code": "cycle_time",
                            "description": "",
                            "extensions": {
                                "iconName": "icon-dp_loop",
                                "attribute": "128"
                            },
                            "name": "循环定时",
                            "typeSpec": {
                                "type": "string",
                                "maxlen": 255
                            }
                        },
                        {
                            "abilityId": 19,
                            "accessMode": "rw",
                            "code": "switch_inching",
                            "description": "",
                            "extensions": {
                                "iconName": "icon-power",
                                "attribute": "144"
                            },
                            "name": "点动开关",
                            "typeSpec": {
                                "type": "string",
                                "maxlen": 255
                            }
                        }
                    ]
                }
            ]
        }
    },
    "success": true,
    "t": 1738106208787,
    "tid": "f30a4dd5ddcd11efa76ab217c6c149bc"
}

Information about how the device functions

This is a simple 2 buttons wall switch from AliExpress https://www.aliexpress.com/item/1005005934190853.html. So I believe the only 2 relevant properties are switch_1 and switch_2 which allow to turn on and off each of the relays.

@jcsf jcsf added the new device Unsupported device label Jan 29, 2025
@make-all make-all added the full_info All info needed was provided label Jan 29, 2025
@make-all make-all moved this to 📋 Backlog in Tuya Local Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full_info All info needed was provided new device Unsupported device
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants