Skip to content

niou-ns/homebridge-aqara-hub-lux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-aqara-hub-lux

Plugin can access Aqara Gateway in order to add it's lux sensor to Homekit via homebridge. Works with gateway which identify itself as lumi.gateway.aqhm01 (China version) and lumi.gateway.aqhm02 (EU version).

Code uses "lite" version of miio by @aholstenson. I had to modify some parts of that library in order to access gateway, so I've removed unused parts.

Config example:

"accessories": [
  {
    "name": "Aqara Hub",
    "accessory": "AqaraHubLux",
    "ip": "192.168.0.XXX",
    "token": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    "interval": 60,
    "unitFactor": 0.1
  }
]

In order to obtain the token, please follow @Maxmudjon instruction described here (except method 2).

Thanks esgie for unit factor idea!

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •