tuya-local icon indicating copy to clipboard operation
tuya-local copied to clipboard

Request support for KY35W-10 WIFI shutter motor/controller

Open opolczer opened this issue 1 year ago • 3 comments

Log Message

Device matches None with quality of 0%. DPS: {"updated_at": 1714521120.9885597, "101": "stop", "102": 86, "107": false, "108": false}

Information about DPS mappings

{
  "modelId": "0000000knn",
  "services": [
    {
      "actions": [],
      "code": "",
      "description": "",
      "events": [],
      "name": "默认服务",
      "properties": [
        {
          "abilityId": 101,
          "accessMode": "rw",
          "code": "switch",
          "description": "打开窗帘:open;停止:stop;关闭窗帘:close", //Shutter controlling: open, close, stop
          "extensions": {
            "iconName": "icon-dp_power",
            "attribute": "4"
          },
          "name": "开关",
          "typeSpec": {
            "type": "enum",
            "range": [
              "open",
              "stop",
              "close"
            ]
          }
        },
        {
          "abilityId": 102,
          "accessMode": "ro",
          "code": "state",
          "description": "窗帘的开启程度百分比呈现,0%——100%", //GET shutter position status in percent
          "name": "已开启",
          "typeSpec": {
            "type": "value",
            "max": 100,
            "min": 0,
            "scale": 1,
            "step": 1,
            "unit": "%"
          }
        },
        {
          "abilityId": 103,
          "accessMode": "rw",
          "code": "reception",
          "description": "", //SET shutter position: 0-100 percent
          "name": "会客模式", 
          "typeSpec": {
            "type": "value",
            "max": 100,
            "min": 0,
            "scale": 0,
            "step": 1,
            "unit": ""
          }
        },
        {
          "abilityId": 104,
          "accessMode": "rw",
          "code": "sleep",
          "description": "",
          "name": "睡眠模式",
          "typeSpec": {
            "type": "value",
            "max": 100,
            "min": 0,
            "scale": 0,
            "step": 1,
            "unit": "%"
          }
        },
        {
          "abilityId": 105,
          "accessMode": "rw",
          "code": "rise",
          "description": "",
          "name": "起床模式",
          "typeSpec": {
            "type": "value",
            "max": 100,
            "min": 0,
            "scale": 0,
            "step": 1,
            "unit": "%"
          }
        },
        {
          "abilityId": 106,
          "accessMode": "rw",
          "code": "onlook",
          "description": "",
          "name": "围观模式",
          "typeSpec": {
            "type": "value",
            "max": 100,
            "min": 0,
            "scale": 0,
            "step": 1,
            "unit": "%"
          }
        },
        {
          "abilityId": 107,
          "accessMode": "rw",
          "code": "Reverse",
          "description": "", //motor reverse function
          "name": "电机反转", 
          "typeSpec": {
            "type": "bool"
          }
        },
        {
          "abilityId": 108,
          "accessMode": "rw",
          "code": "Handpulled",
          "description": "",
          "name": "点动模式",
          "typeSpec": {
            "type": "bool"
          }
        }
      ]
    }
  ]
}

Product ID

hG8tA80YAj0YyxWP

Information about how the device functions

I bought the shutter motor from here. Unfortunately, I couldn't find any more information about it: https://ky-motor.info/index.php/termekeink/motorok/redonymotorok/wifi-motor-bidi-ketiranyu-kommunikacioval/product/ky-35w-10-akadalyerzekelos-radios-redonymotor-wifi-kapcsolattal

I want to use SET and GET position (103,102) , motor controlling (101) and motor reverse (107) functions. Unfortunately the SET position not working from Tuya cloud integration.

Thanks

opolczer avatar May 01 '24 00:05 opolczer

Often Tuya positions are reversed compared to HA's expectation. So give this a try, and if the positions are opposite from what is expected, do feed back so it can be improved

make-all avatar Jun 22 '24 01:06 make-all

Often Tuya positions are reversed compared to HA's expectation. So give this a try, and if the positions are opposite from what is expected, do feed back so it can be improved

Hello!

The position control works, but you're right, it's reversed. Can you change it?

Thanks, Daniel

opolczer avatar Jun 23 '24 11:06 opolczer

Super, working well! Thanks

opolczer avatar Jun 24 '24 17:06 opolczer

Sorry, shouldn't I have closed it?

opolczer avatar Jul 07 '24 22:07 opolczer

I close issues when they are released

make-all avatar Jul 08 '24 00:07 make-all