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 - Philips 324131092621 Hue Dimmer switch - Zigbee2MQTT #216

Open
1 task
mjhcdk opened this issue Dec 13, 2021 · 1 comment
Open
1 task

Bug - Philips 324131092621 Hue Dimmer switch - Zigbee2MQTT #216

mjhcdk opened this issue Dec 13, 2021 · 1 comment
Labels
blueprint An issue related to a blueprint bug Something isn't working

Comments

@mjhcdk
Copy link

mjhcdk commented Dec 13, 2021

Blueprint name

Controller - Philips 324131092621 Hue Dimmer switch

Home Assistant Core Version

2021.12.1

Home Assistant Installation Type

Home Assistant Supervised

Description

Hi, seems there might be an issue with the action names triggered from Z2M is with "_" while the blueprint (
Version 2021.11.19 ) is using "-" in action names i.e for off_press. This is causing no action is performed when the automation/blueprint is triggered.

Mq log entry:
MQTT publish: topic 'zigbee2mqtt/lænestol_dim', payload '{"action":"off_press","battery":69.5,"last_seen":"2021-12-14T00:42:48+01:00","linkquality":129,"update":{"state":"idle"},"update_available":null}'

in Blueprint automation
zigbee2mqtt:
button_on_short:
- on-press
button_on_long:
- on-hold
button_on_release:
- on-hold-release
button_off_short:
- off-press
button_off_long:
- off-hold

z2m - Device info.

Zigbee Model RWL021
Zigbee Manufacturer Philips
Description Hue dimmer switch
Firmware version 6.1.1.28573
Manufacturer Philips
Model 324131092621

Automation YAML config

alias: 'Controller - Fars Lampe '
description: ''
use_blueprint:
  path: EPMatt/philips_324131092621.yaml
  input:
    integration: Zigbee2MQTT
    controller_entity: sensor.laenestol_dim_action
    helper_last_controller_event: input_text.laenestol_dim_last
    action_button_on_short:
      - service: light.turn_on
        target:
          device_id: 9419bbee5ebc4c4d9592c642dd4f2d2b
    action_button_off_short:
      - service: light.turn_off
        target:
          device_id: 9419bbee5ebc4c4d9592c642dd4f2d2b

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Trigger the automation '....'
  4. See error

Expected behavior

when pressing the off button (4) it should trigger the action_button_off_short:
The same goes for the other actions.

Actual Behaviour

No action is performed See screenshot below

Additional Details

  • I'd like to help developing a fix for this issue.

Screenshots

image

Additional context

No response

@mjhcdk mjhcdk added blueprint An issue related to a blueprint bug Something isn't working labels Dec 13, 2021
@SHxKM
Copy link

SHxKM commented Dec 14, 2021

I may be jumping the gun blindly here but could it be that you have legacy_mode==false for the remote? I remember spending hours debugging a problem that just didn't make sense only to realize I had changed this legacy mode to false (as Z2M recommends) hours before..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blueprint An issue related to a blueprint bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants