ControllerX. Bring full functionality to light and media player controllers

Hi xaviml!

Thanks a lot for the great work on ControllerX. I just hooked up the Symfonisk with my own speaker and it seems to be working great after tweaking the delay and steps a bit.

The only issue i currently run into is that it sometimes misses the brightness_stop event. Because of this the volume keeps going up or down until I rotate the Symfonisk again.

Here is part of my AppDaemon log where you can see it keeps lowering volume for 7 seconds until I rotate it the other way and it goes into the brightness_move_up.

appd         | 2020-10-06 00:02:30.733208 INFO bedroom_speaker: ๐Ÿƒ Running `hold_volume_down` now
appd         | 2020-10-06 00:02:30.734986 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:30.735980 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:30.736944 INFO bedroom_speaker:   - volume_level: 0.63
appd         | 2020-10-06 00:02:31.107357 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:31.111072 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:31.114373 INFO bedroom_speaker:   - volume_level: 0.59
appd         | 2020-10-06 00:02:31.616103 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:31.618225 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:31.619223 INFO bedroom_speaker:   - volume_level: 0.55
appd         | 2020-10-06 00:02:31.984967 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:31.988808 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:31.992441 INFO bedroom_speaker:   - volume_level: 0.51
appd         | 2020-10-06 00:02:32.373105 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:32.376498 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:32.379731 INFO bedroom_speaker:   - volume_level: 0.47
appd         | 2020-10-06 00:02:32.763127 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:32.767311 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:32.770625 INFO bedroom_speaker:   - volume_level: 0.43
appd         | 2020-10-06 00:02:33.146792 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:33.149085 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:33.150091 INFO bedroom_speaker:   - volume_level: 0.39
appd         | 2020-10-06 00:02:33.543288 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:33.544437 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:33.545404 INFO bedroom_speaker:   - volume_level: 0.35
appd         | 2020-10-06 00:02:33.907154 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:33.908173 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:33.909100 INFO bedroom_speaker:   - volume_level: 0.31
appd         | 2020-10-06 00:02:34.300382 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:34.301397 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:34.302338 INFO bedroom_speaker:   - volume_level: 0.27
appd         | 2020-10-06 00:02:34.689959 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:34.690964 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:34.691893 INFO bedroom_speaker:   - volume_level: 0.23
appd         | 2020-10-06 00:02:35.094320 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:35.095341 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:35.096274 INFO bedroom_speaker:   - volume_level: 0.19
appd         | 2020-10-06 00:02:35.566760 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:35.573233 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:35.576382 INFO bedroom_speaker:   - volume_level: 0.15
appd         | 2020-10-06 00:02:35.937144 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:35.939848 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:35.940846 INFO bedroom_speaker:   - volume_level: 0.11
appd         | 2020-10-06 00:02:36.331411 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:36.333286 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:36.334302 INFO bedroom_speaker:   - volume_level: 0.07
appd         | 2020-10-06 00:02:36.708499 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:36.711000 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:36.712006 INFO bedroom_speaker:   - volume_level: 0.03
appd         | 2020-10-06 00:02:37.110833 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:37.115210 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:37.118793 INFO bedroom_speaker:   - volume_level: 0
appd         | 2020-10-06 00:02:37.493674 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:37.496982 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:37.503428 INFO bedroom_speaker:   - volume_level: 0
appd         | 2020-10-06 00:02:40.637998 INFO bedroom_speaker: ๐ŸŽฎ Button event triggered: `brightness_move_up`
appd         | 2020-10-06 00:02:40.639014 INFO bedroom_speaker: ๐Ÿƒ Running `hold_volume_up` now
appd         | 2020-10-06 00:02:40.641355 INFO bedroom_speaker: ๐Ÿค– Service: media_player.volume_set
appd         | 2020-10-06 00:02:40.642671 INFO bedroom_speaker:   - entity_id: media_player.receiver
appd         | 2020-10-06 00:02:40.643826 INFO bedroom_speaker:   - volume_level: 0.04
appd         | 2020-10-06 00:02:40.995786 INFO bedroom_speaker: ๐ŸŽฎ Button event triggered: `brightness_stop`
appd         | 2020-10-06 00:02:40.998709 INFO bedroom_speaker: ๐Ÿƒ Running `release` now

Iโ€™m not able to replicate this issue constantly, it just happens every now and then. Its hard to replicate.

Im using the latest ControllerX: v4.0.0b3
This is my apps.yaml:

bedroom_speaker:
  module: controllerx
  class: E1744MediaPlayerController
  controller: sensor.main_volume_action
  integration: z2m
  media_player: media_player.receiver
  delay: 350
  volume_steps: 25

Any idea how to fix this? If you need anymore info please tell me!

@xaviml I just realised that there is a AppDaemon 4 in the add-on store when I was going to reinstall. Should I be running that one instead?

