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

Add support for Emteco cover (similar to others, but missing DP's) #1973

Open
fabianosan opened this issue Jun 3, 2024 · 0 comments
Open
Labels
new device Unsupported device

Comments

@fabianosan
Copy link

fabianosan commented Jun 3, 2024

Please,

Is possible to add support for EMTECO cover?
The existent ones works (Loratap or Avatto), but missing some data points, like "Work State (opening/closing)" and "Control Back (back/forward)" that are important for some automations.

Describe the bug
The device works with Avatto or Loratap device configurations, but missing some DP's as described above

To Reproduce
Add the wi-fi device as an Avatto or Loratap courtain.

Expected behavior
Exactly the same as Loratap Courtain, but with two others datapoints decribed above.

If the bug involves a device, then please include device diagnostics from

Here is the device diagnostics from oficial Tuya integration:

"data": { "endpoint": "https://apigw.tuyaus.com", "terminal_id": "1716402957799BgeRIb", "mqtt_connected": true, "disabled_by": null, "disabled_polling": false, "id": "ebb7dd7bd2ba8d5d2dpslq", "name": "Persiana 1", "category": "cl", "product_id": "vnzp9ogouexa9asa", "product_name": "\u5965\u79d1\u5185\u7f6e\u7535\u673a", "online": true, "sub": false, "time_zone": "-03:00", "active_time": "2023-11-03T17:30:23+00:00", "create_time": "2023-11-03T17:30:23+00:00", "update_time": "2023-11-03T17:30:23+00:00", "function": { "control": { "type": "Enum", "value": { "range": [ "open", "stop", "close", "continue" ] } }, "control_back_mode": { "type": "Enum", "value": { "range": [ "forward", "back" ] } }, "click_control": { "type": "Enum", "value": { "range": [ "up", "down" ] } } }, "status_range": { "control": { "type": "Enum", "value": { "range": [ "open", "stop", "close", "continue" ] } }, "work_state": { "type": "Enum", "value": { "range": [ "opening", "closing" ] } }, "control_back_mode": { "type": "Enum", "value": { "range": [ "forward", "back" ] } }, "click_control": { "type": "Enum", "value": { "range": [ "up", "down" ] } } }, "status": { "control": "stop", "work_state": "opening", "control_back_mode": "back", "click_control": "up" }, "home_assistant": { "name": "Persiana 1", "name_by_user": "Persiana 1", "disabled": true, "disabled_by": "user", "entities": [ { "disabled": true, "disabled_by": "device", "entity_category": null, "device_class": "blind", "original_device_class": "curtain", "icon": "mdi:roller-shade", "original_icon": null, "unit_of_measurement": null, "state": null }, { "disabled": true, "disabled_by": "device", "entity_category": "config", "device_class": null, "original_device_class": null, "icon": null, "original_icon": null, "unit_of_measurement": null, "state": null } ] }, "set_up": true, "support_local": true }

Here is the diagnostics log from TuyaLocal integration:
"data": { "name": "Quarto 1Persiana", "type": "loratap_curtain_switch", "device_id": "**REDACTED**", "device_cid": "", "local_key": "**REDACTED**", "host": "**REDACTED**", "protocol_version": 3.3, "tinytuya_version": "1.13.2", "api_version_set": 3.3, "api_version_used": 3.3, "api_working": true, "status": {}, "cached_state": { "updated_at": 1717456328.3001184, "1": "open", "3": "opening", "11": "back", "15": "roller_blind", "101": false }, "pending_state": {}, "connected": true, "force_dps": [], "home_assistant": { "name": "Quarto 1Persiana", "name_by_user": null, "disabled": false, "disabled_by": null, "entities": [ { "disabled": false, "disabled_by": null, "entity_category": null, "device_class": null, "original_device_class": "blind", "icon": null, "unit_of_measurement": null, "state": { "entity_id": "cover.quarto_1_persiana_none", "state": "unknown", "attributes": { "device_class": "blind", "friendly_name": "Quarto 1 Persiana None", "supported_features": 11 }, "last_changed": "2024-06-03T23:11:27.179615+00:00", "last_reported": "2024-06-03T23:11:27.179615+00:00", "last_updated": "2024-06-03T23:11:27.179615+00:00" } } ] } }

The DataPoints missing is:

`Code: 11
Description: Control Back
Elements: back/forward

Code: 3
Description: Work State
Elements: opening/closing`

Thanks in advanced!

@fabianosan fabianosan added the bug Something isn't working label Jun 3, 2024
@make-all make-all added new device Unsupported device and removed bug Something isn't working labels Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new device Unsupported device
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants