Thanks for pointing out, that's important WHERE you start to pair your devices in your house. I did the exact same mistake, you described in your video: Paired all the battery devices near my router, and got the same problem: router is overloaded, connections are weak. I hoped, the mesh would heal = rearrange itself. But no, it didn't. Have to repair the mesh, by re-pair the devices (ba-dum-tss). Watched this video the 5th time or so. You can always learn a bit more. Again: Thank you
All my lights are named after stars, buttons after energies and sensors are particles. I also named my computers, usb-sticks andnetwork devices to create an eco-system. Itks never easy to remember regardsless so trying to implement labels and descriptions now. I'd love to hear about how others are organizing things like this :)
Another thing that might marginally improve your network is pointing all external antennas straight up: Ideally all the antennas on your devices should be pointed the same way (being it upright, flat to the ground or at an angle) to avoid polarization issues, but since most devices will probably have hidden internal antennas that isn't really an option. The next best thing is point external antenna on rounters and hubs up, that way their "donut-shaped" propagation field will be flat to the ground and cover more space horizontaly than vertically (which is what you probably want unless you live in a tower 😁). This is probably a lot less important for a mesh network like ZigBee than it is to mostly point-to-point networks like WiFi, but if you are trying to get the absolute best out of your setup it might still be worth it.
Another way of getting rid of the radio "noise" of a Raspberry Pi or other SoC computer or PC (instand of an extension cable) is using a Zigbee-to-Ethernet or Zigbee-to-WLAN gateway like the ZigStar Gateway. This way you can place the Zigbee coordinator (nearly) anywhere in your house (e.g. in the centre), independent where your "server" is located.
@@HomeAutomationGuy ZigStarGW works with Zigbee2MQTT and ZHA, and the UART-to-TCP/IP (or UDP??) driver should run fine on a Raspberry Pi, it's standard Linux. It's just replacing the USB part of the USB-STICK... (the ZigStarGW developer works on supporting Thread/Matter as well, but without an, announced timeline). I have around 90 zigbee devices connected, with around 10 of those are router capable devices.
Had the same issue, changed to the sonoff stick and got rid of zigbee2mqtt to the direct HA integration. This solved all issue and the management in HA is much better and the sensor are much faster now.
I have a google spreadsheet with each device name, reserved IP, mac address, and human-readable comments detailing where it is and what it is. Helps a ton.
I want to thank you for all of the very professional videos you have made. I have watched about half so far. I want to praise you for the level of detail and your delivery manner. I have learned a lot more watching your videos than I have of other peoples videos on the same subjects. I seldom have to stop and go back to replay what you said. I wonder if maybe your day job involves technical training. In any case each of your videos provide useful information in a very useful manner. Thank you. I will now continue watching the rest of your videos before re-watching and implementing the ones that are most important to me. Thanks again.
Thank you so much for your kind words David! I'm actually a Product Manager by day, so I have to translate requirements between customers, senior business leaders and engineers which I think has helped me find the right level of detail to explain a concept without overwhelming people. I get some criticism from other viewers that my videos are not technical enough - but my goal is to help people who aren't necesarily software developers or engineers get the benefits that were previously only available to people who could write code.
Very good summary. Thank you. I want to ask you something. For the wifi network you can extend a network with multiple access point. The signal can pass through 3 different access point to reach the final client. But it is not recommended. One modem and one access point is ideal. How about zigbee network. Can a signal pass from one switch to another continiously 3-4 times. Is it technically possible and is it recommended?
One thing i have done is to give different areas of the house differen names, like east par, west, base part etc. Then i assosiate rooms in this area to this area. Which makes it much easier to know where the sensors are "living" It makes it much easier when labeling both cable, sensors, even the fusebox get an easier labeling.
Hey, another tip. If you use an SSD with a ZigBee coordinator on your Pi, even with an extension cable you may suffer interferences. The fix? Do not use USB3.0 ports on the Pi for your SSD. It's a shame, but once the SSD is on 2.0, ZigBee works like a charm. I took months to discover this.
@@HomeAutomationGuy Well, USB 3.0 does interfere with 2.4 GHz radios, not just Zigbee, but WLAN as well. Using an unshielded USB extension cable on a USB 3.0 port of a WLAN access point can render the whole 2.4 GHz WLAN unusable...
I just went through rebuilding my network after it failed miserably. I used the chance to migrate to skyconnect from a HUBZ combo stick. Two things I learned. 1) as you say - pair in situ. I realized this was an issue after pairing a couple water sensors in my office then taking them to the basement. Second was, watch for failed routers. Turns out, I'd moved offices and the automated lights in the old office were key routers in the network (sitting very close to the coordinator) and they'd been powered off when the automation failed. Check the network diagram regularly for similar devices. Thanks for this!
Some Zigbee lights may not act as routers. I use Sengled E21-N1EA bulbs (which are great, have good colors, and decently priced) but they do NOT act as routers. Per Sengled's support page: Our engineers made this distinction as repeaters require constant power, but people still tend to power off their bulbs with wall switches when leaving a room. With no power to the repeater, other end devices may disconnect.
Thank you for mentioning this. I planned on using Singled bulbs specifically to be zigbee repeaters and didn't think to think that this functionality could be disabled.
@@RConradBane In their defense, I don't think it is a bad thing. If a light gets turned off, then your zigbee network may not function properly. I bought a couple cheap zigbee plugs just to use as repeaters. $20 for 2. Amazon ASIN: B08K45W4LR. They work great. Recently, I plugged in the chargers to Fire tablets that I use as Home Assistant dashboards. I set up an automation that only charges the tablets when needed and turns off the charger when it is not.
Really like the way you share your ideas and also get into the relevant details so people can replicate. Not just "I put these 2 together and it works fine". I am starting with zigbee and you have been enormously helpful, thanks!
I had about 30 devices with a CC2531 with several CC2531 as routers, with bulbs. worked great for well over a year. only reason I changed as I like to play around :) Note, I made sure that WiFi channels were far away from my Zigbee channel.
I use mostly Zwave devices to avoid the 2.4Mhz congestion. I live in a city and have a lot of 2.4Mhz noise from my neighbors. But some of my devices are WiFi or Zigbee. I noticed that my Zwave network has a better penetration in this noisy environment. I also noticed the same problem with not having a good naming convention. I now use something like light.livingroom_ceiling_dinnertable . But noticed that I need more and more rooms to divide the house more as the number of devices grows. For instance the storage closet in my living room became an other room.
I've heard that about Z-Wave devices, but I've never personally used them so have no opinions myself. I started off with Philips Hue back in the day, and naturally gravitated towards Zigbee so I could reuse my bulbs. Once you get that Home Automation bug it is hard to stop buying devices isn't it!
Yes, I use my personal conventional names and it’s something like this: room - entity type - specific entity. So, for example my ikea lersta lamp I’m the living room is: living room - light - ikea lersta!
Most modern day routers, especially those with mesh, will incorporate 'band steering' and ensure a particular channel is not congested. My HA machine and Zigbee Coordinator are literally right next to my router and it has no issues.
Always use a naming convention from the start. You don't have to spend hours coming up with one, but a general rule of thumb is that from left to right you should have most significant info to least significant info. So for bulbs that would amount to "house-room-bulb_type-number" or something like that. Being lazy at the start will always hurt later on, especially if your family doesn't want a day of down time for the house. Question: Is there any utility to inspect how the Zigbee mesh network is performing or established. Can you actually see what device communicates through what other devices in order to get to the coordinator/hub?
"Being lazy at the start" is unfortunately my standard operating method for home projects, as half of them never go anywhere... Yes there is a way to view your network! If you're using Zigbee2MQTT you can use the Map feature in the top menu. In the ZHA integration you can go to the Visualisation option at the top. Both give you a diagram of your mesh network so you can see which devices communicate with what.
Good point. I chose single letter (D = dimmer, S = switch etc, then added a simple serial number. Routing can be shown in the Zigbee2mqtt frontend. Slow, but infinitely cool B-)
i used a similar convention - ABXY99 where AB is two character for room name such as LR for Living Room, XY is device class such as WB for white bulb or cb for color bulb and then a number. for echo devices across house, I have just given them phonetic names - alpha, bravo, charlie (except echo)
@@mayankraichura that’s like coders in the 80s worked. I encourage people to use more speaking names in programming. But if you are fine with it go with it. Long names don’t cost an extra fee but help in the long run. I don’t understand what I’ve coded some month ago with such short names. And I am a computer scientists for 20 years now 😂
Watching this and having read through the community forums and these comments, there's an idea out there that the network would "Heal" itself to better connections. That has not been my experience, and I hope by repairing with that 22-devices in mind helps me spread my mesh network better. I only have a few random lights that don't always cooperate, but it'll be nice to have them be as stable as I would have expected by now. And now, to plan a weekend of re-pairing and fixing automations. hopefully my naming stays the same and I won't need to re-do too many automations.
This video could not have been better timed. The last couple days my Zigbee network has really been so iffy, only having one device attached to the coordinator today with the rest falling off, desipte having zigbee light bulbs in every (relatively small) room. Like yourself and many others consistency is key, having the cc2531 I have treated myself to the sonoff plus. Thank you, I always look forward to your videos.
My devices are named via each room/location, what it is and then any additional information, eg. bedroom_light_main, bedside_light_right, bedroom_motion_away, bedroom_motion_home. I prefer to define the room so it can be quickly found as the device/entity, the device is obviously important and the function that it serves.
I started with SmartThings. it has zigbee and zwave. the first couple years in this house had issues. devices dropping off network, ect. First I moved the SmartThings from the basement to the middle floor, middle of home. This helped alot. 2nd, I stopped cheaping out on batteries. Cheap batteries would die before low battery warning, or just have poor performance. Energizer batteries have been running for 2 years.
wifi 2.4ghz can only use 3 non-overlapping channels. 1, 6, 11. If you designate 11 for zigbee, you can only use 1 and 6 for your APs. this isn't a problem if you only have 1 or 2. if you have 3, then you will need to use the same channel for 2 APs. just make sure they are the ones that are furthest apart and/or won't overlap. if you use any other channels, you will have overlap, crosstalk/noise and it will impact the performance of your wifi.
Do keep in mind that ZigBee channel numbers and WiFi channel numbers do not correspond, at all. Look at the channels visualization shown in the video. For example, ZigBee channel 11 is in (overlaps with) WiFi channel 1, not WiFi channel 11.
I thankfully had a naming convention for my devices from day 1 thats noramally room Room - Device e.g. Bedroom - Motion Sensor and if there was more then one type of that device in the room like 2 lights it was Bedroom - Light (Bed) and Bedroom - Light (Door) so Id always know what they are my automations follow the same principle of Room - what it is or for Alexa actionable notification AAN - what it does - Pt1 etc.
This was great insight. I have 55 zigbee devices where 2/3 are wired and serve as routers and I’m using the ZBDongle-E. Are you using the ZBDongle-P? I did check that the channel used doesn’t overlap with wifi but haven’t really planned routes or gotten my antenna away from my Wifi router. Guess I’m spending a weekend improving my network.
Thanks for this. Turns out I made almost all of the same mistakes. Putting my Zigbee USB stick on a USB extension cable alone made a pretty big difference. I've also been pairing my devices near the coordinator and moving them, assuming the Zigbee mesh network was smart enough to pair with the closest / strongest signal instead of the original pairing device. 😑
Great video thanks. As for naming conventions I go for this and find it knocks it out the park {Area}_{device type}_{description} For example for some bedside lights Bedroom_main_light_bedside_wife Bedroom_main_llght_bedside_me Bedroom_{oldest}_light_bedside Bedroom_{youngest}_light_bedside For motion sensors Kitchen_sensor_motion Hallway_sensor_motion Outdoor_front_sensor_motion Outdoor_rear_sensor_motion You probably get the idea at this stage. The main point though is that areas are the first part as they are the biggest thing to group by. And there are similar areas which may also need to be grouped (bedrooms/outdoor) so prioritising those at the start is also important. Then grouping by device type makes it very easy to drill into the next stage. It's not good enough to rely on the home assistant domain (light/switch/etc) as this may not be true. E.g. a smart light switch would appear as a switch but is effectively a smart light. Next is the descriptor. Again fairly generic and avoiding physical device references (at some point they may be upgraded after all). It's also important to make sure to prioritise any further grouping should that be needed... E.g. if you have device in wardrobes, stick a wardrobe reference in first. Lastly, abbreviations are useful but it's VERY easy to overkill in this area and you may go too far and need to expand out later. And/or forget what the reference is in relation to. Personally I just don't bother as I have yet to see any advantage in abbreviating. There's enough auto completes to prevent a full type and I'm much more likely to need to revisit what on earth ORL relates to (outdoor rear light) 6 months in the future when I need to change things. There's an argument for not needing this level of complexity with naming conventions as you can add areas to device and domains exist to take the hassle out of that. But domains may not be an accurate reflection (as previously mentioned) and areas are no use when using something like NodeRED which will just give a list of all device in a domain.
Being very new to home automation, but a long time data engineer, I also chose to use a big-to-small, left-to-right hierarchical naming convention. But I chose {deviceType}_{area}_{description}. Don't have the experience yet to know which is the better top level choice. Also decided on full words (no abbrev) in camelCase for all three sections, and that the area name is an exact match to one of the Hub's room names. Time will tell. Are there any times you wished you used device type as the top level?
Great video! I use a CP2652 coordinator that is ethernet based. This is pretty nice since restarting Home Assistant doesn't impact the coordinator... (and if necessary I could power cycle the coordinator separately although I've never had to do that.) I do regret not getting a coordinator based on the EFP32 which has slightly more capacity, but fortunately I still have headroom under the CP2652 and will probably be fine for a few years.
@@AhmadYusuf85 ethernet coordinators work fine with Z2M. I use the one from Tubes, (just search for "tubes zigbee", my previous reply with the link apparently got removed. The creator of that device uses Z2M himself so it's very well tested.
@@csilvCorp Thanks for the reply, I was under the impression that Z2M only works with devices that are physically connected to the host machine, hence it doesn't work with Wifi cooridnators like the Sonoff Zigbee Bridge for example. The reason is that in the Z2M , we add the path to the physical device like /dev/ttyACM0, but if it's Wifi / Ethernet, how to you add it?
Hi thank you for this video! Is it possible to connect zigbee 3 devices (using the cc2652 coordinator* ) to Alexa or Alexa echo directly using a zigbee 3 coordinator like this without having to pair them using Tuya or Smart life app? I’m in need of a 12v DC 10A (or a sow as 5A ) relay to turn some devices on/off in my SUV. Having a hard time finding a simple solution. I’d love something Homekit compatible but would go the Alexa route too! Thanks!
this was great thanks, I'm at around 120 devices on my network and really starting to get some issues now. I don't like it but I going to repair the whole thing when my new unify APs come in. Thanks again
Question: In one of your videos you mentioned the wifi mesh routers/ access points that you use, but I can't find that video. Could you please tell us what you use? I'm setting up a new home & upstairs has wifi reception issues, and I would love to know what you use for wifi. Thank you 🙏
I found no need to put my ZigBee stick on an extension cord. If I leave it directly in the USB port, connect an external antenna with a cable and put it on top of my network rack, I get literally the same improvement. This has the huge advantage of a screw in connector and much cleaner cable management. :-)
Nice video's. Still far behind you. I have significant problems with Sonoff Zigbee products. They disconnect, especially the door and window detectors. Motion detectors which are close to my hub (3 meters) Another motion detector at 6 meters disconnects. I have a Sonoff wifi HUB connected to Ewelink So if I read your advice. Maybe I should move my 2.4 GHZ wifi network to some other channel (a higher one). And try to figure out which channels the sonoff hub works on ? Or should I ditch Sonoff Zigbee alltogether for TUYA which seems to be recommended everywhere ?
I'm planning to use 3 hue bridge (as I have a lot of hue devices on all those areas) : 1 for all the lights outdoor 1 for ground floor 1 for 1st floor. I have also sonoff P dongle. My first hue hub is on canal 20 the second on 25 the third will be on 15. All other equipment not compatible with the hue bridge (such as door sensor, smoke sensor,..) will be connected directly to home assistant with the sonoff . Do you recommend to use different canal for all 4 of them ? Or the same canal ? And if so, for the sonof to have a signal powerfull enough to cover the all house what would you recommend then ?
For the moment I try to do naming as 'location, (room) fixture (lamp? ceiling light? plug? Motion sensor) and then either a number for which bulb in a multi-bulb fixture like a chandelier, or a directions for which fixture if there are more than one, (North,South,NW, North Left, etc.) If I'm having trouble with a device I can find it quicly this wey. Annoying are the devices that I name like this, but the entities within the device have the manufacturer label information on them, named by zha. Naming isn't the major problem I'm running into though, but that's another issue.
Excellent tips, thanks I am soon going to start setting up my Zigbee network in a house i bought last year. One thing I am having issues with, is binding from the web site in Zigbee2MQTT. Do you have any videos about this? I would like a Philips Hue Motionsensor to turn on light, even if the zigbee2mqtt server is offline. (Or more specifically my wife wants it ;) )
I keep my naming simple. Obviously I break down my house by rooms, therefore I have lights.family_room, motion_family_room, and etc. If there is more than one device, like lights, I just add a number behind the name (lights.family_room2). For my automations, I try to keep the names simple. [device][when automation fires][on/off]. For lights it would be Lights AM On or Lights AM Off. Might not be the fanciest naming system but it works for my Home Assistant setup.
The unplugging and repluggging the USB dongle was an issue for myself. Every now and again the LED on the dongle would just turn off. But I found in my Windows Device manager there was a USB sleep mode deep in the driver info... It was selected by default. That fixed me.
How do you set the ZigBee devices channels? Mainly if you use ZHA. Do you need to drop ZHA and use MQTT in HA? Also, at the same time, how do you pass from three channels to two channels on your router setting? Do you have a video for this? Thank you.
The problem I have is that other than my main Zigby network , I have two other private Zigby networks at my location. One for my Drayton wiser central heating system., the other I believe is my electric and gas smart metres. I have no way of knowing what channels these are on as I can’t find a Zigby scanner/analyser like the Wi-Fi one you demoed in your video. Any ideas? 🤔
Thanks for the great video. How does the Sonoff Zigbee bridge fit into the network? Is it a router? Can it replace the coordinator? Is it useful? Thanks again.
I'm not sure it works that well with Home Assistant, but I've not used it personally. There's some information here in the community forums community.home-assistant.io/t/sonoff-zigbee-bridge-tasmota-vs-ewelink-add-on/353824/7
What's the smartphone WiFi analyser app that you show at 7:10? Systems like WiPry cost upward of £600 so are not really within the realm of hobbyists. Is this a cheaper one?
I have the Sonoff USB 3.0 Dongle Plus set up with Zigbee2MQTT in Home Assistant, and I'm trying to find out where I can find the Wifi channel information for the device?? Any clue? Thanks, in advance and thanks for the great information on Zigbee networks! ~Frank
@@HomeAutomationGuy Ah, yes!! Thank you!! I hadn't snooped in that far yet. I was actually wondering why the dongle doesn't show up in my devices list, but this answers that question, as well. Thanks again ~Frank
Is it really necessary to build the network in order to create optimal mesh routing? I have done this but when looking at the zigbee map it doesn't always choose its nearest neighbour. I also read that mesh networks self heal over time and should find the optimal path.
Does the order in which you connect devices really matter? Does the coordinator determine the path of the network? I have seen other videos where people pair through a specific device (a setting in ZHA), but the end device doesn’t remain paid to that specific device it seems to move randomly
I'm not 100% sure what benefit pairing the device through a specific router provides - I just always try and pair the device closest to where I'm going to be using it.
hey great video, i am planning follow your tips in hope of stabilizing my ZHA network, but one quick doubt, I should go with Zigbee channel 11 and all my wifi AP's set to channels 7-13 (i am using unifi as well)? OR can i use channel 25 for zigbee and limit all my ap's to 1-6 channels? i heard that channel 25 zigbee has lower power transmission rates in US(not sure and hoping its not a problem for me in Singapore), I am also planning to migrate over to Zigbee2Mqtt from ZHA and repair all the devices? are my choices good and would it help me from slow automations and failing zigbee devices? any help is greatly appreciated, thanks you so much!!
My entity ID is type.room_placement/device, then I name it placement/device. Ex. Entity ID is switch.kitchen_airfryer and name is just “Airfryer”. Entity ID is light.basement_storage and name is just “Storage”. It makes it easier when creating automations based on rooms. I used to do light.basement_storagelight “Basement Storage Light” but I found I would group it in Lovelace under basement, and it’s icon would be a lightbulb so Basement and light were redundant. Also when automating the type makes adding light at the end redundant as well.
@@HomeAutomationGuy that’s true. I don’t have more than 15 devices so I know what each one is. Maybe the type would be helpful in the name for more devices.
I wish I had an answer to that! I have a backup of my Zigbee config and a spare USB dongle in case of a failure. It's not high availability, but at least I can get it back up and running soon
What light bulbs do you use as ZigBee repeaters? Because I can't find anything but Philips brand or some Sylvania brand lights... Same situation goes for ZigBee light switched, a company called Enbrighten making fortune every time they are selling these bulbs
Great info, I've usually always stuck with z-wave because it is it's own network with it's own freq. However I am starting to build out a zigbee network starting with moving my Philips Hue stuff over to the zigbee dongle. My question which either was not covered or not very clear to me. How do I check the channel my zigbee stick is running on? And how would you recommend changing the channel if I needed to? I have a Home Assistant Blue with the Nortek z-wave/zigbee usb dongle connected to it. Thanks!
Is it really the case that the sequence that devices are added is THAT significant?? I.e. if I add a device that is at the extreme range from a repeater, if then add a new repeater between them. It won't help with those two? I'd have imagined it would broadcast on the 'network' and they'd both relay the pertinent details.
What you have described with adding repeaters between them will definitely work. The network will re-route and rebalance itself automatically. BUT if you are first setting up your network, and you put your coordinator in the basement and then go several rooms away to pair your first device, it may have trouble finding the network to join and you might get stability problems initially. It becomes far less of a problem once you have an establised network.
Thanks for the video! I paired my devices without plan too. I think, they rearrange their connections when being moved. You are sure this is wrong? I’m using ioBroker and the Zigbee adapter shows the connections. I will figure out.
A lot of the time the Zigbee network will figure itself out and re-route the signal, but I personally have had problems with it and just had better results pairing the devices in the place I intend to use them.
Presumably zigbee light bulbs only act as routers when they have power. Most of my lights are already controlled by (WiFi) smart wall switches, which have the advantage that they can still be used manually if the WiFi fails. To use a bulb as router I guess it has to have power on all the time, so the light can only be controlled over zigbee? I'll try zigbee plugs instead.
Hey I am doing an assesment at university and I just want to know if a zigbee network costs the same as wifi network do you have any resources?kind regards
Hi. Im new to setting up the zigbee mesh network, i have two questions. One: did you let each router device pair automatically to the coordinator or did you pair each additional router device to the closest router device. Two: did you for the child device force them to pair with the closest router device or let them pair automatically.
You didn't mention Lutron Caseta ClearConnect which uses 434 MHz frequency. You said you were using Aqara child devices. Does that mean you are pairing them with an Aqara Hub? If so, how do you set the Zigbee frequency used on the Aqara Hubs?
Lutron isn't that popular here in Europe so I've not come across them much. I pair my Aqara (and other brand) Zigbee devices directly with Home Assistant using a USB Zigbee dongle, that way I don't need to use their hub and I can have more control over the network.
Hi, are you using Philips hue bridge for your lights ? Or a do you use zigbee2mqtt/ZHA for that? I have so many hue lights that i need 2 hubs (philips hue), so I was thinking to build a need zigbee network using zigbee2mqtt. Or is it best to use hue bridge for the lights ?
When it comes to pairing devices on the spot where it is going to be used. When a node select a router, will this router be where it sends traffic forever? If that is the case you should re-pair devices everytime you move them to a new location.
I usually re-pair them by holding down the pairing button when I move a device. It *should* re-balance itself and talk to a different router if it finds a better path to the coordinator, but in my experience this sometimes takes a while or does not work at all.
@@HomeAutomationGuy Awsome! But to understand this fully. For this I need to deconnect them completely from the HueBridge and give up the functionality from the HueApp (HueSync, ...)?
@@photelegy If you want to use them directly with Home Assistant and other company Zigbee devices - yes. But if you're using only Hue Zigbee equipment in your house then I would just keep them all in the HueBridge and connect it to Home Assistant using the Hue integration.
Is it possible to force devices to connect to the newly enabled routers. I have a few devices that are still stuck talking to the coordinator when they can be talking to a router much closer to them. Thank you.
Thanks. regardless of HA and it's usb coordinator which Chine's ZigBee hub do you recommend for ZigBee little module's that install behind the switch's ?
Besides lights are there any other recommendations for good low cost repeaters? I don’t have a need for lights with Zigbee so would appreciate any other solutions to extend a network
IKEA sell some actual repeaters that plug into a normal socket. I've had mixed experiences with them, as it seems not all devices are able to repeat through them. I'm sure you'll find some reviews on them on UA-cam though
@@HomeAutomationGuy thanks for the pointer. I've also heard mixed reviews so I'm going to give the SONOFF S31 smart plug for $10 US and see how it works. By the way please keep up the great work. You have a lot of great content and I watch all of your videos and have used many of your tips.
I may sound stupid. but please clarify. I have a sonoff zigbee bridge and lot of zigbee battery powered sensors n switches. How does the dongle work in my case. Should I just buy zigbee 3.0 dongle from sonoff and place it in farthest room where my sensors are not working currently? Can I plug the zigbee dongle to any USB power? PS: i don't use home assistant.
Naming can be such a pain. I have a 5500 sq foot historic home that has all hue bulbs in every fixture whether they be built in fixtures such as chandeliers or non permanent such as table lamps. I use mine all connected through z2m as well. With over 300 devices I had very similar issues until I optimized my UniFi networks to not interfere with the signer chanel I utilize. I name my based on room and device then bulb number. For example I have light.living_room_tiffany_lamp_bottom_1 This identifies it as living room being the room then Tiffany lamp identifying the lamp and then bottom 1 indicating it is the 1st light bulb on the bottom row of bulbs. What gets tricky is if I have multiple fixtures that could go by the same name such as having two identical lamps. Then I throw in an additional identifier such as left or right in the case of couch lamps or front or back referencing what part of the room the lamp is in. Worked well for me with my large amount of devices. Also thank you. I’m a frequent viewer of yours and I have done 3 different homes of mine as smart homes and each one has gotten progressively better and more sophisticated. Being in our permanent forever home now, I feel like I’ve come a long way between you and other smart homes creators on UA-cam and I wouldn’t have been able to without you guys!
Good video :) well explained and thought out. One problem I face is that some of my first smart lights (hue) are now 10 years old. And still, using zigbee light link (zll) hue decided to not upgrade to 3.0 on the oldest hardware. Somewhat understandable but zll is very chatty and if I move everything to one hub the zll bulb will drown out all the 3.0 devices :) so I keep the old hue hub for those. Could be a thing to keep in mind if you like me still have old hue lights.
I don’t understand your point about pairing to the correct router. Are you saying the mesh isn’t smart enough to reroute it’s connection to the closest router when link quality is too low? I have about 50 zigbee devices, all paired at the same spot in my house, then moved to their location and all seem to have found a good working route without ever thinking about this
They are supposed to reroute their connection according to the Zigbee standard, but I find that in my house it often takes several days for the routes to change unless I manually re-pair them. What Zigbee devices are you using and what brand/model are they? I'll have to give them a test!
@@HomeAutomationGuy Ah I see. I just checked my Z2M map. I have 47 devices (Hue/Ikea/Aqara - from which about 60% router) and only 3 devices are left connected directly to the coordinator (slae.sh). While having paired all of them really close to the coordinator (thought at the time that was neccesary). I think the map looks better now then in the beginning actually. So yeas I think it changes as well after some days now I look at it. Just never had any issues.
I don't think my mesh is setup correctly. I have two repeater plugs centrally located downstairs and upstairs. I was not able to join new devices in the final location so I moved them next to the controller to add them. Looking at the map in Zigbee2mqtt I can see some of the devices are connected to repeaters but most of them connected to the controller. Does the mesh eventually heal itself or do I need to manually fix this? What is the best way to fix my network? Do I have to delete devices or can I re-register them near a repeater? It would seem the mesh network is rather brittle if I have to manually fix it. I would expect I would be able to add and move repeaters and the mesh network adapt.
It is *supposed to* rebalance and itself, but I've had mixed experience with it. You should be able to repair the device near the routers without deleting them, that usually works for me
You can try just moving it and hoping that it re-connects to a different router. It works a lot of the time, it's just not guaranteed. You can also just re-press the pairing button which causes some devices to re-connect through a different router.
@@HomeAutomationGuy thank you for the reply. I am going to buy sonoff usb dongle 3.0 for my parent's house. They already have few sonoff basic r2 switches which they control via ewlink app. Can I add these switches directly to sonoff usb stick and control them via ZHA without flashing ?
I am new to automation world, bought Hubitat recently since I am interested in zigbee over wifi devices. Lot of terms are confusing me, the difference between hub, repeater, bridge, coordinator, dongle, etc.... I am telecom engineer, so i prefer to read technical information, any help??!!
How you choose device that is reliable? There is couple of buggy devices and/or are badly integrated to z2m. The repo have 10k issues, thousands of them closed automatically with bug never resolved. Do you fix the code yourself?
For naming: i do
Thanks for pointing out, that's important WHERE you start to pair your devices in your house.
I did the exact same mistake, you described in your video:
Paired all the battery devices near my router, and got the same problem: router is overloaded, connections are weak.
I hoped, the mesh would heal = rearrange itself. But no, it didn't.
Have to repair the mesh, by re-pair the devices (ba-dum-tss).
Watched this video the 5th time or so. You can always learn a bit more.
Again: Thank you
Thanks Sebastian! I appreciate the kind words!
I hope you have that mesh working nice and strong now 💪
Found your channel two days ago and your videos have already learnt several things I was unable to find while googling, big thanks for the hard work!
I'm glad I was able to help! Welcome to the channel!
All my lights are named after stars, buttons after energies and sensors are particles. I also named my computers, usb-sticks andnetwork devices to create an eco-system. Itks never easy to remember regardsless so trying to implement labels and descriptions now. I'd love to hear about how others are organizing things like this :)
Another thing that might marginally improve your network is pointing all external antennas straight up:
Ideally all the antennas on your devices should be pointed the same way (being it upright, flat to the ground or at an angle) to avoid polarization issues, but since most devices will probably have hidden internal antennas that isn't really an option.
The next best thing is point external antenna on rounters and hubs up, that way their "donut-shaped" propagation field will be flat to the ground and cover more space horizontaly than vertically (which is what you probably want unless you live in a tower 😁).
This is probably a lot less important for a mesh network like ZigBee than it is to mostly point-to-point networks like WiFi, but if you are trying to get the absolute best out of your setup it might still be worth it.
Another way of getting rid of the radio "noise" of a Raspberry Pi or other SoC computer or PC (instand of an extension cable) is using a Zigbee-to-Ethernet or Zigbee-to-WLAN gateway like the ZigStar Gateway. This way you can place the Zigbee coordinator (nearly) anywhere in your house (e.g. in the centre), independent where your "server" is located.
Thanks for the tip! I was considering doing something similar to this with a Raspberry Pi and Zigbee2MQTT
@@HomeAutomationGuy ZigStarGW works with Zigbee2MQTT and ZHA, and the UART-to-TCP/IP (or UDP??) driver should run fine on a Raspberry Pi, it's standard Linux. It's just replacing the USB part of the USB-STICK... (the ZigStarGW developer works on supporting Thread/Matter as well, but without an, announced timeline). I have around 90 zigbee devices connected, with around 10 of those are router capable devices.
Thanks for review. Is using TCP to be sure packet is delivered.
Had the same issue, changed to the sonoff stick and got rid of zigbee2mqtt to the direct HA integration.
This solved all issue and the management in HA is much better and the sensor are much faster now.
I have a google spreadsheet with each device name, reserved IP, mac address, and human-readable comments detailing where it is and what it is. Helps a ton.
I like that level of organisation!
I want to thank you for all of the very professional videos you have made. I have watched about half so far. I want to praise you for the level of detail and your delivery manner. I have learned a lot more watching your videos than I have of other peoples videos on the same subjects. I seldom have to stop and go back to replay what you said. I wonder if maybe your day job involves technical training. In any case each of your videos provide useful information in a very useful manner. Thank you. I will now continue watching the rest of your videos before re-watching and implementing the ones that are most important to me. Thanks again.
Thank you so much for your kind words David!
I'm actually a Product Manager by day, so I have to translate requirements between customers, senior business leaders and engineers which I think has helped me find the right level of detail to explain a concept without overwhelming people. I get some criticism from other viewers that my videos are not technical enough - but my goal is to help people who aren't necesarily software developers or engineers get the benefits that were previously only available to people who could write code.
Very good summary. Thank you. I want to ask you something. For the wifi network you can extend a network with multiple access point. The signal can pass through 3 different access point to reach the final client. But it is not recommended. One modem and one access point is ideal. How about zigbee network. Can a signal pass from one switch to another continiously 3-4 times. Is it technically possible and is it recommended?
One thing i have done is to give different areas of the house differen names, like east par, west, base part etc. Then i assosiate rooms in this area to this area. Which makes it much easier to know where the sensors are "living" It makes it much easier when labeling both cable, sensors, even the fusebox get an easier labeling.
Hey, another tip. If you use an SSD with a ZigBee coordinator on your Pi, even with an extension cable you may suffer interferences. The fix? Do not use USB3.0 ports on the Pi for your SSD. It's a shame, but once the SSD is on 2.0, ZigBee works like a charm. I took months to discover this.
What a strange problem, and congratulations on finding the cause! Thanks for sharing!
@@HomeAutomationGuy Well, USB 3.0 does interfere with 2.4 GHz radios, not just Zigbee, but WLAN as well.
Using an unshielded USB extension cable on a USB 3.0 port of a WLAN access point can render the whole 2.4 GHz WLAN unusable...
I just went through rebuilding my network after it failed miserably. I used the chance to migrate to skyconnect from a HUBZ combo stick. Two things I learned. 1) as you say - pair in situ. I realized this was an issue after pairing a couple water sensors in my office then taking them to the basement. Second was, watch for failed routers. Turns out, I'd moved offices and the automated lights in the old office were key routers in the network (sitting very close to the coordinator) and they'd been powered off when the automation failed. Check the network diagram regularly for similar devices.
Thanks for this!
Thanks for the info! Glad to hear you got it back up and running
Some Zigbee lights may not act as routers. I use Sengled E21-N1EA bulbs (which are great, have good colors, and decently priced) but they do NOT act as routers. Per Sengled's support page: Our engineers made this distinction as repeaters require constant power, but people still tend to power off their bulbs with wall switches when leaving a room. With no power to the repeater, other end devices may disconnect.
That's good to know. Thanks for sharing!
Thank you for mentioning this. I planned on using Singled bulbs specifically to be zigbee repeaters and didn't think to think that this functionality could be disabled.
@@RConradBane In their defense, I don't think it is a bad thing. If a light gets turned off, then your zigbee network may not function properly. I bought a couple cheap zigbee plugs just to use as repeaters. $20 for 2. Amazon ASIN: B08K45W4LR. They work great. Recently, I plugged in the chargers to Fire tablets that I use as Home Assistant dashboards. I set up an automation that only charges the tablets when needed and turns off the charger when it is not.
@@d_sellers1 That's a pretty smart workaround.
I'm pretty sure Zigbee2Mqtt has a compatibility list that specifies if the device can act as a router - always worth double checking that
Really like the way you share your ideas and also get into the relevant details so people can replicate. Not just "I put these 2 together and it works fine". I am starting with zigbee and you have been enormously helpful, thanks!
Glad to hear you found it valuable! Thanks!
@@HomeAutomationGuy Can you use a smart led bulb in a 3 way lamp? Thank you
I had about 30 devices with a CC2531 with several CC2531 as routers, with bulbs. worked great for well over a year. only reason I changed as I like to play around :)
Note, I made sure that WiFi channels were far away from my Zigbee channel.
I use mostly Zwave devices to avoid the 2.4Mhz congestion. I live in a city and have a lot of 2.4Mhz noise from my neighbors. But some of my devices are WiFi or Zigbee. I noticed that my Zwave network has a better penetration in this noisy environment. I also noticed the same problem with not having a good naming convention. I now use something like light.livingroom_ceiling_dinnertable . But noticed that I need more and more rooms to divide the house more as the number of devices grows. For instance the storage closet in my living room became an other room.
I've heard that about Z-Wave devices, but I've never personally used them so have no opinions myself. I started off with Philips Hue back in the day, and naturally gravitated towards Zigbee so I could reuse my bulbs.
Once you get that Home Automation bug it is hard to stop buying devices isn't it!
😊😊😊😊😊
Yes, I use my personal conventional names and it’s something like this: room - entity type - specific entity. So, for example my ikea lersta lamp I’m the living room is: living room - light - ikea lersta!
Thanks for making this video. Soon I will be migrating from Philips Hue to my own zigbee dongle.
Did you ever make the naming video, you mentioned?
+1
Most modern day routers, especially those with mesh, will incorporate 'band steering' and ensure a particular channel is not congested. My HA machine and Zigbee Coordinator are literally right next to my router and it has no issues.
Always use a naming convention from the start. You don't have to spend hours coming up with one, but a general rule of thumb is that from left to right you should have most significant info to least significant info. So for bulbs that would amount to "house-room-bulb_type-number" or something like that. Being lazy at the start will always hurt later on, especially if your family doesn't want a day of down time for the house.
Question: Is there any utility to inspect how the Zigbee mesh network is performing or established. Can you actually see what device communicates through what other devices in order to get to the coordinator/hub?
"Being lazy at the start" is unfortunately my standard operating method for home projects, as half of them never go anywhere...
Yes there is a way to view your network! If you're using Zigbee2MQTT you can use the Map feature in the top menu. In the ZHA integration you can go to the Visualisation option at the top. Both give you a diagram of your mesh network so you can see which devices communicate with what.
Good point. I chose single letter (D = dimmer, S = switch etc, then added a simple serial number.
Routing can be shown in the Zigbee2mqtt frontend. Slow, but infinitely cool B-)
i used a similar convention - ABXY99 where AB is two character for room name such as LR for Living Room, XY is device class such as WB for white bulb or cb for color bulb and then a number. for echo devices across house, I have just given them phonetic names - alpha, bravo, charlie (except echo)
@@mayankraichura that’s like coders in the 80s worked. I encourage people to use more speaking names in programming. But if you are fine with it go with it. Long names don’t cost an extra fee but help in the long run. I don’t understand what I’ve coded some month ago with such short names. And I am a computer scientists for 20 years now 😂
Watching this and having read through the community forums and these comments, there's an idea out there that the network would "Heal" itself to better connections. That has not been my experience, and I hope by repairing with that 22-devices in mind helps me spread my mesh network better. I only have a few random lights that don't always cooperate, but it'll be nice to have them be as stable as I would have expected by now.
And now, to plan a weekend of re-pairing and fixing automations. hopefully my naming stays the same and I won't need to re-do too many automations.
Useful video, I tried looking but did you ever do the naming convention video?
+1
This video could not have been better timed. The last couple days my Zigbee network has really been so iffy, only having one device attached to the coordinator today with the rest falling off, desipte having zigbee light bulbs in every (relatively small) room. Like yourself and many others consistency is key, having the cc2531 I have treated myself to the sonoff plus. Thank you, I always look forward to your videos.
My devices are named via each room/location, what it is and then any additional information, eg. bedroom_light_main, bedside_light_right, bedroom_motion_away, bedroom_motion_home. I prefer to define the room so it can be quickly found as the device/entity, the device is obviously important and the function that it serves.
Thank you, HAG. That was excellent. I've taken your 3 tips on board and have learned a lot. I'll look at the other Zigbee videos.
I started with SmartThings. it has zigbee and zwave. the first couple years in this house had issues. devices dropping off network, ect. First I moved the SmartThings from the basement to the middle floor, middle of home. This helped alot. 2nd, I stopped cheaping out on batteries. Cheap batteries would die before low battery warning, or just have poor performance. Energizer batteries have been running for 2 years.
wifi 2.4ghz can only use 3 non-overlapping channels. 1, 6, 11. If you designate 11 for zigbee, you can only use 1 and 6 for your APs. this isn't a problem if you only have 1 or 2. if you have 3, then you will need to use the same channel for 2 APs. just make sure they are the ones that are furthest apart and/or won't overlap. if you use any other channels, you will have overlap, crosstalk/noise and it will impact the performance of your wifi.
Do keep in mind that ZigBee channel numbers and WiFi channel numbers do not correspond, at all. Look at the channels visualization shown in the video. For example, ZigBee channel 11 is in (overlaps with) WiFi channel 1, not WiFi channel 11.
Thanks for all the info. My only device that will not respond properly is my Sonoff Zigbee Button. Works for 2 or 3 days dies then comes back to life.
I thankfully had a naming convention for my devices from day 1 thats noramally room Room - Device e.g. Bedroom - Motion Sensor and if there was more then one type of that device in the room like 2 lights it was Bedroom - Light (Bed) and Bedroom - Light (Door) so Id always know what they are my automations follow the same principle of Room - what it is or for Alexa actionable notification AAN - what it does - Pt1 etc.
This was great insight. I have 55 zigbee devices where 2/3 are wired and serve as routers and I’m using the ZBDongle-E. Are you using the ZBDongle-P?
I did check that the channel used doesn’t overlap with wifi but haven’t really planned routes or gotten my antenna away from my Wifi router.
Guess I’m spending a weekend improving my network.
It's quite a rabbit hole to go into! Good luck with it! I am using the Home Assistant SkyConnect zigbee dongle.
Thanks for this. Turns out I made almost all of the same mistakes. Putting my Zigbee USB stick on a USB extension cable alone made a pretty big difference. I've also been pairing my devices near the coordinator and moving them, assuming the Zigbee mesh network was smart enough to pair with the closest / strongest signal instead of the original pairing device. 😑
I think it does re-pair eventually, but I personally have had better luck with this method
@@HomeAutomationGuy Yes it does., it takes a couple of minutes And so does removing the battery
Great video thanks.
As for naming conventions I go for this and find it knocks it out the park
{Area}_{device type}_{description}
For example for some bedside lights
Bedroom_main_light_bedside_wife
Bedroom_main_llght_bedside_me
Bedroom_{oldest}_light_bedside
Bedroom_{youngest}_light_bedside
For motion sensors
Kitchen_sensor_motion
Hallway_sensor_motion
Outdoor_front_sensor_motion
Outdoor_rear_sensor_motion
You probably get the idea at this stage. The main point though is that areas are the first part as they are the biggest thing to group by. And there are similar areas which may also need to be grouped (bedrooms/outdoor) so prioritising those at the start is also important.
Then grouping by device type makes it very easy to drill into the next stage. It's not good enough to rely on the home assistant domain (light/switch/etc) as this may not be true. E.g. a smart light switch would appear as a switch but is effectively a smart light.
Next is the descriptor. Again fairly generic and avoiding physical device references (at some point they may be upgraded after all). It's also important to make sure to prioritise any further grouping should that be needed... E.g. if you have device in wardrobes, stick a wardrobe reference in first.
Lastly, abbreviations are useful but it's VERY easy to overkill in this area and you may go too far and need to expand out later. And/or forget what the reference is in relation to. Personally I just don't bother as I have yet to see any advantage in abbreviating. There's enough auto completes to prevent a full type and I'm much more likely to need to revisit what on earth ORL relates to (outdoor rear light) 6 months in the future when I need to change things.
There's an argument for not needing this level of complexity with naming conventions as you can add areas to device and domains exist to take the hassle out of that. But domains may not be an accurate reflection (as previously mentioned) and areas are no use when using something like NodeRED which will just give a list of all device in a domain.
Being very new to home automation, but a long time data engineer, I also chose to use a big-to-small, left-to-right hierarchical naming convention. But I chose {deviceType}_{area}_{description}. Don't have the experience yet to know which is the better top level choice. Also decided on full words (no abbrev) in camelCase for all three sections, and that the area name is an exact match to one of the Hub's room names. Time will tell. Are there any times you wished you used device type as the top level?
Great video! I use a CP2652 coordinator that is ethernet based. This is pretty nice since restarting Home Assistant doesn't impact the coordinator... (and if necessary I could power cycle the coordinator separately although I've never had to do that.) I do regret not getting a coordinator based on the EFP32 which has slightly more capacity, but fortunately I still have headroom under the CP2652 and will probably be fine for a few years.
Which router would that be if I might ask? Because an Ethernet based coördinator sounds like just what I need.
My understanding is that Ethernet / Wifi coordinatora can't work with Z2M , correct?
Only ZHA?
@@AhmadYusuf85 ethernet coordinators work fine with Z2M. I use the one from Tubes, (just search for "tubes zigbee", my previous reply with the link apparently got removed. The creator of that device uses Z2M himself so it's very well tested.
@@csilvCorp Thanks for the reply, I was under the impression that Z2M only works with devices that are physically connected to the host machine, hence it doesn't work with Wifi cooridnators like the Sonoff Zigbee Bridge for example.
The reason is that in the Z2M , we add the path to the physical device like /dev/ttyACM0, but if it's Wifi / Ethernet, how to you add it?
I use ZigStar GW and the new UZG-01 Ethernet Coordinator, what looks amazing.
This is a useful video. I'm new to home automation. Knowing the mistakes you made and how you fixed them will help me avoid those mistakes. Thanks.
Been looking for some help for this for months... considering trashing my ST network many many times. Thank you
Hi thank you for this video! Is it possible to connect zigbee 3 devices (using the cc2652 coordinator* ) to Alexa or Alexa echo directly using a zigbee 3 coordinator like this without having to pair them using Tuya or Smart life app? I’m in need of a 12v DC 10A (or a sow as 5A ) relay to turn some devices on/off in my SUV. Having a hard time finding a simple solution. I’d love something Homekit compatible but would go the Alexa route too! Thanks!
My devices names are formatted like room_type_placement, makes it fairly easy to both address everything in a room, and also to remember what is what
this was great thanks, I'm at around 120 devices on my network and really starting to get some issues now. I don't like it but I going to repair the whole thing when my new unify APs come in.
Thanks again
Question: In one of your videos you mentioned the wifi mesh routers/ access points that you use, but I can't find that video. Could you please tell us what you use? I'm setting up a new home & upstairs has wifi reception issues, and I would love to know what you use for wifi. Thank you 🙏
There's a video about building my smart home network on my channel
I found no need to put my ZigBee stick on an extension cord. If I leave it directly in the USB port, connect an external antenna with a cable and put it on top of my network rack, I get literally the same improvement. This has the huge advantage of a screw in connector and much cleaner cable management. :-)
Great tip, thanks!
Didn’t know the thing about the 2.4GHz Channels. thx for pointing that out 👍🏻 Nice to see your channel growing
Thank you!
ZB Bridge or ZB Dongle which is good for HA?
ZB Bridge after flash with Tasmota, for HA, work is local network or cloud base control ?
Nice video's.
Still far behind you.
I have significant problems with Sonoff Zigbee products. They disconnect, especially the door and window detectors. Motion detectors which are close to my hub (3 meters)
Another motion detector at 6 meters disconnects.
I have a Sonoff wifi HUB connected to Ewelink
So if I read your advice. Maybe I should move my 2.4 GHZ wifi network to some other channel (a higher one). And try to figure out which channels the sonoff hub works on ?
Or should I ditch Sonoff Zigbee alltogether for TUYA which seems to be recommended everywhere ?
I'm planning to use 3 hue bridge (as I have a lot of hue devices on all those areas) :
1 for all the lights outdoor
1 for ground floor
1 for 1st floor.
I have also sonoff P dongle.
My first hue hub is on canal 20
the second on 25
the third will be on 15.
All other equipment not compatible with the hue bridge (such as door sensor, smoke sensor,..) will be connected directly to home assistant with the sonoff .
Do you recommend to use different canal for all 4 of them ?
Or the same canal ?
And if so, for the sonof to have a signal powerfull enough to cover the all house what would you recommend then ?
I would recommend just using one bridge and adding routers instead.
@@HomeAutomationGuy but Hue bridge are limited to 50 devices. No ?
For the moment I try to do naming as 'location, (room) fixture (lamp? ceiling light? plug? Motion sensor) and then either a number for which bulb in a multi-bulb fixture like a chandelier, or a directions for which fixture if there are more than one, (North,South,NW, North Left, etc.) If I'm having trouble with a device I can find it quicly this wey. Annoying are the devices that I name like this, but the entities within the device have the manufacturer label information on them, named by zha.
Naming isn't the major problem I'm running into though, but that's another issue.
Great channel! What integration/add-on made your Zigbee Map at 8:25? Would love one of these!
It's part of Zigbee2MQTT. If you open the Web UI for Zigbee2MQTT you should see a Map tab at the top.
Excellent tips, thanks
I am soon going to start setting up my Zigbee network in a house i bought last year.
One thing I am having issues with, is binding from the web site in Zigbee2MQTT.
Do you have any videos about this?
I would like a Philips Hue Motionsensor to turn on light, even if the zigbee2mqtt server is offline. (Or more specifically my wife wants it ;) )
Thank you for this neat summary. Much appreciated!
I keep my naming simple. Obviously I break down my house by rooms, therefore I have lights.family_room, motion_family_room, and etc. If there is more than one device, like lights, I just add a number behind the name (lights.family_room2). For my automations, I try to keep the names simple. [device][when automation fires][on/off]. For lights it would be Lights AM On or Lights AM Off. Might not be the fanciest naming system but it works for my Home Assistant setup.
The unplugging and repluggging the USB dongle was an issue for myself. Every now and again the LED on the dongle would just turn off. But I found in my Windows Device manager there was a USB sleep mode deep in the driver info... It was selected by default. That fixed me.
Great tip! Thanks for sharing
How do you set the ZigBee devices channels? Mainly if you use ZHA. Do you need to drop ZHA and use MQTT in HA? Also, at the same time, how do you pass from three channels to two channels on your router setting? Do you have a video for this? Thank you.
The problem I have is that other than my main Zigby network , I have two other private Zigby networks at my location. One for my Drayton wiser central heating system., the other I believe is my electric and gas smart metres. I have no way of knowing what channels these are on as I can’t find a Zigby scanner/analyser like the Wi-Fi one you demoed in your video. Any ideas? 🤔
Thanks for the great video. How does the Sonoff Zigbee bridge fit into the network? Is it a router? Can it replace the coordinator? Is it useful? Thanks again.
I'm not sure it works that well with Home Assistant, but I've not used it personally. There's some information here in the community forums
community.home-assistant.io/t/sonoff-zigbee-bridge-tasmota-vs-ewelink-add-on/353824/7
Thanks for the prompt reply.
What's the smartphone WiFi analyser app that you show at 7:10? Systems like WiPry cost upward of £600 so are not really within the realm of hobbyists. Is this a cheaper one?
I think it's just called Wifi Analyzer in the Android play store, and it's free. I also use the Unifi WifiMan app these days.
I have the Sonoff USB 3.0 Dongle Plus set up with Zigbee2MQTT in Home Assistant, and I'm trying to find out where I can find the Wifi channel information for the device?? Any clue? Thanks, in advance and thanks for the great information on Zigbee networks! ~Frank
It's in the Zigbee2MQTT web interface, under settings, and then Advanced
@@HomeAutomationGuy Ah, yes!! Thank you!! I hadn't snooped in that far yet. I was actually wondering why the dongle doesn't show up in my devices list, but this answers that question, as well. Thanks again ~Frank
Is it really necessary to build the network in order to create optimal mesh routing? I have done this but when looking at the zigbee map it doesn't always choose its nearest neighbour. I also read that mesh networks self heal over time and should find the optimal path.
Does the order in which you connect devices really matter? Does the coordinator determine the path of the network? I have seen other videos where people pair through a specific device (a setting in ZHA), but the end device doesn’t remain paid to that specific device it seems to move randomly
I'm not 100% sure what benefit pairing the device through a specific router provides - I just always try and pair the device closest to where I'm going to be using it.
hey great video, i am planning follow your tips in hope of stabilizing my ZHA network, but one quick doubt, I should go with Zigbee channel 11 and all my wifi AP's set to channels 7-13 (i am using unifi as well)?
OR
can i use channel 25 for zigbee and limit all my ap's to 1-6 channels? i heard that channel 25 zigbee has lower power transmission rates in US(not sure and hoping its not a problem for me in Singapore), I am also planning to migrate over to Zigbee2Mqtt from ZHA and repair all the devices? are my choices good and would it help me from slow automations and failing zigbee devices?
any help is greatly appreciated, thanks you so much!!
Excellent explanation. Congrats!!
My entity ID is type.room_placement/device, then I name it placement/device. Ex. Entity ID is switch.kitchen_airfryer and name is just “Airfryer”. Entity ID is light.basement_storage and name is just “Storage”. It makes it easier when creating automations based on rooms. I used to do light.basement_storagelight “Basement Storage Light” but I found I would group it in Lovelace under basement, and it’s icon would be a lightbulb so Basement and light were redundant. Also when automating the type makes adding light at the end redundant as well.
I’m using the same scheme. It works perfect.
You're right! You just made me realise that adding the word Light to the end of the Light entity name is totally redundant 🤦♂️
But then again, it doesn't show the device type or icon in the Device list area of home assistant...
@@HomeAutomationGuy that’s true. I don’t have more than 15 devices so I know what each one is. Maybe the type would be helpful in the name for more devices.
Can you create a video describing the high availability of Home Assistant? or any other fix if the home server breaks
I wish I had an answer to that! I have a backup of my Zigbee config and a spare USB dongle in case of a failure. It's not high availability, but at least I can get it back up and running soon
What light bulbs do you use as ZigBee repeaters? Because I can't find anything but Philips brand or some Sylvania brand lights... Same situation goes for ZigBee light switched, a company called Enbrighten making fortune every time they are selling these bulbs
Great info, I've usually always stuck with z-wave because it is it's own network with it's own freq. However I am starting to build out a zigbee network starting with moving my Philips Hue stuff over to the zigbee dongle. My question which either was not covered or not very clear to me. How do I check the channel my zigbee stick is running on? And how would you recommend changing the channel if I needed to? I have a Home Assistant Blue with the Nortek z-wave/zigbee usb dongle connected to it. Thanks!
If you're using ZHA or Zigbee2mqtt you can change the channel using the config file. ZHA uses channel 15 by default, and Zigbee2mqtt uses channel 11.
Is it really the case that the sequence that devices are added is THAT significant??
I.e. if I add a device that is at the extreme range from a repeater, if then add a new repeater between them. It won't help with those two?
I'd have imagined it would broadcast on the 'network' and they'd both relay the pertinent details.
What you have described with adding repeaters between them will definitely work. The network will re-route and rebalance itself automatically.
BUT if you are first setting up your network, and you put your coordinator in the basement and then go several rooms away to pair your first device, it may have trouble finding the network to join and you might get stability problems initially. It becomes far less of a problem once you have an establised network.
Awesome as always. thanks for sharing
Thanks for the video! I paired my devices without plan too. I think, they rearrange their connections when being moved. You are sure this is wrong? I’m using ioBroker and the Zigbee adapter shows the connections. I will figure out.
A lot of the time the Zigbee network will figure itself out and re-route the signal, but I personally have had problems with it and just had better results pairing the devices in the place I intend to use them.
@@HomeAutomationGuy
Ok, good to know.
Presumably zigbee light bulbs only act as routers when they have power. Most of my lights are already controlled by (WiFi) smart wall switches, which have the advantage that they can still be used manually if the WiFi fails. To use a bulb as router I guess it has to have power on all the time, so the light can only be controlled over zigbee? I'll try zigbee plugs instead.
That is correct, the power needs to be on to the lights for them to act as routers.
Hey I am doing an assesment at university and I just want to know if a zigbee network costs the same as wifi network do you have any resources?kind regards
Hi. Im new to setting up the zigbee mesh network, i have two questions. One: did you let each router device pair automatically to the coordinator or did you pair each additional router device to the closest router device. Two: did you for the child device force them to pair with the closest router device or let them pair automatically.
I paired each device closest to where it would eventually live, so that it used the closest router
You didn't mention Lutron Caseta ClearConnect which uses 434 MHz frequency.
You said you were using Aqara child devices. Does that mean you are pairing them with an Aqara Hub? If so, how do you set the Zigbee frequency used on the Aqara Hubs?
Lutron isn't that popular here in Europe so I've not come across them much. I pair my Aqara (and other brand) Zigbee devices directly with Home Assistant using a USB Zigbee dongle, that way I don't need to use their hub and I can have more control over the network.
Hi, are you using Philips hue bridge for your lights ? Or a do you use zigbee2mqtt/ZHA for that? I have so many hue lights that i need 2 hubs (philips hue), so I was thinking to build a need zigbee network using zigbee2mqtt. Or is it best to use hue bridge for the lights ?
I use Zigbee2mqtt for my hue lights. I've not used the bridge in years
@@HomeAutomationGuy thx. ZBDongle-E or the ZBDongle-P the best option for zigbee 2023 ? or is it SkyConnect ?
When it comes to pairing devices on the spot where it is going to be used. When a node select a router, will this router be where it sends traffic forever? If that is the case you should re-pair devices everytime you move them to a new location.
I usually re-pair them by holding down the pairing button when I move a device. It *should* re-balance itself and talk to a different router if it finds a better path to the coordinator, but in my experience this sometimes takes a while or does not work at all.
Super useful video!
Does this mean, that I can use my Hue Light-Bulbs as routers (repeaters)?
Yup!
@@HomeAutomationGuy Awsome!
But to understand this fully.
For this I need to deconnect them completely from the HueBridge and give up the functionality from the HueApp (HueSync, ...)?
@@photelegy If you want to use them directly with Home Assistant and other company Zigbee devices - yes. But if you're using only Hue Zigbee equipment in your house then I would just keep them all in the HueBridge and connect it to Home Assistant using the Hue integration.
Is it possible to force devices to connect to the newly enabled routers. I have a few devices that are still stuck talking to the coordinator when they can be talking to a router much closer to them. Thank you.
Thanks.
regardless of HA and it's usb coordinator which Chine's ZigBee hub do you recommend for ZigBee little module's that install behind the switch's ?
Besides lights are there any other recommendations for good low cost repeaters? I don’t have a need for lights with Zigbee so would appreciate any other solutions to extend a network
IKEA sell some actual repeaters that plug into a normal socket. I've had mixed experiences with them, as it seems not all devices are able to repeat through them. I'm sure you'll find some reviews on them on UA-cam though
@@HomeAutomationGuy thanks for the pointer. I've also heard mixed reviews so I'm going to give the SONOFF S31 smart plug for $10 US and see how it works. By the way please keep up the great work. You have a lot of great content and I watch all of your videos and have used many of your tips.
I may sound stupid. but please clarify. I have a sonoff zigbee bridge and lot of zigbee battery powered sensors n switches. How does the dongle work in my case. Should I just buy zigbee 3.0 dongle from sonoff and place it in farthest room where my sensors are not working currently? Can I plug the zigbee dongle to any USB power? PS: i don't use home assistant.
Naming can be such a pain. I have a 5500 sq foot historic home that has all hue bulbs in every fixture whether they be built in fixtures such as chandeliers or non permanent such as table lamps. I use mine all connected through z2m as well. With over 300 devices I had very similar issues until I optimized my UniFi networks to not interfere with the signer chanel I utilize. I name my based on room and device then bulb number. For example I have light.living_room_tiffany_lamp_bottom_1
This identifies it as living room being the room then Tiffany lamp identifying the lamp and then bottom 1 indicating it is the 1st light bulb on the bottom row of bulbs.
What gets tricky is if I have multiple fixtures that could go by the same name such as having two identical lamps. Then I throw in an additional identifier such as left or right in the case of couch lamps or front or back referencing what part of the room the lamp is in. Worked well for me with my large amount of devices.
Also thank you. I’m a frequent viewer of yours and I have done 3 different homes of mine as smart homes and each one has gotten progressively better and more sophisticated. Being in our permanent forever home now, I feel like I’ve come a long way between you and other smart homes creators on UA-cam and I wouldn’t have been able to without you guys!
Good video :) well explained and thought out. One problem I face is that some of my first smart lights (hue) are now 10 years old. And still, using zigbee light link (zll) hue decided to not upgrade to 3.0 on the oldest hardware. Somewhat understandable but zll is very chatty and if I move everything to one hub the zll bulb will drown out all the 3.0 devices :) so I keep the old hue hub for those. Could be a thing to keep in mind if you like me still have old hue lights.
Thanks for sharing
Loved the video!
Naming conventions! Everyone talks about having a good one but no one shows a good one and why
I don’t understand your point about pairing to the correct router. Are you saying the mesh isn’t smart enough to reroute it’s connection to the closest router when link quality is too low?
I have about 50 zigbee devices, all paired at the same spot in my house, then moved to their location and all seem to have found a good working route without ever thinking about this
They are supposed to reroute their connection according to the Zigbee standard, but I find that in my house it often takes several days for the routes to change unless I manually re-pair them.
What Zigbee devices are you using and what brand/model are they? I'll have to give them a test!
@@HomeAutomationGuy Ah I see. I just checked my Z2M map. I have 47 devices (Hue/Ikea/Aqara - from which about 60% router) and only 3 devices are left connected directly to the coordinator (slae.sh). While having paired all of them really close to the coordinator (thought at the time that was neccesary).
I think the map looks better now then in the beginning actually. So yeas I think it changes as well after some days now I look at it. Just never had any issues.
Wheres is your video about the devices naming?
I always name my devices with zone_name without any other underscore. Like kitchen_light, hallway_tablelight, livigroom_tv, bedroom_motion... Etc
I don't think my mesh is setup correctly. I have two repeater plugs centrally located downstairs and upstairs. I was not able to join new devices in the final location so I moved them next to the controller to add them. Looking at the map in Zigbee2mqtt I can see some of the devices are connected to repeaters but most of them connected to the controller. Does the mesh eventually heal itself or do I need to manually fix this?
What is the best way to fix my network? Do I have to delete devices or can I re-register them near a repeater?
It would seem the mesh network is rather brittle if I have to manually fix it. I would expect I would be able to add and move repeaters and the mesh network adapt.
It is *supposed to* rebalance and itself, but I've had mixed experience with it. You should be able to repair the device near the routers without deleting them, that usually works for me
If my wall switch device is zigbee 1.0, can it be connected to the zigbee 3.0 router in order to extend the zigbee range?
How do I use Google home with this? Sometimes voice commands are neesed
how can you measure zigbee signal strengthm?
What if Ibdont have home ssistant? I just have a usb/ble gateway and its pants!
Is there a way to move a device away from the coordinator to work through a router without repairing?
You can try just moving it and hoping that it re-connects to a different router. It works a lot of the time, it's just not guaranteed. You can also just re-press the pairing button which causes some devices to re-connect through a different router.
I recd sonoff usb dongle. Is there a way to check the range of the dongle?
Move devices further away from it and see when they stop working? 🤷♂️
@@HomeAutomationGuy thank you for the reply. I am going to buy sonoff usb dongle 3.0 for my parent's house. They already have few sonoff basic r2 switches which they control via ewlink app. Can I add these switches directly to sonoff usb stick and control them via ZHA without flashing ?
@@nehajain2974 You can check the device compatibility list. zigbee.blakadder.com/
I'm unfortunately not familiar with these devices myself.
@@HomeAutomationGuy thank you for the link
I name everything “Hall Lamp 3” place-device-recognizable number or function”
There is no « healing » process like z wave ?
I am new to automation world, bought Hubitat recently since I am interested in zigbee over wifi devices. Lot of terms are confusing me, the difference between hub, repeater, bridge, coordinator, dongle, etc.... I am telecom engineer, so i prefer to read technical information, any help??!!
This might help: www.control4.com/docs/product/zigbee/best-practices/english/latest/
How you choose device that is reliable? There is couple of buggy devices and/or are badly integrated to z2m. The repo have 10k issues, thousands of them closed automatically with bug never resolved. Do you fix the code yourself?
i have COMBEE 2 can i make this all with COMBEE or sonof usb is bether for this ? ....
I think the Conbee stick should work perfectly fine.
Interesting & useful! I am busy to prepare for a big re-install; Your tips should benefit me. Thanks.
Willem
Doesnt restarting the coordinator also
restart the mesh network?
Good question! I don't know!
Is there really no way to tell a paired device "hey, check if there's a router nearby that has better signal strength"?
It does that itself eventually. But in my experience it can take some time.
@@HomeAutomationGuy Oh, okay, that's good to hear. Thanks!