melcloud-api 0.1.1

Provides a rust interface to the undocumented melcloud API
Documentation

melcloud-api

A rust crate for communicating with the melcloud API (DO NOT USE YET - NOT WORKING)

This library aims to make communication with the melcloud system easy from a rust application.

Endpoints Discovered

https://app.melcloud.com/Mitsubishi.Wifi.Client/Device/SetPower

Example Payload

{"Power":false,"DeviceIds":[147672]}

Returns

true

https://app.melcloud.com/Mitsubishi.Wifi.Client/Device/SetAtw

https://app.melcloud.com/Mitsubishi.Wifi.Client/Device/Get?id=147672&buildingID=88314

Returns

Returns a single Device object

https://app.melcloud.com/Mitsubishi.Wifi.Client/Tile/Get2 Seems to get the data for the tiles in the UI - basic info only

https://app.melcloud.com/Mitsubishi.Wifi.Client/HolidayMode/Update

Example payload

https://app.melcloud.com/Mitsubishi.Wifi.Client/HolidayMode/Update

Response

{"Data":null,"GlobalErrors":null,"AttributeErrors":null,"Success":true}

Example Commands

Setting the flow temperature

POST https://app.melcloud.com/Mitsubishi.Wifi.Client/Device/SetAtw

The body should be the latest device data with the following changed

SetHeatFlowTemperatureZone1