ZenSpace
  1. temprature
ZenSpace
  • ZenSpace Integration Documentation
  • ZenSpace General Architecture - Overview
  • ZenSpace API V1.0
    • Device Management
      • lock
        • Get Device Status
        • Subscribe to Device Events
        • Action on IoT Device
        • Get Device Control
      • camera
        • Get Device Status
        • Subscribe to Device Events
        • Action on IoT Device
        • Get Device Instruction
        • Get Device Control
      • light
        • Get Device Instruction
        • Get Device Status
        • Subscribe to Device Events
        • Action on IoT Device
        • Get Device Control
      • fan
        • Get Device Status
        • Subscribe to Device Events
        • Action on IoT Device
        • Get Device Instruction
        • Get Device Control
      • o3-sensor
        • temprature
          • Subscribe to Device Events Copy Copy
          • Get Device Status
        • buzzer
          • Get Device Status Copy
          • Action on IoT Device
        • occupancy
          • Get Device Status
        • ring-light
          • Action on IoT Device
          • Get Device Status
        • Get Device Instruction
        • Get Device Status
        • Subscribe to Device Events
        • Action on IoT Device
        • Get Device Control
      • meeting-room-display
        • Get Device Status
      • Get Device Instruction Copy
      • Fetch Associated Device Types
    • Bookings
      • Create, Update, or Cancel a Booking
      • Bulk Booking Operation
      • Check-in Operation
    • Meeting Space
      • Store Meeting Space Availability
      • Get the list of meeting spaces.
      • Get the state of a specific meeting space.
  • ZenSpace API V2.0
    • Device Management
      • lock
        • Get Device Control
        • Action on IoT Device
        • Subscribe to Device Events
        • Get Device Status
      • camera
        • Subscribe to Device Events
        • Get Device Control
        • Get Device Instruction
        • Action on IoT Device
        • Get Device Status
      • light
        • Get Device Status
        • Subscribe to Device Events
        • Get Device Instruction
        • Get Device Control
        • Action on IoT Device
      • fan
        • Get Device Instruction
        • Get Device Control
        • Action on IoT Device
        • Subscribe to Device Events
        • Get Device Status
      • o3-sensor
        • temprature
          • Get Device Status
            POST
          • Subscribe to Device Events Copy Copy
            GET
        • buzzer
          • Action on IoT Device
          • Get Device Status Copy
        • occupancy
          • Get Device Status
        • ring-light
          • Get Device Status
          • Action on IoT Device
        • Action on IoT Device
          POST
        • Get Device Control
          POST
        • Subscribe to Device Events
          GET
        • Get Device Status
          POST
        • Get Device Instruction
          GET
      • meeting-room-display
        • Get Device Status
      • Fetch Associated Device Types
        GET
      • Get Device Instruction Copy
        GET
    • Bookings
      • Check-in Operation
      • Bulk Booking Operation
      • Create, Update, or Cancel a Booking
    • Meeting Space
      • Get the state of a specific meeting space.
      • Get the list of meeting spaces.
      • Store Meeting Space Availability
  • ZenSpace Supported Devices
    • ZenSpace Device Integration
  1. temprature

Get Device Status

Developing
POST
/devices/{meeting_space_id}/status
Device Management
Retrieve the current status, health, and specific device metrics.

Request

Path Params
meeting_space_id
string 
required
Header Params
X-API-Key
string 
required
API key for authentication.
Example:
your-api-key
Body Params application/json
device_type
string 
required
Example:
o3-sensor
sub_device
string 
required
Example:
temprature
Example
{
"device_type": "o3-sensor",
"sub_device":"temprature"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/devices//status' \
--header 'X-API-Key: your-api-key' \
--header 'Content-Type: application/json' \
--data-raw '{
"device_type": "o3-sensor",
"sub_device":"temprature"
}'

Responses

🟢200OK
application/json
Successfully retrieved device status.
Body
response
object 
optional
Temperature value
Example:
{"device":"temperature","value":"24","status":"online/offline"}
device
string 
optional
Type of device measuring the temperature
Example:
temperature
value
string 
optional
Value of temperature
Example:
24
status
string 
optional
Status of temperature
Example:
online/offline
Example
{
    "response": {
        "device": "temperature",
        "value": "24",
        "status": "online/offline"
    }
}
🟠404Record Not Found
🔴500Server Error
Modified at 2025-05-09 12:02:10
Previous
o3-sensor
Next
Subscribe to Device Events Copy Copy
Built with