air_condition
  1. admin
air_condition
  • auth
    • login
      GET
    • logout
      GET
  • guest
    • get_panel_status
      GET
    • remote_control
      POST
  • admin
    • admin_control
      POST
    • get_all_device_status
      GET
    • get_device_status
      GET
  • check
    • check_in
      POST
    • check_out
      POST
  • bill
    • bill_cost
      GET
    • bill_detail
      GET
  • report
    • get_daily_report
      POST
    • get_weekly_report
      POST
  1. admin

get_all_device_status

开发中
GET
/get_all_device_status
get all device status

请求参数

无

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/get_all_device_status'

返回响应

🟢200成功
application/json
Body
device_list
array [object {7}] 
必需
working
boolean 
必需
true is working
mode
boolean 
必需
true is warm mode
env_temperature
number 
a float
必需
target_temperature
number 
a float
必需
speed
string  | null 
可选
low, mid, high
total_cost
number 
a float
必需
room_id
integer 
a int
必需
示例
{
    "device_list": [
        {
            "working": false,
            "mode": false,
            "env_temperature": 98.2,
            "target_temperature": 90.3,
            "speed": "low",
            "total_cost": 58.3,
            "room_id": 1,
        }
    ]
}
修改于 2023-11-30 05:52:12
上一页
admin_control
下一页
get_device_status
Built with