{ "Name": "Mihome", "devices":{ "vacuum":{ "encrypted": true, "port" : "54321", "objects":[ { "_id": "info", "type": "channel", "common": { "name": "Information" }, "native": {} }, { "_id": "control", "type": "channel", "common": { "name": "Vacuum Control" }, "native": {} }, { "_id": "info.connection", "type": "state", "common": { "role": "indicator.connected", "name": "If connected to CUL", "type": "boolean", "read": true }, "native": {} }, { "_id": "control.start", "type": "state", "common": { "role": "button", "name": "Start vacuum", "type": "boolean", "write": true }, "native": {} }, { "_id": "control.pause", "type": "state", "common": { "role": "button", "name": "Pause vacuum", "type": "boolean", "write": true }, "native": {} }, { "_id": "control.home", "type": "state", "common": { "role": "button", "name": "Go home", "type": "boolean", "write": true }, "native": {} }, { "_id": "control.find", "type": "state", "common": { "role": "button", "name": "Find", "type": "boolean", "write": true }, "native": {} }, { "_id": "info.battery", "type": "state", "common": { "name": "Battery status", "type": "number", "read": true, "unit": "%", "max": 100 }, "native": {} }, { "_id": "info.cleanedarea", "type": "state", "common": { "name": "Cleaned area", "type": "number", "read": true, "unit": "m²" }, "native": {} }, { "_id": "info.cleanedtime", "type": "state", "common": { "name": "Cleaning time", "type": "number", "read": true, "unit": "min" }, "native": {} }, { "_id": "control.fan_power", "type": "state", "common": { "name": "Suction power", "type": "number", "role": "level", "read": true, "write": true, "unit": "%", "max": 100 }, "native": {} }, { "_id": "info.state", "type": "state", "common": { "name": "Vacuum state", "type": "number", "read": true, "max": 30, "states": { "1": "Unknown 1", "2": "Sleep no Charge", "3": "Sleep", "5": "Cleaning", "6": "Returning home", "8": "Charging", "10": "Paused", "11": "Spot cleaning", "12": "Error?!" } }, "native": {} }, { "_id": "info.error", "type": "state", "common": { "name": "Error", "type": "number", "read": true, "max": 30, "states": { "0": "No error", "1": "Laser distance sensor error", "2": "Collision sensor error", "3": "Wheels on top of void, move robot", "4": "Clean hovering sensors, move robot", "5": "Clean main brush", "6": "Clean side brush", "7": "Main wheel stuck?", "8": "Device stuck, clean area", "9": "Dust collector missing", "10": "Clean filter", "11": "Stuck in magnetic barrier", "12": "Low battery", "13": "Charging fault", "14": "Battery fault", "15": "Wall sensors dirty, wipe them", "16": "Place me on flat surface", "17": "Side brushes problem, reboot me", "18": "Suction fan problem", "19": "Unpowered charging station" } }, "native": {} }, { "_id": "info.dnd", "type": "state", "common": { "name": "DnD aktiv", "type": "switch", "role": "level", "read": true }, "native": {} }, { "_id": "info.main_brush", "type": "state", "common": { "name": "Main brush", "type": "number", "role": "level", "read": true, "unit": "%" }, "native": {} }, { "_id": "info.side_brush", "type": "state", "common": { "name": "Side brush", "type": "number", "role": "level", "read": true, "unit": "%" }, "native": {} }, { "_id": "info.filter", "type": "state", "common": { "name": "Filter", "type": "number", "role": "level", "read": true, "unit": "%" }, "native": {} } ] }, "lamp1":{ "encrypted": true, "port" : "54321", "objects":[ { "_id":"power", "type": "state", "common": { "name": "Lamp power", "type": "boolean", "read": true, "write": true, "role": "state", "def": false }, "native": {} }, { "_id": "bright", "type": "state", "common": { "name": "Lamp brightness", "type": "number", "read": true, "write": true, "unit": "%", "min": 0, "max": 100 }, "native": {} }, { "_id": "notifystatus", "type": "state", "common": { "name": "Notify status", "type": "boolean", "read": true, "write": true, "role": "state", "def": false }, "native": {} }, { "_id": "ambstatus", "type": "state", "common": { "name": "Amb status", "type": "boolean", "read": true, "write": true, "role": "state", "def": false }, "native": {} }, { "_id": "eyecare", "type": "state", "common": { "name": "Set eyecare", "type": "boolean", "read": true, "write": true, "role": "state", "def": false }, "native": {} }, { "_id": "bls", "type": "state", "common": { "name": "Set bls", "type": "boolean", "read": true, "write": true, "role": "state", "def": false }, "native": {} }, { "_id": "scene_num", "type": "state", "common": { "name": "Scene", "type": "number", "read": true, "write": true, "min": 0, "max": 5 }, "native": {} }, { "_id": "dvalue", "type": "state", "common": { "name": "Off timer", "type": "number", "read": true, "write": true, "min": 0 }, "native": {} } ], "commands": { "ping" : "21310020ffffffffffffffffffffffffffffffffffffffffffffffffffffffff", "set_power" : {"method":"set_power","params":["on/off"]}, "set_bright": {"method":"set_bright","params":["value"]}, "get_prop" : {"method":"get_prop","params":["power","bright","notifystatus","ambstatus","ambvalue","eyecare","scene_num","bls","dvalue"]}, "delay_off" : {"method":"delay_off","params":["value"]}, "set_eyecare": {"method":"set_eyecare","params":["on/off"]}, "set_user_scene": {"method":"set_user_scene","params":["value0-3?"]}, "enable_amb": {"method":"enable_amb","params":["on/off"]}, "enable_bl": {"method":"enable_bl","params":["on/off"]}, "set_amb_bright": {"method":"set_amb_bright","params":["value0-100"]}, "set_notifyuser": {"method":"set_notifyuser","params":["on/off"]} } } } }