Yes, indeed. This is why is not working, you should run this app with AppDaemon 4. Recommended steps:

  • Save your apps.yaml
  • Uninstall ControllerX
  • Remove folder appdaemon from /config
  • Install AppDaemon 4
  • Install ControllerX
  • Restore the apps.yaml that you previously saved to the new apps.yaml created by the addon.

Following these steps in order, you should be good to go. Let me know if you find any problems.

Cheers,
Xavi M.

Looks like that did it.

2020-10-06 12:27:26.669086 INFO bedroom_controller: ๐ŸŽฎ ControllerX v3.5.0

Will try it out when I get back home =) Thanks for the support @xaviml

1 Like

Hi @koenhendriks,

Welcome to the community forum :slight_smile:

This is a known issue and there is nothing I can do from the code to fix this. This controller (and the same as others) fire 2 events, one when the rotation starts and another when it stops rotating. In other controllers, this works well since there is no rotation, just a holding action. What ControllerX does for you is send periodically requests to HA via call services to update your brightness, volume, etc.

As you said this happens sometimes, and it could be because any of these reasons:

  • The rotation is too fast and confusing to know if it stopped or not.
  • The network is overloaded.
  • The server cannot handle the requests on time.
  • The controller and the light are far from the coordinator.

However, these are some actions you can take to overcome this problem and reduce the number of times that this happens:

  • Change the integration to listen MQTT directly, since you use Zigbee2MQTT. Read more about in here.
  • Play around with delay (default is 350ms) and automatic_steps (default is 10) attributes. You can read more about them in here. The lower the delay is, the more request will be make to HA. The more automatic_steps, the more steps it will take to get from min to max and vice versa.
  • Add more Zigbee routers to the network.

I have the same controller and I have not encountered this problem in a while by doing these points above. Obviously, if you rotate left and right fast confusing the controller, it might send a rotation start without a rotation stop and cause the problem you are experimenting some times.

Cheers,
Xavi M.

Hi Xavi
This is my first try with both Appdaemon and ControllerX.
I am runing Hasio on a rp4 4+
I have Appdaemon up and runing. Can connect to url
ControllerX installed from Hacs.
My first automation aims to use an Ikea E1744 Media controller to control a Sonos Connect Amp.

image

Everything shows up in Appdaemon (mediaplayer and controller in the eintities list, the automation in Apps)
Callbacks are also responding to input from the controller.
So everything seems to be done right, but the mediaplayer does not respond to any input from the controller?
I am at a loss and do not have any idea what is wrong
I hope you will be able to guide my.
Kind regards Christian

I was afraid of an answer like this.

Thats just too bad. Thank you for the comprehensive post, it clears up a lot.

1 Like

Does your media_player.badevaerelset works straight from Homeassist?

Yes - it works flawlessly when i use the HA UI. I also have an automation that turns the mediaplayer on and of in the morning. This runs as expected.

The only problems that I have ever had with the mediaplayer is the one I am having with the integration of Appdaemon an controllerX.

Whether the problem lays with Appdaemon, ControllerX or just the data I have given is not clear to me.

Hi @Hoekeren,

Could you share the AppDaemon logs in here? The configuration looks good to me.

Cheers,
Xavi M.

Hi,
Is there any way to run a script something like this: ?
What do I do wrong?

tv_bedroom:
  module: controllerx
  class: E1810Controller
  controller: tradfri_remote_1
  integration: deconz
  mapping:
    5002: 
      - service: script.turn_on
        data:
          entity_id: script.tv_on
    4002:
      - service: script.turn_on
        data:
          entity_id: script.tv_off

Hi @Zkaning,

If you check the logs from AppDaemon you should see and error like: KeyError: light. This is because E1810Controller is a LightController and is expecting a light attribute. If what you want is just to use those 2 actions and not the rest of the buttons, then you can use just class: Controller.

If this is not the problem, do those script call work when called from Developer Tools? And could you also share the AppDaemon logs?

Cheers,
Xavi M.

Thanks @xaviml, I did get an error: โ€œinitialize_errorโ€.
Changed from E1810Controller to Controller and that worked!!

Thanks again for quick response // Fredrik

1 Like

Hi Xavi
Thank you for geetting back to me. Here is the log from Appdaemon.

