Melissa

Get sensor data

Request URL:

POST /provider/fetch

Headers:

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

Body:

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

Response:

{
    "provider": {
        "temp": 16.6,   // temperature in celsius  
        "raw_temperature": 24928,  //raw sensor data for the ambient temperature
        "humidity": 43.8,  //humidity in %
        "raw_humidity": 26096  //raw sensor data for the ambient humidity
    },
    "_links": {
        "self": {
            "href": "/v1/provider/fetch"
        }
    }
}

Sending IR Command to the AC

Request URL:

Headers:

Body:

Response:

Turning OFF/ON the LED light

Request URL:

Headers:

Body:

Response:

Last updated