Get all Smart Switches in a system
Retrieves a paginated list of Smart Switches for a system. Supports filtering by tenant, user, and room.
path Parameters
systemIdquery Parameters
pagePage number for pagination
sizeItems per page
searchSearch keyword in error message or metadata
sort_byFields to sort by (comma-separated for multiple fields)
sort_orderSort order for each field (comma-separated, must match sort_by length)
tenantIdFilter by Tenant ID
zoneIdFilter by Zone ID
roomIdFilter by Room ID
onStatusFilter by device status
Status of the device (ON / OFF)
versionNumberFilter by firmware version
isSpareFilter by spare status. When true, returns only spare devices. When false, returns only non-spare devices. Omit to return all.
Get all Smart Switches in a system › Responses
List of Smart Switches retrieved successfully
List of Smart Switches with organizational hierarchy details
totalTotal number of Smart Switches
pageCurrent page number
sizeNumber of items per page
Get Smart Switch by system and ID
Retrieves a single Smart Switch by its unique ID within a specific system. Validates that the Smart Switch belongs to the specified system.
path Parameters
systemIdidGet Smart Switch by system and ID › Responses
Smart Switch 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
switchTypeType of appliance the switch controls (LIGHT, FAN, AIRCON, or UNREGISTERED)
numberOfGangsNumber of gangs/buttons on the switch (1-4)
Array of gang switch states - each gang has its own independent on/off state
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