Repository navigation
v0.25.0
·
413 commits
to master
since this release
Added
- Simple IoT now serves MQTT. Set
SIOT_NATS_MQTT_PORT=1883and gateways
and sensors publish straight to Simple IoT, with no separate broker to deploy.
The port is disabled by default, the auth token authenticates clients in the
connect packet password field, and TLS settings serve the MQTT listener too.
See the MQTT page. - MQTT messages become points. An
mqttnode and itsmqttSubchildren map
topics into points, with a JSON path such as$.valueselecting a single
value and a blank path turning each field of an object into its own point.
Units, scale, and offset apply the way they do on a Modbus IO. See the
MQTT page. - Sparkplug B builds the node tree for you. Set
sparkplug: trueon an
mqttnode and the groups, edge nodes, and devices a gateway announces appear
as nodes, one point per metric, each carrying a tag naming its Sparkplug
identity. Nodes go offline on a death certificate rather than disappearing,
and tags or descriptions you set on them survive a rebirth. See the
MQTT page. - A topic schema creates nodes as data arrives. Set
topicSchema: "{site}/{gateway}/{device}"on anmqttnode and matching
topics build that node path themselves, each level carrying a tag named by its
schema label. ExplicitmqttSubchildren still take precedence, and
maxNodes(1000 by default) bounds what a topic level carrying an unbounded
value can create. See the
MQTT page. - MQTT device nodes show the values they hold. Expanding a node a topic
schema created lists every point the device publishes next to its current
value, the way a serial device node does.
Changed
- The Simple IoT title in the documentation header links to simpleiot.org.
Selecting the name at the top of any documentation page now returns you to the
main site.
If you are already running Simple IoT, run siot update to update to this
release.
Otherwise, download the binary for your platform, make it executable, and run
it. See the documentation for installation
details.