Skip to content

LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

LQI Zigbee (Link Quality Indicator) is a key practical criterion to consider when using wireless technologies such as Zigbee to create a simple, cost-effective and flexible smart home, as it measures link quality and communication range.

NABU CASA - Home Assistant Green Smart Home Hub
NABU CASA - Home Assistant Green Smart Home Hub
99,99€
Domadoo.fr
SMLIGHT - CC2652P Zigbee 3.0 POE Ethernet USB Adapter (Zigbee2mqtt)
SMLIGHT - CC2652P Zigbee 3.0 POE Ethernet USB Adapter (Zigbee2mqtt)
39,99€
Domadoo.fr
Index

    What is LQI Zigbee?

    LQI Zigbee stands for Link Quality Indication and is a link quality indicator of our Zigbee device.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    This LQI is a value between 0 and 255.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    If we look at the information on the Zigbee2mqtt website, we can see that a maximum LQI value of 255 means that we have perfect link quality with zero error rate.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    And as this number goes down, the worse the link quality is, and as long as we have a value above 40, it should be acceptable and our device should work normally.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    Let’s start with a simple example. You have a Zigbee home automation hub.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    And you have bought a Zigbee device and connected it to this hub. Depending on where you have located this Zigbee device and your Zigbee home automation hub, they will be able to communicate correctly or not.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    In general, this direct range is usually indoors, 10 to 15 metres.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    But this range is variable at all times and depends on many factors such as:

    • Distance.
    • Obstacles as furniture.
    • Household appliances such as a microwave emitting interference in the same band.
    • Wi-Fi routers using the same frequency, 2.4 GHz as Zigbee.
    • Obstacle material, e.g. metal, can strongly attenuate the signal.
    • The type and thickness of the walls.
    • Wind or rain if you use Zigbee devices in the garden.
    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    These are the main criteria that can influence the communication distance of a Zigbee device.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    We must also avoid interference, such as moving our Zigbee USB dongle away from the USB port of the home automation hub, which can cause interference due to a deported USB cable.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    We have an interesting example of Smlight dongles that work over Ethernet and, by having an RJ45 network cable, allow the dongle to be moved away from the router and not near the home automation hub.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    How to verify the LQI Zigbee?

    Taking this information into account, we will be able to see what the link quality trend is for each Zigbee device, of course, if our Zigbee home automation hub allows it.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    This is the case of Jeedom and Home Assistant with the Zigbee2mqtt platform that we are going to test for this content.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    For example, if we include a Zigbee door and window sensor to our home automation hub, now, every time we open or close the door, the LQI is updated and, therefore, we have a trend to know if our sensor has enough range or not.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    As you can see, each time we open or close, the LQI is variable although we tend to have a trend with values in the same range.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    And if we move this sensor further away, we can see a lower LQI. This is a simple example of direct communication between a Zigbee device and our home automation hub.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    Now we are going to see a larger configuration, with different Zigbee devices. They are different devices installed in different places and we can see an LQI of each one.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    And if we access the Zigbee network map, as you can see, there is a big spider web between different devices from different brands, which is a very interesting detail, being able to combine brands that use this Zigbee technology and all of them can communicate together.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    The devices in blue are the ones that can repeat the signal and are called coordinators, being devices connected to the power, and the star is the Zigbee coordinator, which is usually our Zigbee dongle or a home automation hub that integrates a Zigbee chipset internally, and the devices in green are the “End devices”, i.e. devices powered by battery, batteries or a solar panel.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    The interesting thing about Zigbee is that any Zigbee device connected to power can repeat the signal, with the exception of a Zigbee module without a neutral and other isolated cases.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    So a thermostat, a shutter module, a light module, a USB dongle, a plug, a light bulb are some of the devices that can repeat the signal.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    And there is a device that I find very interesting and that I personally use in the office where I work to repeat the signal of a Zigbee fingerbot to open the electric gate of the building to receive the goods on a daily basis.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    This is the Smlight Zigbee dongle.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    Whatever the model, these dongles can be used as coordinators, i.e. you can use one with a home automation hub like Home Assistant Green to include all the Zigbee devices and make it the coordinator of this installation… but you can also decide to buy additional Smlight dongles to use them as Routers, i.e. they will repeat the signal as if they were other Zigbee devices like light bulbs, sockets and more.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    By having an external, rotating antenna, you will certainly be able to cover the communication range with better performance.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    Therefore, you can evaluate this type of product, but of course, any other Zigbee device connected to the mains can be used as a repeater.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    And it is worth noting that there are some user experience comments indicating that some brands are good neighbours and others not so good neighbours. That is, there may be some brands that do not help correctly in repeating the signal.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    So I recommend you to check user experiences on some specific brands and products before any purchase if you are aiming to improve this Zigbee range.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    In this map that we can see, we have, for example, a Zigbee thermostat and two LQIs, 255 and 151.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    255 is the quality of the link from the coordinator to the thermostat and 151 is the quality of the link from the thermostat to the coordinator. When you have a device connected to the power and which is a coordinator, you will have 2 LQI values as it is a bidirectional communication.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    This thermostat is 1 m away from the home automation hub and therefore the Smlight dongle has excellent link quality with this thermostat, but this thermostat has a lower link quality although it is still a high value.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    And as you can see, we have sensors like the door sensor that communicates live with the home automation hub with excellent LQI Zigbee, but other sensors like the smoke sensor does it through a shutter module, also with excellent LQI.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    How can we improve the Zigbee LQI?

    The first thing we can do is to check if our Zigbee device communicates correctly and 100% of the time. In other words, if we open and close the door 10 times, there is no loss of information, and this is the case for any device.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    We can access the entities on our device.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    And activate an LQI history to monitor the trend and to know whether or not we need to reinforce the communications signal.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    For example, we have a Zigbee motion sensor that typically has an LQI between 160 and 190 over time.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    It should be noted that during the night, with no one in the office, the LQI is reported over longer periods, since any battery, battery or solar panel powered device will only wake up every X minutes to send information if there is no sudden change such as a detected movement, a door opening or closing, a large temperature variation or any other event that produces an immediate report.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    During the day, as there are movements in the office, each movement causes the LQI to be reported at this time, so we have more activity in this regard.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    We have put a Zigbee device connected to the power at medium distance and now, we have a LQI of this sensor between 248 to 255, which is a remarkable improvement.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    This is how we can improve the LQI of our sensor, but we can also move this sensor or our Zigbee coordinator if we do not want to buy additional Zigbee devices that can act as repeaters.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    Also, in some cases, perhaps the solution may be to upgrade the Zigbee device via OTA so that it can improve communications management.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    It is worth noting that this LQI is not visible in different solutions, so in many home automation hubs other than Home Assistant or Jeedom with Zigbee2Mqtt, you will probably be blind with this information.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    But as I mentioned, even if you don’t have the data in hand, if you see that a Zigbee device is having communications failures, you can test it near the hub to see if it’s a distance issue.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    And, if necessary, you can buy devices connected to the mains to reinforce this signal.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    Although, of course, be very careful, you should always verify that each Zigbee device you are going to buy is compatible with your Zigbee home automation hub.

    LQI Zigbee: Analyse and improve the Zigbee Link Quality Indicator of your devices

    In short, having this information can be of great relevance to create your smart home project with less communication failures and, therefore, having control of your devices from anywhere in the world with your phone and being able to correctly execute the automations that we have created.

    NABU CASA - Home Assistant Green Smart Home Hub
    NABU CASA - Home Assistant Green Smart Home Hub
    99,99€
    Domadoo.fr
    SMLIGHT - CC2652P Zigbee 3.0 POE Ethernet USB Adapter (Zigbee2mqtt)
    SMLIGHT - CC2652P Zigbee 3.0 POE Ethernet USB Adapter (Zigbee2mqtt)
    39,99€
    Domadoo.fr