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

Support for the Xiaomi Mi WiFi Repeater 2 added #278

Merged
merged 5 commits into from
Mar 26, 2018

Conversation

syssi
Copy link
Collaborator

@syssi syssi commented Mar 26, 2018

This implementation is the foundation for the xiaomi miio device tracker: https://github.com/syssi/xiaomi_repeater

(Closes: #275)

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.6%) to 68.707% when pulling 119f4de on syssi:feature/xiaomi-repeater-v2 into 1c46795 on rytilahti:master.

@coveralls
Copy link

coveralls commented Mar 26, 2018

Coverage Status

Coverage increased (+0.4%) to 69.657% when pulling 5d9edff on syssi:feature/xiaomi-repeater-v2 into 1c46795 on rytilahti:master.

def test_configuration(self):
self.device._reset_state()

assert repr(self.configuration()) == repr(WifiRepeaterConfiguration(self.device.start_config))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (102 > 100 characters)

Copy link
Owner

@rytilahti rytilahti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one question, otherwise feel free to merge! 👍

self.data = data

@property
def access_policy(self) -> int:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it known what this integer represents?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, no. My assumption is the connectivity between the clients. I cannot be controlled at the moment. The method is unknown / unused of the Mi Home app.

@syssi syssi merged commit e307486 into rytilahti:master Mar 26, 2018
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

Successfully merging this pull request may close these issues.

4 participants