AppDaemon 4
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Add-on: AppDaemon 4
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.3.1
 You are running the latest version of this add-on.
 System: HassOS 4.13  (armv7 / raspberrypi4)
 Home Assistant Core: 0.116.1
 Home Assistant Supervisor: 247
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] appdaemon.sh: executing... 
[cont-init.d] appdaemon.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[11:31:47] INFO: Starting AppDaemon...
2020-10-09 11:31:50.428047 INFO AppDaemon: AppDaemon Version 4.0.5 starting
2020-10-09 11:31:50.428440 INFO AppDaemon: Python version is 3.8.5
2020-10-09 11:31:50.428849 INFO AppDaemon: Configuration read from: /config/appdaemon/appdaemon.yaml
2020-10-09 11:31:50.429227 INFO AppDaemon: Added log: AppDaemon
2020-10-09 11:31:50.429810 INFO AppDaemon: Added log: Error
2020-10-09 11:31:50.430239 INFO AppDaemon: Added log: Access
2020-10-09 11:31:50.430645 INFO AppDaemon: Added log: Diag
2020-10-09 11:31:50.490443 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2020-10-09 11:31:50.564373 INFO HASS: HASS Plugin Initializing
2020-10-09 11:31:50.564812 INFO HASS: HASS Plugin initialization complete
2020-10-09 11:31:50.566107 INFO AppDaemon: Initializing HTTP
2020-10-09 11:31:50.567910 INFO AppDaemon: Using 'socketio' for event stream
2020-10-09 11:31:50.579433 INFO AppDaemon: Starting API
2020-10-09 11:31:50.587876 INFO AppDaemon: Starting Admin Interface
2020-10-09 11:31:50.588741 INFO AppDaemon: Starting Dashboards
2020-10-09 11:31:50.615061 INFO HASS: Connected to Home Assistant 0.116.1
2020-10-09 11:31:50.640400 INFO AppDaemon: App 'badevaerelses_hojtaler' added
2020-10-09 11:31:50.642359 INFO AppDaemon: Found 1 total apps
2020-10-09 11:31:50.643548 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2020-10-09 11:31:50.645474 INFO AppDaemon: Running on port 5050
2020-10-09 11:31:50.870835 INFO HASS: Evaluating startup conditions
2020-10-09 11:31:50.879183 INFO HASS: Startup condition met: hass state=RUNNING
2020-10-09 11:31:50.880737 INFO HASS: All startup conditions met
2020-10-09 11:31:50.943675 INFO AppDaemon: Got initial state from namespace default
2020-10-09 11:31:52.667633 INFO AppDaemon: Scheduler running in realtime
2020-10-09 11:31:52.714042 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2020-10-09 11:31:52.715138 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx to module import path
2020-10-09 11:31:52.716093 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core to module import path
2020-10-09 11:31:52.717044 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/type to module import path
2020-10-09 11:31:52.718176 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/stepper to module import path
2020-10-09 11:31:52.719156 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/feature_support to module import path
2020-10-09 11:31:52.720167 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/integration to module import path
2020-10-09 11:31:52.721035 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_devices to module import path
2020-10-09 11:31:52.775153 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_const.py - ignoring
2020-10-09 11:31:52.777313 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_version.py - ignoring
2020-10-09 11:31:52.779531 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/controllerx/controllerx.py
2020-10-09 11:31:52.882944 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/controller.py - ignoring
2020-10-09 11:31:52.885329 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/__init__.py - ignoring
2020-10-09 11:31:52.887684 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/custom_controller.py - ignoring
2020-10-09 11:31:52.889698 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/color_helper.py - ignoring
2020-10-09 11:31:52.892234 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/light_controller.py - ignoring
2020-10-09 11:31:52.895171 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/switch_controller.py - ignoring
2020-10-09 11:31:52.898319 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/__init__.py - ignoring
2020-10-09 11:31:52.901197 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/media_player_controller.py - ignoring
2020-10-09 11:31:52.904153 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/cover_controller.py - ignoring
2020-10-09 11:31:52.907385 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/stepper/circular_stepper.py - ignoring
2020-10-09 11:31:52.910912 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/stepper/minmax_stepper.py - ignoring
2020-10-09 11:31:52.914571 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/stepper/__init__.py - ignoring
2020-10-09 11:31:52.917835 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/media_player.py - ignoring
2020-10-09 11:31:52.920771 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/cover.py - ignoring
2020-10-09 11:31:52.923652 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/__init__.py - ignoring
2020-10-09 11:31:52.926511 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/light.py - ignoring
2020-10-09 11:31:52.929458 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/mqtt.py - ignoring
2020-10-09 11:31:52.932369 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/z2m.py - ignoring
2020-10-09 11:31:52.935840 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/state.py - ignoring
2020-10-09 11:31:52.939077 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/deconz.py - ignoring
2020-10-09 11:31:52.942124 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/__init__.py - ignoring
2020-10-09 11:31:52.945384 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/zha.py - ignoring
2020-10-09 11:31:52.948230 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/smartthings.py - ignoring
2020-10-09 11:31:52.951152 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/aqara.py - ignoring
2020-10-09 11:31:52.955815 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/philips.py - ignoring
2020-10-09 11:31:52.958724 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/muller_licht.py - ignoring
2020-10-09 11:31:52.961757 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/ikea.py - ignoring
2020-10-09 11:31:52.964909 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/__init__.py - ignoring
2020-10-09 11:31:52.968807 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/lutron.py - ignoring
2020-10-09 11:31:52.972367 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/trust.py - ignoring
2020-10-09 11:31:52.975815 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/legrand.py - ignoring
2020-10-09 11:31:52.978934 INFO AppDaemon: Initializing app badevaerelses_hojtaler using class E1744MediaPlayerController from module controllerx
2020-10-09 11:31:53.190477 INFO badevaerelses_hojtaler: ๐ŸŽฎ ControllerX v3.5.0
2020-10-09 11:31:53.203399 INFO AppDaemon: App initialization complete

