AC heater element driven through SSR. Always paired with a temperature sensor + safety thermostat.
Library Catalog
Manifest-driven. All items validated against shared_schemas/manifest_schema.json.
components library
Zero-cross SSR for AC heater/heater-element switching. Drives heater via PWM duty over slow cycle.
Placeholder camera definition; concrete drivers are added per host (CSI/USB).
Frigate NVR — open-source recorder with optional Coral TPU detection. Records RTSP streams to disk with configurable retention and event clipping. Pairs naturally with the Tapo cameras above.
1080p Wi-Fi pan/tilt indoor camera. RTSP stream available locally; ONVIF for PTZ. Audio + motion + night vision.
Placeholder smart-plug definition; concrete protocol drivers (Tasmota/Matter/Zigbee) are added later.
Wi-Fi smart plug with energy monitoring. Local-LAN protocol via the Tapo Python client. No cloud dependency once provisioned.
Strain-gauge load cell + HX711 24-bit ADC for precision weighing.
1-Wire digital temperature sensor, -55C to +125C, 9-12 bit resolution. Suitable for food zone temperature monitoring.
control board library
Dual H-bridge driver for two DC motors or one stepper. PWM speed + direction control.
Opto-isolated 4-channel mechanical relay board. 10A per channel.
I2C 16-channel 12-bit PWM controller for servos and LEDs.
micro compute library
Linux edge host profile with attached Coral USB/PCIe Edge TPU for vision/anomaly inference.
Custom in-house board profile. Linux-class compute, treated as an Edge Runtime host. Specs and pin map are placeholders — update with concrete values when the hardware is finalised.
RP2040 dual Cortex-M0+ at 133 MHz, 264 KB SRAM, 2 MB flash. MicroPython runtime, 26 multi-function GPIO, 3× ADC. No on-board wireless — pair with an Edge Pi over UART/SPI for connectivity.
RP2350 dual Cortex-M33 + WiFi/BLE. MicroPython runtime, 26 multi-function GPIO pins, 3 ADC.
RP2350 dual Cortex-M33 at 150 MHz with optional dual RISC-V Hazard3 cores, 520 KB SRAM, 4 MB flash. MicroPython runtime, 26 multi-function GPIO, 4× ADC. No on-board wireless.
Pico + Infineon CYW43439 (Wi-Fi 4 + BLE 5.2). RP2040 dual Cortex-M0+ at 133 MHz, 264 KB SRAM, 2 MB flash. MicroPython runtime, 26 multi-function GPIO, 3× ADC.
BCM2837B0 quad-core Cortex-A53 at 1.4 GHz, 1 GB RAM, dual-band Wi-Fi (2.4/5 GHz), BT 4.2, gigabit Ethernet over USB 2.0 (~300 Mbps practical). Runs the Edge Runtime stack at sites where a Pi 5 is overkill.
BCM2711 quad-core Cortex-A72 at 1.5–1.8 GHz, 2/4/8 GB RAM. True Gigabit Ethernet, Wi-Fi 5, BT 5, 2× USB 3.0 + 2× USB 2.0. Solid Edge Runtime host with headroom for Coral USB / vision pipelines.
Quad-core Cortex-A76 SBC, runs the Edge Runtime stack (gateway, twin cache, command router, broker).
BCM2835 single-core ARM11 at 1 GHz, 512 MB RAM, Wi-Fi 2.4 GHz + BT 4.1. Tiny power-sipping Linux host — fine for one-or-two device twins, not a Master / NVR. Use the Pi Zero 2 W where you need any compute headroom.
RP3A0 quad-core Cortex-A53 at 1 GHz, 512 MB RAM, Wi-Fi 2.4 GHz + BT 4.2. Same form factor as the original Pi Zero, ~5× the CPU. Good fit for a sub-£20 Edge Runtime at a single-zone factory site.
digital twin controls library
Standard alarm contract: severity, latching, acknowledgement, suppression window.
PTZ + record/snapshot + motion-event twin for any IP camera (Tapo C200, generic placeholder). Stream URL is reported as-is so the UI can render it directly.
Standard set of UI animations + colours for twin states (running/stopped/fault) usable by every widget.
Heater digital twin: desired temperature, safety max temperature, state machine with safe stop.
Motor twin with start/stop/speed and fault state. Drives DC motor or servo via mapped board.
NVR / recorder twin: which streams to record, retention window, current disk usage, last-event clip URL.
On/off + scheduled + energy-aware twin for any smart plug (Tapo P110, generic placeholder, etc). Reports live power and cumulative energy when the underlying plug supports it.
Tare, stable-weight detection, lo/hi thresholds. Drives a load-cell sensor.
ui controls library
Panel that searches/selects a recipe, shows steps, target temperatures and weights, and starts/stops the run via Brain APIs.
Top-of-screen banner showing highest-severity active alarm with ACK button.
Live MJPEG/HLS preview tile with motion-event halo, snapshot button and PTZ pad (when the bound twin advertises PTZ capability). Bound to twin.camera_control reported channel.
Compact run/fault status tile with speed bar, direction arrow, fault code.
Large weight readout with stable indicator, lo/hi range bar, tare button.
On/off toggle tile with live wattage, cumulative kWh, and last-seen indicator. Driven by twin.smart_plug_control reported channel.
Rich SVG dial gauge with setpoint, current value, safety max ring, and alarm halo.
business library
Business-level recipe descriptor: ramp to setpoint, hold N minutes, cool down. Bound to twin.heater_control via the digital_twin recipes folder.
functional library
Reusable PID function block with anti-windup, output clamp, and bumpless setpoint changes. Consumable from any Brain loop of type=pid.
api library
OAuth-style email/password integration to TP-Link's Tapo cloud (tplinkcloud.com). Used when devices are not on the same LAN as the Edge. Local-LAN integration is preferred — see comms.smart_plug.tapo_p110 — but cloud is the fallback for remote sites.
Generic outbound webhook integration: HMAC-signed POST to a configured URL when a twin event matches the filter. Honoured by Edge outbound allowlist.