Mitsubishi Electric AC - URL Schemes published

I just received the Wi‐Fi Control, URL‐Scheme Documentation from Mitsubishi Electric in New Zealand.

Here’s the text paste.
Still not sure how I can integrate this effectively with my Vera home automation controller. It?s only for mobile app integration by the looks.

Is there any way to script this with Vera?


Wi‐Fi Control, URL‐Scheme Documentation

To expand the home automation capabilities of Wi‐Fi Control, we?ve added a URL scheme that allows you to interact with the app directly via a series of links.

The melview scheme is used to launch the Wi‐Fi Control app and performs certain tasks. This can be done either as HTML links or native app URL strings.

Opening Wi‐Fi Control
The most straightforward version of the melview URL scheme is simply melview://, which will open the app and leave it in the same state as when it was last used.

HTML link: Launch Wi‐Fi Control App
Native app URL string:melview://

Opening a unit, and or controlling it
The melview URL scheme also supports opening a unit, and or controlling it. This functionality may be useful in home automation systems, so other apps can see what the unit is doing or to send a list of commands like turn on and heat to 21?C.

A URL to open a unit takes the following structure:
melview://unit/[mac‐address] melview://unit/001dc9000000

A URL to send commands to a unit takes the following structure:
melview://unit/[mac‐address]/[command‐string] melview://unit/001dc9000000/on,cool,temp18

The following parameters can be provided in the URL:
[mac‐address]: The MAC Address of the unit, this is a hexadecimal string. It can contain the following: numbers 0 to 9, characters A to F and a colon (:slight_smile: separator if desired (but not required).
i.e: 00:1d:c9:00:00:00 or 001dc9000000

[command‐string] (optional): These are a comma separated string of the following available commands and are not case sensitive.

Available commands:
ON Turns unit on
OFF Turns unit off
AUTO Sets mode to Auto
HEAT Sets mode to Heat
COOL Sets mode to Cool
FAN Sets mode to Fan
DRY Sets mode to Dry
FAN0 Sets fan speed to Auto
FAN1 Sets fan speed to Low
FAN2 Sets fan speed to Low‐Medium
FAN3 Sets fan speed to Medium
FAN4 Sets fan speed to Medium‐High
FAN5 Sets fan speed to High
TEMP00 Sets the temperature to a number i.e. TEMP18 = 18?C

Auto return back to your app (iOS only)
The melview URL scheme also supports returning back to your app, this is only supported in iOS. A URL to send commands to a unit and return takes the following structure:

melview://unit/[mac‐address]/[command‐string]?r=[your‐apps‐url‐scheme]/[any‐string] melview://unit/001dc9000000/on,cool,temp18?r=myhomecontrol://hvac

The following parameters can be provided in the URL:
[your‐apps‐url‐scheme]: This is the app you wish to be sending commands from
[any‐string] (optional): Any string you require.

The Wi‐Fi Control app will return the following URL:
If you send melview://unit/001dc9000000/on,cool,temp18?r=myhomecontrol://hvac we will return:

[your‐apps‐url‐scheme][any‐string]/melview/unit/[mac‐address]/[status‐string] myhomecontrol://hvac/melview/unit/001dc9000000/on,cool,temp18,roomtemp22,fan3

[mac‐address]: The MAC address of the unit you sent:
[status‐string]: This string can have the following four possibilities:

Status replies:

ON,MODE,TEMP00,ROOMTEMP00,FAN0
Unit is On.
MODE = AUTO or HEAT or COOL or FAN or DRY. FAN0 = FAN0 (auto), FAN1 (low), FAN2 (low‐ med), FAN3 (med), FAN4 (med‐high), FAN5 (high).
TEMP00 = Set temperature of the unit as a number in ?C.
ROOMTEMP00 = Room temperature as a number in ?C.
OFF
Unit is Off
STANDBY
Unit is in Standby Mode
FAULT:STRING
FAULT:STRING = Unit has a fault and will display the fault.