Hi @Hoekeren,

I see from the logs that everything is initialized correctly. Did you also use the controller after the initialization? I do not see any logs about it. Could you add: log_level: DEBUG before module: controllerx? Then restart AppDaemon, rotate left, rotate right, press the controller and then share the logs again in here. Thanks.

Xavi M.

Hi @xaviml
This should be it

AppDaemon 4
2020-10-09 12:27:34.545161 INFO HASS: HASS Plugin initialization complete
2020-10-09 12:27:34.546315 INFO AppDaemon: Initializing HTTP
2020-10-09 12:27:34.547265 INFO AppDaemon: Using 'socketio' for event stream
2020-10-09 12:27:34.556058 INFO AppDaemon: Starting API
2020-10-09 12:27:34.565113 INFO AppDaemon: Starting Admin Interface
2020-10-09 12:27:34.566129 INFO AppDaemon: Starting Dashboards
2020-10-09 12:27:34.591256 INFO HASS: Connected to Home Assistant 0.116.1
2020-10-09 12:27:34.613788 INFO AppDaemon: App 'badevaerelses_hojtaler' added
2020-10-09 12:27:34.615594 INFO AppDaemon: Found 1 total apps
2020-10-09 12:27:34.616579 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2020-10-09 12:27:34.618203 INFO AppDaemon: Running on port 5050
2020-10-09 12:27:34.849931 INFO HASS: Evaluating startup conditions
2020-10-09 12:27:34.859411 INFO HASS: Startup condition met: hass state=RUNNING
2020-10-09 12:27:34.860739 INFO HASS: All startup conditions met
2020-10-09 12:27:34.921868 INFO AppDaemon: Got initial state from namespace default
2020-10-09 12:27:36.643324 INFO AppDaemon: Scheduler running in realtime
2020-10-09 12:27:36.688960 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2020-10-09 12:27:36.689869 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx to module import path
2020-10-09 12:27:36.690731 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core to module import path
2020-10-09 12:27:36.691564 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/type to module import path
2020-10-09 12:27:36.692683 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/stepper to module import path
2020-10-09 12:27:36.693696 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/feature_support to module import path
2020-10-09 12:27:36.694536 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/integration to module import path
2020-10-09 12:27:36.695400 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_devices to module import path
2020-10-09 12:27:36.747302 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_const.py - ignoring
2020-10-09 12:27:36.749591 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_version.py - ignoring
2020-10-09 12:27:36.751877 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/controllerx/controllerx.py
2020-10-09 12:27:36.811633 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/controller.py - ignoring
2020-10-09 12:27:36.814245 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/__init__.py - ignoring
2020-10-09 12:27:36.816682 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/custom_controller.py - ignoring
2020-10-09 12:27:36.818808 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/color_helper.py - ignoring
2020-10-09 12:27:36.821074 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/light_controller.py - ignoring
2020-10-09 12:27:36.823234 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/switch_controller.py - ignoring
2020-10-09 12:27:36.826150 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/__init__.py - ignoring
2020-10-09 12:27:36.829113 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/media_player_controller.py - ignoring
2020-10-09 12:27:36.832370 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/cover_controller.py - ignoring
2020-10-09 12:27:36.835583 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/stepper/circular_stepper.py - ignoring
2020-10-09 12:27:36.838958 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/stepper/minmax_stepper.py - ignoring
2020-10-09 12:27:36.842159 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/stepper/__init__.py - ignoring
2020-10-09 12:27:36.845131 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/media_player.py - ignoring
2020-10-09 12:27:36.848622 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/cover.py - ignoring
2020-10-09 12:27:36.851537 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/__init__.py - ignoring
2020-10-09 12:27:36.854677 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/light.py - ignoring
2020-10-09 12:27:36.857503 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/mqtt.py - ignoring
2020-10-09 12:27:36.862098 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/z2m.py - ignoring
2020-10-09 12:27:36.865223 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/state.py - ignoring
2020-10-09 12:27:36.868814 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/deconz.py - ignoring
2020-10-09 12:27:36.872120 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/__init__.py - ignoring
2020-10-09 12:27:36.875414 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/zha.py - ignoring
2020-10-09 12:27:36.878178 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/smartthings.py - ignoring
2020-10-09 12:27:36.881447 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/aqara.py - ignoring
2020-10-09 12:27:36.884366 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/philips.py - ignoring
2020-10-09 12:27:36.888196 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/muller_licht.py - ignoring
2020-10-09 12:27:36.891607 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/ikea.py - ignoring
2020-10-09 12:27:36.894732 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/__init__.py - ignoring
2020-10-09 12:27:36.897526 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/lutron.py - ignoring
2020-10-09 12:27:36.900688 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/trust.py - ignoring
2020-10-09 12:27:36.903515 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/legrand.py - ignoring
2020-10-09 12:27:36.906189 INFO AppDaemon: Initializing app badevaerelses_hojtaler using class E1744MediaPlayerController from module controllerx
2020-10-09 12:27:37.125891 INFO badevaerelses_hojtaler: ๐ŸŽฎ ControllerX v3.5.0
2020-10-09 12:27:37.134984 INFO AppDaemon: App initialization complete
2020-10-09 12:27:37.139862 DEBUG badevaerelses_hojtaler: Calling listen_state for badevaerelses_hojtaler
2020-10-09 12:27:45.548699 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `rotate_left`
2020-10-09 12:27:45.612238 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:45.677766 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `rotate_left`
2020-10-09 12:27:45.751203 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:45.822243 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `rotate_left`
2020-10-09 12:27:45.916152 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:45.988885 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `rotate_left`
2020-10-09 12:27:46.047303 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:46.104106 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `rotate_stop`
2020-10-09 12:27:46.172215 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:46.239411 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `rotate_stop`
2020-10-09 12:27:46.312326 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:47.300261 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `rotate_right`
2020-10-09 12:27:47.380397 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:47.466844 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `rotate_right`
2020-10-09 12:27:47.551508 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:47.616262 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `rotate_right`
2020-10-09 12:27:47.696470 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:47.766861 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `rotate_right`
2020-10-09 12:27:47.853116 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:47.925984 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `rotate_right`
2020-10-09 12:27:47.990840 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:48.046186 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `rotate_stop`
2020-10-09 12:27:48.110880 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:48.162682 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `rotate_stop`
2020-10-09 12:27:48.238628 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:49.729643 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `skip_forward`
2020-10-09 12:27:49.803416 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:49.861425 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `skip_forward`
2020-10-09 12:27:49.916217 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:53.316377 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `play_pause`
2020-10-09 12:27:53.380177 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:53.442492 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `play_pause`
2020-10-09 12:27:53.510370 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:57.017748 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `skip_backward`
2020-10-09 12:27:57.090631 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``
2020-10-09 12:27:57.157531 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: `skip_backward`
2020-10-09 12:27:57.216019 DEBUG badevaerelses_hojtaler: ๐ŸŽฎ Button event triggered, but not registered: ``

