Skip to content
GitHub

HotLoop core 4.23.2 release notes

A CODESYS screen now comes over as a HotLoop screen, the box reports its own health to the EmberNet dashboard, and an energy meter can carry a demand charge. It is also a sweep of the test suite’s slow-node failures, each one a real wait or race fixed. Built for amd64 only; the multi-arch build follows as the next version.

  • A CODESYS visualization imports as a screen. Export it from the IDE (Project, Export, the native .export file, not PLCopenXML), and the Dashboards screen’s Import reads it as a HotLoop screen on the PLC’s variables. Every tag the screen reads that this install lacks is listed, with a device mapping, and every element HotLoop could not place is listed with the reason before anything is saved. A button or setpoint on a tag that is not writable is refused, the same as a build. See Import a CODESYS screen.
  • Box health for the EmberNet dashboard. A device named for the Kubernetes node publishes the box’s CPU, memory, disk and data volume use, and the real-time jitter of three cores when an agent writes the file for it. Values that cannot be read are bad quality with the reason, never zero. The OPC UA server serves their history. See the OPC UA server and Protocols and drivers.
  • A login that can read and nothing else. A deployment can make one account with exactly tags.read and values.read (HOTLOOP_READER_USER and HOTLOOP_READER_PASSWORD_HASH). The chart makes embernet-dashboard-read at the first install, keeps its password in the Secret <release>-opcua-dashboard, and never rotates it on upgrade.
  • The dashboard’s certificate is trusted from a Secret. The chart mounts <release>-opcua-trust (optional) and the OPC UA server keeps its trusted folder in step: a new certificate is added within 30 seconds, one that leaves the Secret is taken out, and a file an operator placed by hand is never touched. The server still takes Basic256Sha256 SignAndEncrypt only, no anonymous sessions, no trust-all. The release’s Service now lists port 4840 when the server is on.
  • Energy: a demand charge and shifts. A meter in Wh, kWh or MWh takes a demand_price, what one kilowatt of its highest quarter hour in a window costs, and the summary shows the peak, when it started and how much of that quarter hour was read. A shift is a window, shift:06:00-14:00 for the latest to have started and last_shift:06:00-14:00 for the one before. The Energy screen has a Shift box and a demand price, in all thirteen languages.
  • A cost per unit made no longer reads as free. When things were made and no priced meter has counted use yet, the answer is none, with the reason nothing_counted, not zero.
  • CODESYS runtimes in testing, written down. A real runtime’s OPC UA server is made secure with the PLC shell commands CODESYS documents, and a Basic256Sha256 SignAndEncrypt read is proven against it. A real alarm trips, is acknowledged and clears on what a running PLC reports. What a device does when an unlicensed runtime’s two hour demo window ends is recorded, with the timeline script. These are tests and notes in Protocols and drivers; the driver is unchanged.
  • Fixes the suite found. The energy engine no longer reads a meter while it is being deleted or changed (the database broke the deadlock by failing the delete). A backup’s manifest is written to a temporary name and renamed into place, so a listing never sees half a file. The historian’s catch-up waits until it has written everything up to a mark. The rest are tests that now wait for what they assert, on a loaded node, instead of a fixed number of seconds.

The chart mounts the host’s root at /host and its /proc at /host/proc, both read-only, and adds no privilege: only a statfs and the CPU and memory counters are read. A cluster that enforces the restricted Pod Security profile refuses a hostPath. There, set opcuaServer.dashboard.boxHealth.enabled: false (no device, no mounts) or hostMount: false (the device, with the box’s disk and CPU reading bad and saying what to mount). The Quadlet drop-in is deploy/quadlet/opcua-dashboard.conf.

One, and it only adds: 0030_energy_demand (a demand_price column on meters and on their buckets, default 0, so nothing already counted or priced changes). A backup taken on 4.23.1 restores here, and one taken here does not restore onto an older release.

demand_price in an energy meter’s tariff, a demand block in a summary row, shift: and last_shift: as an energy period, and reason on cost_per_unit when it is null. POST /api/dashboards/import takes codesys and visualization in place of file, and its report carries a conversion. See the HTTP API.

A plain helm upgrade. The migration runs at the first start. The chart makes the read-only account and its Secret on the first install of this version and never rotates it; nothing already on the box changes.

  • Elements it does not know are listed and left off, never guessed, and a screen from another project may list more.
  • The real-time jitter tags need an agent that writes the file, and none is installed by this release.
  • The read-only login and the certificate trust were proven against HotLoop’s own client. The EmberNet dashboard’s side is its own release.
  • The CODESYS secure endpoint was proven in testing on one runtime version. HotLoop’s driver did not change for it, and no secure-endpoint setup screen is part of this release.
  • Demand charges were checked against recorded readings, not a utility’s bill.