Integrating Zigbee Devices into Your Mobile App

Integrating Zigbee Devices into Your Mobile App: From Hub to Sensor Imagine you want to control a dozen Zigbee sensors and lights from your own app. But there's no Zigbee radio in a smartphone—you need a hub coordinator. Without it, devices remain unreachable. We break down which hub to choose, h

Development and support of all types of mobile applications:

Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1All 1734 services
Integrating Zigbee Devices into Your Mobile App
Complex
~3-5 days

Our competencies:

Frequently Asked Questions

Latest works

  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    897
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    784
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1218
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    1081
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    1004
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    600

Integrating Zigbee Devices into Your Mobile App: From Hub to Sensor

Imagine you want to control a dozen Zigbee sensors and lights from your own app. But there's no Zigbee radio in a smartphone—you need a hub coordinator. Without it, devices remain unreachable. We break down which hub to choose, how to connect it to your mobile app (Flutter or React Native), and how to avoid common mistakes that can break your automation.

Zigbee is a wireless protocol at 2.4 GHz (IEEE 802.15.4) with a mesh topology. Devices relay signals through each other, providing coverage without Wi-Fi. Direct API from the app is impossible—a hub is always required. The choice of hub directly affects stability and the number of supported devices.

How to Choose a Hub for Mobile Integration?

Hub Type API Device Support Integration Complexity
Zigbee2MQTT Open-source bridge + USB coordinator MQTT, REST 3000+ (any devices) Medium
Home Assistant Automation platform REST, WebSocket 1000+ (via integrations) Medium
Philips Hue Bridge Proprietary REST Only Hue (~200) Low
IKEA Hub Proprietary CoAP Only TRÅDFRI High (reverse-engineering)
Amazon Echo (4th gen) Voice assistant Alexa API Limited Low (closed)

According to official Zigbee2MQTT documentation, over 3000 devices are supported—15 times more than proprietary alternatives. For a custom app, Zigbee2MQTT is the best choice: open-source, direct MQTT, full data control. Licensing costs are reduced by 100% compared to commercial platforms.

Why Zigbee2MQTT is the Best Choice for a Custom App

Zigbee2MQTT runs on any server (Raspberry Pi, VDS, Docker) and is vendor-independent. Unlike proprietary hubs, it provides raw MQTT access: you decide how to handle commands and states. This is especially important if you need to integrate non-standard devices or implement custom automation logic.

What to Do If Devices Drop Off the Network?

The most common problem: a battery-powered sensor stops publishing data. Zigbee2MQTT maintains a last_seen timestamp. If the delay exceeds N minutes, the app shows a warning. Causes: dead battery or out-of-range.

The second cause is Wi-Fi interference. Zigbee and Wi-Fi operate on 2.4 GHz. Wi-Fi channels 1, 6, 11 overlap with Zigbee channels 11–26. In the Zigbee2MQTT configuration, set channel 25—it minimally overlaps. This reduces failures by 2–3 times compared to channel 11.

Third, the coordinator may not start. Ensure the USB key is visible in the system, the user is in the dialout group, and the port is mapped in Docker. Check lsusb and dmesg. If the key is visible but not working, the issue might be CP210x or CH340 drivers—install them manually.

Step-by-Step Integration of Zigbee2MQTT

  1. Install Zigbee2MQTT on a server (Docker in two commands). Connect a USB coordinator (SONOFF, Conbee II).
  2. Set up an MQTT broker (Mosquitto) with WebSocket port 9001.
  3. In the mobile app (Flutter/React Native), connect to the broker via WebSocket.
  4. Subscribe to the topic zigbee2mqtt/+ to receive device states.
  5. Send commands to zigbee2mqtt/{friendly_name}/set with JSON parameters.
  6. Implement pairing mode: a button in the app activates zigbee2mqtt/bridge/request/permit_join for 60 seconds.

Flutter example:

final client = MqttServerClient.withPort('192.168.1.100', 'mobile_app_client', 9001); client.websocketProtocols = MqttClientConstants.protocolsSingleDefault; await client.connect(); client.subscribe('zigbee2mqtt/+', MqttQos.atLeastOnce); client.updates!.listen((messages) { final topic = messages[0].topic; final payload = MqttPublishPayload.bytesToStringAsString(messages[0].payload.message); // parse JSON, update UI }); 

Command to a device:

final builder = MqttClientPayloadBuilder(); builder.addString('{"state": "ON", "brightness": 200}'); client.publishMessage('zigbee2mqtt/living_room_light/set', MqttQos.atLeastOnce, builder.payload!); 

What's Included in the Work and Timelines

Stage Duration What We Do
Infrastructure setup 3–5 days Install Zigbee2MQTT, MQTT broker, configure network
MQTT client development 5–10 days Integrate with Flutter/React Native, subscriptions, commands
Pairing and diagnostics 5–10 days Permit join, network visualization, last_seen
Testing and documentation 2–5 days QA, API docs, team training
Warranty support After release Bug fixes, consultations
  • Basic integration (device control): 2–3 weeks.
  • Full functionality (pairing, network, diagnostics): 5–8 weeks.
  • Cost is calculated individually for your project.

We guarantee integration stability—our solutions pass App Store and Google Play reviews without rejections. With 20+ IoT projects using Zigbee, we anticipate and eliminate issues at the design stage. Contact us for a consultation on integrating Zigbee into your app—we will assess your project for free and propose the optimal solution.