[APP][Pro] Zigbee2MQTT - Use Zigbee devices via MQTT

@Ruurd_van_der_Noord many Thx 4 your donation! :folded_hands::heart:

1 Like

Hi,

Forgive me if this is my ignorance, but I have a 2 gang switch that is controlled via z2m, I wish to expose each rocker as separate devices. My understanding is that I create a group in z2m, with the endpoint selected, then add the group into homey.

The device itself has two endpoints, state_left and state_right but the group has one endpoint - state. (using MQTT Explorer, I changed the value to “OFF” and see its publishing “state”:”OFF” to the group topic)

When adding the group into homey - it seems to be loading the exposes from the device rather than from the group (so it sees two buttons) - so when I toggle through z2m directly it sets “state” to OFF or ON. But when toggling though homey its toggling “state_right” OFF which is causing a “z2m: No converter available for ‘state_right’ on ‘hall_right’: (“ON”)” error

hall_right = {“state”:“ON”}
set = {“state_right”:“OFF”}

Therefore fails.

Am I missing something? Or is there a better way to do what I am asking?

Hi @flubster

To me it sounds a bit peculiar when you’re ought to configure it with additional “group” settings or such;

Can you show it’s entries from the z2m device “Exposes” tab?
Like this one, a 3 - socket switch:

I am curious if it doesn’t show switch A and switch B by default, for example.

My 3 - socket switch (‘powerstrip B’) shows like this in MQTT Explorer:

New version 3.1.7 ready for testing:

  • Fix re-connect devices.
  • Fix translations.

New version 3.1.8 ready for testing: Zigbee2MQTT | Homey

  • Aad many flow cards for switches (Thx @dohun0310)
  • Add light transition duration support (Thx @march5350)
  • Log unmapped capabilities only once
  • Increase max devices to 1.000
  • Stability improvements
1 Like

@Jomaro Many Thx for your donation. Much appreciated! :smiling_face_with_three_hearts::clinking_beer_mugs: