26 Why IoT Projects Fail: Security and Redesign
26.1 Start With the Story
A connected product has cleared its budget review and can survive a lost cloud link. It can still fail if one weak device exposes the home or factory, or if connectivity was added without redesigning the original job. The team now needs a security boundary and a product-fit test.
26.2 Overview
This route moves from defense in depth to product redesign, connectivity comparison, security scoring, and a repeatable pitfall audit.
This is part 2 of 2. Review Why IoT Projects Fail: Cost and Resilience when you need the first route.
26.3 Learning Objectives
By the end of this chapter, you will be able to:
- apply defense-in-depth controls to an IoT architecture
- test whether an everyday product has been redesigned for connection
- run a security and product-fit audit before release
26.4 Chapter Roadmap
Follow the original sections below in order. They begin at the reviewed split boundary and keep every worked example, figure, check, and supporting banner with the section that owns it.
26.5 Defense-in-Depth Security
IoT deployments require defense-in-depth security — multiple overlapping layers so that no single point of failure compromises the entire system.
Use Figure 26.1 to prepare the decision in defense-in-depth security. The diagram names IoT Defense in Depth and Layer 1, the two anchors needed to assess five-layer defense-in-depth model for iot deployments.
Trace the visual from IoT Defense in Depth to Layer 1 in Figure 26.1; verify Network before concluding. Together those labels make five-layer defense-in-depth model for iot deployments testable. Apply their boundary when working through defense-in-depth security.
26.5.1 Security Layer Details
- 1. Network - VLAN segmentation: limits lateral movement after a breach by placing IoT devices on a separate subnet with firewall rules.
- 2. Encryption - TLS 1.3 plus AES-256: protects against eavesdropping and data theft through device certificates and encrypted storage.
- 3. Authentication - mutual TLS plus RBAC: prevents impersonation and unauthorized access through a certificate authority and role definitions.
- 4. Device - secure boot plus OTA updates: blocks malware installation and known CVEs through a signed bootloader and update server.
- 5. Privacy - PII removal plus aggregation: reduces privacy and regulatory risk through data-pipeline anonymization.
26.5.2 Case Study: Smart City Streetlights
A city deploys 100,000 IoT streetlights with remote monitoring and adaptive brightness. What risk-mitigation strategy addresses BOTH security and privacy concerns?
Answer: Implement defense-in-depth across all five layers. Specifically:
- Network: Dedicated streetlight management network, isolated from city IT
- Encryption: TLS for all command-and-control traffic; no plaintext
- Authentication: Each lamp has a unique device certificate; revocation for compromised units
- Device security: Secure boot to prevent malicious firmware; signed OTA updates
- Privacy: Presence detection data (which could reveal pedestrian patterns) is aggregated to 15-minute windows before leaving the edge gateway
No single measure is sufficient: physical devices in public spaces face tampering, 100K devices create 100K potential entry points, and presence data reveals behavioral patterns.
26.6 Redesigning Everyday Objects for IoT
When transforming ordinary objects into IoT devices, the most common pitfall is focusing exclusively on “what cool things can this do?” rather than systematically evaluating the six dimensions of IoT product design.
Ground redesigning everyday objects for iot with the visual at Figure 26.2. Start from Redesign Everyday Objects for IoT, but keep IoT Product visible while evaluating six dimensions to check when redesigning an everyday object as an iot product.
Use IoT Product to test Redesign Everyday Objects for IoT in the diagram at Figure 26.2. Then inspect Redesign as the final qualifier on six dimensions to check when redesigning an everyday object as an iot product. That sequence keeps redesigning everyday objects for iot tied to what is visibly labelled.
26.6.1 Worked Example: Smart Water Bottle
Consider redesigning a simple water bottle as an IoT device:
- Sensors: Capacitive water level, temperature, and IMU tilt sensing track hydration and detect drinking events.
- Connectivity: BLE to the smartphone keeps power low while letting the phone relay data to the cloud.
- Processing: Basic on-device sip counts and daily intake calculations keep firmware simple while leaving richer analytics in the app.
- Power: A CR2032 coin cell with roughly one-year life avoids a daily charging burden.
- UI: An LED ring on the cap gives glanceable reminders, while the smartphone app carries detailed data.
- Security: BLE pairing plus encrypted health-data sync protects data that may be treated as PII.
Common mistakes for this product: Using Wi-Fi (battery dies in days), requiring daily charging (users abandon it), collecting GPS data (unnecessary PII), no offline mode (bottle is useless without phone).
Connectivity choice cost impact for this product:
- BLE (chosen): $1.50 BOM using an nRF52810, 12-18 months from a CR2032, $0 annual cloud cost because the phone relays, and a pair-once user experience.
- Wi-Fi: $2.80 BOM using an ESP32-C3, 3-5 days from a 500mAh LiPo, $0.50/device/year in cloud cost, and daily charging friction.
- NB-IoT: $8.00 BOM using a BC66 plus SIM, 6-12 months from AA cells, $12/device/year in cloud or connectivity cost, and SIM activation friction.
The BLE option costs $7.50 less per unit than NB-IoT at the BOM level. For a production run of 100,000 units, that is $750,000 saved on hardware alone, plus $1.2M/year in avoided cellular subscriptions. This analysis illustrates why connectivity selection is one of the highest-leverage decisions in IoT product design.
26.7 Interactive Connectivity Comparison
Compare the total cost of different connectivity technologies for your IoT product over its lifetime.
26.8 Knowledge Check: IoT Redesign
Question 6: You are designing a smart plant pot that monitors soil moisture and reminds users to water their plants. Which connectivity choice is MOST appropriate?
a) Wi-Fi (802.11n) b) Bluetooth Low Energy (BLE) c) 4G LTE cellular d) LoRaWAN
Answer: b) Bluetooth Low Energy (BLE). A plant pot sits in a home near the user’s smartphone, making BLE’s short range acceptable. BLE’s ultra-low power consumption allows the pot to run for months or years on a coin cell battery. Wi-Fi (a) would drain the battery in days. Cellular (c) adds unnecessary subscription cost and power drain for a device that communicates infrequently with a nearby phone. LoRaWAN (d) is designed for long-range outdoor applications and is overkill for an indoor consumer product.
Question 7: A team is adding IoT capability to a commercial dishwasher for restaurants. They plan to use a smartphone app as the only user interface. What is the PRIMARY concern with this approach?
a) Smartphones are expensive b) Restaurant staff may not have personal phones, and shared devices create hygiene and security issues in kitchen environments c) Smartphone apps are difficult to build d) The dishwasher does not need a user interface
Answer: b) In commercial kitchen environments, staff often share devices, wear gloves, and work in wet conditions. A smartphone-only interface creates practical barriers. The dishwasher should include a physical status display (LEDs or a small screen) for at-a-glance monitoring, with the app providing detailed analytics for managers. Context of use matters — what works for a home thermostat may fail in a commercial kitchen.
Checkpoint: Security and Product Fit
You now know:
- Defense-in-depth needs five layers: network segmentation, encryption, authentication, device security, and data privacy.
- For the 100,000-streetlight case, certificates, signed OTA updates, and 15-minute edge aggregation address security and privacy together.
- Product redesign must check all six dimensions: sensors, connectivity, processing, power, user interface, and security.
26.9 Pitfall Prevention Checklist
26.10 Interactive Security Checklist Scorer
Assess your IoT deployment against the 18-point pitfall prevention checklist. Check each item that applies to your project to see your readiness score.
Use this checklist before finalizing any IoT project plan. Each “No” answer represents a risk that should be addressed before proceeding.
- Lock-in: Devices support Matter, Thread, or open APIs; the system works without vendor cloud; data is exportable in standard formats.
- Security: Default credentials changed at provisioning; IoT devices on a separate network segment; firmware update mechanism in place; encryption for data in transit and at rest.
- Cost: 5-year TCO calculated beyond hardware; connectivity costs included per device per year; maintenance budgeted at 15-20% annually.
- Resilience: System degrades gracefully without cloud; plausibility checks reject impossible sensor values; watchdog timers and safe-state defaults are implemented; FMEA completed for critical components.
- Scale: Load-tested at 2x expected device count; zero-touch device provisioning automated.
- Privacy: PII removed or anonymized in telemetry; data retention policy defined and enforced.
The checklist is the handoff point from reading to action. If a row is unchecked, turn it into a named risk with a mitigation, cost, and owner before treating the project as production-ready.
26.11 IoT Risks: Lock-In, Security, Cost, and Connectivity
-
Wrong: Nobody will try the factory password. Replace it with a new, strong password before use.
Hey Sensor Squad! Let’s learn about mistakes people make with smart devices!
Temperature Terry says: “Imagine you buy a toy robot that only works with one brand of batteries. Then the company stops making those batteries. Your robot is useless! That’s called vendor lock-in — it’s like being stuck with one brand forever.”
Light Lucy explains: “Here’s another mistake — imagine leaving all the doors in your house unlocked because ‘nobody would break in.’ That’s what happens when people don’t change the default passwords on their smart devices. Every smart camera and doorbell should get a new, strong password right away!”
Motion Marley warns: “The biggest surprise? Buying a smart device is like getting a pet. The pet food (electricity, internet, cloud service) costs WAY more over time than the pet itself! A $50 sensor might cost $200 over five years when you add everything up.”
Bella the Barometer adds: “And always have a backup plan! What happens to your smart thermostat when the internet goes down? A good smart device should keep working even without the internet — maybe not all features, but the basics should still work. That’s called graceful degradation.”
Remember: The best IoT engineers plan for things going WRONG, not just things going right!
26.12 Interactive Quiz: Match Concepts
26.13 Interactive Quiz: Sequence the Steps
26.14 Label the Diagram
26.15 Code Challenge
26.16 Summary
26.17 Key Takeaways
-
Vendor lock-in is the most common consumer pitfall. Prioritize Matter/Thread devices, local API access, and cloud-independent operation. Use the purchase decision flowchart before every buy.
-
Network security neglect turns every IoT device into a potential entry point. Always segment IoT devices onto a separate VLAN, change default credentials at setup, and keep firmware updated. The Mirai botnet proved this lesson at internet scale.
-
TCO underestimation is the most common enterprise pitfall. Hardware is only ~25% of the 5-year cost. Connectivity ($60K), cloud services ($40K), and maintenance ($25K) dominate — calculate the full 5-year TCO before project approval.
-
Failure mode neglect causes silent production failures. Implement graceful degradation, watchdog timers, plausibility checks, and secure defaults. Test failure scenarios as rigorously as happy paths.
-
The prototype-to-production gap catches teams that tested at 10 devices and deployed at 10,000. Load-test at 2x capacity, automate provisioning, design for observability, and roll out in stages.
-
Defense-in-depth requires five security layers: network segmentation, encryption, authentication, device security, and data privacy. No single layer is sufficient on its own.
-
IoT product redesign must address all six dimensions: sensors, connectivity, processing, power, user interface, and security. Neglecting any dimension leads to product failure.
26.18 Knowledge Check
26.19 Quiz: Common IoT Pitfalls
26.20 Try It Yourself: Pitfall Audit Exercise
Challenge: Audit an existing IoT deployment (real or hypothetical) using the Pitfall Prevention Checklist from this chapter. Document at least three risks and propose mitigations.
Setup:
- Choose a scenario: smart home (20 devices), factory (500 sensors), or smart agriculture (100 field sensors)
- Download the checklist (18 checkpoints across Lock-in, Security, Cost, Resilience, Scale, Privacy)
- Interview stakeholders or research the deployment architecture
What to observe:
- For each “No” answer on the checklist, estimate the risk severity (Low/Medium/High/Critical)
- Prioritize the top 3 risks by potential business impact
- For each risk, propose a mitigation with cost estimate
Example solution (Smart Factory - 500 Sensors):
-
Risk: Default credentials not changed (Security checkpoint) → Critical severity
- Impact: Mirai-style botnet could compromise all 500 sensors → factory shutdown
- Mitigation: Implement zero-touch provisioning with unique device certificates → $15K (gateway + CA infrastructure)
-
Risk: No 5-year TCO calculated (Cost checkpoint) → High severity
- Impact: $100K budget may run out after Year 2 when connectivity fees ($60K) + cloud ($40K) + maintenance ($25K) exceed hardware cost
- Mitigation: Calculate full TCO ($200K over 5 years) and secure multi-year budget approval → $0 (planning exercise)
-
Risk: No graceful degradation for connectivity loss (Resilience checkpoint) → Medium severity
- Impact: Factory halts when cloud link fails (happens 2-3 times/year for 15-minute periods)
- Mitigation: Add edge gateway ($2K) with local control loop for critical machines → maintains operation during outages
Extension: Present findings to stakeholders with a prioritized remediation roadmap and budget justification.
Checkpoint: Audit Readiness
You now know:
- The 18-point checklist groups pitfall prevention into lock-in, security, cost, resilience, scale, and privacy.
- The factory example turns three “No” answers into risks with severity, impact, mitigation, and cost.
- A useful final audit produces a remediation roadmap, not just a pass/fail score.
26.21 Concept Relationships
- Vendor lock-in: Device Evolution explains how Matter and Thread standards prevent proprietary protocol lock-in.
- TCO underestimation: IoT Requirements connects the “Growing” and “Low Maintenance” characteristics to 5-year cost.
- Security neglect: Security Threats maps defense-in-depth layers to the five security checkpoints.
- Failure-mode neglect: Edge Computing shows how local processing enables graceful degradation when cloud fails.
- IoT redesign framework: The six redesign dimensions prevent single-perspective thinking in product design.
26.22 See Also
Related Fundamentals:
- IoT Introduction - Understanding the Three Ingredients Test prevents “smart” marketing pitfalls
- IoT Perspectives - Cross-functional collaboration prevents single-perspective failures
Security Deep Dives:
- Security Threats - Defense-in-depth and threat categories for IoT
- Threat Modeling - Structured attack and failure analysis
- Network Topologies - Isolation and topology trade-offs
Architecture and Design:
- Reference Models - Resilient system design patterns
- Testing and Validation - Failure mode testing strategies
Cost Analysis:
- Business Models - TCO and pricing strategies for IoT products
26.23 What’s Next
- Next: Worked Examples adds ROI calculations that complement these pitfall warnings.
- Related: Application Domains shows industry-specific IoT implementations.
- Related: IoT Requirements lists the minimum requirements every IoT system must satisfy.
- Deep dive: Security Threats explains defense-in-depth strategies for IoT.
- Overview: IoT Introduction summarizes and navigates the rest of this sequence.
