Copy Content-Type: application/json
Authorization: Bearer {access_token}
Copy {
"serial_number" : "{Melissa Serial Number}"
}
Copy {
"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
Copy Content-Type: application/json
Authorization: Bearer {access_token}
Copy {
"serial_number": “{Melissa Serial Number}”,
"command": "send_ir_code",
“state": 1, //0-OFF; 1-ON; 2-Idle
"mode": 3, //0-Auto; 1-Fan; 2-Heat; 3-Cool; 4-Dry
"temp": 18, //number between 16 and 30 (depends on the codeset)
"fan": 0 //0-Auto; 1-Low; 2-Med; 3-High
}
Copy {
"provider": [
254,
2,
0,
0
],
"_links": {
"self": {
"href": "/v1/provider/send"
}
}
}
Turning OFF/ON the LED light
Copy Content-Type: application/json
Authorization: Bearer {access_token}
Copy {
"serial_number": “{Melissa Serial Number}”,
"command": "turn_led_off" //turn_led_off-led light off, reset_color-led light on
}
Copy {
"provider": [
254,
7, // 6 - off, 7 - on
0,
0
],
"_links": {
"self": {
"href": "/v1/provider/send"
}
}
}