Telemetry State Concept
Telemetric state can be viewed as a discrete methodology for transforming a physical condition into a more quantifiable form in a digital environment in any instantaneous state.
For instance, hot water in a kettle can be rendered as TRUE (or 1) in a simple digital form that indicates hot as true and cold as zero.
Or it can be more precise to transform the temperature itself into digital form, such as 101.3 degrees Celsius.
However, it is important to know that an IoT device can be a state-controlled device as well. For examples:
- switch to turn On/Off a lamp.
- digital output pins of an Integrated Circuit (IC).
There are also many instances where the device performs both functions.
Telemetric State Examples in JSON
The telemetric state used throughout Neuko ecosystem is in JSON.
Example 1: Integrated Circuit
Let’s take a look at a simple imaginary IC with 3 digital input pins and 3 digital output pins, where the pins correspond to 5V or 0V in the actual world and TRUE or FALSE in the digital world.
The telemetry state of the IC can be designed in JSON, such as below:
{ "digital": { "input": { "pin_0": true, "pin_1": false, "pin_2": true }, "output": { "pin_0": true, "pin_1": false, "pin_2": false } } }
Example 2: Energy Measurement Device
Now let’s take a look at energy sensors.
{ "active_power": { "phase_a": 1.322, "phase_b": 22.21, "phase_c": 2.19 }, "line_voltage": { "phase_a": 215.112, "phase_b": 214.889, "phase_c": 214.786 }, "power_factor": { "phase_a": 0.889, "phase_b": 0.992, "phase_c": 0.977 } }