Get MCB by ID
Retrieves a single MCB by its unique ID with full details including system, tenant, room, and distribution box information.
path Parameters
deviceIdGet MCB by ID › Responses
MCB retrieved successfully
_idPrimary ID of the Device
deviceTypeType of device (discriminator field)
macIdMAC ID of the Device (from IoT device)
deviceNameName of the Device
deviceNumberUnique device number for identification
onStatusStatus of the Device (ON / OFF / INACTIVE / ERROR)
locationPhysical location or address where the device is installed
remarksRemarks for the Device
batchNumberManufacturing batch number for tracking production groups
chipModelHardware chip model identifier used in the device
versionNumberFirmware version number currently running on the device
ssidNetwork SSID (Wi-Fi name) that the device is connected to
tenantTenant ID reference
Tagged Zone
roomRoom ID reference
systemSystem ID reference
createdAtDate Time of the Creation
updatedAtDate Time of the Update
lastSeenLast time the device was seen/reported
isLockedWhether the device is locked. When locked, the device on/off status cannot be toggled.
totalEnergyUsageTotal cumulative energy usage in kWh
totalEnergySavedTotal energy saved through optimization in kWh
autoUpdateAttemptsNumber of auto-update OTA attempts sent to this device
autoUpdateBlacklistedWhether device is blacklisted from auto-updates (max retries exceeded)
manualUpdateBlacklistWhether device is manually blacklisted from auto-updates by admin
inactivityNotificationEnabledWhether inactivity notifications are enabled for this device
mcbTypeType of MCB
mcbPolesNumber of poles in the MCB
ratedCurrentRated current capacity in amperes
ratedVoltageRated voltage in volts
realTimeVoltageReal-time voltage in volts
powerFactorPower factor (0-1)
Parent distribution box containing this MCB
isReversePowerWhether power/current readings should be reversed (made absolute). When true, negative values are converted to positive.
targetStatePending desired on/off state commanded by backend (cloud / scheduled). Set when a toggle is issued; cleared when the device reports a matching state or a physical (MANUAL) press overrides it. Always ON or OFF when present.
targetStateSetAtTimestamp when targetState was last written. Used to expire stale SCHEDULED intents (24hr TTL). CLOUD intents do not expire.
targetSourceOrigin of the pending targetState. Drives TTL behavior on reconcile. Only CLOUD / SCHEDULED are ever written here.
deviceModelModel name or identifier of the device
deviceBrandBrand or manufacturer of the device
isSpareWhether the device is a spare/inventory device. Spare devices can be filtered out of user-facing dashboards.
Schedule configuration for the device. Contains recurring weekly schedules and one-time scheduled tasks.
realTimePowerReal-time power consumption in watts
realTimeCurrentReal-time current in amperes
lastAutoUpdateAttemptTimestamp of last auto-update OTA attempt
inactivityNotificationSentAtTimestamp when the last inactivity notification was sent for this device
measurementTypeType of load/circuit being measured by this MCB
digitalTwinXX coordinate for digital twin SVG positioning
rowLineRow line number (1-6) the MCB is connected to
slotNumberSlot/position number on the busbar
voltageMaxMax Threshold voltage reading in volts
currentMaxMax Threshold current reading in amps
powerMaxMax Threshold power reading in watts
notificationThresholdHourHourly notification threshold — minimum hours between repeat notifications of the same type
Get bulk MCB suggested names
Generates suggested device names for multiple MCBs based on their Distribution Box name, Room name, and Measurement type. Format: "DistributionBoxName | RoomName | MeasurementType" (e.g. "DB-4-7U-5 | 4/7/E | Lights & Fans"). Requires SUPERADMIN or ADMIN role.
query Parameters
mcbIdsComma-separated list of MCB IDs to generate names for
Get bulk MCB suggested names › Responses
Suggested names generated successfully
Array of MCB IDs with their suggested names