Koen Kanters

Results 1455 comments of Koen Kanters

> and DP ID 'Dimmer' is what turns the switch I don't see this DP in your post?

Could you try changing the brightness with this ext converter: https://gist.github.com/Koenkk/c4bf7723166640c38b13291a874b9b9b (state, on/off won't work)

Updated https://gist.github.com/Koenkk/c4bf7723166640c38b13291a874b9b9b, can you try again?

Updated https://gist.github.com/Koenkk/c4bf7723166640c38b13291a874b9b9b, please try again.

I updated https://gist.github.com/Koenkk/c4bf7723166640c38b13291a874b9b9b, can you check if on/off works now?

Added some more features, can you check if it works: https://gist.github.com/Koenkk/c4bf7723166640c38b13291a874b9b9b ?

I'm not sure exactly what the min/max brightness does, the code you posted limits brightness value that you can send to the device but does not set the actual min/max...

Can you try to: - stop z2m - change `_TZE204_nbkshs6k ` to `_TZE200_ikvncluo` in the data/database.db - start z2m, and check if the device works.

there are a few more you can try: `_TZE200_lu01t0zl`, `_TZE204_sxm7l9xa`, `_TZE200_hl0ss9oa`, `_TZE200_0u3bj3rc`, `_TZE200_2aaelwxk`, `_TZE200_2aaelwxk`, `_TZE204_sooucan5`, `_TZE204_ijxvkhd0`, `_TZE204_7gclukjs`, `_TZE204_e9ajs4ft, `_TZE204_sbyx0lm6`, `_TZE204_mhxn2jso`, `_TZE204_kyhbrfyl`. An alternative is to find the correct [datapoints](https://www.zigbee2mqtt.io/advanced/support-new-devices/03_find_tuya_data_points.html)

@drathbone would you mind making a pull request by clicking [here](https://github.com/Koenkk/zigbee-herdsman-converters/edit/master/src/devices/tuya.ts)?