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

WIFI Switch for HA #12

Closed
mukundv opened this issue May 19, 2017 · 2 comments
Closed

WIFI Switch for HA #12

mukundv opened this issue May 19, 2017 · 2 comments

Comments

@mukundv
Copy link

mukundv commented May 19, 2017

Not really an issue, but apparently the wifi switch operates exactly like the vacuum. Do you have any idea how to get this working. When i run this on HA (with all the dependencies), i get the token back with mirobo discover. However, the HA component times out.
My HA config is as below

switch:
   - platform: mirobo
     name: 'Xiaomi Socket'
     host: host
     token:  'token'

Any ideas, help is appreciated.

Thanks

@rytilahti
Copy link
Owner

Although the base protocol may function similarly (encryption, messaging, discovery, ..), the message payloads are most likely completely different (as it is also the case with air purifier). What this means is that someone has to sit down and reverse-engineer and implement the used commands. Considering it's a whole different appliance I'm inclined it should not belong to this project (but maybe the protocol parts should be separated into a library, also to be used by air purifier and others?), so I'm closing this for now.

If someone wants to step up and do a support for those devices, we can discuss what's the best approach for that.

@mukundv
Copy link
Author

mukundv commented May 20, 2017

Thanks for the reply. I don't have the skills to reverse engineer the commands. I'll keep an eye out for this. If someone manages to do this, then we can think about possibly reusing some of your base methods (encryption, messaging, discovery etc) and develop on that to work specifically for the switch.

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

2 participants