I’ve been using Homey Pro, the latest model I guess, for about 6 months. I’ve been adding different light switches, doorlocks, sensors, etc. and integrated with Ubiqiti Unifi managing garage doors, cameras and presence.
I’ve been going back and forth, flipping fuses and disconnecting outlets and “reversing” everything. Typically, when I flip on the fuse there’s like 3-4 outlets in the same room connecting at once. After everything powers on it takes a while before things start to work and sometimes it’s just really slow. I understand that the network needs some time to stabilize but I’m wondering if I’m hitting some kind of limit on Homey Zigbee network? Currently I have 54 Zigbee devices and 20 ot them connects directly to Homey. I can see that all of the Futurehome devices connects directly to Homey.
Is there a limit om Homey I’m hitting? Or are perhaps the new outlets just “too noisy”? Any suggestions on how to overcome this?
There is a Futurehome app available, but that one actually gives me less options. Using Tuyia app gives me a lot more options and seems to work fine.
Each Zigbee device that acts as a Zigbee router (typically mains powered devices) as wel as your Homey Pro itself has a certain amount of slots available for direct connections. However, the combination of router devices should allow for enough total slots to be available in order for devices to connect.
The main limit is how many Zigbee devices your Homey Pro can manage reliably. In this knowledge article Athom indicates that a Zigbee network of up to 100 devices should be fine.
So I think something else is going on in your case.
Some thoughts:
Since you indicate that all Futurehome devices connect directly to your Homey (not via another Zigbee device on the mesh): how far away do they reside from your Homey?
If you look at the number of messages sent from/to (TX/RX) Homey by those devices in the Zigbee section of the Homey Developer Tools, do you see abnormally high numbers there, compared to other Zigbee devices?
Was there any change in your WiFi 2.4 GHz network that could have introduced interference with the Zigbee network, e.g. change in WIFi channel?
Since mention that the Futurehome devices identify as Tuya devices, I am not sure to which Homey app they are connected (one of the Tuya apps or the brand specific app). There is a dedicated app for Futurehome devices: Futurehome | Homey.
I know the concept of routers and end devices and have been looking in the developer tools and the zigbee network. The Futurehome devices are in the next room to Homey, so it doesn’t surprise me that they connect directly.
The strange thing is really the instability that surfaced. I can “reset” the network and it works fine after a few minutes, the suddenly it freeze. It can take like 30 seconds for a device to respond after a command in the app. Makes no sense to me.
I AM aware of the Futurehome app, but it doesn’t have the required controls. It’s currently using The Tuya Zigbee ver. 0.3.3 app.
I don’t really know of any disturbance in the radio band. As mentioned I’m using Ubiquity for wifi and I have pretty good control over the channels. I will look into it again, but because it’s all been working fine until now, I don’t really think wifi interference is the issue.
“Suppose you notice Zigbee performance degrading after extending your network to more devices than the recommended limit. In that case, you are probably pushing the limits of the Zigbee network in your home.”
I’m wondering if this is what I’m experiencing? Is there any logging/debugging that can be used to get som more information?
I don’t think so. My own Zigbee network consists of 70+ devices and works fine.
Did you check my other questions?
There is no real logging available for end users on how your Zigbee network is operating. Athom might have more insights, but that requires you to create a support ticket with them, via Support | Homey.
86 Zigbee devices and stable network… the important thing is to make sure you have plenty of permanently mains powered router nodes (the device’s Advanced Settings page tells you if it’s a router or end device node).
It’s also important to note that you need to add new devices one at a time, and once a device is adopted successfully you can then move on to the next and power it up to add it. Also, Zigbee networks can take a little while to stabilise and sort their routing out, so be patient with it.
There are some Zigbee networks apps you can use to help diagnose possible problems, like:
Thy shallt never cut the power from a or from multiple zigbee / z-wave router(s), unless an electric malfunction needs to be fixed
Unpowering zigbee devices should be avoided at all times;
It can take quite some time for the mesh network to heal itself, depending on 2.4GHz interference, the number of different brands used, the signal range of the zigbee devices and obstacles (weaponed concrete walls/ceilings f.i.).
I don’t think your issues are related to too many devices, or Homey stressing out.
What I wrote about cutting power was necessary to debug - meaning reversing adding the new devices. I don’t usually power-cycle devices
I’ve gone through the zigbee troubleshooting guide and I’m now thinking about doing at network reset. I’m a bit confused about the procedure.
I understand the need for pairing all devices again and manually reset’ing devices and that’s manageable. But how do I pair one device at a time when all devices are on? This won’t cause a problem when all these devices are trying to connect to the coordinator that is no longer accepting connection?
And after all devices are back online, how do I restore my flows? What happens if i restore from backup? Do i need to wipe Homey first?
When pairing Zigbee devices, it is essential to only power on and then pair one device at a time. There is no other way to create a stable Zigbee network. If a device needs a repair running later on, that can be done while all existing paired devices are powered on and working. It is only the pair process that has to be done one device at a time.
If a Zigbee coordinator isn’t accepting connections, then the Zigbee network isn’t functioning. End devices and routers can’t function without the coordinator, it’s the brains of the operation.
You should always keep regular backups… Personally I use the Athom Cloud backup, the Flow Backup and the Flow Version History community apps from the app store… along with the occasional make my smart home dumb for an hour or so while using the USB Tool on a PC to create a full Homey backup image.
For repairing Flows after re-adding devices, there are scripts and apps available… search the forum and you will find lengthy topics on it.
This is an example app (though I’ve never needed it myself):
I won’t take any risks and accept the fact you’ll most probably lose all paired zigbee devices. Which is good, to start from scratch.
I wouldn’t restore a backup of the “old” state of Homey afterwards, you might restore the “crap” as well…
Before you proceed, fetch and save the ID of every zigbee device. You can use this Homeyscript:
// To find device IDs
const devices = await Homey.devices.getDevices();
console.log(`\nDevices overview`);
for (const device of Object.values(devices)) {
let listIDs = `${device.name}: ${device.id}`;
await tag('DeviceName+ID', listIDs );
log(listIDs);
// To show ALL of the device data, uncomment the next lime:
//log(device);
};
return true
After re-adding all Zigbee devices, they’ll have new, different IDs;
Now, by using the same script, you can fetch & save the new IDs.
Then it’ll be pretty straightforward to repair all flows with this neat app called Flow Converter by entering both the “old” device ID and the “new” device ID.
(I used the original script by @martijnpoppen and this app many times, it never failed me).
Start with pairing the routers which are mounted closest by, and then the routers mounted a few meters further, and so on. Don’t pair the devices by holding them close to Homey and then move them to their final mounting point; some zigbee devices tend to stick to their original route, even if there are routers in closer range.
When all powered zigbee devices are paired, start with the battery powered zigbee devices.
If you ‘splattered’ the routers devices throughout the home (max 3 to 4 meters in between), you’d be able to pair the battery powered zigbee devices on their actual location.
.
@Drako74 Andy, some overlap occurred, as we were writing around the same time
But…when you have multiple devices like wall switches and power outlets connected to the same circuit - how the heck do you power on “one at the time” ??
When adding the second device - I have to flip the fuse to actually install the device (or get electrocuted) causing the mesh to go down. Or - I can install all devices at once and pair one at a time? What would be preferred? I have like 15 different wall switches. That would basically mean I have to power off most of my house?
From what I’m reading, doing network reset basically kills everything on Zigbee and a restore doesn’t make much sense. I understand the script thing an manipulating the id’s with flows- I can probably get Claude to do that.
But this does not affect my non-zigbee devices? I have some WiFi and thread/matter devices and Unifi connection with garage openers and stuff? Will non zigbee survive?
Don’t your wall switches have a pair / reset button? I can’t imagine you’ll need to cut the power for each device.
Yes
EDIT:
all but zigbee and (Matter-over-)Thread devices will be unaffected.
This is caused by the fact Homey uses a shared chip for both Zigbee and Thread (very questionable design).
By only connecting them up one at a time. Once they are all setup, you shouldn’t need to do that again. Even if you end up needing to run a repair on them in the future, just reset and repair one at a time (that doesn’t require individually powering them up).
Yes, you can power down the circuit, once the device is paired, it should reconnect to your Homey when powered back on. It would be advisable to use an extension cord for Homey if the circuit you are powering down and up for socket install is the same one Homey is normally powered off. Constant rebooting would not be great for your Homey.
Resetting your Zigbee network will also reset your Thread network, as they use the same chip, antenna and channel. It is worth noting before you start, doing a WiFi channel scan with a mobile or PC WiFi analyser, to see which channels are least congested. You can’t directly choose the channel Zigbee and Thread use on your Homey, but you can do several resets until it picks a good one (that’s what I did) then just use the developer tools Zigbee page to see which channel it chose.
WiFi, Bluetooth, IR and RF 433MHz are unaffected (including Matter over WiFi devices).
The problem child is Apple HomeKit… if you have any HomeKit paired devices, resetting your Homey Zigbee and Thread radio also resets the Thread credentials, which Apple does not like… I had a “fun” afternoon trying to get that working properly again.
You could consider using a (much) better Zigbee implementation, like Zigbee2MQTT, where this isn’t an issue. The sad part is that the pair-one-device-at-a-time limitation isn’t even a technical limitation of Homey, but a limitation of the user interface, so it could have been solved years ago.
Many hubs I’ve used also support multi-pairing, I think the reason that Homey doesn’t is because each device is paired to a Homey app, and Homey doesn’t manage the commands to and from devices, the apps send the commands via Homey.
Hue, Innr, eWeLink (sonoff), ThirdReality, IKEA and Tuya support pairing multiple devices at once, KlikAanKlikUit (Trust Z1) and Homey don’t.
If you have a Hue bridge, you can also use that to pair your devices since it does allow pairing multiple devices at once. Hue supports most switches, smart plugs, lights and dimmers, even from other brands (as long as they follow the Zigbee specification). You can then add them to Homey via the official Hue app by Athom
The pairing process is handled by Homey’s core itself, not by the apps. Only after a device has been paired, and interviewed, is it “assigned” to an app.
Just to clarify: after a Zigbee reset (using the Reset Network button in the Zigbee section of the Homey Developer Tools) you don’t need to re-pair devices from scratch.
Instead, you need to repair them one at a time via the repair option in the device tile’s maintenance menu. As part of which you put the device in pairing mode. This also means that there is no need to update flows with new device IDs, as they remain the same.
Taking note of the current device IDs (either via the shared script or manually e.g. via the Device section in Homey Developer Tools) can be useful though if you ever have to restart from scratch and want to be able to fix your flows.
That leaves the issue of multiple devices entering pairing mode after the Zigbee reset and/or after a fuse cycle.
Some built-in wall switches will enter pairing mode when not yet paired with a coordinator and the fuse is switched on. However they typically end pairing mode after a certain time (check the manual). After which you need to press the button to enter pairing mode. So if your devices work that way, then either wait or disconnect them temporarily (yes that is a PITA…).
However, my experience after a Zigbee reset (with 70+ Zigbee devices in use): Homey does not send an unpair command to the Zigbee devices, like it would do if you would remove a Zigbee device.
As such, none of the Zigbee devices enter pairing mode after the Zigbee network reset. So after the reset, you put each device in pairing mode manually as part of the repair procedure.
For built-in wall switches (I have several SONOFF switches), depending on the model, if you are lucky (check the manual) you can trigger pairing mode via a repetitive sequence of switch on/off actions. If unlucky, you need to open the switch to access the pairing button, which can be quite a hassle. In my case that was only required for a few older switches.