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

Factory reset the bulb and see if it connects.

1 Like

Ok Thanks

I figured that might work. I’ll give it a try.

Hey, i hope someone can help me. Sunday i installed an osram smart blub (AC03641) (OSRAM LIGHTIFY LED Classic A60 clear) and the light itself is working fine. It was easy to pair even if the reset function is horrible but thats nothing for here :smiley:

Here is my log that shows the problems: https://pastebin.com/yJhjpxuD

So my problemes/questions are:

  1. Why is every command send 2 times?
  2. The light is turned on again a few seconds after i sent the “off” command via service call.

Number 2. is the one that bothers me the most.

Well that kind of proves my point :stuck_out_tongue_winking_eye:

Can you post your relevant code etc, may be a retain issue.

I copied the code from the wiki https://github.com/Koenkk/zigbee2mqtt/wiki/Integrating-with-Home-Assistant#ac03641
I already tried to add “retain: true” but this didnt solve the problem

I understand that there is a minimum limit of 10 characters for a post on this forum so a “yes” or a “no” is too short to post but you sure spent an awful lot more characters than that in multiple posts blowing me a load of crap about asking a question to which the answer was “obvious” without actually even answering the original question.

Unless you don’t actually know the answer yourself…:thinking:

:wink:

2 Likes

Stop it please.

1 Like

I’ve added more routers (2x cc2531 + 2x xiaomi plugs), yet there is no mesh going on in my network.

digraph G { node[shape=record]; “0x00124b0014d9dfdf” [label=“{0x00124b0014d9dfdf|Coordinator|No model information available|online}”]; “0x00158d000232ac3f” [label=“{0x00158d000232ac3f|EndDevice|Xiaomi Aqara door & window contact sensor (MCCGQ11LM)|online}”]; “0x00158d000232ac3f” -> “0x00124b0014d9dfdf” [label=“68”] “0x00158d0001e52dee” [label=“{0x00158d0001e52dee|EndDevice|Xiaomi Aqara human body movement and illuminance sensor (RTCGQ11LM)|online}”]; “0x00158d0001e52dee” -> “0x00124b0014d9dfdf” [label=“62”] “0x00124b0012023169” [label=“{0x00124b0012023169|Router|Custom devices (DiY) CC2530 router (CC2530.ROUTER)|online}”]; “0x00124b0012023169” -> “0x00124b0014d9dfdf” [label=“10”] “0x00158d0002236ae8” [label=“{0x00158d0002236ae8|EndDevice|Xiaomi Aqara human body movement and illuminance sensor (RTCGQ11LM)|online}”]; “0x00158d0002236ae8” -> “0x00124b0014d9dfdf” [label=“51”] “0x00158d0001dc7526” [label=“{0x00158d0001dc7526|EndDevice|Xiaomi MiJia human body movement sensor (RTCGQ01LM)|online}”]; “0x00158d0001dc7526” -> “0x00124b0014d9dfdf” [label=“95”] “0x00158d0001d90a59” [label=“{0x00158d0001d90a59|EndDevice|Xiaomi MiJia human body movement sensor (RTCGQ01LM)|online}”]; “0x00158d0001d90a59” -> “0x00124b0014d9dfdf” [label=“55”] “0x00124b0012013c6e” [label=“{0x00124b0012013c6e|Router|Custom devices (DiY) CC2530 router (CC2530.ROUTER)|online}”]; “0x00158d0001f9e2e2” [label=“{0x00158d0001f9e2e2|EndDevice|Xiaomi MiJia door & window contact sensor (MCCGQ01LM)|online}”]; “0x00158d0001f9e2e2” -> “0x00124b0014d9dfdf” [label=“79”] “0x00158d0001a94c35” [label=“{0x00158d0001a94c35|EndDevice|Xiaomi MiJia door & window contact sensor (MCCGQ01LM)|online}”]; “0x00158d0001a94c35” -> “0x00124b0014d9dfdf” [label=“61”] “0x00158d0001b8624f” [label=“{0x00158d0001b8624f|EndDevice|Xiaomi MiJia door & window contact sensor (MCCGQ01LM)|online}”]; “0x00158d0001b8624f” -> “0x00124b0014d9dfdf” [label=“73”] “0x00158d00019fd731” [label=“{0x00158d00019fd731|EndDevice|Xiaomi MiJia door & window contact sensor (MCCGQ01LM)|online}”]; “0x00158d0001f38b1f” [label=“{0x00158d0001f38b1f|EndDevice|Xiaomi MiJia door & window contact sensor (MCCGQ01LM)|online}”]; “0x00158d0001e57659” [label=“{0x00158d0001e57659|EndDevice|Xiaomi Aqara human body movement and illuminance sensor (RTCGQ11LM)|online}”]; “0x00158d0001fd55d5” [label=“{0x00158d0001fd55d5|EndDevice|Xiaomi Aqara door & window contact sensor (MCCGQ11LM)|online}”]; “0x00158d0001fa9ac2” [label=“{0x00158d0001fa9ac2|EndDevice|Xiaomi Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)|online}”]; “0x00158d0001f52edb” [label=“{0x00158d0001f52edb|EndDevice|Xiaomi Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)|online}”]; “0x00158d0001f52edb” -> “0x00124b0014d9dfdf” [label=“63”] “0x00158d0001a4b1e4” [label=“{0x00158d0001a4b1e4|Router|Xiaomi Mi power plug ZigBee (ZNCZ02LM)|online}”]; “0x00158d0001a4b1e4” -> “0x00124b0014d9dfdf” [label=“55”] “0x00158d0001a65059” [label=“{0x00158d0001a65059|Router|Xiaomi Mi power plug ZigBee (ZNCZ02LM)|online}”]; “0x00158d0001a65059” -> “0x00124b0014d9dfdf” [label=“91”] }

link to the graph

everything is working fine, but a lot of the devices don’t connect to anything on the graph.

It’s more your own implementation of mqtt and how you’re triggering the devices. Often it just needs a second set of eyes to spot something that hours of staring at your screen misses.

I’m using hassio 0.83.3 with the mosquitto and zigbee2mqtt addon. Both up to date.
This is the mosquitto config:

{
  "logins": [
    {
      "username": "xxx",
      "password": "xxxx!"
    }
  ],
  "anonymous": true,
  "customize": {
    "active": false,
    "folder": "mosquitto"
  },
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "plain": true,
  "plain_websockets": false,
  "ssl": false,
  "ssl_websockets": false
}

This is the config for the zigbee2mqtt addon:

{
  "data_path": "/share/zigbee2mqtt",
  "homeassistant": true,
  "permit_join": false,
  "mqtt_base_topic": "zigbee2mqtt",
  "mqtt_server": "mqtt://homeassistant",
  "serial_port": "/dev/ttyACM0",
  "mqtt_user": "xxx",
  "mqtt_pass": "xxx"
}

This is the yaml code for the lamp:

- platform: "mqtt_json"
  state_topic: "zigbee2mqtt/0x7cb03eaa00ac34e2"
  availability_topic: "zigbee2mqtt/bridge/state"
  brightness: true
  command_topic: "zigbee2mqtt/0x7cb03eaa00ac34e2/set"
  name: Kitchen

I’m trying change the state with an dash button using the toggle event.
But it doesnt matter if i toggle the light or use the turn_off eventmanually in the web ui.
The command is send twice and after a few seconds the light turns on again.

Should i reset the blub and pair it again? Do i need to delete it before somewhere?

How would you connect an SMA connector to the CC2531 device?

I found some variations:

…where the center pin of the connector is connected with one of the trace on the board. The other pin on the connector (2 pin outside) is not necessary to connect?

Is my following idea wrong?

%24_32

I would cut the trace at the red line, and connect sma connector with two small wires as on the picture.

I’m in the same situation as you.

I have a cc2531 as coordinator and 4 routers (cc2530, two OSRAM Smart plugs and a Ikea plug). All of them are detected as routers but they don’t create a mesh or at least they don’t extend my zigbee range.

I’ve deleted all from the database added them again and the result is always the same. This is getting frustrating.

Do all of your devices connect on the map some of my devices don’t have arrows connecting them to anything else on the map. These devices work fine so I think maybe the map publish command doesn’t show the mesh correctly rather than there being a problem with the mesh.

I haven’t set up my zigbee2mqtt yet, but can anyone tell me if a xiaomi smart plug works as a router in a Z2M environment? From the pictures on the Z2M wiki I think it is a ZNCZ02LM.

The Xiaomi zigbee wall plug is detected as a router.

1 Like

Hey,

How did you pair your OSRAM light strips to Zigbee2mqtt? I don’t see any buttons on the device to initiate the pair.

It should say how to do it in the instructions that came with but Osram stuff normally goes into straight into pairing mode the first time you turn it on. Repairing involves turn them on and off a number of times at set intervals.

Not aware of anything with a plug attached that doesn’t work as a router, been discussed a few times above.

hmm. maybe I bought the wrong one?