meross_lan
meross_lan copied to clipboard
Support light transition on LED strips
I am an owner of two msl320cp LED strips. In the Meross app, when I change the brightness or color, the lights smoothly transition from one state to the other. Using meross_lan, it instantly switches from one state to the other. Automations cannot take advantage of the transitions, like:
- service: light.turn_on
data:
entity_id: light.bedroom_1
brightness: 75
transition: 300
Looking around for clues in the code, I found lines like this in the emulator_traces.
2021/10/12 - 19:19:31 http GETACK Appliance.System.All {"all": {"system": {"hardware": {"type": "msl320cpr", "subType": "un", "version": "4.0.0", "chipType": "rtl8710cm", ... "light": {"capacity": 6, "channel": 0, "rgb": 255, "temperature": 46, "luminance": 100, "transform": 0}}}}
Is it possible that the transform
property is the secret to smooth transitions?
The device is certainly capable of creating smooth transitions, with the Meross app.
If you use the effects tab, and choose Party
, it goes crazy with flashing all the colors of the rainbow, and you can even set the Flash speed and mode.
This is another thing that is not supported by meross_lan, but not a big deal for me; You can see the list of effects in homeassistant, but not trigger them...