Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wall switch name #66

Open
RaitRand opened this issue Jul 11, 2017 · 0 comments
Open

Wall switch name #66

RaitRand opened this issue Jul 11, 2017 · 0 comments

Comments

@RaitRand
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant