Skip to content
GitHub

HotLoop core 4.23.6 release notes

The roadmap’s Protect, Access and power boxes get code, the Shelly device speaks to the Shelly directly, and OPC UA PubSub gets message security and metadata. Built for amd64 only; the multi-arch build follows as the next version.

  • UniFi Protect, as a device. Protocol unifi-protect, with an API key from the console’s Integrations page, sealed like a console password and with the certificate pinned. Cameras, sensors, lights and sirens are tags that add themselves. A camera’s motion and smart detections (person, vehicle, package, license plate, face, animal) come from the events websocket and read bad while it is down, never “no motion”. A siren can be armed to play, and alarm.<trigger>.fire sends the alarm manager’s webhook so a HotLoop alarm makes the cameras record. A camera’s snapshot is one route. Every event is in the logbook. See UniFi Network.

  • UniFi Access, as a device. Protocol unifi-access, with an API token. Each door’s position and lock are tags, kept current by the notifications websocket, and every change is in the logbook. Unlock is a write a person arms, through the write gate, audited. See UniFi Network.

  • SmartPower PDU outlets. An outlet’s relay, power, current, voltage and power factor are tags of the UniFi Network device, and a PDU’s total draw is one. Writing an outlet’s on switches it and keeps every other outlet’s name; cycle turns it off, waits, and turns it on again, at most once in 15 minutes, and always ends on. See UniFi Network.

  • A Shelly device. Protocol shelly: Gen2 and later RPC with the device’s own digest login, tags for every component it reports, writes for a switch, a light, a cover and a thermostat. Gen1 is refused with a message that sends it to MQTT.

  • DataSetMetaData and discovery responses, in chunks when large, read from a Siemens publisher’s captured messages. The publisher announces its metadata every ten intervals by default (HOTLOOP_UADP_PUBLISH_METADATA_EVERY, 0 turns it off). See Native drivers.

  • The forward queue’s drainer looks again, and says when it fails. A pass that sent nothing while readings were waiting used to wait for a kick that a quiet poll never sends, and a failed pass backed off for half a minute with no line in the log.

  • Tests wait for what they are waiting for. Six energy tests wait for the rig’s readings in place of a fixed sleep.

  • A silent Modbus device reads bad on every point. On a serial line a request that times out used the whole poll deadline, so only the first block went bad and every later point kept its last good value for as long as the cable stayed pulled. Now a device that answers nothing marks every point bad in the same poll. See Native drivers.

  • Finished features ship on. In the Helm chart and in the binary: the embedded MQTT broker (its logins are made in HotLoop), the OPC UA server (authentication on, with a generated opcua-reader login that Settings shows an admin), scheduled reports, the daily local backup (every 24 hours, 5 Gi volume), the ServiceMonitor (rendered only where the Prometheus operator CRDs exist, so a cluster without them installs as before), and an Ingress with no hostname, which answers any host the class serves until ingress.hosts[0].host is set. Reports, backups, the OPC UA certificates and the edge queue default to a writable directory under HotLoop’s data directory, and a port another service already holds idles and says so. The charts hotloop and the generated IoT and Edge charts carry it.

  • Alarm channels and the edge publisher are on, and wait for a destination. The webhook, email, ntfy, Gotify, Discord webhook and Discord bot channels, and edgePublish, are on from the first start. One with nowhere to send no longer stops the install or the start: it waits and says so. An admin enters each destination under Settings, “Where alarms and readings go”, and what is saved there wins over the chart values. The alarm channels apply when saved; the edge publisher’s destination applies at the next restart. Settings also has an OPC UA server card with the endpoint and the generated login.

  • The Kafka target waits for a broker to place a new topic on. A single broker that a busy host fences for a moment used to fail the first look with INVALID_REPLICATION_FACTOR; the target now waits until its time runs out and says what the broker answered.

  • The forward queue’s drainer looks again, and says when it fails. A pass that sent nothing while readings were waiting used to wait for a kick that a quiet poll never sends, and a failed pass backed off for half a minute with no line in the log.

  • Carried from 4.23.4 and 4.23.5. TwinCAT .TcVIS and cds-text-sync and codescribe screens import with their buttons, frames, lamps and expression rules, and the UniFi screen’s refresh waits for the view that is loading. Neither version was published, so both are here. See 4.23.4 and 4.23.5.

None.

GET /api/unifi-protect/{id}/cameras/{camera}/snapshot returns the camera’s current JPEG. The protocol list has unifi-protect and unifi-access. See the HTTP API.

A plain helm upgrade. No migration and no new secret. 4.23.4 and 4.23.5 were tagged and their release runs failed in the test job before anything was published, so the last release before this one is 4.23.3, and this one carries both of their changes. A values file that sets any of the features above still wins; set one to false and it renders no listener, Service, volume or Ingress.

  • Protect, Access and the PDU’s outlets were built from the published APIs and held to stand-in consoles that keep state. None has been on a real console or PDU, so their boxes in the roadmap are not ticked.
  • A snapshot attached to an alarm notification is not built.
  • PubSub: a Security Key Service is not built (keys are static), and no Siemens, CODESYS or Beckhoff publisher has been on a bench.
  • UniFi port disable still waits for the web UI’s request from a real 10.6 console.