-
-
Notifications
You must be signed in to change notification settings - Fork 566
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
miplug discover throws exception #339
Comments
You should prefer the miiocli command as miplug is deprecated, see Regarding to this issue, I took a peek and to my understanding edit: Actually checking it again, it seems obvious that the deprecated decorator causes this problem, but what's the best way to fix it is unknown. |
@rytilahti: I currently have to rely on Also, I seem to be getting incomplete output from # miiocli plug --token <PLUG_TOKEN> --ip 192.168.1.100 status
Power: True
USB Power: None
Temperature: 41 °C
Load power: None
WiFi LED: None Both USB power and main power are on, but |
Both are missing features of the miiocli. It should be possible to select the correct device model at the CLI and we should provide the discover feature. Please create two additional issues. Thanks for your support! |
Running
miplug discover
results in exception:Same error happens on android (termux, python 3.6.5), raspberry pi (Python 3.5.3), and macos (Python 3.6.5).
I tried removing the released
pip
version and installed instead frommaster
withpip3 install git+https://github.com/rytilahti/python-miio
but still getting the same error.
Reproducible with current master: fb595be
The text was updated successfully, but these errors were encountered: