useCabinetDevices
Fetches one LV cabinet's family of devices — the powermeters and temperature sensors whose `info.pos` sits under the cabinet `root` (@link buildCabinetDetail…
Fetches one LV cabinet's family of devices — the powermeters and temperature sensors whose `info.pos` sits under the cabinet `root` ({@link buildCabinetDetailParams}) — polled at the Op-Centre realtime cadence and flattened across the per-…
import { useCabinetDevices } from "@tetherto/mdk-react-adapter";Signature
(root: string, options: UseCabinetDevicesOptions = {}) => UseCabinetDevicesResult| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |
useCabinetDetail
Reads the selected LV cabinet from `devicesStore`, re-fetches its family of powermeters and temperature sensors by root (@link useCabinetDevices) at the real…
useCabinetGroups
Fetches the Explorer cabinet-tab devices (powermeters + temperature sensors) and groups them by their owning container (`info.container`); devices without a …