Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105808

[Zigbee2mqtt] Single click with Aqara Opple, two events in Home Assistant

$
0
0

@frankynov wrote:

Hello everybody !

Using home assistant and zigbee2mqtt for several months and very happy with it !
I have received my Aqara Opple (6 buttons) and paired it with my system, all good.

But I have noticed with Node Red, when I put a call to notification service on a single click of one of the Opple buttons, I am getting 2 notifications instead of one.

Here is the Zigbee2mqtt log when I click the button :

zigbee2mqtt:info  2020-05-02 15:59:14: MQTT publish: topic 'zigbee2mqtt/opple_6_buttons', payload '{"battery":100,"voltage":3113,"linkquality":99,"action":"button_6_single"}'
zigbee2mqtt:info  2020-05-02 15:59:14: MQTT publish: topic 'zigbee2mqtt/opple_6_buttons', payload '{"battery":100,"voltage":3113,"linkquality":99,"action":""}'
zigbee2mqtt:info  2020-05-02 15:59:14: MQTT publish: topic 'zigbee2mqtt/opple_6_buttons/action', payload 'button_6_single'

So apparently, the event “button_6_single” is sent two times in the mqtt topic.
I have put the value in config for homeassistant_legacy_triggers: false, thinking it would be related but sadly not.

My Zigbee2mqtt config :

data_path: /share/zigbee2mqtt
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://192.168.1.40:1883'
  user: *
  password: *
serial:
  port: /dev/ttyACM0
  disable_led: true
advanced:
  pan_id: 6754
  channel: 11
  network_key:
    - * .....
    - *
  availability_blacklist: []
ban: []
whitelist: []
queue: {}
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: false
homeassistant_legacy_triggers: false

Does someone have an idea ? Is it normal behaviour ? Or should I fine tune my automations in Node Red ?

Thank you !

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 105808

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>