Edit
				
					{
    "method": "hub.modes.get",
    "id": "_ID_",
    "params": {}
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {
        "current": "<modeId>",
        "switchTo": "",
        "timeIsLeftToSwitch": 0,
        "switchToDelay": 0,
        "alarmDelay": 0,        
        "modes": [
            {
                "_id": "<modeId>",
                "name": "Home",
                "description": "",
                "notifications": [
                ],
                "disarmedDefault": true,
                "disarmedDevices": [
                ],
                "alarmsOffDevices": [
                ],
                "camerasOffDevices": [
                ],
                "protect": false,
                "armed": false
            },
            {
                "_id": "<modeId>",
                "name": "Away",
                "description": "",
                "notifications": [
                ],
                "disarmedDefault": true,
                "disarmedDevices": [
                ],
                "alarmsOffDevices": [
                ],
                "camerasOffDevices": [
                ],
                "protect": true,
                "armed": true
            },
            {
                "_id": "<modeId>",
                "name": "Night",
                "description": "",
                "notifications": [
                ],
                "disarmedDefault": true,
                "disarmedDevices": [
                ],
                "alarmsOffDevices": [
                ],
                "camerasOffDevices": [
                ],
                "protect": true,
                "armed": true
            },
            {
                "_id": "<modeId>",
                "name": "Vacation",
                "description": "",
                "notifications": [
                ],
                "disarmedDefault": true,
                "disarmedDevices": [
                ],
                "alarmsOffDevices": [
                ],
                "camerasOffDevices": [
                ],
                "protect": true,
                "armed": true
            }
        ],
        "devices": [
        ],
        "alarms": [
        ],
        "cameras": [
        ],
        "protectButtons": [
            { "id": "<deviceId>", "service": "medical" }
        ]
    }
}