Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] ControllerX not working anymore with HA >2021.10 and Zigbee2MQTT 1.21.2 #394

Closed
rhannink opened this issue Dec 7, 2021 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@rhannink
Copy link

rhannink commented Dec 7, 2021

Bug report

Description

After upgrading HA to version 2021.10, my zigbee2MQTT integration with ControllerX is not working anymore

Additional information

ControllerX 4.16.0
AppDaemon 4.1.0
HA > 2021.10
Z2M 1.21.2
Mosquitto MQTT

Workaround is to switch from z2M to native MQTT

AppDaemon app configuration

Volume_keuken_app:
  module: controllerx
  class: E1744MediaPlayerController
  controller: sensor.volume1_action
  integration: z2m
  volume_steps: 50
  media_player: media_player.keuken_speaker

Logs


Appdaemon log
2021-10-12 10:07:26.916048 INFO AppDaemon: App initialization complete
2021-10-12 10:07:26.876061 INFO Volume_keuken_app: 🎮 ControllerX v4.16.0
2021-10-12 10:07:26.791160 INFO AppDaemon: Initializing app Volume_keuken_app using class E1744MediaPlayerController from module controllerx

Z2M log
Info MQTT publish: topic 'zigbee2mqtt/Volume1', payload '{"action":"","battery":74,"brightness":255,"linkquality":36,"rate":195,"update":{"state":"idle"},"update_available":false}'
Info MQTT publish: topic 'zigbee2mqtt/Volume1/action', payload 'brightness_move_down'
Info MQTT publish: topic 'zigbee2mqtt/Volume1', payload '{"action":null,"battery":74,"brightness":235,"linkquality":36,"rate":195,"update":{"state":"idle"},"update_available":false}'
Info MQTT publish: topic 'zigbee2mqtt/Volume1', payload '{"action":null,"battery":74,"brightness":215,"linkquality":36,"rate":195,"update":{"state":"idle"},"update_available":false}'
Info MQTT publish: topic 'zigbee2mqtt/Volume1', payload '{"action":"brightness_stop","battery":74,"brightness":215,"linkquality":36,"rate":195,"update":{"state":"idle"},"update_available":false}'
Info MQTT publish: topic 'zigbee2mqtt/Volume1', payload '{"action":"","battery":74,"brightness":215,"linkquality":36,"rate":195,"update":{"state":"idle"},"update_available":false}'
Info MQTT publish: topic 'zigbee2mqtt/Volume1/action', payload 'brightness_stop'
@rhannink rhannink added the bug Something isn't working label Dec 7, 2021
@ristomatti
Copy link

Just noting that it works for me with Z2M 1.22-dev and HA 2021-11. I'm pretty sure I'm also using z2m integration since I couldn't get native MQTT working when I wanted to test it.

@rhannink
Copy link
Author

rhannink commented Dec 13, 2021

@ristomatti,

I received following from the z2m maintainer @xaviml (on HA forum):


Hi @rhannink,

Apparently, there has been a change in HA and z2m that I was not aware of. ControllerX is not reacting because is reading the action: null that appear in your logs. I would need to investigate further with my E1744 Controller and keep you updated with a fix for this.

As a workaround I recommend you change to the mqtt integration, so your configuration could look like this:

Volume_keuken_app:
module: controllerx
class: E1744MediaPlayerController
controller: zigbee2mqtt/Volume1/action
integration: mqtt
volume_steps: 50
media_player: media_player.keuken_speaker
You will need to change the /config/appdaemon/appdaemon.yaml file. I recommend you reading the Zigbee2MQTT (and MQTT) section of this page 2.

Regards,
Xavi M.

@xaviml
Copy link
Owner

xaviml commented Dec 31, 2021

Hi there,

Unfortunately, my E1744 controller does not work (I cannot pair it with Z2M). I will need to get another one to test this issue. I will keep you updated.

In the meantime, does the fix that @rhannink mentions works for everyone?

Regards,
Xavi M.

@xaviml
Copy link
Owner

xaviml commented Jan 1, 2022

Hi all,

I was able to get my Symfonisk device working again. It all works as it used to be for me. These are my specs:

  • Zigbee2MQTT version: 1.22.2
  • Home Assistant: 2021.12.7
  • ControllerX: 4.17.0
  • AppDaemon add-on version: 0.7.2
  • AppDaemon version: 4.1.0
  • Symfonish firmware version: 2.1.022

I have tried using the _action sensor and the MQTT connection directly as well as trying it for a light and a media player. What I am currently doing now is updating the firmware to the latest version. I will keep you posted if it keeps working.

Regards,
Xavi M.

@xaviml
Copy link
Owner

xaviml commented Jan 23, 2022

I will close this ticket for now. If something else needs to be discussed, please open a new ticket.

@xaviml xaviml closed this as completed Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants