Repository navigation
Releases
v0.36.2
Changed
-
On a phone, dashboard widgets follow the grid layout. The single column lists widgets top to bottom and left to right, as they appear on the desktop, instead of in the order they were added. (#894)
-
The web UI is built with SvelteKit 3.2.0 and adapter-static 4.0.1. These releases fix bugs upstream and change nothing visible in the UI. (#893, #895)
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.
v0.36.1
Added
- Any widget can open another dashboard. Bind a widget's
navigateto a dashboard and a click on it opens that dashboard, so an overview can lead to each area and back. A button component labels the link, anddata-siot-opendoes the same for a region of a custom drawing. See opening another dashboard. - A widget can open a web page, such as a Grafana dashboard. Set the widget's
urloption;:3000/d/abcopens port 3000 on the host the dashboard was loaded from, so a Grafana on the same machine needs no address. See opening another page. - Dashboard controls for MCU settings. A widget's
writeoption names the point type it sends, so a value tile can set a point such as an MCU'sfanSet, on a node type that takes no writes by default. See controls. - A slider widget. A slider sets a value over a range and sends it when it is let go.
Fixed
- A drawing's styles stay in the drawing. A
<style>in one custom drawing no longer restyles other drawings and widgets on the same dashboard, so two drawings can share class names such as.label. - Controls keep a point's integer type. A setting written to a point that holds an integer is sent as one, as is any setting from a widget with the
integeroption on, so an MCU that reads it as an integer gets the value typed, where before it could read a float's bits as a very large number.
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.
v0.36.0
Added
- Widgets on a canvas can be stacked. A widget's Z sets which one draws on top, and bring to front, forward, backward, and send to back in edit mode change it. A widget with a negative Z, such as a background image, draws under the links. Overlapping widgets on an existing canvas draw in ID order until a Z is set, so some may change places. See canvas layouts.
- A background behind any widget. The
backgroundoption draws a card in the page's color or a color you choose, so a value placed over a tank or a drawing reads cleanly. - An image widget. The image component shows a PNG, JPEG, GIF, WebP, or SVG from a file node, for a site photo behind the equipment or a logo. See images.
- File nodes show the image they hold. An SVG with bindings gets a test value for each one, so a drawing can be tried before it goes on a dashboard.
- A layers demo.
testdata/layers-demo.yamlshows images, stacking, and widget backgrounds on a canvas and a grid.
Fixed
- A status pill with a long word stays inside its widget on a canvas. The edit outline, a background card, and the ports now go around all of it.
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.
v0.35.0
- A Python client,
simpleiot, for scripts and services. It reads and writes nodes and points and subscribes to changes over NATS, using the shared token. See the Python client page and the examples inpython/examples. - Custom drawings can move an element with a value.
data-siot-translatemoves an element across the drawing as its value crosses the range, so a map can show where something is: nest a group following x inside one following y. See custom drawings. - Custom drawings can change color at thresholds.
data-siot-bands="25,50"marks an element with the band its value falls in, so a drawing's CSS can turn a battery yellow below half and red below a quarter. - Negative integer points show the right value in the web UI. A small negative integer such as
-1was read as a large positive number (255).
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.
v0.34.1
Changed
- The server and the UI say when the default password or an empty auth token remains, and a token turns the default password off. A warning is logged at start-up and a notice is shown after sign-in while
admin/adminis unchanged orSIOT_AUTH_TOKENis not set; its X hides it until the page is reloaded. With a token set, sign-in with the default password is refused, so change the password before setting a token. See installation.
Removed
- The
siot storecommand is removed. Its-checkand-fixoptions verified and repaired the hash tree of the former store, and have done nothing since the move to JetStream. Theadmin.storeVerifyandadmin.storeMaintNATS subjects are removed with it.
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.
v0.34.0
Added
- Simple IoT can obtain its own TLS certificate for the NATS listeners. Set
SIOT_NATS_TLS_DOMAINto the instance's public name and a certificate from Let's Encrypt is obtained, served on the NATS, MQTT, and NATS WebSocket listeners, and renewed, with the challenge passing through the web proxy in front of the HTTP port.SIOT_NATS_TLS_EMAILandSIOT_NATS_TLS_CAare optional. See the installation page. - A directory setting for the NATS TLS certificate.
SIOT_NATS_TLS_DIRnames a directory that holds the certificate and key, in the layout Caddy or certbot writes, as an alternative toSIOT_NATS_TLS_CERTandSIOT_NATS_TLS_KEY. See the configuration page.
Changed
-
A renewed TLS certificate is served without a restart. The NATS, MQTT, and NATS WebSocket listeners read the certificate files again when they change, checked at most once a minute. Before, the process had to be restarted after a renewal.
-
Exporting a tree with duplicate sibling descriptions now succeeds. Two nodes under one parent with the same description, such as Shelly devices that were discovered with identical names, are written as
Name_1andName_2, and a comment at the top of the file lists the changed descriptions. Before,siot exportstopped with an error. See configuration export.
Security
- Built with Go 1.27.4. This fixes a crash an HTTP/1 client could trigger in the web server (GO-2026-6859).
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.
v0.33.6
Added
- File contents open in a code editor. A text file node has an Edit contents button that opens the file with line numbers and highlighting picked from its name, and a File name field, so a drawing or a configuration file can be changed or written in place and saved with the node.
- Dashboards can draw your own SVG. Upload a drawing to a file node and show it with the new
svgwidget;data-siot-*attributes on its elements follow live points, turn a needle, fill a vessel, and make a click a switch. Drawings are sanitized before they are shown. See custom drawings andtestdata/custom-widget-demo.yaml.
Fixed
- A canvas widget resizes from any corner. Each corner of a selected widget is a handle, a drag in any direction along the diagonal changes the size, and the opposite corner stays where it was.
- Panning a dashboard canvas no longer selects text. Dragging the background used to start a text selection that followed the pointer across the widgets.
- A page of canvas tiles scrolls on a phone. A canvas pans only once it is zoomed in, so a touch at the fitted view scrolls the page, and a nested dashboard tile is no taller than its canvas, so the tiles stack without a blank below each one.
Removed
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.
v0.33.5
- The old Elm UI is gone, and with it the
/oldpath. The Svelte UI at/is the only web UI in the binary. Bookmarks to/oldreturn the Svelte UI instead, and-customUIDirnow replaces the Svelte UI build rather than the Elm assets. Thesimpleiot-jsclient moves fromfrontend/libtojs/simpleiot-js.
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.
v0.33.3
- release checks.
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.
v0.33.2
Fixed
- A mirrored dashboard opens in the place it was reached through. The tree's open link, the dashboard list, and a nested dashboard's title link now carry the parent as
?via=, and selecting a widget keeps it, so a dashboard with relative bindings placed under several devices shows each device's nodes rather than the first place it was found in. A user's home dashboard records the place it was picked from as Home dashboard under, which can be changed to open it elsewhere. See dashboards.
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.