Zigbee2mqtt: getting rid of your proprietary Zigbee bridges (Xiaomi, Hue, TRADFRI)

@ChrisR615 maximum call stack size exceeded is usually when you don’t have the right firmware. Please flash the latest (it shows updated 10 days ago) from stable.

Reflashed. Same result.

What’s the advantage of this vs just buying a elelabs zigbee usb stick or shield?

Thanks!!emphasized text

How many devices do you have?

@kiwijunglist see: https://www.reddit.com/r/homeassistant/comments/8qq4h4/hassio_addon_zigbee2mqtt_hassio/e0m5mxb/

Thanks.

I don’t see Yale locks listed. Will this support zigbee Yale locks?

@kiwijunglist if you have such locks you can help us support them. There is a guide on how to support new devices, and help is always offered when opening an issue.

1 Like

Ok thanks. I haven’t purchased my lock yet. I wonder if zigbee locks may use a more secure encrypted method?

Has a support to remove devices been added yet?

Support is there for a while: Check https://github.com/Koenkk/zigbee2mqtt/wiki/MQTT-topics-and-message-structure#zigbee2mqttbridgeconfigremove

Does the router firmware support different zigbee channel

If i set a channel in the config.yaml file i am unable to pair the router firmware devices, is the router firmware channel fixed?

keeping at the default channel i seem to get a fair bit of interference from wifi.

I missed this, thanks for the pointer.

Check this out: https://www.cnx-software.com/2018/07/05/nrf52840-usb-dongle-bluetooth-5-thread-zigbee-802-15-4-ant/

3 Likes

Just a quick shout to @scottdarby, received yesterday, installed last night with no major issues. Cheers mate :slight_smile:

Have got a Xiaomi square button, round button and door sensor all connected up so far.

3 Likes

If I pair sensor to Zigbee2mqtt will it unpair from Xiaomi Gateway?

Is it possible to pair device both to Xiaomi Gateway and Zigbee2mqtt?

If I use both Zigbee2mqtt and Xiaomi Gateway, will it work like mesh to extend range?

1 Like

If I pair sensor to Zigbee2mqtt will it unpair from Xiaomi Gateway?

Yes

Is it possible to pair device both to Xiaomi Gateway and Zigbee2mqtt?

No

If I use both Zigbee2mqtt and Xiaomi Gateway, will it work like mesh to extend range?

No

2 Likes

Just a quick one regarding door sensors/MQTT/automations.

Xiamoi working nicely for states but having issue firing off an event when the state is changed:

  - alias: Door Open - Light On Test
    trigger:
      platform: mqtt
      topic: 'zigbee2mqtt/xds1bedroom'
    condition:
      condition: template
      value_template: "{{ 'false' == trigger.payload_json.contact }}"
    action:
      service: light.toggle
      entity_id: light.bedside

I’ve tried:
value_template: "{{ 'false' == value_json.contact }}"
and
value_template: "{{ 'false' == value.payload_json.contact }}"
but cant seem to get this working.

This works fine for buttons:
value_template: "{{ 'single' == trigger.payload_json.click }}"
so modified it for the sensors using the payload info from the sensor:
topic: 'zigbee2mqtt/xds1bedroom', payload: '{"contact":true,"battery":"100.00","voltage":3045}'

Anyone using MQTT/door sensors to trigger events? New to the MQTT side of it!

For binary sensors it’s no problem. You can automate based on state. The problem only comes with buttons that are sensors. There is a need to patch mqtt component in Home Assistant to provide event triggering on messages received.

1 Like

HA identifies the door sensor as a binary sensor: binary_sensor.xds1bedroom so is it my syntax thats wrong?

here’s my automation code which uses an Xiamoi contact sensor and a wemo light both connected through zigbee2mqtt I also have some other conditions based on light level and motion.

- id: '1526613924124'
  alias: Garage Light On
  trigger:
  - entity_id: binary_sensor.contactsensor
    from: 'off'
    platform: state
    to: 'on'
  condition:
  - below: '5'
    condition: numeric_state
    entity_id: sensor.wirelesstag_garage_light
  - condition: state
    entity_id: sensor.aeotec_zw100_multisensor_6_burglar_2
    state: '0'
  - condition: state
    entity_id: light.0x94103ef6bf428aad
    state: 'off'
  action:
  - data:
      entity_id: light.0x94103ef6bf428aad
    service: light.turn_on
1 Like