<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Iot on Sohil Ladhani Blog</title><link>https://sohilladhani.com/blog/tags/iot/</link><description>Recent content in Iot on Sohil Ladhani Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 19 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://sohilladhani.com/blog/tags/iot/index.xml" rel="self" type="application/rss+xml"/><item><title>Device Shadow</title><link>https://sohilladhani.com/blog/post/2026-07-19-device-shadow/</link><pubDate>Sun, 19 Jul 2026 00:00:00 +0000</pubDate><guid>https://sohilladhani.com/blog/post/2026-07-19-device-shadow/</guid><description>An IoT device goes offline. A backend service wants to read its current temperature. The device isn&amp;rsquo;t there to respond. A device shadow (also called digital twin) solves this: a server-side representation of the device&amp;rsquo;s last-known state that can be read and written to even when the device is offline. When the device reconnects, it synchronizes with the shadow.
The Problem IoT devices are intermittently connected. Cellular, wifi, and industrial networks all have gaps.</description></item><item><title>Edge Processing in IoT</title><link>https://sohilladhani.com/blog/post/2026-07-18-edge-processing/</link><pubDate>Sat, 18 Jul 2026 00:00:00 +0000</pubDate><guid>https://sohilladhani.com/blog/post/2026-07-18-edge-processing/</guid><description>A factory floor has 10,000 sensors each sending readings every second. Sending all 10,000 readings per second to the cloud costs bandwidth money and creates a massive ingestion problem. Most readings are uninteresting: the temperature was 23.4C last second, it&amp;rsquo;s 23.4C this second. Edge processing filters, aggregates, and transforms data before it reaches the cloud, pushing computation closer to where data originates.
What to Do at the Edge Filtering: only forward readings that cross a threshold or change by more than a delta.</description></item><item><title>MQTT and Device Registration</title><link>https://sohilladhani.com/blog/post/2026-07-17-mqtt-and-device-registration/</link><pubDate>Fri, 17 Jul 2026 00:00:00 +0000</pubDate><guid>https://sohilladhani.com/blog/post/2026-07-17-mqtt-and-device-registration/</guid><description>A temperature sensor in a factory sends a reading every 30 seconds. It runs on a microcontroller with 256KB of RAM and a 2G cellular connection. It can&amp;rsquo;t maintain a persistent HTTP connection. It can&amp;rsquo;t handle TLS handshakes with 10KB certificates. IoT devices require a protocol built for constrained environments. MQTT is that protocol, and device registration is the first problem you solve before any data flows.
MQTT Basics MQTT is a publish/subscribe protocol over TCP, designed for low-bandwidth, high-latency, unreliable networks.</description></item></channel></rss>