Open RaitRand opened 7 years ago
Just bought Xiaomi Hub ver 2 and some wall switches. Wall switch has different names, added following codes, new switches also works: File: components/xiaomy.py switches = ['plug', 'ctrl_neutral1', 'ctrl_ln1', 'ctrl_neutral2', '86plug']
File: components/switchs/xiaomy.py elif model == 'ctrl_ln1': devices.append(XiaomiGenericSwitch(device, 'Wall Switch', 'channel_0', gateway))
Struggling with humidity/Temp sensor, model is lumi.weather.v1 Cannot get it work with homeassistant... This one: http://www.gearbest.com/access-control/pp_626702.html
Just bought Xiaomi Hub ver 2 and some wall switches. Wall switch has different names, added following codes, new switches also works: File: components/xiaomy.py switches = ['plug', 'ctrl_neutral1', 'ctrl_ln1', 'ctrl_neutral2', '86plug']
File: components/switchs/xiaomy.py elif model == 'ctrl_ln1': devices.append(XiaomiGenericSwitch(device, 'Wall Switch', 'channel_0', gateway))
Struggling with humidity/Temp sensor, model is lumi.weather.v1 Cannot get it work with homeassistant... This one: http://www.gearbest.com/access-control/pp_626702.html