diyhue / diyHue

Main diyHue software repo
https://diyhue.org/
Other
1.52k stars 274 forks source link

Support of ZBMini #1000

Open eporsche opened 4 months ago

eporsche commented 4 months ago

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.

eporsche commented 4 months ago

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
eporsche commented 4 months ago

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?

eporsche commented 4 months ago

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