I’m excited to try this out! I use Z2M though so perhaps I’ll figure out how to pick a different device and fork @frenck’s blueprint.
Z2M uses actual entities instead of events, so you’d just need to swap out the trigger for states you’re expecting, and change the declaration of what ‘remote’ is expecting I think.
just realised - only ZHA would love to see the same blueprint for Z2M
Thanks Franck… now you made me go and buy 4 of these remotes…
This is great! Actually, I did create an AppDaemon app for this specific purpose. It allows you to integrate your remotes with:
- Z2M (state)
- Z2M (MQTT)
- deCONZ
- ZHA
You can get this functionality starting with less than 10 lins of YAML config, and going higher if specific cases are needed.
It also allows you to virtually manage multiple clicks for controllers like this one that do not supported them natively.
You can go and check it out in here:
However, if the HA team keeps this path and catches up with everything than ControllerX does, I might drop the project since initial setup is much easier and faster, as well as having a UI configuration.
Really good job, looking forward to using bluprints from now on.
Cheers,
Xavi M.
great!
is there a way to have the same for the 2 buttons ikea trader remote?
Not strange, as the topic says this is for ZHA integration not IKEA TRÅDFRI.
And if this did not make it clear this should have;
Working with ZHA with and an IKEA TRADFRI bulb E27 WS opal 1000lm.
It is working with brightness short press only. If I do long press nothing happens.
I also can not change color with the left or right buttons. Only options you can chose are; turn on, turn off, toggle, increase brightness, decrease brightness or flash. How can I make this change color as well?
ZHA is a specific module? Guess I just learned! Thanks
Alright I think my fork for Zigbee2Mqtt is working. Here’s the gist! Just paste the url into Blueprints
In my example, my IKEA Remote is called Office Remote so Z2M calls the sensor I’m aiming for sensor.office_remote_action
.
Yes, ControllerX is really great. Do you think it’s possible to integrate / combine ControllerX capabilities with the simplicity of blueprints? It would be really great to be able to configure multiple clicks of a IKEA / hue remote just within the UI.
Thanks @frenck. I had a bit of a panic when I first imported the blueprint and all of my automations in the GUI disappeared, but I realised I’d opened the options to set an action for the left button and not added anything so things got a bit screwy. I manually removed the broken automation, reloaded automations and added it from the blueprint again without messing with it this time and it’s working perfectly.
I can see the blueprint function getting a lot of use, it’s so much simpler than trying to copy automation code around from forum posts.
Awesome work!!!
Is there a way to add middle button long press support also?
+1 for this
How can I make this change color as well?
I’m also wondering the same!
Hi @AndrejDelany,
The great thing about ControllerX is that is an automation created with Python code. The only way of creating automations with Python code is either with AppDaemon or Pyscript, and either of them are supported natively by HA, which will make it difficult to integrate.
I agree with you, though. I created ControllerX because HA did not allow you to create automations easily for your controllers, but seems that Blueprints are the first step towards that goal. I would also love a way of binding a controller with a light with all its functionalities and be able to configure all things that ControllerX already does via UI.
We will get there one day, I am sure
Regards,
Xavi M.
The problem with the middle button for this controller is that also fires the click action ( not matter the integration - z2m, deconz, zha). However, if you are looking for more flexibility, I recommend you taking a look to ControllerX.
Regards,
Xavi M.
Thanks, I guess I missed that while testing, thanks for the pointer.
I already have ControllerX setup, just trying to get more custom control over my remoted…
If you need any help with ControllerX setup, just let me know. I am happy to help you out