본문으로 건너뛰기

온습도 정보 조회

POST /admin/thermo-hygrometer/{branch}

매장의 온습도 센서 데이터를 조회합니다. HomeAssistant를 통해 실시간 센서 데이터를 가져옵니다.

Headers

이름필수설명
CookieO관리자 세션 쿠키

Path Parameters

파라미터타입필수설명
branchStringO지점 영문명 (지점 코드 참고)
POST /api/admin/thermo-hygrometer/Gwanghwamun

Response

{
"status": "success",
"errorType": null,
"errorCode": null,
"message": null,
"data": {
"infoList": [
{
"location": "로비",
"thermometer": 24.5,
"hygrometer": 45.2
},
{
"location": "1번방",
"thermometer": 23.8,
"hygrometer": 48.1
},
{
"location": "2번방",
"thermometer": 24.1,
"hygrometer": 46.7
}
]
}
}

data.infoList 항목

필드타입설명
locationString센서 위치
thermometerdouble온도 (℃)
hygrometerdouble습도 (%)
정보

각 지점마다 설치된 센서의 위치(location)가 다릅니다. 센서가 없는 공간은 목록에 포함되지 않습니다.