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 Ledvance SMART+ Planon Plus Backlight #2683

Open
Bhoft opened this issue Dec 23, 2024 · 0 comments
Open

Request support for Ledvance SMART+ Planon Plus Backlight #2683

Bhoft opened this issue Dec 23, 2024 · 0 comments
Labels
config provided Config included by reporter new device Unsupported device

Comments

@Bhoft
Copy link

Bhoft commented Dec 23, 2024

Log message

2024-12-23 15:58:19.666 DEBUG (SyncWorker_11) [custom_components.tuya_local.helpers.device_config] Loaded device config ledvance_ceiling_light.yaml
2024-12-23 15:58:19.667 DEBUG (MainThread) [custom_components.tuya_local.helpers.config] Adding light for light_mainlight
2024-12-23 15:58:19.843 DEBUG (MainThread) [custom_components.tuya_local.device] TV Licht received {"20": true, "21": "white", "22": 20, "23": 0, "24": "00db01f4026c", "26": 0, "41": false, "full_poll": true}
2024-12-23 15:58:19.945 DEBUG (MainThread) [custom_components.tuya_local.device] TV Licht persistant connection set to True
2024-12-23 15:58:29.479 DEBUG (MainThread) [custom_components.tuya_local.device] TV Licht received {"51": "AAcA2wH0AmwAFAAA", "full_poll": false}
2024-12-23 15:58:29.593 DEBUG (MainThread) [custom_components.tuya_local.device] TV Licht received {"20": true, "22": 20, "23": 0, "24": "00db01f4026c", "full_poll": false}
2024-12-23 15:58:29.708 DEBUG (MainThread) [custom_components.tuya_local.device] TV Licht received {"30": "AAAAdQUBBgAAAAAAAAABBh4AAAAAFBkBCQAAAAAAZGQBFAAAAAAAUDIBFx4AAAAAAAA=", "full_poll": false}
2024-12-23 15:58:29.822 DEBUG (MainThread) [custom_components.tuya_local.device] TV Licht received {"31": "AAA=", "full_poll": false}
2024-12-23 15:58:29.935 DEBUG (MainThread) [custom_components.tuya_local.device] TV Licht received {"32": "AAA=", "full_poll": false}
2024-12-23 15:58:39.517 DEBUG (MainThread) [custom_components.tuya_local.device] TV Licht received {"51": "AAcA2wH0AmwAFAAA", "full_poll": false}
2024-12-23 15:58:39.630 DEBUG (MainThread) [custom_components.tuya_local.device] TV Licht received {"20": true, "22": 20, "23": 0, "24": "00db01f4026c", "full_poll": false}
2024-12-23 15:58:39.744 DEBUG (MainThread) [custom_components.tuya_local.device] TV Licht received {"30": "AAAAdQUBBgAAAAAAAAABBh4AAAAAFBkBCQAAAAAAZGQBFAAAAAAAUDIBFx4AAAAAAAA=", "full_poll": false}
2024-12-23 15:58:39.859 DEBUG (MainThread) [custom_components.tuya_local.device] TV Licht received {"31": "AAA=", "full_poll": false}
2024-12-23 15:58:39.973 DEBUG (MainThread) [custom_components.tuya_local.device] TV Licht received {"32": "AAA=", "full_poll": false}


{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.12.5",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.13.0",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "6.6.66-haos",
    "supervisor": "2024.12.0",
    "host_os": "Home Assistant OS 14.1",
    "docker_version": "27.2.0",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "tuya_local": {
      "documentation": "https://github.com/make-all/tuya-local",
      "version": "2024.12.1",
      "requirements": [
        "tinytuya==1.15.1",
        "tuya-device-sharing-sdk>=0.1.9,<=0.2.99"
      ]
    },
    "hacs": {
      "documentation": "https://hacs.xyz/docs/configuration/start",
      "version": "2.0.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
  },
  "integration_manifest": {
    "domain": "tuya_local",
    "name": "Tuya Local",
    "codeowners": [
      "make-all"
    ],
    "config_flow": true,
    "dependencies": [],
    "documentation": "https://github.com/make-all/tuya-local",
    "integration_type": "device",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/make-all/tuya-local/issues",
    "requirements": [
      "tinytuya==1.15.1",
      "tuya-device-sharing-sdk>=0.1.9,<=0.2.99"
    ],
    "version": "2024.12.1",
    "is_built_in": false,
    "overwrites_built_in": false
  },
  "setup_times": {
    "null": {
      "setup": 4.330500041760388e-05
    },
    "01JFQNENKQCPYZN1EFYDPZP6QA": {
      "wait_import_platforms": -4.064988811999683,
      "config_entry_setup": 4.1368223780000335
    }
  },
  "data": {
    "name": "Tisch Licht",
    "type": "ledvance_ceiling_light",
    "device_id": "**REDACTED**",
    "device_cid": "",
    "local_key": "**REDACTED**",
    "host": "**REDACTED**",
    "protocol_version": 3.3,
    "tinytuya_version": "1.15.1",
    "api_version_set": 3.3,
    "api_version_used": 3.3,
    "api_working": true,
    "status": {},
    "cached_state": {
      "updated_at": 1734958780.4073772,
      "20": true,
      "26": 0,
      "41": false,
      "51": "AAYAAAPoA+gD6AAA"
    },
    "pending_state": {},
    "connected": true,
    "force_dps": [],
    "home_assistant": {
      "name": "Tisch Licht",
      "name_by_user": null,
      "disabled": false,
      "disabled_by": null,
      "entities": [
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": null,
          "device_class": null,
          "original_device_class": null,
          "icon": null,
          "unit_of_measurement": null,
          "state": {
            "entity_id": "light.tisch_licht_mainlight",
            "state": "on",
            "attributes": {
              "min_color_temp_kelvin": 3000,
              "max_color_temp_kelvin": 6500,
              "min_mireds": 153,
              "max_mireds": 333,
              "supported_color_modes": [
                "color_temp"
              ],
              "color_mode": "color_temp",
              "brightness": 0,
              "color_temp_kelvin": null,
              "color_temp": null,
              "hs_color": null,
              "rgb_color": null,
              "xy_color": null,
              "friendly_name": "Tisch Licht Mainlight",
              "supported_features": 0
            },
            "last_changed": "2024-12-23T12:40:04.754382+00:00",
            "last_reported": "2024-12-23T12:47:56.710938+00:00",
            "last_updated": "2024-12-23T12:47:56.710938+00:00"
          }
        },
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": null,
          "device_class": null,
          "original_device_class": null,
          "icon": null,
          "unit_of_measurement": null,
          "state": {
            "entity_id": "light.tisch_licht_backlight",
            "state": "on",
            "attributes": {
              "supported_color_modes": [
                "hs"
              ],
              "color_mode": "hs",
              "brightness": null,
              "hs_color": null,
              "rgb_color": null,
              "xy_color": null,
              "friendly_name": "Tisch Licht Backlight",
              "supported_features": 0
            },
            "last_changed": "2024-12-23T12:40:04.755022+00:00",
            "last_reported": "2024-12-23T12:40:04.755022+00:00",
            "last_updated": "2024-12-23T12:40:04.755022+00:00"
          }
        },
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": "config",
          "device_class": null,
          "original_device_class": null,
          "icon": null,
          "unit_of_measurement": null,
          "state": {
            "entity_id": "select.tisch_licht_scene",
            "state": "unknown",
            "attributes": {
              "options": [
                "WW 100%",
                "WW 50%",
                "WW 1%",
                "WN 100%",
                "WN 50%",
                "WN 1%",
                "CW 100%",
                "CW 50%",
                "CW 1%",
                "NW 100%",
                "NW 50%",
                "NW 1%",
                "RGB RED 100%",
                "RGB RED 50%",
                "RGB RED 1%",
                "WW+RED 100%",
                "WW+RED 50%",
                "WW+RED 1%"
              ],
              "icon": "mdi:palette",
              "friendly_name": "Tisch Licht Scene"
            },
            "last_changed": "2024-12-23T12:51:48.016552+00:00",
            "last_reported": "2024-12-23T12:51:48.016552+00:00",
            "last_updated": "2024-12-23T12:51:48.016552+00:00"
          }
        },
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": "config",
          "device_class": null,
          "original_device_class": null,
          "icon": null,
          "unit_of_measurement": "min",
          "state": {
            "entity_id": "number.tisch_licht_timer",
            "state": "0.0",
            "attributes": {
              "min": 0.0,
              "max": 1440.0,
              "step": 1.0,
              "mode": "auto",
              "unit_of_measurement": "min",
              "friendly_name": "Tisch Licht Timer"
            },
            "last_changed": "2024-12-23T12:40:04.756267+00:00",
            "last_reported": "2024-12-23T12:40:04.756267+00:00",
            "last_updated": "2024-12-23T12:40:04.756267+00:00"
          }
        }
      ]
    }
  }
}

Product ID

mqhdyyri23fguocm

Product Name

Smart+PlaBL60x60B

DPS information

"dps": {
    "20": true,
    "21": "scene",
    "22": 1000,
    "23": 0,
    "24": "000003e803e8",
    "26": 0,
    "28": "",
    "30": "AAEAdwUBBgAAAAAAAAABBh4AAAAAFBkBCQAAAAAAZGQBFAAAAAAAUDIBFx4AAAAAAAA=",
    "31": "AAA=",
    "32": "AAA=",
    "36": "AAABAQIODgAAyAAAAAA=",
    "41": false,
    "51": "AAUAAAPoA+gD6AAA"
},

Information about how the device functions

Hi I have 2 of these Ledvance Ceeling Lights with Backlight and some issue with setting up the tuya_local device.

8bff32af8a61e6a04d2c1c6bf4400ae8

This is the device:
https://www.ledvance.com/consumer/products/smart-home/smart-luminaires/smart-indoor-luminaires/smart-panel-luminaires-with-wifi-technology/panel-luminaires-with-frame--backlight-and-wifi-technology/smart-panel-with-main-and-backlight-with-wifi-technology-tw-rgb-and-dimmable-c204214

It has 2 light modes which can be enabled differently (main and backlight).
I have already the config to set the color and brightness of both the main and the backlight (see config at the bottom).

My issue is in the Ledvance App I can enable/disable both lights individually (see screenshot below).
Screenshot of the Ledvance App

From monitoring the DP changes I found out that it's changed in the DPS51 on the

e.g.

AAUAAAPoA+gD6AAA = main WW brightness 100%, Backlight brightness 100%,  Main Light = on, Backlight = off
AAcAAAPoA+gD6AAA  = main WW brightness 100%, Backlight brightness100%,   Main Light = on, Backlight = on
AAYAAAPoA+gD6AAA  = main WW brightness 100%, Backlight brightness100%,   Main Light = off, Backlight = on

So the 3rd char defines which light is on/off (besides the main switch at DPS20)
If both lights are disabled it sets DPS20 = false

How can I configure the Device so that i can change the 3rd Char of the DPS51 string accordingly?

Is there any information somewhere how the DPS51 is configured?
I only found specific values by monitoring and set them through scene.
This is currently also the only way i can switch on/off the different light states through home assistant.

My current device config file:
ledvance_ceiling_light.zip

Additional Question:
I have currently installed the 1.0.4 firmware on both lights (shipped with this version)
The ledvance App prompts that an update is possible to 1.0.6,

Does Anyone know if the device can be controlled afterwards as it is possible now?
Or if is there some changelog for these Ledvance devices somewhere?
I don't want to lose my current solution only because i updated to the latest firmware.

edit: added the full_poll

@Bhoft Bhoft added the new device Unsupported device label Dec 23, 2024
@make-all make-all added the config provided Config included by reporter label Dec 23, 2024
@make-all make-all moved this to 📋 Backlog in Tuya Local Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config provided Config included by reporter new device Unsupported device
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants