Hi Niro, seems to work very well and just what my little one would like in her room. Just one question in the blueprint which section do I need to change if I want the hold power button to reset to a normal light with around 3800k colour temperature?
Hi Christoph,
You can fork the blueprint from here: homeassistant-config/zha_ikea_tradfri_5button_remote_color.yaml at master · niro1987/homeassistant-config · GitHub
On your own fork, you need to modify the URL on line 14 of the code to your own.
The Long-Press action is defined from line 123 to line 135.
Just set the ligth in the mode you want it to and take the hs_color
values from Developer Tools.
Obviously you can also change it so that it sets the color_temp value instead.
...
brightness: 254
color_temp: 390
When you are happy, you need to import the blueprint from your own url
p.s. If you’re not up to making these changes, give me the color_temp you want and I’ll share a blueprint url with it.
hello your bleuprint work very nice and i have a question i have wled led pixels and i would like a function at eg double press to link previous effect and double press to right next effect could you make this very nice thanks in advance?
Hi Jarne,
The 5 button remote does not supports double click events.
hello can you do it for the single press so the left single press previous effect and the right single press the next effect and double press leaving the color to change is very handy so this would be possible would be very nice thanks in advance ?
hello with the just custom actions I can’t consult the wled effect so it would be really useful if you could add this as I say above thanks in advance?
I have no experience with wled. Perhaps you can tell me what service call you execute to change the wled effect.
Developer Tools > Services
From what I can find, you need to specify the “Name or ID of the WLED light effect”. This would mean you can only link one effect to each of the buttons.
The other option is to use a random effect as described here
hello the wled effect are called on by the Attributes effect_list see picture with everything the wled can do hopefully you can continue like this?
Hello all, I am testing this blueprint with ZHA.
The press and hold of power butten works perfectly
I can dimm all my lights
But color changing does nothing.
I have tried only ikea bulbs, one bulb, multiple bulbs, other brands and mixed. But the colour button does nothing.
Can it be that this blueprint has been broken with an update of Home Assistant?
Regards
Ben
Hi thanks for this blueprint just importing some ikea lights and the ikea remote…
Connected the devices throug zigbee2mqtt but if i want to make an automation of this blueprint.
I cannot select a devices remote. No matching devices found
What is going wrong here?
Remotes are not available as devices but as entities?
Thanks
Great blueprint! Thanks so much for your work!
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!
Thanks much!
what might be reason that when blueprint is imported I cannot find any tradfri pilot available? (in fact I have 5 of them, visible in other HA places)
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?
If you are using Zigbee2MQTT, try this one.
https://gist.github.com/niro1987/81649657c118c1739de1c305a5015342
I don’t suppose you’ll be doing one where the buttons run through an input select of scenes? I’d definitely buy you a beer for that one!
In the same way as ZHA - IKEA TRADFRI - 5 Button Remote - Color Preset??
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.
I don’t know if scene rotation is desireable. You would have to make sure that every entity from the one scene is included in the other, and so on…
I do have one of those shortcut buttons that I use with two scenes, one on the short press and the other on the long press. Blueprint here
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!