The ZHA frontend still needs some work for groups as it’s not very intuitive. It’s a WIP.
The workflow is, create a group with the lights you want to control under Config -> ZHA -> Groups.
Once you’ve created the group with the lights you want to control (and the Zigbee radio if you want to use ControllerX by getting zha_events to show) then you need to go to your controller config and bind the clusters to the group that you want to control (on/off and lightlevel usually).
Make sure you wake your remote when you’re binding the clusters.
You’ll need to go to Config -> ZHA -> YOUR REMOTE -> Group Binding -> Select the “Bindable Group” and the clusters you want to bind with the check-marks -> Bind Group at the bottom while waking the remote.
Let me know if it works! If not, might want to check the ZHA thread or discord.
Hi Blake, thanks for the explanation and I managed to bind the clusters to the group as explained above:
2020-05-11 08:38:01 DEBUG (MainThread) [zigpy.zdo] [0x4b2e:zdo] 0x4b2e: Bind_req 08:6b:d7:ff:fe:21:b7:c9, ep: 1, cluster: 4 to group: 0x0001 completed: [<Status.SUCCESS: 0>]
But unfortunately this doesn’t solve the issue. I am still not getting any zha_event for the Ikea E1743 remote. When pressing the up/down button on the remote I am getting the following in the log:
2020-05-11 08:38:42 DEBUG (MainThread) [zigpy.zcl] [0x4b2e:1:0x0102] ZCL request 0x0001: []
2020-05-11 08:38:42 DEBUG (MainThread) [zigpy.zcl] [0x4b2e:1:0x0102] No handler for cluster command 1
You can now replace add_transition for add_transition_turn_toggle to fix the problem you had when lights were not turning on to the previous brightness. This new attribute removes the transition attribute to just calls related to turning on/off and toggling the light. You can read more about it in FAQ #6.
Hi, I was really looking forward to using the app with the Xiaomi buttons I use, but was not able to get it to work yet, and I’m not sure what’s wrong.
I’m running v2.7.1 on HACS 024.5 on HassOS 3.13 on RPI 3B+
this is what I have in /config/appdaemon/apps/apps.yaml
I do not see anything weird on the configuration you shared with us, except the “module” should be tabbed to the right together with controller, class, etc.
Dis you check AppDaemon logs? Can you shared them in here?
thanks! The indention was a copy/paste error. It is correct in apps.yaml. I’m confused about the logging. I’ve set appdaemon logging to warning under logger in configuration.yaml but not getting any error or warnings. Am I looking in the wrong place for appdaemon logs?
AppDaemon: It allows to run HA automations with Python code rather than YAML.
ControllerX: It is an AppDaemon automation (commonly called app) written in Python that allows you to bind controllers with lights and media players. In order for ControllerX to work, it needs and AppDaemon server or addon installed.
HACS: It is the Home Assistant Community Store, where you can install different integrations, plugins, themes or AppDameon apps. You can install ControllerX through HACS, but not AppDaemon.
Therefore, you will need to install AppDaemon. According to your setup, the easiest is to go to “Supervisor” tab and then “Add-on store”. In there you can look for “AppDaemon 4”. You can install and run. This will create the folder structure on /config/appdaemon and it will also create a hello world AppDaemon app for you to start. You can ignore that and then paste the config you had before in the apps.yaml. If this does not work, you might need to reinstall ControllerX through HACS. To check the logs I mentioned earlier, you will need to go to “Supervisor” and then to the installed addon"AppDaemon 4" and then to the “Logs” tab.
If you have any questions on these steps, just let me know
( Edit: Robins_Controller_1 should be 1002 = turn light on, 2002 = turn light off
Robins_Controller should be dimming up and down, I’ve also seen in here that it’s possible to turn the light on at the last brightness setting “add_transition_turn_toggle” but I’m unsure how to use it in my set up… End of Edit)
the Dimming function of the light did work (just stopped when I last updated HA) but the switch part has never worked, I did do a work around by creating an automation to run when the button was pressed but it was supposed to be a temp fix not a solution.
any help on where I am going wrong? and how to correct it?
thanks in advance for any help I greatly appretiate your time and kindness.
Regarding the dimming that stopped working, what are the logs about it? It is weird that all of a sudden it stopped working because of a HA upgrade.
Regarding the configuration, the robins_controller seems correct to me, however, robins_controller_1 is wrong. If you check the logs, you will see that it will be complaining about the second one, saying that switch is not from the domain of light. This is because you are using E1743Controller (which is a light controller) as a switch controller, so here is the correction for that one:
Also, the add_transition_turn_toggle attribute is meant to be used to fix the problem of the light not coming back to the previous brightness, but the default is to go back to the previous brightness. So if it is working properly, there is no need of changing this.
You can read more about this controller (E1743) in here.
Let me know about the logs for the first configuration to help you out further.