Hi there,
i have a problem with Zigbee groups on my setup.
Environment:
No Ikea Gateway, just Zigbee2mqtt, mosquitto mqtt and HA
a.)
A few standalone Ikea lamps with Ikea remote (the round one with 5 keys)
b.)
One group of two Ikea lamps defined in zigbee2mqtt:
Groups:
'4':
friendly_name: Grp Kueche Deckenlampe
devices:
- 0x90fd9ffffe5a7e45/1
- 0x90fd9ffffe656f14/1
All lamps a capable to adjust brightness and colour temperature, no RGB
All lamps and the group are defined in ZigBee2mqtt. All lamps work completely in HA front end. Brightness. Color-Temperature. On/Off. Also the group when i use the HA frontend. Perfectly fine.
But: when I switch the Group on or off with the associated remote the lamp goes on / off but HA does not recognize that.
HA Group in lights.yaml:
- platform: mqtt
schema: json
name: ik Kueche Deckenleuchte Grp
command_topic: "z2m/Grp Kueche Deckenlampe/set"
state_topic: "z2m/Grp Kueche Deckenlampe"
color_temp: true
brightness: true
rgb: false
All standalone lamps synced fine when using their associated remote. But not the group.
I’ve tested with mqtt Explorer. The problem seems to be, that HA does not handle “Toggle” mqtt Event. When I send by the remote to mqtt.
This is what the zigbee2mqtt shows, when pressing on/off on the remote:
info MQTT publish: topic 'z2m/ik fb Kueche Deckenlampe/action', payload 'toggle'
If I send manually:
Topic
z2m/Grp Kueche Deckenlampe/set
Payload:
{"state":"ON"}
the group switches to on, HA recognize that and changes the state in the front end as expected.
What can I do to solve this?