Wireless Thermostat LoRaWAN

Get device data

Request URL:

POST /provider/fetch

Headers:

Content-Type: application/json
Authorization: Bearer {access_token}

Body:

{
  "serial_number" : "{Serial Number}"
}

Response:

{
    "provider": {
        "joinRequestCount": 23,
        "activeFrom": "2023-01-30 15:44:21",
        "application": "mc-devices-testing",
        "batteryVoltage": 3.18,
        "frameCount": 53,
        "lastActive": "2023-02-01 14:01:24",
        "network_provider": "the_things_industries",
        "relativeHumidity": 43.75,
        "rssi": -73,
        "sensorTemperature": 25.9,
        "spf": "7",
        "uplinkType": "00",
        "targetTemperature": 20,
        "thermistorProperlyConnected": false,
        "deviceVersions": {
            "hardware": 19,
            "software": 17
        },
        "displayRefreshPeriod": 12,
        "joinRetryPeriod": 10,
        "keepAliveTime": 1,
        "sendTargetTempDelay": 10,
        "watchDogParams": {
            "wdpC": 17,
            "wdpUc": 24
        },
        "childLock": false,
        "heatingStatus": 1,
        "mac": "70B3D52DD8000001",
        "online": true,
        "scheduleInfo": {
            "inSchedule": false,
            "mainTarget": null,
            "inPriority": false
        }
    },
    "_links": {
        "self": {
            "href": "/v1/provider/fetch"
        }
    }
}

Set KeepAlive Time

Request URL:

Headers:

Body:

Response:

Get KeepAlive Time

Request URL:

Headers:

Body:

Response:

Get Pending Commands

Request URL:

Headers:

Body:

Response:

Get Device Version

Request URL:

Headers:

Body:

Response:

Set Join Retry Period

Request URL:

Headers:

Body:

Response:

Get Join Retry Period

Request URL:

Headers:

Body:

Response:

Request URL:

Headers:

Body:

Response:

Request URL:

Headers:

Body:

Response:

Set Watch Dog Params

Request URL:

Headers:

Body:

Response:

Get Watch Dog Params

Request URL:

Headers:

Body:

Response:

Set Thermostat Target Temperature

Request URL:

Headers:

Body:

Response:

Set Child Lock

Request URL:

Headers:

Body:

Response:

Get Child Lock

Request URL:

Headers:

Body:

Response:

Set Heating status

Request URL:

Headers:

Body:

Response:

Get Heating status

Request URL:

Headers:

Body:

Response:

Set Display refresh period

Request URL:

Headers:

Body:

Response:

Get Display refresh period

Request URL:

Headers:

Body:

Response:

Set Target Send Delay

Request URL:

Headers:

Body:

Response:

Get Target Send Delay

Request URL:

Headers:

Body:

Response:

Set Min/Max Range

Request URL:

Headers:

Body:

*Note that the min/max values should be between 5 and 30!

Response:

Get Min/Max Range

Request URL:

Headers:

Body:

Response:

Set Min/Max Range

Request URL:

Headers:

Body:

*Note that the min/max values should be between 5 and 30!

Response:

Get Min/Max Range

Request URL:

Headers:

Body:

Response:

Set automatic heating status mode

*In automatic mode, the heating state is on when the target temperature is above the measured temperature.

Body:

Get automatic heating status mode

Body:

Set device sensor mode

*In sensor mode, the device only displays measurements from available sensors.

Body:

Get device sensor mode

Body:

Set device deep sleep mode

*In deep sleep mode, the consumption of the device is significantly reduced.

Body:

Set PIR sensor Status

*Set the status of the PIR sensor to on or off.

Body:

Get PIR sensor Status

Body:

Set PIR sensor sensitivity

*Set the sensitivity of the PIR sensor. The default value is 20.

Body:

Get PIR sensor sensitivity

Body:

Set Current temperature visibility

*Set a flag to show/hide the current temperature on the display. Default is show (1)

Body:

Get Current temperature visibility

Body:

Set Humidity visibility

*Set a flag to show/hide the humidity on the display. Default is show (1)

Body:

Get Humidity visibility

Body:

Set Light Intensity visibility

*Set a flag to show/hide the light intensity on the display. The default state is show. (1)

Body:

Get Light Intensity visibility

Body:

Set PIR init period

*Set the initialization time period of the PIR sensor. Minimum value = 3sec. Default value = 3sec.

Body:

Get PIR init period

Body:

Set PIR measurement period

*Set the measurement time period for motion detection by a PIR sensor. Minimum value = 3sec. Default value = 3sec.

Body:

Get PIR measurement period

Body:

Set PIR check period

*It is used to periodically check for motion detected by the PIR sensor. When the period is set to 0, then it is constantly monitored for detected motion. Minimum value = 0sec. Default value = 54sec.

Body:

Get PIR check period

Body:

Set PIR blind period

*The blind period is used after motion is detected for how long to disable detection. Minimum value = 15sec. Default value = 10min.

Body:

Get PIR blind period

Body:

Last updated