MDK Logo
ReferenceUI KitReactHooks

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 providerNo