My log of Zigbee2MQTT
info MQTT publish: topic 'zigbee2mqtt/3-button remote', payload '{"action":"1_single","linkquality":21}'
info MQTT publish: topic 'zigbee2mqtt/3-button remote', payload '{"action":"","linkquality":21}'
info MQTT publish: topic 'zigbee2mqtt/3-button remote/action', payload '1_single'
My automation:
- id: '1613205616972'
alias: Zigbee remote
description: ''
trigger:
- platform: mqtt
payload: '{"action":"1_single","linkquality":**}'
topic: zigbee2mqtt/3-button remote
condition: []
action:
- service: light.toggle
data: {}
entity_id: light.bulbs.kitchen
mode: single
As I’m not sure about the correct payload and topic syntax I tried many combinations but none of them works:
payload: '{“action”:“1_single”,“linkquality”:}’
payload: {“action”:“1_single”,“linkquality”:}
payload: “action”:“1_single”
payload: 1_single
topic: zigbee2mqtt/3-button remote
topic: 3-button remote
topic: 0x5c0272fffeda7232
0x5c0272fffeda7232 = IEEE address found in Zigbee2MQTT
The automation action is checked and works fine.
After every change I reloaded the automations under server control.
Can you see why this doesn’t work?