The perfect application for myself would be the Left/Right buttons to cycle through an input select table of “chosen colors” (or even scenes). There’s really only about 4 or 5 colors besides “warm white” that i’d ever want.
I’m playing with eiditing your code, but it’s probably a bit ambitious for a first project!
UPDATE: doing it dozens of times (restarts, clearing browser etc) some pilots appears but only those added to HA via Ikea integration so whole blueprint doens’t make sense for me. How to make pilots added via mqtt visible here?
The problem is that a scene can entail many lights, and even other types of devices. What do you expect to happen when you active any scene and afterwards you press one of the brightness buttons, or even the power button. From a blueprint perspective, I have no way of knowing what lights to adjust.
For example: The blueprint is provided with a light entity (living_room) and an input select of scenes (containing scene.1, scene.2, scene.3).
Ahh, yes I see your point. The brightness up down, wouldn’t be used in that case. Scene rotation might be cool for one of the shortcut buttons, or rotating dials, but not so much for the 5 button devices.
Thanks again for your blueprints. I have a request/question.
When I go into my kids room with this Color Light and he/she have some wierd color I want to quickly return the light to “normal” if I example want to clean the room or something.
One way that came to my mind was that if I double-press the on/off button it would do this for me.
Can I have the Custom-blueprint above this one where I just bind the double press to do something? Or could you maybe add this feature?
Thank you!
First of all, I would like to thank Niels for this great Blueprint, it is solid, easy to configure, and works like a charm.
It is a pity Ikea does sale this 5 buttons Tradfri remote anymore, I found the new one with its 4 button less convenient.
I am just wondering how I could modify it so the left and right buttons allow a more progressive change in colors. In other words, what part of the YAML file should I change to cover more colors.
My guess is that I could change 18 to a smaller value in this part (line 158 to 166 for the Short-Press on the color-up button for example), but I am not quite sure, and I do not want to break what is working just fine today.
first of all thank you for all the nice blueprints for the Tradfri remote control as well as for the Styrbar 4 button remote. They are really handy to control my color lights!
The “color preset” blueprints are working fine. However I encountered a small issue with the “color lights” blueprints:
The left button changes saturation as it should. The right button should just change the color, but I found it to also decrease the saturation. When I open the color picker of the corresponding light and observe how the color changes when I press the right button, this can be confirmed. I would expect the color picker to go in a circle through the colors when I press the right button. In reality it moves in a spiral: the color changes, but also the saturation decreases.
Can you confirm this? Is it possible to not decrease the saturation when changing the color?
I actually have a few of these remotes myself and do not experience the same behaviour. Are you sure that the remote itself is working as intended? You might want to listen for events while you press the buttons to see if only one button is triggered.
I don’t know what to say, as you can see from the blueprint, in this section, only the hue is incremented on press command with matching args.
Only thing I can think of, is that you have another automation enabled that is manipulating the same light at the same time, from another blueprint maybe?
Just an FYI, in Z2M you can just bind the IKEA remote to an IKEA bulb or multiple bulbs using the “Bind” function.
This makes it work like it does out of the box in stand alone mode, and also works in full Zigbee mode.
I have 3 bulbs bound to 2 remotes and I also have the bulbs in automations.
All I do is create a group of bulbs and bind it to the remote in Zigbee2MQTT, this works better, if the HA controller goes down for any reason, the remotes will still control the lights, as long as the coordinator is still powered up.
The below image is the bind function under the Tradfri Remote in Z2M.
I have another remote, bound the same, so both remotes control all bulbs seperate to HA, but HA will show all the changes in real time, and HA can also change each bulb seperately or grouped.