aqara M1S(ZHWG15LM) Hub connected to HA via Homekit Controller and apple home app
Configure-Aqara-M1S-Gateway-HomeAssistant-part3
I use homekit controller integration to access aqara hub m1s(ZHWG15LM)
for iOS user
iphone pair
完美解答,别问我折腾了多久。。。。先用小米app或者绿米app添加(会调用HomeKit),添加完后在小米app里面添加子设备(aqara那个app根本不能成功连接D1系列墙开)。最后在苹果家庭里面删除网关(小米app里面不删),然后直接去ha设置集成HomeKit控制器最后就是输入编码。
而如果是长按或点按还原网关,虽然能在ha通知里看到,但是转圈圈再久也连接不上,因为本质上还原后未经过完整设置的M1s不能访问到家里的网络。
for android user
你可能要弄一个安卓手机先添加到aqara home,然后再用homekit码添加到hass。
iphone
把网关添加进aqara home,再添加进homekit
然后homekit里家庭设置那边,找到网关把网关删除,然后,ha-集成里添加 homekit 控制器,然后输入配对码
discoery
Aqara-Hub-M1S-EDB6 aqara home app by Homekit Controller
HomeKit Controller
Retrying setup: Timeout while waiting for connection to device 192.168.2.103:56109
Device info
ZHWG15LM
by Aqara
Firmware: 3.5.0
Hardware: 1.0
1.reset m1s
2.add it to aqara home app
Go to integrations
Click Add Intergration
Find Homekit Controller
You will see Aqara Hub, choose it and input Homekit code (8 number)
if you do not see Aqara Hub at step 4, The first, you must pair Aqara Hub with homekit successful, then you open Home app and remove Aqara Hub, then perform step 1, 2, 3, 4
auto discovered lost
second
unplugin and reboot it
auto discovered
/home/homeassistant20221103/.homeassistant/.storage/homekit_controller-entity-map
{
"version": 1,
"minor_version": 1,
"key": "homekit_controller-entity-map",
"data": {
"pairings": {
"AE:8E:30:98:BB:A0": {
"config_num": 5,
"accessories": [
{
"aid": 1,
"services": [
{
"iid": 1,
"type": "0000003E-0000-1000-8000-0026BB765291",
"characteristics": [
{
"type": "00000014-0000-1000-8000-0026BB765291",
"iid": 65537,
"perms": [
"pw"
],
"format": "bool",
"description": "Identify"
},
{
"type": "00000020-0000-1000-8000-0026BB765291",
"iid": 65538,
"perms": [
"pr"
],
"format": "string",
"value": "Aqara",
"description": "Manufacturer",
"maxLen": 64
},
{
"type": "00000021-0000-1000-8000-0026BB765291",
"iid": 65539,
"perms": [
"pr"
],
"format": "string",
"value": "ZHWG15LM",
"description": "Model",
"maxLen": 64
},
{
"type": "00000023-0000-1000-8000-0026BB765291",
"iid": 65540,
"perms": [
"pr"
],
"format": "string",
"value": "Aqara-Hub-M1S-EDB6",
"description": "Name",
"maxLen": 64
},
{
"type": "00000030-0000-1000-8000-0026BB765291",
"iid": 65541,
"perms": [
"pr"
],
"format": "string",
"value": "54ef443aedb6",
"description": "Serial Number",
"maxLen": 64
},
{
"type": "00000052-0000-1000-8000-0026BB765291",
"iid": 65542,
"perms": [
"pr"
],
"format": "string",
"value": "3.5.0",
"description": "Firmware Revision",
"maxLen": 64
},
{
"type": "00000053-0000-1000-8000-0026BB765291",
"iid": 65543,
"perms": [
"pr"
],
"format": "string",
"value": "1.0",
"description": "Hardware Revision",
"maxLen": 64
},
{
"type": "34AB8811-AC7F-4340-BAC3-FD6A85F9943B",
"iid": 65544,
"perms": [
"pr",
"hd"
],
"format": "string",
"value": "6.1;72ca72be",
"maxLen": 64
},
{
"type": "00000220-0000-1000-8000-0026BB765291",
"iid": 65545,
"perms": [
"pr"
],
"format": "data",
"value": "xDsGOxqDUtY="
}
]
},
{
"iid": 2,
"type": "000000A2-0000-1000-8000-0026BB765291",
"characteristics": [
{
"type": "00000037-0000-1000-8000-0026BB765291",
"iid": 131074,
"perms": [
"pr"
],
"format": "string",
"value": "1.1.0",
"description": "Version",
"maxLen": 64
}
]
},
{
"iid": 4,
"type": "0000022A-0000-1000-8000-0026BB765291",
"characteristics": [
{
"type": "0000022B-0000-1000-8000-0026BB765291",
"iid": 262145,
"perms": [
"pr"
],
"format": "bool",
"value": true
},
{
"type": "0000022C-0000-1000-8000-0026BB765291",
"iid": 262146,
"perms": [
"pr"
],
"format": "uint32",
"value": 9,
"minValue": 0,
"maxValue": 15,
"minStep": 1
},
{
"type": "0000022D-0000-1000-8000-0026BB765291",
"iid": 262147,
"perms": [
"pr",
"pw",
"ev",
"tw",
"wr"
],
"format": "tlv8",
"value": ""
}
]
},
{
"iid": 5,
"type": "00000239-0000-1000-8000-0026BB765291",
"characteristics": [
{
"type": "0000023C-0000-1000-8000-0026BB765291",
"iid": 327681,
"perms": [
"pr"
],
"format": "data",
"value": ""
}
]
},
{
"iid": 16,
"type": "00000043-0000-1000-8000-0026BB765291",
"characteristics": [
{
"type": "00000023-0000-1000-8000-0026BB765291",
"iid": 1048578,
"perms": [
"pr"
],
"format": "string",
"value": "Lightbulb",
"description": "Name",
"maxLen": 64
},
{
"type": "00000025-0000-1000-8000-0026BB765291",
"iid": 1048579,
"perms": [
"pr",
"pw",
"ev"
],
"format": "bool",
"value": false,
"description": "On"
},
{
"type": "00000008-0000-1000-8000-0026BB765291",
"iid": 1048580,
"perms": [
"pr",
"pw",
"ev"
],
"format": "int",
"value": 50,
"description": "Brightness",
"unit": "percentage",
"minValue": 0,
"maxValue": 100,
"minStep": 1
},
{
"type": "00000013-0000-1000-8000-0026BB765291",
"iid": 1048581,
"perms": [
"pr",
"pw",
"ev"
],
"format": "float",
"value": 0,
"description": "Hue",
"unit": "arcdegrees",
"minValue": 0,
"maxValue": 360,
"minStep": 1
},
{
"type": "0000002F-0000-1000-8000-0026BB765291",
"iid": 1048582,
"perms": [
"pr",
"pw",
"ev"
],
"format": "float",
"value": 0,
"description": "Saturation",
"unit": "percentage",
"minValue": 0,
"maxValue": 100,
"minStep": 1
}
]
},
{
"iid": 17,
"type": "0000007E-0000-1000-8000-0026BB765291",
"characteristics": [
{
"type": "00000023-0000-1000-8000-0026BB765291",
"iid": 1114114,
"perms": [
"pr"
],
"format": "string",
"value": "Security System",
"description": "Name",
"maxLen": 64
},
{
"type": "00000066-0000-1000-8000-0026BB765291",
"iid": 1114115,
"perms": [
"pr",
"ev"
],
"format": "uint8",
"value": 3,
"description": "Security System Current State",
"minValue": 0,
"maxValue": 4,
"minStep": 1,
"valid-values": [
0,
1,
2,
3,
4
]
},
{
"type": "00000067-0000-1000-8000-0026BB765291",
"iid": 1114116,
"perms": [
"pr",
"pw",
"ev"
],
"format": "uint8",
"value": 3,
"description": "Security System Target State",
"minValue": 0,
"maxValue": 3,
"minStep": 1,
"valid-values": [
0,
1,
2,
3
]
},
{
"type": "60CDDE6C-42B6-4C72-9719-AB2740EABE2A",
"iid": 1114117,
"perms": [
"pr",
"pw"
],
"format": "tlv8",
"value": "",
"description": "Stay Arm Trigger Devices"
},
{
"type": "4AB2460A-41E4-4F05-97C3-CCFDAE1BE324",
"iid": 1114118,
"perms": [
"pr",
"pw"
],
"format": "tlv8",
"value": "",
"description": "Alarm Trigger Devices"
},
{
"type": "F8296386-5A30-4AA7-838C-ED0DA9D807DF",
"iid": 1114119,
"perms": [
"pr",
"pw"
],
"format": "tlv8",
"value": "",
"description": "Night Arm Trigger Devices"
}
]
},
{
"iid": 18,
"type": "9715BF53-AB63-4449-8DC7-2785D617390A",
"characteristics": [
{
"type": "B1C09E4C-E202-4827-B863-B0F32F727CFF",
"iid": 1179651,
"perms": [
"pr",
"pw",
"ev",
"hd"
],
"format": "bool",
"value": false,
"description": "New Accessory Permission"
},
{
"type": "75D19FA9-218B-4943-997E-341E5D1C60CC",
"iid": 1179652,
"perms": [
"pw",
"hd"
],
"format": "string",
"description": "Remove Accessory",
"maxLen": 64
},
{
"type": "7D943F6A-E052-4E96-A176-D17BF00E32CB",
"iid": 1179653,
"perms": [
"pr",
"ev",
"hd"
],
"format": "int",
"value": -1,
"description": "Firmware Update Status",
"minValue": -65535,
"maxValue": 65535,
"minStep": 1
},
{
"type": "A45EFD52-0DB5-4C1A-9727-513FBCD8185F",
"iid": 1179654,
"perms": [
"pw",
"hd"
],
"format": "string",
"description": "Firmware Update URL",
"maxLen": 64
},
{
"type": "40F0124A-579D-40E4-865E-0EF6740EA64B",
"iid": 1179655,
"perms": [
"pw",
"hd"
],
"format": "string",
"description": "Firmware Update Checksum",
"maxLen": 64
},
{
"type": "96BF5F20-2996-4DB6-8D65-0E36314BCB6D",
"iid": 1179656,
"perms": [
"pr",
"hd"
],
"format": "string",
"value": "3.5.0_0013.0636",
"description": "Firmware Version",
"maxLen": 64
},
{
"type": "36B7A28B-3200-4783-A3FB-6714F11B1417",
"iid": 1179657,
"perms": [
"pr",
"hd"
],
"format": "string",
"value": "lumi.gateway.acn01",
"description": "Device Model",
"maxLen": 64
},
{
"type": "F5329CB1-A50B-4225-BA9B-331449E7F7A9",
"iid": 1179658,
"perms": [
"pr",
"hd"
],
"format": "uint8",
"value": 1,
"description": "Selected IoT Platform",
"minValue": 0,
"maxValue": 4,
"minStep": 1
}
]
},
{
"iid": 19,
"type": "F49132D1-12DF-4119-87D3-A93E8D68531E",
"characteristics": [
{
"type": "00000023-0000-1000-8000-0026BB765291",
"iid": 1245186,
"perms": [
"pr"
],
"format": "string",
"value": "AIOT",
"description": "Name",
"maxLen": 64
},
{
"type": "25D889CB-7135-4A29-B5B4-C1FFD6D2DD5C",
"iid": 1245187,
"perms": [
"pr",
"pw",
"hd"
],
"format": "string",
"value": "",
"description": "Country Domain",
"maxLen": 64
},
{
"type": "C7EECAA7-91D9-40EB-AD0C-FFDDE3143CB9",
"iid": 1245188,
"perms": [
"pr",
"hd"
],
"format": "string",
"value": "lumi1.54ef443aedb6",
"description": "Lumi Did",
"maxLen": 64
},
{
"type": "80FA747E-CB45-45A4-B7BE-AA7D9964859E",
"iid": 1245189,
"perms": [
"pw",
"hd"
],
"format": "string",
"description": "Lumi Bindkey",
"maxLen": 64
},
{
"type": "C3B8A329-EF0C-4739-B773-E5B7AEA52C71",
"iid": 1245190,
"perms": [
"pr",
"hd"
],
"format": "bool",
"value": true,
"description": "Lumi Bindstate"
}
]
}
]
},
{
"aid": 33,
"services": [
{
"iid": 1,
"type": "0000003E-0000-1000-8000-0026BB765291",
"characteristics": [
{
"type": "00000014-0000-1000-8000-0026BB765291",
"iid": 65537,
"perms": [
"pw"
],
"format": "bool",
"description": "Identify"
},
{
"type": "00000020-0000-1000-8000-0026BB765291",
"iid": 65538,
"perms": [
"pr"
],
"format": "string",
"value": "Aqara",
"description": "Manufacturer",
"maxLen": 64
},
{
"type": "00000021-0000-1000-8000-0026BB765291",
"iid": 65539,
"perms": [
"pr"
],
"format": "string",
"value": "AS007",
"description": "Model",
"maxLen": 64
},
{
"type": "00000023-0000-1000-8000-0026BB765291",
"iid": 65540,
"perms": [
"pr"
],
"format": "string",
"value": "Motion Sensor",
"description": "Name",
"maxLen": 64
},
{
"type": "00000030-0000-1000-8000-0026BB765291",
"iid": 65541,
"perms": [
"pr"
],
"format": "string",
"value": "158d000807d3ee",
"description": "Serial Number",
"maxLen": 64
},
{
"type": "00000052-0000-1000-8000-0026BB765291",
"iid": 65542,
"perms": [
"pr"
],
"format": "string",
"value": "5",
"description": "Firmware Revision",
"maxLen": 64
},
{
"type": "00000053-0000-1000-8000-0026BB765291",
"iid": 65543,
"perms": [
"pr"
],
"format": "string",
"value": "0",
"description": "Hardware Revision",
"maxLen": 64
}
]
},
{
"iid": 4,
"type": "00000085-0000-1000-8000-0026BB765291",
"characteristics": [
{
"type": "00000023-0000-1000-8000-0026BB765291",
"iid": 262146,
"perms": [
"pr"
],
"format": "string",
"value": "Motion Sensor",
"description": "Name",
"maxLen": 64
},
{
"type": "00000022-0000-1000-8000-0026BB765291",
"iid": 262147,
"perms": [
"pr",
"ev"
],
"format": "bool",
"value": false,
"description": "Motion Detected"
}
]
},
{
"iid": 5,
"type": "00000096-0000-1000-8000-0026BB765291",
"characteristics": [
{
"type": "00000023-0000-1000-8000-0026BB765291",
"iid": 327682,
"perms": [
"pr"
],
"format": "string",
"value": "Battery Sensor",
"description": "Name",
"maxLen": 64
},
{
"type": "00000068-0000-1000-8000-0026BB765291",
"iid": 327683,
"perms": [
"pr",
"ev"
],
"format": "uint8",
"value": 88,
"description": "Battery Level",
"unit": "percentage",
"minValue": 0,
"maxValue": 100,
"minStep": 1
},
{
"type": "00000079-0000-1000-8000-0026BB765291",
"iid": 327685,
"perms": [
"pr",
"ev"
],
"format": "uint8",
"value": 0,
"description": "Status Low Battery",
"minValue": 0,
"maxValue": 1,
"minStep": 1,
"valid-values": [
0,
1
]
},
{
"type": "0000008F-0000-1000-8000-0026BB765291",
"iid": 327684,
"perms": [
"pr",
"ev"
],
"format": "uint8",
"value": 2,
"description": "Charging State",
"minValue": 2,
"maxValue": 2,
"minStep": 1,
"valid-values": [
2
]
}
]
}
]
},
{
"aid": 34,
"services": [
{
"iid": 1,
"type": "0000003E-0000-1000-8000-0026BB765291",
"characteristics": [
{
"type": "00000014-0000-1000-8000-0026BB765291",
"iid": 65537,
"perms": [
"pw"
],
"format": "bool",
"description": "Identify"
},
{
"type": "00000020-0000-1000-8000-0026BB765291",
"iid": 65538,
"perms": [
"pr"
],
"format": "string",
"value": "Aqara",
"description": "Manufacturer",
"maxLen": 64
},
{
"type": "00000021-0000-1000-8000-0026BB765291",
"iid": 65539,
"perms": [
"pr"
],
"format": "string",
"value": "AS043",
"description": "Model",
"maxLen": 64
},
{
"type": "00000023-0000-1000-8000-0026BB765291",
"iid": 65540,
"perms": [
"pr"
],
"format": "string",
"value": "Contact Sensor",
"description": "Name",
"maxLen": 64
},
{
"type": "00000030-0000-1000-8000-0026BB765291",
"iid": 65541,
"perms": [
"pr"
],
"format": "string",
"value": "54ef4410004cdf65",
"description": "Serial Number",
"maxLen": 64
},
{
"type": "00000052-0000-1000-8000-0026BB765291",
"iid": 65542,
"perms": [
"pr"
],
"format": "string",
"value": "0009",
"description": "Firmware Revision",
"maxLen": 64
},
{
"type": "00000053-0000-1000-8000-0026BB765291",
"iid": 65543,
"perms": [
"pr"
],
"format": "string",
"value": "0",
"description": "Hardware Revision",
"maxLen": 64
}
]
},
{
"iid": 4,
"type": "00000080-0000-1000-8000-0026BB765291",
"characteristics": [
{
"type": "00000023-0000-1000-8000-0026BB765291",
"iid": 262146,
"perms": [
"pr"
],
"format": "string",
"value": "Contact Sensor",
"description": "Name",
"maxLen": 64
},
{
"type": "0000006A-0000-1000-8000-0026BB765291",
"iid": 262147,
"perms": [
"pr",
"ev"
],
"format": "uint8",
"value": 0,
"description": "Contact Sensor State",
"minValue": 0,
"maxValue": 1,
"minStep": 1,
"valid-values": [
0,
1
]
}
]
},
{
"iid": 5,
"type": "00000096-0000-1000-8000-0026BB765291",
"characteristics": [
{
"type": "00000023-0000-1000-8000-0026BB765291",
"iid": 327682,
"perms": [
"pr"
],
"format": "string",
"value": "Battery Sensor",
"description": "Name",
"maxLen": 64
},
{
"type": "00000068-0000-1000-8000-0026BB765291",
"iid": 327683,
"perms": [
"pr",
"ev"
],
"format": "uint8",
"value": 72,
"description": "Battery Level",
"unit": "percentage",
"minValue": 0,
"maxValue": 100,
"minStep": 1
},
{
"type": "00000079-0000-1000-8000-0026BB765291",
"iid": 327685,
"perms": [
"pr",
"ev"
],
"format": "uint8",
"value": 0,
"description": "Status Low Battery",
"minValue": 0,
"maxValue": 1,
"minStep": 1,
"valid-values": [
0,
1
]
},
{
"type": "0000008F-0000-1000-8000-0026BB765291",
"iid": 327684,
"perms": [
"pr",
"ev"
],
"format": "uint8",
"value": 2,
"description": "Charging State",
"minValue": 2,
"maxValue": 2,
"minStep": 1,
"valid-values": [
2
]
}
]
}
]
},
{
"aid": 35,
"services": [
{
"iid": 1,
"type": "0000003E-0000-1000-8000-0026BB765291",
"characteristics": [
{
"type": "00000014-0000-1000-8000-0026BB765291",
"iid": 65537,
"perms": [
"pw"
],
"format": "bool",
"description": "Identify"
},
{
"type": "00000020-0000-1000-8000-0026BB765291",
"iid": 65538,
"perms": [
"pr"
],
"format": "string",
"value": "Aqara",
"description": "Manufacturer",
"maxLen": 64
},
{
"type": "00000021-0000-1000-8000-0026BB765291",
"iid": 65539,
"perms": [
"pr"
],
"format": "string",
"value": "AL039",
"description": "Model",
"maxLen": 64
},
{
"type": "00000023-0000-1000-8000-0026BB765291",
"iid": 65540,
"perms": [
"pr"
],
"format": "string",
"value": "Lightbulb",
"description": "Name",
"maxLen": 64
},
{
"type": "00000030-0000-1000-8000-0026BB765291",
"iid": 65541,
"perms": [
"pr"
],
"format": "string",
"value": "54ef4410003d77fa",
"description": "Serial Number",
"maxLen": 64
},
{
"type": "00000052-0000-1000-8000-0026BB765291",
"iid": 65542,
"perms": [
"pr"
],
"format": "string",
"value": "0038",
"description": "Firmware Revision",
"maxLen": 64
},
{
"type": "00000053-0000-1000-8000-0026BB765291",
"iid": 65543,
"perms": [
"pr"
],
"format": "string",
"value": "1",
"description": "Hardware Revision",
"maxLen": 64
}
]
},
{
"iid": 4,
"type": "00000043-0000-1000-8000-0026BB765291",
"characteristics": [
{
"type": "00000023-0000-1000-8000-0026BB765291",
"iid": 262146,
"perms": [
"pr"
],
"format": "string",
"value": "Lightbulb",
"description": "Name",
"maxLen": 64
},
{
"type": "00000025-0000-1000-8000-0026BB765291",
"iid": 262147,
"perms": [
"pr",
"pw",
"ev"
],
"format": "bool",
"value": false,
"description": "On"
},
{
"type": "00000008-0000-1000-8000-0026BB765291",
"iid": 262148,
"perms": [
"pr",
"pw",
"ev"
],
"format": "int",
"value": 100,
"description": "Brightness",
"unit": "percentage",
"minValue": 0,
"maxValue": 100,
"minStep": 1
},
{
"type": "000000CE-0000-1000-8000-0026BB765291",
"iid": 262149,
"perms": [
"pr",
"pw",
"ev"
],
"format": "uint32",
"value": 153,
"description": "Color Temperature",
"minValue": 153,
"maxValue": 370,
"minStep": 1
},
{
"type": "00000144-0000-1000-8000-0026BB765291",
"iid": 262150,
"perms": [
"pr"
],
"format": "tlv8",
"value": "AQwBBAQABAACBAEAAAAAAAEMAQQFAAQAAgQCAAAA"
},
{
"type": "00000143-0000-1000-8000-0026BB765291",
"iid": 262151,
"perms": [
"pr",
"pw",
"wr"
],
"format": "tlv8",
"value": ""
},
{
"type": "0000024B-0000-1000-8000-0026BB765291",
"iid": 262152,
"perms": [
"pr",
"ev"
],
"format": "uint8",
"value": 0,
"minValue": 0,
"maxValue": 2,
"minStep": 1
}
]
}
]
}
],
"broadcast_key": null
}
}
}
}
Comments
Comments are closed