Hi @Hoekeren,

The problem is that those actions are not recognized by ControllerX since it assumes the most updated mapping from that controller. If you want to make it work with ControllerX default mapping, you will need to set legacy: false in the Zigbee2MQTT configuration. Read more in here.

Another tip for you is to use MQTT integration for this controller since you will notice less delay. This is my current configuration for this controller:

livingroom_speakers:
  module: controllerx
  class: E1744MediaPlayerController
  controller: livingroom_mplayer_controller # This is the friendly name
  integration:
    name: z2m
    listen_to: mqtt
  media_player: media_player.livingroom
  volume_steps: 15
  delay: 150

You will also need to change your appdaemon.yaml if you want to use the MQTT integration. Read more about it here.

Cheers,
Xavi M.

Hi @xaviml

I belieave I am almost at the finishing line, but one thng is still not clear to me. (Please note that english is not my first language and working with Homeassistant and coding is new to me)

What is confusing me is where to ad โ€œlegazy: falseโ€ inthe zigbee2mqtt configuration. This does not seem to be the right plase:

I have made the changes to the controller configuration :slight_smile:

and changed the appdaemon.yaml.

image

AppDaemon 4
 Add-on: AppDaemon 4
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.3.1
 You are running the latest version of this add-on.
 System: HassOS 4.13  (armv7 / raspberrypi4)
 Home Assistant Core: 0.116.1
 Home Assistant Supervisor: 247
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] appdaemon.sh: executing... 
[cont-init.d] appdaemon.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[14:10:54] INFO: Starting AppDaemon...
2020-10-09 14:10:56.643248 INFO AppDaemon: AppDaemon Version 4.0.5 starting
2020-10-09 14:10:56.643791 INFO AppDaemon: Python version is 3.8.5
2020-10-09 14:10:56.644426 INFO AppDaemon: Configuration read from: /config/appdaemon/appdaemon.yaml
2020-10-09 14:10:56.645080 INFO AppDaemon: Added log: AppDaemon
2020-10-09 14:10:56.645595 INFO AppDaemon: Added log: Error
2020-10-09 14:10:56.646045 INFO AppDaemon: Added log: Access
2020-10-09 14:10:56.646497 INFO AppDaemon: Added log: Diag
2020-10-09 14:10:56.686384 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2020-10-09 14:10:56.731156 INFO HASS: HASS Plugin Initializing
2020-10-09 14:10:56.731725 INFO HASS: HASS Plugin initialization complete
2020-10-09 14:10:56.732709 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin
2020-10-09 14:10:56.747475 INFO MQTT: MQTT Plugin Initializing
2020-10-09 14:10:56.748025 INFO MQTT: Using 'mqtt-client/status' as Will Topic
2020-10-09 14:10:56.748551 INFO MQTT: Using 'mqtt-client/status' as Birth Topic
2020-10-09 14:10:56.749121 INFO MQTT: Using appdaemon_mqtt_client as Client ID
2020-10-09 14:10:56.751096 INFO AppDaemon: Initializing HTTP
2020-10-09 14:10:56.752184 INFO AppDaemon: Using 'ws' for event stream
2020-10-09 14:10:56.759352 INFO AppDaemon: Starting API
2020-10-09 14:10:56.768210 INFO AppDaemon: Starting Admin Interface
2020-10-09 14:10:56.769171 INFO AppDaemon: Starting Dashboards
2020-10-09 14:10:56.797520 INFO HASS: Connected to Home Assistant 0.116.1
2020-10-09 14:10:56.832822 INFO AppDaemon: App 'badevaerelses_hojtaler' added
2020-10-09 14:10:56.835124 INFO AppDaemon: Found 1 total apps
2020-10-09 14:10:56.836376 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2020-10-09 14:10:56.838440 INFO AppDaemon: Running on port 5050
2020-10-09 14:10:56.871260 INFO HASS: Evaluating startup conditions
2020-10-09 14:10:56.879052 INFO HASS: Startup condition met: hass state=RUNNING
2020-10-09 14:10:56.879861 INFO HASS: All startup conditions met
2020-10-09 14:10:56.940542 INFO AppDaemon: Got initial state from namespace default
2020-10-09 14:10:57.393039 INFO MQTT: Connected to Broker at URL 192.168.1.10:1883
2020-10-09 14:10:57.815649 INFO AppDaemon: Got initial state from namespace mqtt
2020-10-09 14:10:57.817044 INFO MQTT: MQTT Plugin initialization complete
2020-10-09 14:10:58.864772 INFO AppDaemon: Scheduler running in realtime
2020-10-09 14:10:58.912562 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2020-10-09 14:10:58.913462 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx to module import path
2020-10-09 14:10:58.914537 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core to module import path
2020-10-09 14:10:58.915369 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/type to module import path
2020-10-09 14:10:58.916190 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/stepper to module import path
2020-10-09 14:10:58.917105 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/feature_support to module import path
2020-10-09 14:10:58.917922 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/integration to module import path
2020-10-09 14:10:58.918767 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_devices to module import path
2020-10-09 14:10:58.985325 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_const.py - ignoring
2020-10-09 14:10:58.987558 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_version.py - ignoring
2020-10-09 14:10:58.990811 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/controllerx/controllerx.py
2020-10-09 14:10:59.044592 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/controller.py - ignoring
2020-10-09 14:10:59.046786 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/__init__.py - ignoring
2020-10-09 14:10:59.049116 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/custom_controller.py - ignoring
2020-10-09 14:10:59.051162 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/color_helper.py - ignoring
2020-10-09 14:10:59.053499 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/light_controller.py - ignoring
2020-10-09 14:10:59.055381 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/switch_controller.py - ignoring
2020-10-09 14:10:59.057952 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/__init__.py - ignoring
2020-10-09 14:10:59.060135 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/media_player_controller.py - ignoring
2020-10-09 14:10:59.062434 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/cover_controller.py - ignoring
2020-10-09 14:10:59.064442 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/stepper/circular_stepper.py - ignoring
2020-10-09 14:10:59.066734 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/stepper/minmax_stepper.py - ignoring
2020-10-09 14:10:59.069027 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/stepper/__init__.py - ignoring
2020-10-09 14:10:59.071898 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/media_player.py - ignoring
2020-10-09 14:10:59.074734 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/cover.py - ignoring
2020-10-09 14:10:59.077832 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/__init__.py - ignoring
2020-10-09 14:10:59.080484 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/light.py - ignoring
2020-10-09 14:10:59.083703 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/mqtt.py - ignoring
2020-10-09 14:10:59.087828 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/z2m.py - ignoring
2020-10-09 14:10:59.091416 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/state.py - ignoring
2020-10-09 14:10:59.094233 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/deconz.py - ignoring
2020-10-09 14:10:59.097291 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/__init__.py - ignoring
2020-10-09 14:10:59.099983 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/zha.py - ignoring
2020-10-09 14:10:59.102937 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/smartthings.py - ignoring
2020-10-09 14:10:59.105687 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/aqara.py - ignoring
2020-10-09 14:10:59.108455 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/philips.py - ignoring
2020-10-09 14:10:59.112184 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/muller_licht.py - ignoring
2020-10-09 14:10:59.115197 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/ikea.py - ignoring
2020-10-09 14:10:59.117984 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/__init__.py - ignoring
2020-10-09 14:10:59.120842 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/lutron.py - ignoring
2020-10-09 14:10:59.123536 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/trust.py - ignoring
2020-10-09 14:10:59.126442 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/legrand.py - ignoring
2020-10-09 14:10:59.128649 INFO AppDaemon: Initializing app badevaerelses_hojtaler using class E1744MediaPlayerController from module controllerx
2020-10-09 14:10:59.351497 INFO badevaerelses_hojtaler: ๐ŸŽฎ ControllerX v3.5.0
2020-10-09 14:10:59.360196 INFO AppDaemon: App initialization complete
2020-10-09 14:10:59.365027 DEBUG badevaerelses_hojtaler: Calling listen_event for badevaerelses_hojtaler

