MClimate API Documentation
Search…
MClimate API Documentation
MClimate LoRaWAN Devices
Basic endpoints
API Control
Melissa
Bobbie
Vicki
Vicki LoRaWAN
HT sensor
HT Sensor LoRaWAN
CO2 Sensor LoRaWAN
T-Valve LoRaWAN
Flood Sensor LoRaWAN
AQI Sensor LoRaWAN
Smart Plug
Shelly 1/1PM/EM
Maya
Functions
Schedules
Thermostat mode
Powered By
GitBook
HT sensor
Get device data
Request URL:
POST /provider/fetch
Headers:
Content-Type: application/json
Authorization: Bearer {access_token}
Body
:
{
"serial_number" : "{HT Sensor Serial Number}"
}
Response:
{
"provider": {
"mac": "8******8",
"version": 1,
"uptime": "2021-03-29T14:01:20.662Z",
"temperature": 23.4,
"humidity": 15.234375,
"batteryVoltage": 3.5,
"externalThermistor": {
"thermistorProperlyConnected": true,
"thermistorTemperature": 23.5
},
"ip": "78.130.149.149",
"port": 40342,
"timeOfRecord": "2021-03-29T14:06:24.729Z"
},
"_links": {
"self": {
"href": "/v1/provider/fetch"
}
}
}
Set KeepAlive Time
Request URL:
POST /provider/send
Headers:
Content-Type: application/json
Authorization: Bearer {access_token}
Body
:
{
"serial_number": “{HT Sensor Serial Number}”,
"command" : "set_keepalive_time",
"time" : 30 // in seconds
}
Response:
{
"provider": [
254,
5,
0,
0
],
"_links": {
"self": {
"href": "/v1/provider/send"
}
}
}
API Control - Previous
Vicki LoRaWAN
Next - API Control
HT Sensor LoRaWAN
Last modified
1yr ago
Copy link
Outline
Get device data
Set KeepAlive Time