-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[miio] missing voltage readout on qmi.powerstrip.v1 #11056
Comments
Can you run python-miio in debug and see which commands/property is requested with missing properties. Looks like there is some conversion issues though (maybe it is milliamperes instead of ampere) |
Note.. I consider this an enhancement request rather than bug ..... |
so voltage is returned as an integer that's the float value |
qmi.powerstrip.v1.json.txt |
Does work, thanks! |
Though hours after adding the JSON file a thread leak issue has appeared ( |
Unlikely specific to this file. There is no java code in it, so unless it all of the sudden reveils an already existing issue it is not related to the file. Maybe something generic to the binding, but then we need much more detail... I can't rule it out, but can't confirm it either. As per the linked topic:
|
Right, looks like same results without the file (unless it's already included in the latest 3.2.0 snapshot as of just a couple hours ago) |
did you do the dev:dump, that should give a good hint |
Expected Behavior
qmi.powerstrip.v1 should report voltage, e.g. python-miio supports the
voltage
property:Current Behavior
No voltage channel is available with the miio:basic binding:
Your Environment
The text was updated successfully, but these errors were encountered: