Add Ledvance

Hello together,

I am looking for a way to connect my Ledvance LED to openhab. I don’t have an Amazon Echo or Google Assistant.

It has been mentioned here and in other places that Ledvance is just a relabeled Tuya: Led Wifi Bulbs - #5 by Dan

In the linked instructions (Step-by-Step guide for adding Tuya-bulbs, Wi-Fi smart LED (Smart Life app) to OH2 using tuya-mqtt.js by AgentK - #247 by worstenbrood) unfortunately a “modfied lsc app” is used to get the device id and localkey. Unfortunately, the link to this “modfied lsc app” no longer works.

Does anyone have another idea how I can integrate the Ledvance?

Please check the Smarthome/J Tuya Binding and its docs. No need for patched 3rd party apps.

Thank you, I have and now?

The Tuya Binding does not recognize my Ledvance and I have no device ID, key to test it manually.

Did you create a Tuya project and provided the information to the Bridge Thing ?
If you follow the Binding docs, your devices will be discovered automatically. Further communication will be local afterwards.

Is that what you mean by “docs”?
https://docs.smarthomej.org/4.2.0/org.smarthomej.binding.tuya.html#discovery

There is no way and no instructions on how to pair the LEDVance device with iot.tuya.com
But you can find out the ID and the key with this tool:

If I then add a “Generic Tuya Device” with the correct ID, key and IP, it is displayed as online. (If I only change one parameter, it is offline again)

But what happens next? What channels should I add?

My Thing created w/ gui:

UID: tuya:tuyaDevice:ddb6011c8f
label: LedVance
thingTypeUID: tuya:tuyaDevice
configuration:
  pollingInterval: 0
  protocol: "3.3"
  productId: "1"
  deviceId: ###
  ip: ###
  localKey: ###
channels:
  - id: dimmer
    channelTypeUID: tuya:dimmer
    label: dimmer
    description: ""
    configuration:
      min: 10
      dp: 8
      max: 1000
      dp2: 9

I played with min/max (0,100,255,1000,…), nothing worked.

The item

Dimmer LedDimmer {channel="tuya:tuyaDevice:ddb6011c8f:dimmer"}

No, you need to follow the steps described under Thing Configuration.
After configuring a Tuya Cloud project in openHAB, it will discover your registered devices an generate the channels for each discovered Thing.

Ok, two problems. I don’t have a tuya device. And I don’t want the device to stay connected to the internet.

But as I wrote, I still tried to connect the LEDVance device to iot.tuya.com. But without success … the Tuya app cannot find my LEDVance device. Even if I pair it again, reset it … it is not found.

Do you have your Ledvance App connected with the device?
You should be able to link that App zo your tuya dev project.
The Binding needs to know the „dp“ params supported by the device.

1 Like

I have removed the app from the Ledvance app. I was able to reset the light correctly to factory settings and re-pair it. Now it is displayed in the Tuya app, but then:

LEDVance SMARTWF-1.2M
18W/865 CN
AC35122

If it is not supported by the tuya app, you need to try to connect the LedVance App to the tuya cloud project. I don’t see any other option.