Sensor Applications · Study deck

The Sensor Data Path

The photographs below make outdoor environmental sensor station (weatherproof enclosure) a physical comparison: look for changes in package, exposed interfaces, mounting, scale, and service access before treating the forms as interchangeable.

Physics Phoebe is your guide for this deck.

sensor-architecturedata-pathsgateways
Physics Phoebe, the module guide, in a scene from this chapter.
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • trace a reading's source, timestamp, unit, and quality state as it moves from sensing node through gateway, processing, storage, and action
  • assign a gateway's role (translate, buffer, filter, route, local decision) explicitly instead of treating it as a black box
  • identify which architecture handoff is responsible when a stored or displayed value loses its supporting context
  • Explain: The photographs below make outdoor environmental sensor station (weatherproof enclosure) a physical comparison: look for changes in package, exposed interfaces, mounting, scale, and service access before treating the forms as interchangeable.
A weather-station assembly is laid out on a table with a wind vane, cup anemometer, open electronics housing, detached cylindrical part, and small solar panel, exposing the parts used for environmental sensing.
A weather-station assembly is laid out on a table with a wind vane, cup anemometer, open electronics housing, detached cylindrical part, and small solar panel, exposing the parts used for environmental sensing.
iotclass.org

Major section

Start With the Data Path Story

The photographs below make outdoor environmental sensor station (weatherproof enclosure) a physical comparison: look for changes in package, exposed interfaces, mounting, scale, and service access before treating the forms as interchangeable.

  • They share a capability name, but packaging and installation change the electrical, mechanical, environmental, and maintenance constraints.
  • Architecture must protect meaning across every hand-off.
  • The number may be accurate, yet the person cannot know where it came from or whether it is safe to act.
  • A gateway is the device that joins a local sensing network to another system.
Outdoor environmental sensor station mounted on a rooftop, featuring a weatherproof enclosure, anemometer, and other sensors.
Outdoor environmental sensor station mounted on a rooftop, featuring a weatherproof enclosure, anemometer, and other sensors.
iotclass.org

Major section

Start With the Data Path Story (continued)

The final action should stop or show doubt when its evidence is incomplete.

  • This trace proves one decision path, not every use of the stored data.
  • New reports or rules may create new duties.
  • The architecture is good only if that path keeps the reading's source, time, unit, context, and quality state intact.
Outdoor environmental sensor station with weatherproof enclosure, antenna, circuit board, battery, and wiring connections.
Outdoor environmental sensor station with weatherproof enclosure, antenna, circuit board, battery, and wiring connections.
iotclass.org

Major section

Architecture Preserves Meaning

Sensor application architecture is the reviewable path from a physical reading to a display, alert, report, automation rule, or human review.

  • The architecture is not the list of devices.
  • A strong architecture record says what each step owns, what evidence proves the handoff works, what quality states can occur, and what change requires retesting.
  • This keeps the application tied to a bounded decision instead of a vague claim that data is available somewhere.

Why it matters

A gateway adds value when it explicitly translates, buffers, filters, or preserves context; otherwise it merely hides an unclear handoff.

An outdoor weather monitoring station on a pole with a solar panel, an instrument enclosure box, and multiple sensor arms
An outdoor weather monitoring station on a pole with a solar panel, an instrument enclosure box, and multiple sensor arms
iotclass.org

Major section

Architecture Preserves Meaning (continued)

If any handoff drops one of those fields, the architecture has turned a measurement into an unsupported claim.

  • For example, an equipment-room heat monitor may begin with a temperature sample from a wall-mounted sensing node.
  • A processing rule rejects impossible jumps, marks stale records unavailable, and passes only fresh accepted readings to storage.
  • An Airspeck-S-style environmental station makes the same boundary visible at outdoor scale.
iotclass.org

Major section

Architecture Preserves Meaning (continued)

The display can then show the latest accepted state, while a maintenance reminder is allowed only when the stored record still has source, unit, timestamp, room context, quality state, and rule version.

  • If you only need the core idea, use this rule: a sensor application is ready only when every downstream action can trace back to a reading with source, unit, timestamp, context, quality state, and validation evidence.
  • GatewayTranslates, buffers, filters, routes, attaches site context, or supports a local decision when that role is explicit and validated.
  • Action PathProcesses, stores, displays, alerts, reports, actuates, or queues review only when the evidence allows the action.
iotclass.org

Major section

Write the Architecture Record

A practical architecture review starts with the decision or action.

  • A comfort display, cold-storage alarm, machine-protection shutdown, field inspection note, and maintenance report can all use sensor data, but they need different evidence strength.
  • The architecture record should say exactly which decision the path supports.
  • Once the decision is clear, map every handoff.
iotclass.org

Major section

Write the Architecture Record (continued)

Action rule, blocked states, escalation path, validation example, and owner.

  • The record should show the sensing node, gateway behavior, processing rule, storage fields, action rule, validation evidence, quality states, and retest trigger.
  • If a handoff changes meaning, the record should keep the original meaning or explain the transformation.
  • Triggering alerts or controls from stale or unreviewed readings.
iotclass.org

Major section

Write the Architecture Record (continued)

At each boundary, confirm that source, unit, timestamp, context, validity state, and rule version survive or are deliberately transformed.

  • Intermediate ExampleA room condition display receives temperature and humidity from a sensing node.
  • The gateway attaches room identity and forwards accepted readings.
  • Storage keeps source, unit, timestamp, room identity, validity state, and the rule version that accepted the reading.
iotclass.org

Major section

Quality States and Retest Boundaries

Retest triggers keep the architecture honest after change.

  • The hardest architecture mistakes happen when weak readings are allowed to look normal.
  • Accepted, rejected, stale, missing, unavailable, saturated, contradictory, and needs-review states should stay distinct from the sensing node through the action.
  • The record should name which changes reopen review.

Why it matters

Otherwise a technically correct numeric value can reach the wrong action boundary.

iotclass.org

Major section

Quality States and Retest Boundaries (continued)

Otherwise a technically correct numeric value can reach the wrong action boundary.

  • If they collapse into one normal value, dashboards, reports, alarms, and controls can become confident while the evidence is incomplete.
  • Two records can carry the same number and still require different behavior.
  • Validation Evidence ChecklistValidate the architecture with contrasting records.
iotclass.org

Major section

Quality States and Retest Boundaries (continued)

A new sensor, remounted device, gateway rule, storage schema, processing threshold, dashboard action, firmware version, or validation method can change what the data path proves.

  • A fresh accepted reading may drive the normal action, while a replayed reading from an outage may be useful for review but unsafe for an immediate alarm.
  • The architecture has to preserve that state difference as data is transformed, compressed, summarized, and displayed.
  • Advanced ExampleA cold-storage alarm uses a sensor node, a local gateway, backend storage, and an alert service.
  • Boundary examples should demonstrate the intended accept, reject, and escalation paths.
iotclass.org

Major section

Quality States and Retest Boundaries (continued)

The architecture should preserve original timestamps and mark replayed records so the alert rule does not treat old values as fresh.

  • Storage should keep the validity state and replay note, while the alert action should use only accepted current readings for immediate alarms and route replayed evidence to review.
  • Replay an old reading and keep it visibly stale or unavailable; replay a buffered batch and preserve original time, source identity, order, and replay status.
  • Quality-State ContractAccepted The reading passed the reviewed checks and may support the normal display, report, or action.
iotclass.org

Major section

Follow a Freezer Alarm Back to Ice

Each labelled boundary can delay, scale, drop, or rename the reading, so the alarm must retain its time and unit.

  • The displayed reading needs its measurement time and queue delay.
Sensor application data path preserving evidence from the sensing node to action
Sensor application data path preserving evidence from the sensing node to action
iotclass.org

Major section

Summary

Sensor application architecture is a data-path discipline.

  • A strong architecture record shows how the sensing node, gateway, processing step, storage record, and action preserve measurement meaning.
  • It keeps quality states distinct, validates each handoff, and names the retest triggers that make old evidence unsafe to reuse.
  • The review should start with the decision or action, then work backward through the evidence.
iotclass.org

Deck summary

Key takeaways

The photographs below make outdoor environmental sensor station (weatherproof enclosure) a physical comparison: look for changes in package, exposed interfaces, mounting, scale, and service access before treating the forms as interchangeable.

  • The final action should stop or show doubt when its evidence is incomplete.
  • Sensor application architecture is the reviewable path from a physical reading to a display, alert, report, automation rule, or human review.
  • If any handoff drops one of those fields, the architecture has turned a measurement into an unsupported claim.
  • A practical architecture review starts with the decision or action.
iotclass.org

Retrieval practice

Recall check 1 of 4

Physics Phoebe says: answer from memory, then check your reasoning.

Q1A gateway sits between a vibration sensor and the cloud. What must the architecture record say about its role?

AAssume gateway forwards unchanged, without buffering, routing, or local decisions.
BLet gateway discard quality and time fields without recording the change.
CLabel it gateway in a diagram without naming what it does to data.
DRecord translation, buffering, filtering, routing, or local decision at each handoff.
Show answer

Answer: D A named gateway role exposes which fields it may change and which it must preserve.

iotclass.org

Retrieval practice

Recall check 2 of 4

Physics Phoebe says: answer from memory, then check your reasoning.

Q2A sensor application dashboard shows values, but the stored records do not include unit, source identity, timestamp, or validity state. What is the strongest architecture review finding?

AThe dashboard can preserve the decision if it displays each value clearly.
BThe gateway is the review failure because gateways cannot preserve meaning.
CThe data path weakens the decision because later actions cannot verify meaning or checks.
DThe page title can supply the missing unit, source, and validity state.
Show answer

Answer: C Architecture must preserve measurement meaning from node to action.

iotclass.org

Retrieval practice

Recall check 3 of 4

Physics Phoebe says: answer from memory, then check your reasoning.

Q3A vibration sensor produces high-rate readings, but only threshold events need to reach the cloud. Where might processing belong?

AIn the cloud dashboard, so the team can retune thresholds using the full raw history.
BOnly inside the sensor package, even if it cannot record validation evidence.
CNowhere, because architecture records should avoid processing decisions.
DNear node or gateway, when it preserves evidence and cuts unnecessary transfer.
Show answer

Answer: D Processing placement should match evidence, bandwidth, latency, power, and review needs while keeping rejected states reviewable.

iotclass.org

Retrieval practice

Recall check 4 of 4

Physics Phoebe says: answer from memory, then check your reasoning.

Q4A sensor application stores timestamped readings, but its alert rule still fires on stale values after a gateway outage. Which architecture boundary should be reviewed first?

AAdd a prominent stale-reading marker to the dashboard display.
BAudit the gateway-to-storage timestamp handoff for the replayed readings.
CThe quality-state and action boundary that rejects stale alert inputs.
DTreat replayed readings as valid alert inputs after the gateway reconnects.
Show answer

Answer: C The architecture should keep stale, replayed, missing, rejected, and accepted readings separate through the action step.

iotclass.org

Print reference

Answers

Answer key.

  1. D · A named gateway role exposes which fields it may change and which it must preserve.
  2. C · Architecture must preserve measurement meaning from node to action.
  3. D · Processing placement should match evidence, bandwidth, latency, power, and review needs while keeping rejected states reviewable.
  4. C · The architecture should keep stale, replayed, missing, rejected, and accepted readings separate through the action step.
iotclass.org