The log nolonger shows the info about the signals triggered by the controller, but i asume it is due to the changes i made to regarding the MGTT?

Hi @Hoekeren,

Now you have the configuration for ControllerX and the MQTT correct. The only thing missing is to add legacy: false into the device specific configuration. To do so, you will need to go to a file in: /share/zigbee2mqtt/devices.yaml (assuming you installed it with the addon), there you will see something like:

# ...
'0x14b457fffe71b5a9':
  friendly_name: livingroom_mplayer_controller
# ...

You will need to add into your symfonisk (E1744) controller the following legacy: false like:

# ...
'0x14b457fffe71b5a9':
  friendly_name: livingroom_mplayer_controller
  legacy: false
# ...

Then you will need to restart Zigbee2MQTT addon. With all this, the controller it should work. If not, share the AppDaemon logs again and the Zigbee2MQTT logs when you rotate the controller.

Cheers,
Xavi M.

Great I found it. had to use sambashare as the HA file editor did not give acces to the /share/
But sadly it still does not work for me ?

Kind regards Hoekeren

image


AppDaemon 4
 Add-on: AppDaemon 4
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.3.1
 You are running the latest version of this add-on.
 System: HassOS 4.13  (armv7 / raspberrypi4)
 Home Assistant Core: 0.116.1
 Home Assistant Supervisor: 247
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] appdaemon.sh: executing... 
[cont-init.d] appdaemon.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[15:00:58] INFO: Starting AppDaemon...
2020-10-09 15:01:01.277329 INFO AppDaemon: AppDaemon Version 4.0.5 starting
2020-10-09 15:01:01.277990 INFO AppDaemon: Python version is 3.8.5
2020-10-09 15:01:01.278513 INFO AppDaemon: Configuration read from: /config/appdaemon/appdaemon.yaml
2020-10-09 15:01:01.279018 INFO AppDaemon: Added log: AppDaemon
2020-10-09 15:01:01.279540 INFO AppDaemon: Added log: Error
2020-10-09 15:01:01.280035 INFO AppDaemon: Added log: Access
2020-10-09 15:01:01.280506 INFO AppDaemon: Added log: Diag
2020-10-09 15:01:01.322745 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2020-10-09 15:01:01.372509 INFO HASS: HASS Plugin Initializing
2020-10-09 15:01:01.373114 INFO HASS: HASS Plugin initialization complete
2020-10-09 15:01:01.373862 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin
2020-10-09 15:01:01.398098 INFO MQTT: MQTT Plugin Initializing
2020-10-09 15:01:01.398797 INFO MQTT: Using 'mqtt-client/status' as Will Topic
2020-10-09 15:01:01.399490 INFO MQTT: Using 'mqtt-client/status' as Birth Topic
2020-10-09 15:01:01.400229 INFO MQTT: Using appdaemon_mqtt_client as Client ID
2020-10-09 15:01:01.402806 INFO AppDaemon: Initializing HTTP
2020-10-09 15:01:01.404256 INFO AppDaemon: Using 'ws' for event stream
2020-10-09 15:01:01.415101 INFO AppDaemon: Starting API
2020-10-09 15:01:01.426394 INFO AppDaemon: Starting Admin Interface
2020-10-09 15:01:01.427549 INFO AppDaemon: Starting Dashboards
2020-10-09 15:01:01.456942 INFO HASS: Connected to Home Assistant 0.116.1
2020-10-09 15:01:01.464065 INFO MQTT: Connected to Broker at URL 192.168.1.10:1883
2020-10-09 15:01:01.477659 INFO AppDaemon: Got initial state from namespace mqtt
2020-10-09 15:01:01.479196 INFO MQTT: MQTT Plugin initialization complete
2020-10-09 15:01:01.502613 INFO AppDaemon: App 'badevaerelses_hojtaler' added
2020-10-09 15:01:01.505451 INFO AppDaemon: Found 1 total apps
2020-10-09 15:01:01.507266 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2020-10-09 15:01:01.509675 INFO AppDaemon: Running on port 5050
2020-10-09 15:01:01.729784 INFO HASS: Evaluating startup conditions
2020-10-09 15:01:01.739641 INFO HASS: Startup condition met: hass state=RUNNING
2020-10-09 15:01:01.741141 INFO HASS: All startup conditions met
2020-10-09 15:01:01.796074 INFO AppDaemon: Got initial state from namespace default
2020-10-09 15:01:03.537909 INFO AppDaemon: Scheduler running in realtime
2020-10-09 15:01:03.580799 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2020-10-09 15:01:03.581870 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx to module import path
2020-10-09 15:01:03.582827 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core to module import path
2020-10-09 15:01:03.583752 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/type to module import path
2020-10-09 15:01:03.584592 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/stepper to module import path
2020-10-09 15:01:03.585392 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/feature_support to module import path
2020-10-09 15:01:03.586215 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_core/integration to module import path
2020-10-09 15:01:03.587389 INFO AppDaemon: Adding /config/appdaemon/apps/controllerx/cx_devices to module import path
2020-10-09 15:01:03.648345 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_const.py - ignoring
2020-10-09 15:01:03.650851 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_version.py - ignoring
2020-10-09 15:01:03.653027 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/controllerx/controllerx.py
2020-10-09 15:01:03.702082 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/controller.py - ignoring
2020-10-09 15:01:03.704483 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/__init__.py - ignoring
2020-10-09 15:01:03.706753 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/custom_controller.py - ignoring
2020-10-09 15:01:03.708986 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/color_helper.py - ignoring
2020-10-09 15:01:03.711555 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/light_controller.py - ignoring
2020-10-09 15:01:03.714912 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/switch_controller.py - ignoring
2020-10-09 15:01:03.718164 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/__init__.py - ignoring
2020-10-09 15:01:03.721200 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/media_player_controller.py - ignoring
2020-10-09 15:01:03.724481 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/type/cover_controller.py - ignoring
2020-10-09 15:01:03.727373 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/stepper/circular_stepper.py - ignoring
2020-10-09 15:01:03.731047 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/stepper/minmax_stepper.py - ignoring
2020-10-09 15:01:03.734294 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/stepper/__init__.py - ignoring
2020-10-09 15:01:03.737518 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/media_player.py - ignoring
2020-10-09 15:01:03.740593 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/cover.py - ignoring
2020-10-09 15:01:03.743941 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/__init__.py - ignoring
2020-10-09 15:01:03.746959 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/feature_support/light.py - ignoring
2020-10-09 15:01:03.750231 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/mqtt.py - ignoring
2020-10-09 15:01:03.753259 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/z2m.py - ignoring
2020-10-09 15:01:03.756896 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/state.py - ignoring
2020-10-09 15:01:03.759948 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/deconz.py - ignoring
2020-10-09 15:01:03.763383 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/__init__.py - ignoring
2020-10-09 15:01:03.766215 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_core/integration/zha.py - ignoring
2020-10-09 15:01:03.769655 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/smartthings.py - ignoring
2020-10-09 15:01:03.772933 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/aqara.py - ignoring
2020-10-09 15:01:03.775688 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/philips.py - ignoring
2020-10-09 15:01:03.778411 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/muller_licht.py - ignoring
2020-10-09 15:01:03.781090 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/ikea.py - ignoring
2020-10-09 15:01:03.783960 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/__init__.py - ignoring
2020-10-09 15:01:03.786687 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/lutron.py - ignoring
2020-10-09 15:01:03.789735 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/trust.py - ignoring
2020-10-09 15:01:03.792653 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/controllerx/cx_devices/legrand.py - ignoring
2020-10-09 15:01:03.794886 INFO AppDaemon: Initializing app badevaerelses_hojtaler using class E1744MediaPlayerController from module controllerx
2020-10-09 15:01:04.005044 INFO badevaerelses_hojtaler: ๐ŸŽฎ ControllerX v3.5.0
2020-10-09 15:01:04.013962 INFO AppDaemon: App initialization complete
2020-10-09 15:01:04.019111 DEBUG badevaerelses_hojtaler: Calling listen_event for badevaerelses_hojtaler