IKEA KAJPLATS not accepting brightness setting on turn_on

I have a IKEA KAJPLATS filament bulb connected over Matter/Thread with an Apple HomePod as the border router. I have an automation in Node-RED that turns the bulb on when it gets dark. I pass a msg.payload.data.brightness=255 (as a number) to the Home Assistant Action Node with the light.turn_on action selected.

Home assistant will then think the that the bulb is set to maximum brightness, while in reality the brightness is quite dim. Changing the brightness manually in Home Assistant has the desired effect. Also in Node-RED, I have a couple of inject nodes for testing that can set brightness to 200 or to 50 and call the same flow, and they work. So it appears that the bulb does not accept brightness when being turned on from being off. Anyone else seeing this?

I’ll add that this bulb replaces a zigbee IKEA bulb (over zigbee2mqtt) that broke. The automation worked fine with the zigbee bulb.

Try a different brightness?

In Zigbee, brightness 255 has a special meaning, namely “turn on the light to the previously used brightness” – not maximum brightness. It would not surprise me at all if Matter/Thread was designed to behave the same way.

So probably you have to either use brightness 254, or brightness_pct 100.

2 Likes

Thanks Magnus! I wasn’t aware of the special status of 255. I reduced the brightness number and now it works.

If the issue is solved, mark my post as the solution :grinning_face:

Also using brightness_pct 100 in your automations is probably the best solution if you always want maximum brightness, as it will then be up to the integration to decide which hardware brightness value (0–255) to map it to.