-
-
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
yeeligth without color temperature status error #802
Comments
Could you run the miiocli with the debug flag and paste the complete response from the device? That conversion is only tried when the bulb is reporting to be in the color temperature mode, so I'm wondering if the device is reporting also other information incorrectly: https://github.com/rytilahti/python-miio/blob/master/miio/yeelight.py#L60 |
command with debug flag: result:
|
I'm very new in python. Can you please provide me some links that's help to figure out how to build this project? I want to try fix this bug by myself. |
yeelink.light.mono1 is seemingly reporting color_mode to be 2 (color temperature) even when the light does not support ct. This PR checks that the values for ct (or hue, sat & brightness for hsv mode, and rgb for rgb mode) are not empty. Fixes #802
This library uses poetry to maintain dependencies, you can do local installation by commanding:
which will create a virtual environment and install the package. After installation, you can activate the virtual environment with
I created a PR to fix this issue, feel free to test it and report back! |
That's great! Thank you for fixing bug and for this manual! |
You're welcome! Sorry, I just noticed that you wanted to give it a shot yourself, I didn't see that before :( Is it working for you with that PR now, though? |
Yes! It is working now! Thank you!
|
yeelink.light.mono1 is seemingly reporting color_mode to be 2 (color temperature) even when the light does not support ct. This PR checks that the values for ct (or hue, sat & brightness for hsv mode, and rgb for rgb mode) are not empty. Fixes #802
yeelink.light.mono1 is seemingly reporting color_mode to be 2 (color temperature) even when the light does not support ct. This PR checks that the values for ct (or hue, sat & brightness for hsv mode, and rgb for rgb mode) are not empty. Fixes rytilahti#802
yeelink.light.mono1 is seemingly reporting color_mode to be 2 (color temperature) even when the light does not support ct. This PR checks that the values for ct (or hue, sat & brightness for hsv mode, and rgb for rgb mode) are not empty. Fixes rytilahti#802
Trying to get status of yeelight lamp without color temperature support
OS: Linux (Raspberry Pi OS)/macOS 10.15.5
python-miio: miiocli, version 0.5.3
Model: yeelink.light.mono1
Hardware version: ?
Firmware version: latest
Steps to reproduce the behavior:
miiocli yeelight --ip <ip> --token <token> status
on yeelink.light.mono1 deviceExpected behavior
getting status of device
Console output
The text was updated successfully, but these errors were encountered: