Chapters

41 Device Communication: Direct Links

iot
ux-design
connected-devices

41.1 Start With the Decision

A product that depends on a nearby phone should explain when the phone is required and what continues without it.

41.2 Route Overview

This is part 2 of 2. Review Device Communication: Pattern Selection for the preceding evidence.

41.3 Learning Objectives

  • Test direct communication with a concrete scenario and pass criteria.
  • Trace try it: audit a communication path claim across its components and failure boundaries.

41.4 Chapter Roadmap

  • Direct Communication
  • Hub-And-Spoke Communication
  • Mesh Communication
  • Cloud-Mediated Communication
  • Hybrid Topologies
  • Failure Modes And User Feedback
  • Setup And Mental Model
  • Communication Pattern Readiness Record
  • Connected System Review Gate
  • Worked Review: Apartment Door Sensor
  • Building Lighting Retrofit
  • Common Findings
  • Review Checklist
  • Knowledge Check
  • Matching Quiz
  • Ordering Quiz
  • Try It: Audit a Communication Path Claim
  • Summary
  • Key Takeaway
  • Concept Relationships
  • What’s Next

41.5 Direct Communication

Direct communication links two nearby participants without a central coordinator in the primary command path. Examples include a phone commissioning a device over a local link, a sensor reporting to a nearby controller, or a device accepting a local maintenance command.

Review:

whether the direct link is for setup, everyday control, diagnostics, emergency recovery, or data transfer. whether both participants must be awake, nearby, paired, authorized, and using compatible versions. what the user sees while discovery, pairing, authentication, and command acknowledgement happen. what happens when the phone leaves, a device sleeps, the link is weak, or credentials expire. whether the direct path bypasses cloud policy, logging, support visibility, or access controls. whether the direct path is a fallback or the main product experience.

Direct communication can feel immediate when it works, but it can also create setup friction and unclear responsibility. A product that depends on a nearby phone should explain when the phone is required and what continues without it.

Before deciding how Zigbee shapes direct communication, inspect Figure 41.1 beside Bulbs. Together, Zigbee and Bulbs frame the direct communication claim: direct device-to-device communication examples.

Direct device-to-device communication examples showing a motion sensor controlling lights over Bluetooth, a thermostat controlling a fan over Zigbee, and a switch controlling bulbs over Wi-Fi with short local ranges and no cloud round trip.
Figure 41.1: Direct device-to-device communication examples.

Read Zigbee alongside Bulbs in Figure 41.1; their named relationship makes direct device-to-device communication examples concrete. For direct communication, Zigbee supplies visible evidence; Bulbs constrains the decision. In Figure 41.1, retain Zigbee beside Bulbs so direct communication remains explicit.

41.6 Hub-And-Spoke Communication

A hub-and-spoke pattern routes devices through a local hub, gateway, bridge, or controller. The hub can coordinate automation, translate protocols, keep local state, and offer a single control point.

Review:

which devices depend on the hub for commands, state, automation, logging, or updates. whether automation rules run locally, in the cloud, or in a mixed path. whether the hub stores enough state to operate during internet loss. what device behavior remains available if the hub is offline, rebooting, updating, or full. whether setup creates a clear relationship between room, device, hub, account, and user role. whether support can distinguish device failure from hub failure, network failure, and cloud failure.

Hub-and-spoke is often easier for users to understand because there is a visible coordinator. It also concentrates risk. The review should name the single point of failure and the intended fallback before deployment.

Before deciding how Sensors shapes hub-and-spoke communication, inspect Figure 41.2 beside Events. Together, Sensors and Events frame the hub-and-spoke communication claim: hub-and-spoke communication with central automation.

Hub-and-spoke architecture where sensors send events to a central hub, hub services keep the device registry and automation rules, and commands fan out to lights, locks, thermostats, and cameras.
Figure 41.2: Hub-and-spoke communication with central automation.

Read Sensors alongside Events in Figure 41.2; their named relationship makes hub-and-spoke communication with central automation concrete. For hub-and-spoke communication, Sensors supplies visible evidence; Events constrains the decision. In Figure 41.2, retain Sensors beside Events so hub-and-spoke communication remains explicit.

41.7 Mesh Communication

A mesh pattern allows some nodes to relay messages for others. It is useful when range, obstruction, or coverage would make every endpoint communicating directly to one gateway unreliable.

Review:

which nodes are allowed to route traffic and whether they have stable power. whether endpoints can sleep without being expected to relay messages. how the system chooses a route, detects a failed route, and recovers. what users see while the network heals, rejoins, or rebuilds routes. whether installers can see weak links, isolated nodes, crowded channels, and repeated retries. whether a physical change, such as moving a router node, invalidates the previous coverage evidence.

Mesh networking should not be treated as automatic reliability. A mesh is only as useful as its installed routing nodes, commissioning process, monitoring, and maintenance practice.

Range claims are easy to make from a node count and hard to defend after a router fails. Figure 41.3 gives a concrete failure path to inspect before treating a mesh as self-healing.

Mesh network topology showing a gateway, router nodes, end devices, active links, a failed node, and a self-healing reroute across multiple hops.
Figure 41.3: Self-healing mesh network topology.

In Figure 41.3, the ordinary three-hop route leaves Gateway GW through router N1 and reaches end devices beyond N3. The red N4 Failed node breaks one link, but the dashed reroute bends through powered router N6 instead of asking sleeping end device N5 to relay. The stated total range of about 30 m therefore depends on router placement and an alternate path, which is exactly why commissioning evidence must include failure recovery rather than coverage alone.

41.8 Cloud-Mediated Communication

Some products route commands, state, and automation through a cloud service even when devices are physically nearby. Cloud mediation can support remote access, account policy, fleet monitoring, integration, and cross-site management.

Review:

which actions require internet connectivity and which work locally. whether cloud round trips affect controls that users expect to feel immediate. how credentials, account ownership, sharing, and revocation affect local devices. what state is cached locally and what state is authoritative in the cloud. whether outage messages tell users what is unavailable and what still works. whether logs support support teams without exposing unnecessary data.

Cloud mediation is not wrong, but hidden cloud dependency creates poor UX. Local controls, safety functions, and recovery paths should be explicit when they exist.

41.9 Hybrid Topologies

Most real IoT systems are hybrid. A battery sensor may send to a nearby router, routers may form a mesh, a gateway may run local automations, and the gateway may synchronize with the cloud for remote access and fleet management.

Review each layer separately:

  • Endpoint to nearby infrastructure: power budget, wake schedule, acknowledgements, retry behavior, and user-visible status.
  • Local infrastructure: hub, router, bridge, gateway, automation engine, local logs, and local fallback.
  • Remote services: account, backup, sharing, analytics, update service, remote control, and support tools.
  • Human workflow: installer setup, user control, technician replacement, ownership transfer, and decommissioning.

A hybrid system needs a plain-language operating model. Users and support staff should know which parts work locally, which parts need the cloud, and what to do when a path is degraded.

41.10 Failure Modes And User Feedback

Communication failures become UX failures when the product hides the cause or suggests the wrong action.

Common failure modes:

command sent but not acknowledged. device online in the app but unreachable locally. local automation works but remote control does not. remote control works but local manual control is delayed. mesh route heals slowly after a router node is unplugged. endpoint sleeps while the user expects immediate status. hub is online but its protocol bridge is offline. cloud state disagrees with the device’s actual state. account transfer leaves a device paired to the wrong owner.

Review the message shown to users, the log shown to support, and the recovery path. “Device offline” is often too vague. Better evidence distinguishes power, local link, hub, gateway, internet, cloud service, account permission, and device firmware state when that distinction is available.

41.11 Setup And Mental Model

The communication pattern shapes onboarding. A user may think they are adding “a light,” while the system is actually commissioning a radio endpoint, binding it to a hub, assigning it to a room, authorizing account access, and creating automations.

Review:

whether setup uses terms the user can verify in the physical world: room, device name, indicator, button, label, or QR code. whether the app explains when a hub, phone, account, or internet connection is required. whether discovery results avoid duplicate, stale, or ambiguous devices. whether the product verifies that the right device was added. whether the user can recover from failed pairing without factory reset as the first answer. whether ownership transfer removes old credentials and preserves appropriate local function.

A good setup flow hides unnecessary protocol detail but does not hide required dependencies.

41.12 Communication Pattern Readiness Record

Before deciding how Monitoring Evidence shapes communication pattern readiness record, inspect Figure 41.4 beside or fallback path. Together, Monitoring Evidence and or fallback path frame the communication pattern readiness record claim: communication pattern readiness record.

Communication pattern readiness record with cards for user goal, participants, local path, cloud path, control owner, failure behavior, setup burden, and monitoring evidence, plus a decision and change condition that records the accepted tradeoff, owner, known limit, and open issue.
Figure 41.4: Communication pattern readiness record.

In the diagram, check Monitoring Evidence and or fallback path separately in Figure 41.4; together they make communication pattern readiness record auditable. For communication pattern readiness record, Monitoring Evidence supplies visible evidence; or fallback path constrains the decision. In Figure 41.4, retain Monitoring Evidence beside or fallback path so communication pattern readiness record remains explicit.

User goal: setup, control, automation, monitoring, alert, update, diagnosis, or recovery. Participants: devices, phone, hub, router, gateway, cloud, dashboard, account, operator, and third-party systems. Paths: direct, hub-and-spoke, mesh, cloud-mediated, and fallback paths. Control owner: where rules, permissions, state, logs, and retries are decided. Failure behavior: user message, degraded function, retry rule, local fallback, manual action, and support evidence. Setup burden: pairing, joining, naming, room assignment, account ownership, sharing, and replacement. Monitoring evidence: last seen, route quality, queue depth, missed acknowledgements, error class, and recovery record. Decision and change condition: accepted tradeoff, owner, known limit, open issue, and change condition.

The record should remain short enough to update when device roles, gateway firmware, account policy, topology, installation layout, protocol bridge, or cloud behavior changes.

Connected System Review Gate

Before choosing a communication pattern, review the whole connected experience:

Outcome: what user or operator outcome requires devices to be connected? Coupling: which devices, apps, services, and people must coordinate, and which should stay independent? Connection contract: what is paired, discovered, authenticated, authorized, and remembered? Decision ownership: which layer makes the local, hub, cloud, or user-facing decision when data conflicts? Recovery path: what does the user see, do, and trust when setup, connectivity, consent, or support fails?

The pattern is ready for implementation only when the communication path, decision owner, failure feedback, and support owner are all visible.

41.13 Worked Review: Apartment Door Sensor

A battery door sensor reports open and closed state to a phone app through a local hub. The user expects status to be accurate, alerts to arrive promptly, and manual inspection to remain possible.

Communication evidence to request

  • sensor wake, report, acknowledgement, retry, and sleep behavior
  • hub dependency for local automation and remote notifications
  • behavior during internet loss, hub reboot, low battery, and weak link
  • user-facing messages for stale state, missed acknowledgement, and low battery
  • support evidence that separates sensor power, local radio, hub, internet, cloud, and account issues
  • replacement and re-pairing path that preserves the room and automation record

Likely review action

Hold the decision if the app shows only “closed” without age, confidence, or last-seen evidence. A stale door state can be more harmful than no state because it encourages false confidence.

Change condition

Repeat the review when the hub model, firmware, radio placement, battery type, alert policy, sleep schedule, ownership flow, or cloud notification path changes.

41.14 Building Lighting Retrofit

A retrofit project adds connected switches and occupancy sensors across many rooms. Users expect wall controls to work immediately, facility staff expect central schedules, and support needs a way to locate weak rooms.

Communication evidence to request

  • which controls work locally if the internet connection is down
  • whether automations run in the hub, gateway, controller, or cloud
  • which powered nodes act as routers and which battery nodes are endpoints only
  • route-health evidence after installation, not only in a bench test
  • behavior when a router switch is removed, replaced, or moved
  • installer workflow for naming rooms and verifying the correct physical device
  • support workflow for identifying weak links, duplicate devices, and stale state

Likely review action

Approve a hybrid pattern only if local wall control remains responsive, central scheduling has a clear fallback, and support can see whether failures are route, device, gateway, or cloud problems.

Change condition

Repeat the review when rooms are reconfigured, powered nodes are replaced, firmware changes routing behavior, schedules move between local and cloud execution, or monitoring evidence changes.

41.15 Common Findings

The pattern is named by protocol instead of by actual command and state paths. Local control is claimed but automation rules depend on the cloud. A hub is required but the setup flow presents it as optional. A mesh expects battery endpoints to relay traffic. Device state in the app has no age, confidence, or last-seen evidence. A direct setup path bypasses ownership, logging, or support records. The support view cannot distinguish power, radio, hub, internet, cloud, and account failures. Retrying hidden commands creates duplicate actions or confusing delayed behavior. Replacing a hub or router node breaks automations because identity and room mapping are not preserved. The record lacks an owner, known limit, open issue, or change condition.

41.16 Review Checklist

Before accepting a communication pattern, confirm that the record includes:

user goal, participants, paths, and control owner. what works locally and what requires a phone, hub, account, internet connection, or cloud service. direct, hub-and-spoke, mesh, cloud, and fallback paths when each applies. route, acknowledgement, retry, queueing, sleep, and recovery behavior. user-facing status for pending, failed, stale, degraded, and recovered states. setup, replacement, ownership transfer, and decommissioning workflows. support evidence for power, local link, hub, gateway, internet, cloud, account, and firmware failures. accepted tradeoff, owner, known limit, open issue, and change condition.

41.17 Knowledge Check

41.18 Matching Quiz

41.19 Ordering Quiz

Try It: Audit a Communication Path Claim

Choose one connected product claim such as “works locally,” “uses mesh,” or “keeps automations running during outages.” Build a six-line audit record before accepting the claim:

User outcome: the command, status, alert, automation, or maintenance action the pattern must support. Participants and paths: the device, app, hub, router, gateway, cloud, account, and fallback path involved. Decision owner: where rules, permissions, authoritative state, acknowledgements, retries, and logs are decided. Outage behavior: what still works if the phone leaves, the hub restarts, the internet fails, or the cloud is delayed. Support evidence: the signal that separates power, radio, hub, gateway, internet, cloud, account, and firmware failures. Change condition: the topology, firmware, account-policy, installation, or ownership change that would invalidate the record.

Finish with one sentence: “Accept,” “accept with known limit,” or “hold,” and name the missing evidence if the decision is not ready.

41.20 Summary

Device communication patterns are product decisions, not only network diagrams. Direct, hub-and-spoke, mesh, cloud-mediated, and hybrid paths each change setup effort, responsiveness, power use, privacy, failure behavior, and support evidence.

The strongest reviews avoid generic protocol claims. They show who talks to whom, where decisions run, what works locally, what requires the cloud, how users recover, how support diagnoses failures, and what change requires review.

41.21 Key Takeaway

Communication patterns should match user intent, data timing, reliability needs, failure recovery, privacy, and cross-device visibility.

41.22 Concept Relationships

The Connected System Review Gate frames communication as part of the user’s connected-device experience. Device Discovery and Pairing expands the setup and trust-establishment part of the pattern. Ecosystem Integration reviews multi-vendor and account-level integration after communication paths are clear. Connected Devices - Power Management reviews power effects created by awake windows, retries, routing, and cloud synchronization. Layered Network Models explains the lower-level network layers behind these product choices.

41.23 What’s Next

Continue to Ecosystem Integration to review how multi-vendor services, account models, and ecosystem rules build on the communication paths accepted here.

41.24 Continue Your Route

This final part closes the route from Direct Communication through What’s Next. Return to Device Communication: Pattern Selection or continue from the ux-design module index.