Book a free call

IoT App Development Obstacles: What Slows Teams Down

IoT app development stalls on connectivity, device variety, security and data scale. Here are the obstacles teams hit first and how to plan around them.

Hertiv engineering teamReviewed by a senior engineer
6 min read
IoT App Development Obstacles: What Slows Teams Down
On this page

Short answer

IoT app development is slowed by four obstacles: unreliable connections between devices and the app, a wide mix of device models and protocols, security gaps at the device and the account, and data volumes that outgrow the first backend. Teams that plan for all four ship sooner than teams that treat the app as a normal mobile project.

What makes IoT app development hard?

IoT app development is the work of building phone or web software that talks to connected devices: sensors, thermostats, locks, meters and machines. The hard part is not the screen. It is everything around the screen: the device may be offline, it may speak a protocol the app does not, and it may send far more data than the backend was built to hold.

Use this table to see where the work piles up. Each row is an obstacle that shows up in almost every IoT project, and the fix is a design decision, not a bug fix after launch.

ObstacleWhere it bitesWhat helps
Unreliable connectivityCommands and readings go missingLocal cache and retry queues
Device varietyModels behave differentlyOne device model per release
Security gapsDevices and accounts get attackedPer-device credentials, updates
Data scaleStorage and queries slow downAggregation and retention rules

Start with the obstacle that matches your device. A home sensor app fights connectivity first. A factory app fights data scale first. The order matters, because the fix for one rarely fixes the other.

Why does unreliable connectivity break the experience?

An IoT app cannot assume the device is reachable. Wi-Fi drops, mobile signal fades in basements and garages, and a device may sleep for hours to save battery. When the app pretends the device is always online, every missed message looks like a bug to the user.

The fix is to design for offline first. The app should keep the last known state for every device, queue commands until the device reconnects, and say plainly when a reading is stale. A thermostat that shows a two-hour-old temperature with a clear timestamp is honest. One that shows it as live is misleading.

Retries need limits. An app that resends a command every second will flood the network the moment the device returns, and a lock or heater may act on a stale command. Send once, wait, then ask the device for its current state before sending again.

How do you handle devices that all behave differently?

No two device models behave alike. One sensor reports temperature in whole degrees, another in tenths. One lock answers in a second, another takes ten. Firmware updates change behaviour without warning, so a model that worked last month can start sending a new field this month.

The fix is to treat each device model as its own integration. Support one model properly before adding the next, and keep a small test set of real devices for each model you claim to support. A compatibility list that nobody tested is a promise the support team will pay for.

Protocols add a second layer of variety. Wi-Fi, Bluetooth, Zigbee and LoRaWAN each suit different ranges and power budgets, and the app often talks to a hub rather than the device itself. Pick the protocol with the device maker early, because changing it later means changing the hardware too.

Where do security gaps open in an IoT app?

Security gaps open in three places: the device, the account and the update path. A device that ships with a shared default password can be found and taken over. An account with no second factor can be guessed. A device that cannot be updated stays exposed to every flaw found after it ships.

Each device needs its own credentials, issued when it is first set up, and the app should never store a master password that works on every unit. Accounts need a second factor, because a stolen password should not hand over someone's home or factory.

Updates are the part teams skip. A device that cannot receive a signed firmware update will run its first-day software forever, and the app cannot fix that. Check the update path before you choose a device, not after the first hundred units are installed.

Why does data grow faster than the backend?

A single sensor looks harmless until you multiply it. A thermostat that reports once a minute sends 1,440 readings a day. A hundred of them send 144,000. A factory with a thousand sensors sends more rows in a day than many apps store in a year, and the first dashboard query slows to a crawl.

The fix is to decide what to keep before the data arrives. Store raw readings for a short window, then roll them into hourly or daily summaries and drop the raw rows. A chart of hourly averages answers most questions, and it costs a fraction of the storage.

Retention rules need an owner. Someone has to decide how long raw data lives, who can see it and when it is deleted. Without that, the database grows until the bill or the outage forces a rushed decision.

Why does testing need real hardware, not only emulators?

Emulators test the app, not the system. They do not lose signal in a lift, run out of battery at 2 a.m., or send a garbled reading after a firmware update. The bugs that reach users almost always live in the gap between the emulator and the real device.

Keep a test bench with the real devices you support, on the real networks your users have. Run the app through a full day on that bench before each release: pair, unpair, go offline, come back, and update the firmware while the app is open.

Test with more than one phone too. Bluetooth and background behaviour differ between phone models and operating system versions, and a flow that works on the developer's phone can fail on the one the customer owns.

Example (hypothetical): a thermostat app that kept dropping

Example (hypothetical): a small team shipped a thermostat app for 100 homes. Each thermostat sent one reading a minute, so the backend received 100 readings a minute, or 6,000 an hour. The app polled the server every 5 seconds, which meant 12 requests a minute per phone, or 720 an hour, even when nothing had changed.

In the first month, 40 of the 100 homes reported a dropped connection each week. The team added a local cache on the phone, cut polling to once a minute, and queued commands until the thermostat reconnected. Dropped-connection reports fell from 40 homes a week to 6, and server requests per phone fell from 720 an hour to 60.

The lesson was about order: the team fixed the app's behaviour before buying a bigger server. The server had never been the problem. The polling and the missing cache were.

What are the common mistakes?

The most common mistakes are treating the device as always online, supporting too many models at once, skipping the update path, and keeping every raw reading forever.

  • Assuming the device is online. Design for offline first, with cached state and queued commands.
  • Adding models before the first one works. Support one model properly, then add the next.
  • Shipping without an update path. If the device cannot be updated, its first-day flaws are permanent.
  • Storing all raw data. Roll readings into summaries and set a retention rule early.
  • Testing only in emulators. Real devices on real networks find the bugs users would find.

Key takeaways

  • IoT app development is hard because devices go offline, vary by model and send more data than expected
  • Design for offline first: cache state, queue commands and mark stale readings
  • Give every device its own credentials and check the firmware update path before launch
  • Roll raw readings into summaries and set retention rules before the database fills up
  • Test on real devices and real networks, not only in emulators

Frequently asked questions

What is the biggest obstacle in IoT app development?

Unreliable connectivity is usually the first one. Devices go offline, sleep to save battery and lose signal, so the app must cache state, queue commands and show when a reading is stale instead of pretending the device is always reachable.

How many device models should an IoT app support at launch?

One, done properly. Each model behaves differently, so supporting several at once multiplies the testing and support work. Add models one at a time, with a real test device for each one you claim to support.

Why is security harder in IoT apps than in normal apps?

The app must protect the device, the account and the update path. A shared default password, a guessed account password or a device that cannot be updated each hands an attacker a way in, and the app cannot fix a device it cannot update.

How much data does an IoT app really handle?

More than it looks. One sensor reporting once a minute sends 1,440 readings a day, and a hundred sensors send 144,000. Store raw readings briefly, then roll them into hourly or daily summaries and drop the raw rows.

Do IoT apps need real hardware for testing?

Yes. Emulators do not lose signal, run out of battery or send garbled readings after a firmware update. Keep a test bench with the real devices you support and run a full day on it before each release.

What should a team fix first when an IoT app feels slow?

Check the app's behaviour before buying a bigger server. Polling too often, missing caches and keeping every raw reading are the usual causes, and they are cheaper to fix than the infrastructure around them.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: software products in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Building an app that talks to connected devices and hitting the usual walls?

A senior engineer replies within one business day. Or see our Mobile App Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to contact@hertiv.com.

Prefer email? Write to contact@hertiv.com
Estimate costBook a call