melcloud-api

Crates.iomelcloud-api
lib.rsmelcloud-api
version0.1.1
sourcesrc
created_at2019-10-28 07:49:02.744826
updated_at2021-10-12 07:51:27.062894
descriptionProvides a rust interface to the undocumented melcloud API
homepage
repositoryhttps://gitlab.com/garytaylor/melcloud-api
max_upload_size
id176316
size70,632
(garytaylor)

documentation

README

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

Commit count: 0

cargo fmt