Single (fully supported) device not adding to HomeAssistant

Hi all, I posted this as an issue on the zigbee2mqtt page but not getting any traction… so here is is verbatim - please help!

I have added a few more Nue switches to my setup, specifically these: ‘FNB56-ZSW02LX2.0’ the first 2 i added were fine and add to HA no worries. the 3rd adds to the zigbee network, shows up in the map but does not add to HA. I have since added other new devices to the network with no issues getting them to showup in HA.

The device is also reporting state change etc via zigbee2mqtt with no issues.

I have tried removing from the DB manually and rejoining with no luck.

Issue post is here: https://github.com/Koenkk/zigbee2mqtt/issues/1608

-Cam

Have you checked your mqtt broker with something like MQTT explorer to see if the device is listed there?

checked the Integrations page?
should show up under MQTT: configuration.yaml

when I ceck this site:


I cant see the FNB56

But you can use an static configuration on the switch you facing issues with instead of the auto discovery
like:

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    icon: "mdi:toggle-switch"
    value_template: "{{ value_json.click }}"

but just check the supported devices page for the right config for you.

Koenkk asked you Is this discovery payload also logged on startup?
what you posted is a status message not an discovery payload.
these looks like this:

Jun 24 14:11:21 i5 npm[639]: zigbee2mqtt:info 2019-6-24 14:11:21 MQTT publish: topic 'homeassistant/sensor/0x000b57fffe2d49f9/battery/config', payload '{"unit_of_measurement":"%","device_class":"battery","value_template":"{{ value_json.battery }}","state_topic":"zigbee2mqtt/kueche_ikea","json_attributes_topic":"zigbee2mqtt/kueche_ikea","name":"kueche_ikea_battery","unique_id":"0x000b57fffe2d49f9_battery_zigbee2mqtt","device":{"identifiers":"zigbee2mqtt_0x000b57fffe2d49f9","name":"kueche_ikea","sw_version":"Zigbee2mqtt 1.4.0","model":"TRADFRI wireless dimmer (ICTC-G-1)","manufacturer":"IKEA"},"availability_topic":"zigbee2mqtt/bridge/state"}'

Yep it is listed in the broker. Messages arrive at the broker from the device…it does not show in the integration page. Actually it does not show anywhere in HA.

I have another one of these switches that works perfectly…(exact same model number)

6/24/2019, 7:42:30 PM - info: MQTT publish: topic ‘zigbee2mqtt/0x00158d0002b7a667’, payload ‘{“state_top”:“ON”,“linkquality”:23}’

I assume that is what you mean?

Weird actually that it no longer has the bottom switch state

jea - thats the I'm not an discovery payload - Restart z2m - and while startup take a look thrue the logs.
Its meight be that the switch got an different firmware so an other converter could be needed.
(would explain why HA dont pick up a sensor)

Flip the bottom switch to get the payload again.


otherwise - why bother? Just use the MQTT payloads for the things you want to do.

automation:
  - alias: sz_schalter_eingang
    hide_entity: true
    initial_state: on
    trigger:
    - platform: mqtt
      topic: 'zigbee2mqtt/sz_schalter_eingang'
    condition:
      condition: or
      conditions:
        - condition: template
          value_template: "{{ 'left' == trigger.payload_json.click }}"
        - condition: template
          value_template: "{{ 'right' == trigger.payload_json.click }}"
        - condition: template
          value_template: "{{ 'both' == trigger.payload_json.click }}"
    action:
    - service: scene.turn_on
      data_template:
        entity_id: >-
          {%- set scene_map = {'left':'scene.sz_max',
                         'right':'scene.sz_lesen',
                              'both':'scene.sz_aus'} -%}
          {{ scene_map[trigger.payload_json.click] }}

was it listed under homeassistant, not zigbee2mqtt

I guess I could do it manually… but its bugging me that it doesn’t work.
I just rejoined and it was saying it was missing converters so maybe it is a different firmware like you say :\

The only place i can see mention of the device is in zigbee2mqtt, It never gets to HA.

That the thing Koenkk was asking you about - share the part with the missing convertor on your issue.

will do - cheers for working through with me :slight_smile:

1 Like

Then the issue is zigbee2mqtt not generating the autodiscovery and thats why its not in HA