Check out this blueprint to simulate the IKEA TRADFRI Remote (5 button version) through ZHA events.
Holding down the power button will reset the light to normal. Holding down the other buttons cycles through the same function and stops on release.
Button
Action
Power
Toggle the light
Dim-Up
Increase brightness
Dim-Down
Decrease brightness
Right
Change color
Left
Change saturation
Get started
Click the badge to import this Blueprint: (needs Home Assistant Core 2021.3 or higher)
Or import this Blueprint by using the Gist URL: https://github.com/niro1987/homeassistant-config/blob/master/blueprints/automation/niro1987/zha_ikea_tradfri_5button_remote_color.yaml
Hoping I could use this one because the one from frenck does not seem to do what it is suppose to for me (sorry frenck)
but on importing the blueprint i get this error:
Invalid blueprint: Unknown selector type text found for dictionary value @ data[āblueprintā][āinputā][āremote_ieeeā][āselectorā]. Got OrderedDict([(ātextā, OrderedDict([(āmultilineā, False)]))])
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?
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?
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
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?
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?