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 Sonoff Zigbee Smart Curtain #1283

Closed
booroondook-eng opened this issue Dec 30, 2023 · 7 comments
Closed

Add support Sonoff Zigbee Smart Curtain #1283

booroondook-eng opened this issue Dec 30, 2023 · 7 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@booroondook-eng
Copy link

Please make support for https://sonoff.tech/product/home-appliances/zbcurtain/

@AlexxIT AlexxIT added the enhancement New feature or request label Jan 4, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 4, 2024

#972

@booroondook-eng
Copy link
Author

booroondook-eng commented Jan 5, 2024

{
  "home_assistant": {
    "installation_type": "Home Assistant Supervised",
    "version": "2024.1.0",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.11.6",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Moscow",
    "os_name": "Linux",
    "os_version": "5.10.0-26-amd64",
    "supervisor": "2023.12.0",
    "host_os": "Debian GNU/Linux 11 (bullseye)",
    "docker_version": "24.0.6",
    "chassis": "desktop",
    "run_as_root": true
  },
  "custom_components": {
    "sonoff": {
      "version": "3.5.4",
      "requirements": [
        "pycryptodome>=3.6.6"
      ]
    },
    "hacs": {
      "version": "1.33.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    }
  },
  "integration_manifest": {
    "domain": "sonoff",
    "name": "Sonoff",
    "codeowners": [
      "@AlexxIT"
    ],
    "config_flow": true,
    "dependencies": [
      "http",
      "zeroconf"
    ],
    "documentation": "https://github.com/AlexxIT/SonoffLAN",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/AlexxIT/SonoffLAN/issues",
    "requirements": [
      "pycryptodome>=3.6.6"
    ],
    "version": "3.5.4",
    "is_built_in": false
  },
  "data": {
    "version": "a4a8c5f",
    "cloud_auth": true,
    "config": null,
    "options": {
      "mode": "auto",
      "debug": false,
      "homes": 1
    },
    "errors": [],
    "device": {
      "uiid": 7006,
      "params": {
        "subDevId": "b77xxxxxxxxxxxxxxxxx",
        "parentid": "1001xxxxxx",
        "fwVersion": "2.0.7",
        "battery": 84,
        "trigTime": "1704447700000",
        "supportPowConfig": 1,
        "curPercent": 0,
        "motorDir": "forward",
        "motorClb": "normal",
        "curtainAction": "open"
      },
      "model": "ZBCurtain",
      "online": true,
      "local": null,
      "localtype": null,
      "host": null,
      "deviceid": "a48007c9e5"
    }
  }
}

@booroondook-eng
Copy link
Author

2024-01-05 13:56:57.958 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curtainAction': 'close'} | 1704452217459
2024-01-05 13:56:58.150 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curtainAction': 'close', 'trigTime': '1704452217000'} | None
2024-01-05 13:56:58.957 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 10} | None
2024-01-05 13:56:59.968 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 20} | None
2024-01-05 13:57:00.982 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 30} | None
2024-01-05 13:57:01.992 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 40} | None
2024-01-05 13:57:02.915 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 50} | None
2024-01-05 13:57:03.917 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 60} | None
2024-01-05 13:57:05.214 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 70} | None
2024-01-05 13:57:05.925 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 80} | None
2024-01-05 13:57:07.035 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 90} | None
2024-01-05 13:57:08.033 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 100} | None
2024-01-05 13:57:08.234 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 100} | None
2024-01-05 13:57:11.851 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curtainAction': 'open'} | 1704452230386
2024-01-05 13:57:12.280 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curtainAction': 'open', 'trigTime': '1704452231000'} | None
2024-01-05 13:57:12.868 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 90} | None
2024-01-05 13:57:13.880 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 80} | None
2024-01-05 13:57:14.880 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 70} | None
2024-01-05 13:57:22.636 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 60} | None
2024-01-05 13:57:22.637 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 50} | None
2024-01-05 13:57:22.637 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 40} | None
2024-01-05 13:57:22.637 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 30} | None
2024-01-05 13:57:22.637 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 20} | None
2024-01-05 13:57:22.638 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 10} | None
2024-01-05 13:57:22.638 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 0} | None
2024-01-05 13:57:25.722 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curtainAction': 'close', 'trigTime': '1704452245000'} | None
2024-01-05 13:57:25.776 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'openPercent': 55} | 1704452245295
2024-01-05 13:57:27.537 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 10} | None
2024-01-05 13:57:27.785 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 20} | None
2024-01-05 13:57:28.737 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 30} | None
2024-01-05 13:57:30.745 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 40} | None
2024-01-05 13:57:30.803 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 50} | None
2024-01-05 13:57:31.463 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 55} | None
2024-01-05 13:57:34.577 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curtainAction': 'close', 'trigTime': '1704452254000'} | None
2024-01-05 13:57:34.625 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'openPercent': 73} | 1704452254105
2024-01-05 13:57:35.833 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 67} | None
2024-01-05 13:57:36.404 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curtainAction': 'pause'} | 1704452255766
2024-01-05 13:57:36.607 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 73} | None
2024-01-05 13:57:39.728 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curtainAction': 'open', 'trigTime': '1704452259000'} | None
2024-01-05 13:57:40.476 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'openPercent': 25} | 1704452259406
2024-01-05 13:57:40.991 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 63} | None
2024-01-05 13:57:41.731 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 53} | None
2024-01-05 13:57:42.750 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 43} | None
2024-01-05 13:57:43.738 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 33} | None
2024-01-05 13:57:44.646 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 25} | None
2024-01-05 13:57:47.765 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curtainAction': 'open'} | 1704452266996
2024-01-05 13:57:47.934 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curtainAction': 'open', 'trigTime': '1704452267000'} | None
2024-01-05 13:57:48.975 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 15} | None
2024-01-05 13:57:49.969 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 5} | None
2024-01-05 13:57:50.651 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a48007c9e5 <= Cloud3 | {'curPercent': 0} | None

@booroondook-eng
Copy link
Author

image

@booroondook-eng
Copy link
Author

image

@booroondook-eng
Copy link
Author

image

@AlexxIT AlexxIT self-assigned this Jan 5, 2024
@AlexxIT AlexxIT changed the title Feature Request: Sonoff Zigbee Smart Curtain Add support Sonoff Zigbee Smart Curtain Feb 13, 2024
@AlexxIT AlexxIT added this to the v3.5.5 milestone Feb 13, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Feb 16, 2024

@AlexxIT AlexxIT closed this as completed Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants