make-all / tuya-local

Local support for Tuya devices in Home Assistant
MIT License
1.22k stars 489 forks source link

Request support for AM25WIFI Roller Blinds #2218

Closed chadtheriault closed 1 week ago

chadtheriault commented 4 weeks ago

Log message

This error originated from a custom integration.

Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:483
integration: Tuya Local (documentation, issues)
First occurred: 5:25:19 PM (3 occurrences)
Last logged: 5:29:31 PM

Device matches illumanance_sensor with quality of 40%. DPS: {"updated_at": 1723929915.426454, "1": "stop", "2": 0, "104": true, "105": true, "109": 4}
Device matches illumanance_sensor with quality of 40%. DPS: {"updated_at": 1723930014.343476, "1": "stop", "2": 0, "104": true, "105": true, "109": 4}
Device matches illumanance_sensor with quality of 40%. DPS: {"updated_at": 1723930166.8213663, "1": "stop", "2": 0, "104": true, "105": true, "109": 4}

DPS information

{
  "result": {
    "model": "{\"modelId\":\"000003l1p0\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":1,\"accessMode\":\"rw\",\"code\":\"control\",\"description\":\"【必选项】该DP点用于控制电机的开启、暂停、关闭。该DP点枚举值参数不允许修改,不允许增减。其中,continue功能在APP面板无呈现,用于第三方(Google home)开通使用,下发指令后,需要MCU记住上一次的状态,并执行动作,注意,无该功能,无法通过WWGA认证。\",\"extensions\":{\"iconName\":\"icon-dp_power2\",\"attribute\":\"1024\"},\"name\":\"控制\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"open\",\"stop\",\"close\",\"continue\"]}},
{\"abilityId\":2,\"accessMode\":\"rw\",\"code\":\"percent_control\",\"description\":\"如果窗帘电机可以监控窗帘目前的所处位置,例如窗帘现在开了一半,也就是50%,那么可以通过该DP点进行窗帘位置的自定义控制。控制使用该DP点,如果选择了该DP点,必选选择“开启百分比状态显示”,该DP点数值范围值参数不允许修改,不允许增减。\",\"extensions\":{\"iconName\":\"icon-icon-percent\",\"attribute\":\"1024\"},\"name\":\"开启百分比控制\",\"typeSpec\":{\"type\":\"value\",\"max\":100,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"%\"}},
{\"abilityId\":3,\"accessMode\":\"ro\",\"code\":\"percent_state\",\"description\":\"该DP点与“开启百分比状态控制”配套使用。该DP点用于显示实际窗帘所处位置。该DP点数值范围值参数不允许修改,不允许增减。\",\"extensions\":{\"iconName\":\"icon-icon-percent\",\"attribute\":\"1024\"},\"name\":\"开启百分比状态\",\"typeSpec\":{\"type\":\"value\",\"max\":100,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"%\"}},
{\"abilityId\":7,\"accessMode\":\"ro\",\"code\":\"work_state\",\"description\":\"【必选项】用于显示电机的当前工作状态。该DP点枚举值参数不允许修改,不允许增减。如需要修改在APP面板中显示的内容,可以前往第四步的拓展中心,多语言管理修改代表值,新增的枚举值所代表的的内容也是在多语言中修改代表值。\",\"extensions\":{\"iconName\":\"icon-zhuangtai\",\"attribute\":\"1024\"},\"name\":\"工作状态\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"opening\",\"closing\"]}},
{\"abilityId\":12,\"accessMode\":\"ro\",\"code\":\"fault\",\"description\":\"【必选】设备上报故障值,该DP点枚举值可增减,但不可修改枚举值名称,例如可以删除motor_fault,可以增加其他值,未选则不展示该功能。 如需要修改在APP面板中显示的内容,可以前往第四步的拓展中心,多语言管理修改代表值,新增的枚举值所代表的的内容也是在多语言中修改代表值。\",\"extensions\":{\"iconName\":\"icon-baojing\",\"attribute\":\"1024\"},\"name\":\"故障告警\",\"typeSpec\":{\"type\":\"bitmap\",\"label\":[\"motor_fault\"],\"maxlen\":1}},
{\"abilityId\":103,\"accessMode\":\"rw\",\"code\":\"Reverse\",\"description\":\"切换方向\",\"name\":\"换向\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":104,\"accessMode\":\"rw\",\"code\":\"restrictUp\",\"description\":\"打开设置上限位点\",\"name\":\"设置上限位\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":105,\"accessMode\":\"rw\",\"code\":\"restrictDown\",\"description\":\"打开设置下限位点,关闭删除下限位点\",\"name\":\"设置下限位\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":107,\"accessMode\":\"rw\",\"code\":\"DeleteAll\",\"description\":\"0为有限位点,1没有限位点\",\"name\":\"删除所有限位\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":109,\"accessMode\":\"rw\",\"code\":\"angle\",\"description\":\"设置点动角度等级\",\"name\":\"设置角度\",\"typeSpec\":{\"type\":\"value\",\"max\":10,\"min\":1,\"scale\":1,\"step\":1,\"unit\":\"\"}}]}]}"
  },
  "success": true,
  "t": 1723931419594,
  "tid": "b2397bef5ce211efbd0eda8eda4cf3cc"
}

Product ID

7qcsglvoqkrdduk6

Product Name

AM25WIFI

Information about how the device functions

Roller blind cover similar to Zemismart 25 series with position control and reverse/forward toggle features.

chadtheriault commented 2 weeks ago

Thank you! I am assuming I just wait until the status changes to done? (Sorry, I am new to this - thank you!)

make-all commented 2 weeks ago

Yes, probably about 6 weeks based on current queue

make-all commented 1 week ago

This device will require extension of the cover implementation to add tilt support, so may take a little longer.

chadtheriault commented 1 week ago

These are just rollers FYI, there is no tilt support required.

On Tue, Sep 3, 2024 at 10:00 AM Jason Rumney @.***> wrote:

This device will require extension of the cover implementation to add tilt support, so may take a little longer.

— Reply to this email directly, view it on GitHub https://github.com/make-all/tuya-local/issues/2218#issuecomment-2326605464, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFHHN2OU6UV575YXB6YSVWTZUW6JFAVCNFSM6AAAAABMVX4PNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRWGYYDKNBWGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

make-all commented 1 week ago

The angle dp seems to correspond to tilt?

chadtheriault commented 1 week ago

I agree with that but I think that is probably reused artifact possibly from another one of their devices. This is a simple roller blind with position and forward / reverse setting.

On Tue, Sep 3, 2024 at 10:19 AM Jason Rumney @.***> wrote:

The angle dp seems to correspond to tilt?

— Reply to this email directly, view it on GitHub https://github.com/make-all/tuya-local/issues/2218#issuecomment-2326650969, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFHHN2NV3WZXSAUQOVHHHLTZUXAOBAVCNFSM6AAAAABMVX4PNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRWGY2TAOJWHE . You are receiving this because you are subscribed to this thread.Message ID: @.***>