this is a homebridge plugin for mijia eco-chain but also a management webapp provide web and restapi to manage your mijia eco-chain,you can control and monitor your accessory via apple's homekit or the webapp
MIT License
Thanks for
Note: I have only a part of these devices, some devices do not have been tested. If you find bugs, please submit them to issues.
CommunityTypes.AtmosphericPressureSensor
)npm i homebridge-smarthome
.{
"bridge": {
"name": "SmartHome",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"platforms": [
{
"platform": "smarthome-mijia",
"web": {
"port": 8888
},
"mijia": {
"sids": [
"34ce0088faed"
],
"passwords": [
"75ED5A235C4A44D4"
],
"devices": [
{
"sid": "Air Purifier 001",
"name": "Air Purifier",
"type": "wifi",
"model": "air-purifier"
},
{
"sid": "Power Plug 001",
"name": "Power Plug",
"type": "wifi",
"model": "power-plug"
},
{
"sid": "Power Strip 001",
"name": "Power Strip",
"type": "wifi",
"model": "power-strip"
},
{
"sid": "Yeelight 001",
"name": "Yeelight",
"type": "wifi",
"model": "light"
},
{
"sid": "Vacuum Cleaner 001",
"name": "Vacuum Cleaner",
"ip": "192.168.2.200",
"token": "4ac2cd21f3e9272ab21a5c1fd4053ed9",
"type": "wifi",
"model": "vacuum"
}
]
}
},
{
"platform": "smarthome-broadlink",
"broadlink": {
"devices": [
{
"name": "MP2",
"type": "MP2",
"mac": "34:EA:34:D9:FE:B3"
}
]
}
}
]
}
homebridge -D
mijia
fix purifier type error.mijia
fix multi getways.mijia
fix yeelight missing miio require.mijia
fix gateway lighthub.mijia
fix air-purifier accessory(fix multi callback).mijia
fix air-purifier accessory(remove some duplicated code).aqara
magnet,motion,switch,temperature-humidity-pressure accessory.mijia
change monitor.js->motion.js.mijia
update miio.mijia
yeelight accessory(bugfix).mijia
yeelight accessory.mijia
fix wifi device bug.mijia
vacuum accessory.mijia
powerplug accessory.mijia
powerstrip accessory.mijia
magnet sensor accessory.mijia
ctrln1/ctrln2 switch accessory.mijia
ctrlneutral1/ctrlneutral2 switch accessory.mijia
motion sensor accessory.mijia
plug/86plug plug accessory.mijia
86sw1/86sw2 switch accessory.mijia
switch accessory.mijia
smoke sensor accessory.mijia
natgas sensor accessory.mijia
air-purifier accessory.broadlink
mp1/mp2 plug accessory.mijia
gateway sensor accessory.mijia
door and window sensor accessory.mijia
temperature and humidity sensor accessory.