-
Notifications
You must be signed in to change notification settings - Fork 107
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
Expand the auto light feature #166
Comments
challenge accepted |
hey @toughvj , just add some details here:
seed like we need an input_selector to represent the light status or maybe just another input_bool to represent built-in auto light on/off |
We should replace light input boolean and auto_light with input_selctor with options:
I need some time to take a look at this |
@red please try attached file. To enable light sensor add light_sensor: to config.yaml with input_boolean entity id. Please let me know if it works. |
Thanks for your work, I will try this later this week. |
@toughvj I tried and it did not turn the inner light sensor on, maybe we should try to use command |
@red3 I need log from HA and configuration.yaml to see what is wrong. |
I didn't turn on logs on my previous test, I'm currently away from home and I will collect the logs next time. From what I observed on the HA dashboard ui: when I turned the light on first, and then turned the light sensor on, the gree+ app was displayed as AUTOMATICALLY which was expected, wish this would be helpful. |
Strange thing. If the gree+ application shows light as automatically, it means that both parameters have been set correctly in the device. Maybe there should be another parameter there? Can U send me back javascript files from gree+ app? |
As I said the gree+ app only display automatically when I turn on lights before turn on light sensor, I guess we should use both |
try attached file but remove light_sensor entity id from configuration. Then try switch light on, this would send {'Lig':1, 'LigSen':0} This is for testing only. |
ok, and light sensor works well? |
Do you mean whether the built-in light sensor functionality is working correctly? |
this is some kind of starting point. Need some time to get this working. |
@red3 please try attached file. |
this version works fine, thanks for your excellent work. @toughvj |
@RobHofmann this can be closed, solved in #188 |
My ac has the built-in auto light feature, which automatically turn the panel light on or off based on the light Illuminance environment.
Can we expand the current auto light feature to support the built-in one?
Additionally, the command of the built-in auto light feature is
LigSen
, and it’s value would be0
means on and1
means off (quite weird it uses 0 to represent on state and I double checked)The text was updated successfully, but these errors were encountered: