emilohman / homey-plejd

This App brings support for the Plejd devices.
MIT License
11 stars 5 forks source link

Support for "duration" #3

Closed pahen closed 3 years ago

pahen commented 3 years ago

Hi,

Is it possible to add support for "duration" as IKEA devices supports? Or is it a Zigbee specific feature maybe?

See https://github.com/athombv/com.ikea.tradfri/blob/72f14571df095a7365c903be1c5d171edb642e75/drivers/rgb_bulb/driver.compose.json#L17

IMG_3333

emilohman commented 3 years ago

It isn't supported by the Plejd hardware as for zigbee devices.

The Plejd implementation for Home Assistant has a workaround for it. The problem is that the duration runs in the software (HA) so it can affect other state changes and they can't run in parallell. So if you turns 4 light on with a 2sec duration it will take 8sec not 2sec as expected.

pahen commented 3 years ago

Ok, too bad. I suppose it's not worth looking more into this then.