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 Smart Curtain Motor WiFi #1781

Closed
Dexter-Lucky opened this issue Mar 28, 2024 · 4 comments
Closed

Request support for Smart Curtain Motor WiFi #1781

Dexter-Lucky opened this issue Mar 28, 2024 · 4 comments

Comments

@Dexter-Lucky
Copy link

Dexter-Lucky commented Mar 28, 2024

Log Message

2024-03-28 15:31:45.585 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches feit_dimmer with quality of 100%. DPS: {"updated_at": 1711629102.9648023, "2": 100, "3": 0}

Information about DPS mappings

"result": {
    "properties": [
      {
        "code": "control",
        "custom_name": "",
        "dp_id": 1,
        "time": 1670098914961,
        "value": "open",
        "range": [
          "open",
          "stop",
          "close",
          "continue"
        ]
      },
      {
        "code": "percent_control",
        "custom_name": "",
        "dp_id": 2,
        "time": 1711382147562,
        "value": 100,
        "unit": "%",
        "min": 0,
        "max": 100
      },
      {
        "code": "percent_state",
        "custom_name": "",
        "dp_id": 3,
        "time": 1711600214718,
        "value": 0
      },
      {
        "code": "control_back",
        "custom_name": "",
        "dp_id": 5,
        "time": 1678577188718,
        "value": "forward",
        "range": [
          "forward",
          "back"
        ]
      },
      {
        "code": "fault",
        "custom_name": "",
        "dp_id": 12,
        "time": 1670098914961,
        "value": 0,
        "label": [
           "motor_fault"
        ]
      }
    ]
  },
  "success": true,
  "t": 1711630203283,
  "tid": "b20078ceed0111ee825bba8975aefeef"

Product ID

wraaecjqfiirj8go

Information about how the device functions

https://icombo.en.made-in-china.com/product/NOgnkeWlruho/China-Tuya-WiFi-Intelligent-Smart-Curtain-Motor.html

@Dexter-Lucky Dexter-Lucky added the new device Unsupported device label Mar 28, 2024
@make-all
Copy link
Owner

The log message is missing, seems to be replaced by a filename.
Also the dps information is insufficient, it is missing the list of possible values or range for each dp.

@make-all make-all added the awaiting feedback Needs more information label Mar 29, 2024
@Dexter-Lucky
Copy link
Author

I don't know why, but link in topic doesn't work. I'll leave it here.
Log Message:
home-assistant_tuya_local_2024-03-28T12-31-52.201Z.log

dps:
CodeTypeValues Curtain Motor.txt

@make-all make-all added full_info All info needed was provided and removed awaiting feedback Needs more information labels Mar 29, 2024
make-all added a commit that referenced this issue Apr 12, 2024
@make-all make-all added awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release and removed full_info All info needed was provided labels Apr 12, 2024
@Dexter-Lucky
Copy link
Author

It's got same problem:
2024-04-12 19:13:53.345 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Loaded device config yueqingcombo_yet848pc_curtain.yaml
2024-04-12 19:13:53.345 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Not match for Curtain, missing required DPs: [{'2': 'int'}]
I've add to code "optional: true" and its adds to HA, but it don't work, when curtains fully open or fully close. When its open button "close" is deactiv. I can use only button "open", but curtains already opened.

@make-all make-all removed new device Unsupported device awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release labels Apr 28, 2024
@Dexter-Lucky
Copy link
Author

Dexter-Lucky commented May 3, 2024

It's has the same problem as Zemismart ZM25TQ (id jzmy5ut0vishwscm) (discussion #1823).
I made the same change (add "invert" config for the position dps). Now it works correct.
- id: 2 name: position type: integer range: min: 0 max: 100 mapping: - invert: true - id: 3 name: current_position type: integer range: min: 0 max: 100 mapping: - invert: true

make-all added a commit that referenced this issue May 15, 2024
As is common with Tuya curtains, position is reverse of what HA expects

Issue #1781
@make-all make-all added awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release device improvement Improvement to an existing device config labels May 15, 2024
@make-all make-all reopened this May 15, 2024
@make-all make-all removed awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release device improvement Improvement to an existing device config labels May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants