[APP][Pro] SONOFF Zigbee

Hi Wim,

Sorry for my ignorence but I do not understand exactly what you mean.

Are you asking If I might have to ‘much’ devices connected?

For info. My wifi network is a Mesh network consisting out of 6 pieces of DECO M4 routers. One main network 2.4 and 5Ghz combined and the guest network is 2.4Ghz only. Most devices are also connected to Homey. None are wired to the router.

Devices are

  • 37 LSC lightbulbs/LCD Strips - 2.4Ghz connection
  • 8 Aqara Mini Switches - Zigbee
  • 2 Aqara Motion Sensors - Zigbee
  • Sonos Beam
  • TV box
  • Eufy doorbell
  • KAKU hub with 3 switches
  • Printer
  • and lots of mobiles/ tablets

Seeing your list of devices, I guess you do not have 220V powered zigbee devices like, for example the INNR smartplug or so. A zigbee network exists of a hub (like Homey) and a bunch of router devices. That are devices that pick up and extend the zigbee signal. I have about 15 INNR smart plugs that function as router devices. The zbmini does not have a neutral wire so it is regarded as a end device. Battery fed door/magnet sensors and temperature sensors etc. are end-devices too. They do not extend the zigbee signal.
You could use some cheap Ikea 220V lightbulbs or the INNR smartplugs. Any 220V zigbee device will function as a router for your zigbee network. So, long story short, you need a bunch of 220V powered router devices to build a solid zigbee network. Just ask Google,…

Hi Wim,

Concerning Pro 2019, I’ve discovered Ikea lights and Aqara sensors don’t mix → the sensors randomly stop reporting after a few days, only re-pairing them fixes it for a few days.
But, Ikea smart plugs mix with Aqara without problems.

In theory yes, but sorry, not on a Pro 2019. It’s a delicate trail and error journey. While zigbee is, unlike zwave, not 100% standard / compatible between different brands, even models (see Ikea example) . Manufacturers can and may give their zigbee implementation their own twist, with Tuya in the lead.
Probably hoping customers will stick with their products only.

But, on the other hand, on Home Assistant with a Sonoff zigbee dongle and Zigbee2MQTT, brands / models mix a lot better, so it’s also dependent of the used zigbee controller.

I hope brands / models mix better with the Pro 2023 zigbee controller than with the Pro 201x one.

Hi Peter, compared to you, I’m just a starter. You’ve got the experience!
Cheers,
Wim

1 Like

Thanks. All with trial and error Wim!

1 Like

I have tried the Lamp E14 and power socket from IKEA both do not connect.

  • I removed and reset the apps from IKEA.
  • Tried with Homey app directly.
  • I restarted Homey.
  • The devices are well within 5 centimeters of Homey.

Nothing works.

The connection is stuck in the instruction to set the device in connection mode.

Any suggestions which I can try?

P.s: I got a Pro (Early 2019)

Hi,

I bought the Motion Sensor - SNZB-03 today and added it. The motion alarm worked fine for a couple of hours, now the sensor has stopped responding the last two hours.

Restarted Homey, restarted the app, looked for a test version or an update - nothing helps.

Was thinking about if my Wifi is interfering with Zigbee. Wifi has channel 1 and Zigbee has channel 14 so there shouldn’t be a problem.

My Aqara motion sensors seem to work fine so it shouldn’t be a Zigbee problem either. Has anyone had the same problem?

Any channel that is better?
image

For the reference, it’s been hard to add Zigbee devices lately. Have to retry pairing for 2-4 times until they are added. This is happening after removing 10+ devices because the path showed a lot of “?'s” as NodeID’s.

I finally got it added back and you can see the motion alarm is working right after pairing:

image

Hi there.
You don’t mention what version of Homey you have but in general Homey Zigbee do not like when you add and remove a lot of units, this is since the Zigbee chip remembers the units and when the number of “memory slots” are filling up you will not be able to add new devices. If this happens in worst case you will have to reset the Zigbee network to free those slots. (By making a backup before, resetting the Zigbee network and then doing a full restore one do not have to add all the units again one a time… :slight_smile: )
Not saying this is your problem, just letting you know this is a scenario you might run into.

Also, do remember to add router (grid powered) devices before you start adding endpoint devices (battery powered), else your routing ability, and hence Zigbee reach, will be terrible.

Hi,

Thank you for the fast reply!

This is the 2019 version, waiting for the 2023 version :slight_smile:

I have daily backup sets of Homey. So it’s basically to use the button, “reset network” and re-install Homey with the latest backup?

About the “router” devices which is grid powered and the “end devices” that runs on batteri.
When you are building your network, you keep adding devices until you don’t. This means that I have to figure out when I have allthe devices I need, remove them all and add all the grid devices first. Shouldn’t it be able to move devices up or down the Zigbee tree so you don’t have to add them in that very order?

image

Hi again.
Yes, it’s that easy. :slight_smile:

Mmm, I wish there was a way to rearrange the nodes… the Zigbee network does this itself… but if the first 12 isch devices are not all routers you will run into issues later (if you only have less than say 20 devices you will be good… but with more units you will want the network setup in the best order).

So, I think maybe we have a problem here.

Total I had 37 units, but removed some of them so it left me with 25.
Only 6 of those devices are wired and 19 on battery.

Does this mean I have to remove 5 of them to get down to 20 units with so few wired?

Do you know if there is possible to rearrange the nodes in Homey 2023?

You should be good but it would not hurt with a few more wired ones among the first 20 connected directly to Homey.

No, 2023 does not add the ability to rearrange the Zigbee network.

1 Like

Hi again,

I have daily backups and I tried to reset the Zigbee network and a full restore.
This has not helped even if I have removed more battery devices.

At this moment, I am not able to add any new devices to my Zigbee network.

I have ordered a couple of Zigbee repeaters and for them to work properly I will have to start fresh and add all the wired devices first.

What can be the reason that Homey won’t add new devices? After 3 retries I get the message: “The Zigbee device stopped responding”.

Same here, i changed the temperature interval report and restart the app and homey but it doesn’t work

Hi

i have the new model Temp and humidity sensor SNZB-02P
Added it as generice device and interviewed it.


  "ids": {
    "modelId": "SNZB-02P",
    "manufacturerName": "eWeLink"
  },
  "endpoints": {
    "ieeeAddress": "84:ba:20:ff:fe:d4:67:72",
    "networkAddress": 879,
    "modelId": "SNZB-02P",
    "manufacturerName": "eWeLink",
    "swBuildId": "2.0.0",
    "capabilities": {
      "type": "Buffer",
      "data": [
        128
      ]
    },
    "endpointDescriptors": [
      {
        "status": "SUCCESS",
        "nwkAddrOfInterest": 879,
        "_reserved": 26,
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 770,
        "applicationDeviceVersion": 0,
        "_reserved1": 1,
        "inputClusters": [
          0,
          1,
          3,
          32,
          1026,
          1029,
          64599,
          64529
        ],
        "outputClusters": [
          25
        ]
      }
    ],
    "touchlinkGroupIds": [],
    "extendedEndpointDescriptors": {
      "1": {
        "clusters": {
          "basic": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "zclVersion",
                "value": 8,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "name": "appVersion",
                "value": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 3,
                "name": "hwVersion",
                "value": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 4,
                "name": "manufacturerName",
                "value": "eWeLink",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 5,
                "name": "modelId",
                "value": "SNZB-02P",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 6,
                "name": "dateCode",
                "value": "20230301",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 7,
                "name": "powerSource",
                "value": "battery",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 17,
                "name": "physicalEnv",
                "value": "Unspecified",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 16384,
                "name": "swBuildId",
                "value": "2.0.0",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 3,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ],
            "commandsGenerated": [],
            "commandsReceived": []
          },
          "powerConfiguration": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 33,
                "name": "batteryPercentageRemaining",
                "value": 200,
                "reportingConfiguration": {
                  "direction": "reported",
                  "attributeDataType": 32,
                  "minInterval": 1,
                  "maxInterval": 65534,
                  "minChange": 0,
                  "status": "SUCCESS"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ],
            "commandsGenerated": [],
            "commandsReceived": []
          },
          "identify": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 0,
                "name": "identifyTime",
                "value": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ],
            "commandsGenerated": [
              "identifyQuery.response"
            ],
            "commandsReceived": [
              "identify",
              "identifyQuery"
            ]
          },
          "pollControl": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 3,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 3,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ],
            "commandsGenerated": [
              0
            ],
            "commandsReceived": [
              0,
              1,
              2,
              3
            ]
          },
          "temperatureMeasurement": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "measuredValue",
                "value": 2590,
                "reportingConfiguration": {
                  "direction": "reported",
                  "attributeDataType": 41,
                  "minInterval": 1,
                  "maxInterval": 65534,
                  "minChange": 0,
                  "status": "SUCCESS"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "name": "minMeasuredValue",
                "value": -32768,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "name": "maxMeasuredValue",
                "value": -32768,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 3,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ],
            "commandsGenerated": [],
            "commandsReceived": []
          },
          "relativeHumidity": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "measuredValue",
                "value": 7020,
                "reportingConfiguration": {
                  "direction": "reported",
                  "attributeDataType": 33,
                  "minInterval": 1,
                  "maxInterval": 65534,
                  "minChange": 0,
                  "status": "SUCCESS"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "name": "minMeasuredValue",
                "value": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "name": "maxMeasuredValue",
                "value": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ],
            "commandsGenerated": [],
            "commandsReceived": []
          }
        },
        "bindings": {
          "ota": {}
        }
      }
    }
  }

Hello Johan,

I have this problem with my ZBMINIL2 getting hung after a while.
I have 4 of them in total, 3 are used in simple flows whereas the 4:th is not. Interestingly the 4:th is working fine whereas the 3 others are hung somehow, even though they seem to work fine from within the app or in https://my.homey.app/. First time this happened the only thing that worked was to remove and reinstall the Sonoff after that it has been working fine for 2 weeks, but now the problem is back.
Quite tedious having to open up all my installations and manuallt put them in paring mode one by one (and repairing the flows). I don’t think there is any coverage issue as when they do work they have no issue at all, besides one them have a router device less than a meter away and the other one is right next to the one the 4:th ZBMINIL2 that is working and also about 5m away from a routing device.
Seems almost like there is a finite no of time you can toggle the switches before they “hang” and before that it is working perfectly.

Created the following diagnostic report for how it looks right now: 820ea056-c1e9-4640-9425-45c5b9a1baa5

Let me know if there is any other info you would need!
Thanks for your support!!

After some more trouble shooting I saw that one of the supposed routing devices had ben switched to end device mysteriously. Removing adding it again in the APP made it a routing device again. That LBMINIL2 did have a routing device about 10-15m away but maybe that could be the problem there as the other one is less than 2m away. Repairing that one and now it works since a couple of days. The other 2 I did repair on as well and now they are working. I did add another routing device within 2m to those well. We will see if it is stable now or if the problem reappears. I would suspect the ZBMINIL2 more than the app though.

I’ve never heard of Zigbee devices doing that, so I think this is Homey getting confused.

I guess so no idea when it went from routing to end device. My real problem was that 3 out if 4 ZBMINIL2 stopped responding to commands, but in the APP they did seem to be switching on off, albeit with sporadic timeouts. None of those are very far from other routing devices, than the incorrect one. But now I have improved the situation with all of them within no more than 5m los to a routing device. I do suspect instability on the ZBMINIL2, but I have no way of telling. I suppose I would need to look into re-flashing the ZBMINIL2 if it continues or ask for replacement from the vendor.

I’ve read on a Home Assistant forum that the combination of the EFR32MG21 Zigbee controller chip (that Homey also uses) and the ZBMINIL2 might be problematic, especially if they are directly connected to the controller (as opposed to through a router device).

However, with the lack of routing information on Homey it’s impossible to say how your ZBMINIL2’s are being routed and if that might be the issue here.

I wonder if using the EFR32MG21 chip in Homey was a smart move, as it seems to be very much a work-in-progress still.