diyhue/diyHue

Support of ZBMini

eporsche opened this issue · 3 comments

I have a question regarding smart switches like the ZBmini and iCasa. Those are published via zigbee2mqtt to another topic than /homeassistant . Instead they are published to zigbee2mqtt/FRIENDLY_NAME/set
(https://www.zigbee2mqtt.io/devices/ZBMINI.html)

Is there a way I can add those to diyhue, too? Other than running and connecting my old HueBridge. I tried to connect to emulated hue of home assistant, but this didnt work.

Can be closed -
The homeassistant integration did the trick - in combination with a light template entity for the switch:

light:
  - platform: template
    lights:
      lamp_light:
        friendly_name: "Lamp"
        value_template: "{{ is_state('switch.lamp', 'on') }}"
        turn_on:
          service: switch.turn_on
          entity_id: switch.lamp
        turn_off:
          service: switch.turn_off
          entity_id: switch.lamp

One question in gerneral - home assistant is correctly reflecting the state of the light (on or off) when I hit the rocker switch on the wall. However diyHue is not picking up the updated state. What could be the problem here?

Found this: https://github.com/diyhue/diyHue/issues/883
Have to rollback to Hue Bridge for now. This is a blocker unfortunately.