ControllerX not working (ZHA)

I’m trying to get some buttons to toggle some lights (plus do smooth dimming and stuff) using ControllerX from @xaviml, but it does absolutely nothing. Nothing happens when I press any buttons. I’m trying to toggle light groups, but I also can’t get individual lights to toggle. The buttons and some of the lamps are connected through ZHA (some lamps through WiFi).

I can see an event happening in AppDaemon when I press the button. I can toggle the lights manually in Home Assistant. Everything is present in Home Assistant itself.

One thing I have noticed is that I can’t see any references to ControllerX in my AppDaemon environment.

cat /config/appdaemon/apps/apps.yaml

bedroom_deur: 
  module: controllerx 
  class: E1810Controller 
  controller: 00:0d:6f:ff:fe:06:82:da
  integration: zha
  light: light.linkind_plafondlamp_licht 

bedroom_bed:
  module: controllerx
  class: E1810Controller
  controller: 58:8e:81:ff:fe:43:09:07 
  integration: zha
  light: light.slaapkamer

I double and triple checked the IEEE addresses

ls /config/appdaemon/apps/controllerx
controllerx.py  cx_devices
cx_const.py     cx_helper.py
cx_core         cx_yersion.py 

It appears to be properly installed. I’m not convinced that ControllerX is actually running. AppDaemon is running, but I cannot find ControllerX inside AppDaemon.


So I finally decided to check my logs, and yeah, ControllerX is just not starting. Tried to reinstall from Git instead of HACS, but that doesn’t fix anything. Apparently controllerx.py doesn’t have an app description, whatever that means.

2023-12-24 01:07:27.550623 INFO AppDaemon: Initializing HTTP
2023-12-24 01:07:27.550810 INFO AppDaemon: Using ‘ws’ for event stream
2023-12-24 01:07:27.551918 INFO AppDaemon: Starting API
2023-12-24 01:07:27.552739 INFO AppDaemon: Starting Admin Interface
2023-12-24 01:07:27.552930 INFO AppDaemon: Starting Dashboards
2023-12-24 01:07:27.557607 INFO HASS: Connected to Home Assistant 2023.12.3
2023-12-24 01:07:27.561256 INFO AppDaemon: App ‘hello_world’ added
2023-12-24 01:07:27.561616 INFO AppDaemon: Found 1 active apps
2023-12-24 01:07:27.561785 INFO AppDaemon: Found 0 inactive apps
2023-12-24 01:07:27.561940 INFO AppDaemon: Found 0 global libraries
2023-12-24 01:07:27.562098 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2023-12-24 01:07:27.562451 INFO AppDaemon: Running on port 5050
2023-12-24 01:07:27.574538 INFO HASS: Evaluating startup conditions
2023-12-24 01:07:27.577176 INFO HASS: Startup condition met: hass state=RUNNING
2023-12-24 01:07:27.577722 INFO HASS: All startup conditions met
2023-12-24 01:07:27.583024 INFO AppDaemon: Got initial state from namespace default
2023-12-24 01:07:29.147764 INFO AppDaemon: New client Admin Client connected
2023-12-24 01:07:29.565681 INFO AppDaemon: Scheduler running in realtime
2023-12-24 01:07:29.573936 INFO AppDaemon: Adding /config/apps to module import path
2023-12-24 01:07:29.574371 INFO AppDaemon: Adding /config/apps/controllerx to module import path
2023-12-24 01:07:29.574790 INFO AppDaemon: Adding /config/apps/controllerx/cx_core to module import path
2023-12-24 01:07:29.575156 INFO AppDaemon: Adding /config/apps/controllerx/cx_core/integration to module import path
2023-12-24 01:07:29.575612 INFO AppDaemon: Adding /config/apps/controllerx/cx_core/feature_support to module import path
2023-12-24 01:07:29.575988 INFO AppDaemon: Adding /config/apps/controllerx/cx_core/stepper to module import path
2023-12-24 01:07:29.576367 INFO AppDaemon: Adding /config/apps/controllerx/cx_core/type to module import path
2023-12-24 01:07:29.576750 INFO AppDaemon: Adding /config/apps/controllerx/cx_core/action_type to module import path
2023-12-24 01:07:29.577134 INFO AppDaemon: Adding /config/apps/controllerx/cx_devices to module import path
2023-12-24 01:07:29.600850 INFO AppDaemon: Loading App Module: /config/apps/hello.py
2023-12-24 01:07:29.622802 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_helper.py - ignoring
2023-12-24 01:07:29.624497 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_version.py - ignoring
2023-12-24 01:07:29.625528 WARNING AppDaemon: No app description found for: /config/apps/controllerx/controllerx.py - ignoring
2023-12-24 01:07:29.626556 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_const.py - ignoring
2023-12-24 01:07:29.627681 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/controller.py - ignoring
2023-12-24 01:07:29.628707 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/init.py - ignoring
2023-12-24 01:07:29.629730 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/color_helper.py - ignoring
2023-12-24 01:07:29.630795 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/type_controller.py - ignoring
2023-12-24 01:07:29.631424 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/release_hold_controller.py - ignoring
2023-12-24 01:07:29.632447 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/integration/state.py - ignoring
2023-12-24 01:07:29.633473 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/integration/zha.py - ignoring
2023-12-24 01:07:29.634484 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/integration/init.py - ignoring
2023-12-24 01:07:29.635584 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/integration/event.py - ignoring
2023-12-24 01:07:29.636611 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/integration/shellyforhass.py - ignoring
2023-12-24 01:07:29.637621 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/integration/mqtt.py - ignoring
2023-12-24 01:07:29.638621 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/integration/shelly.py - ignoring
2023-12-24 01:07:29.639682 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/integration/homematic.py - ignoring
2023-12-24 01:07:29.640697 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/integration/deconz.py - ignoring
2023-12-24 01:07:29.641697 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/integration/tasmota.py - ignoring
2023-12-24 01:07:29.642690 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/integration/lutron_caseta.py - ignoring
2023-12-24 01:07:29.643680 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/integration/z2m.py - ignoring
2023-12-24 01:07:29.644478 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/feature_support/light.py - ignoring
2023-12-24 01:07:29.645058 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/feature_support/init.py - ignoring
2023-12-24 01:07:29.645570 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/feature_support/cover.py - ignoring
2023-12-24 01:07:29.646071 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/feature_support/media_player.py - ignoring
2023-12-24 01:07:29.646580 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/stepper/loop_stepper.py - ignoring
2023-12-24 01:07:29.647075 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/stepper/init.py - ignoring
2023-12-24 01:07:29.647595 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/stepper/index_loop_stepper.py - ignoring
2023-12-24 01:07:29.648093 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/stepper/stop_stepper.py - ignoring
2023-12-24 01:07:29.648605 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/stepper/bounce_stepper.py - ignoring
2023-12-24 01:07:29.649098 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/type/init.py - ignoring
2023-12-24 01:07:29.649610 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/type/cover_controller.py - ignoring
2023-12-24 01:07:29.650095 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/type/z2m_light_controller.py - ignoring
2023-12-24 01:07:29.650607 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/type/media_player_controller.py - ignoring
2023-12-24 01:07:29.651105 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/type/light_controller.py - ignoring
2023-12-24 01:07:29.651619 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/type/switch_controller.py - ignoring
2023-12-24 01:07:29.652105 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/action_type/delay_action_type.py - ignoring
2023-12-24 01:07:29.652618 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/action_type/init.py - ignoring
2023-12-24 01:07:29.653107 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/action_type/predefined_action_type.py - ignoring
2023-12-24 01:07:29.653630 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/action_type/scene_action_type.py - ignoring
2023-12-24 01:07:29.654120 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/action_type/call_service_action_type.py - ignoring
2023-12-24 01:07:29.654623 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_core/action_type/base.py - ignoring
2023-12-24 01:07:29.655146 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/prolight.py - ignoring
2023-12-24 01:07:29.655660 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/sonoff.py - ignoring
2023-12-24 01:07:29.656152 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/smartthings.py - ignoring
2023-12-24 01:07:29.656698 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/lutron.py - ignoring
2023-12-24 01:07:29.657181 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/init.py - ignoring
2023-12-24 01:07:29.657686 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/smartkontakten.py - ignoring
2023-12-24 01:07:29.658175 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/trust.py - ignoring
2023-12-24 01:07:29.658687 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/robb.py - ignoring
2023-12-24 01:07:29.659170 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/linkind.py - ignoring
2023-12-24 01:07:29.659699 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/legrand.py - ignoring
2023-12-24 01:07:29.660201 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/shelly.py - ignoring
2023-12-24 01:07:29.660721 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/terncy.py - ignoring
2023-12-24 01:07:29.661202 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/ikea.py - ignoring
2023-12-24 01:07:29.661723 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/aurora.py - ignoring
2023-12-24 01:07:29.662206 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/homematic.py - ignoring
2023-12-24 01:07:29.662720 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/philips.py - ignoring
2023-12-24 01:07:29.663204 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/rgb_genie.py - ignoring
2023-12-24 01:07:29.663743 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/aqara.py - ignoring
2023-12-24 01:07:29.664251 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/tuya.py - ignoring
2023-12-24 01:07:29.664760 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/livarno.py - ignoring
2023-12-24 01:07:29.665272 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/sengled.py - ignoring
2023-12-24 01:07:29.665783 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/tasmota.py - ignoring
2023-12-24 01:07:29.666287 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/adeo.py - ignoring
2023-12-24 01:07:29.666790 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/muller_licht.py - ignoring
2023-12-24 01:07:29.667785 WARNING AppDaemon: No app description found for: /config/apps/controllerx/cx_devices/osram.py - ignoring
2023-12-24 01:07:29.668200 INFO AppDaemon: Loading app hello_world using class HelloWorld from module hello
2023-12-24 01:07:29.669247 INFO AppDaemon: Calling initialize() for hello_world
2023-12-24 01:07:29.684740 INFO hello_world: Hello from AppDaemon
2023-12-24 01:07:29.685143 INFO hello_world: You are now ready to run Apps!
2023-12-24 01:07:29.685548 INFO AppDaemon: App initialization complete

Apparently, my config wasn’t supposed to be in /config/appdaemon/apps/apps.yaml but in /addon_configs/a0d7b954_appdaemon/apps/apps.yaml

ControllerX is doing stuff now.