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

How to stop Kelvin for disabling when physical lightswitch turned off and on? #109

Open
DanMossa opened this issue Dec 7, 2022 · 6 comments

Comments

@DanMossa
Copy link

DanMossa commented Dec 7, 2022

Hello! I have a physical light switch that turns my hue bulbs off and on.

Right now, when I turn the lights off and then back on, kelvin disables because they were manually set.

I want kelvin to always be working no matter what. I want to be able to my light switches and have kelvin still work. Any idea on how to get this happening?

Thanks!

@patkol
Copy link

patkol commented Jan 13, 2023

For me this works as long as "enableWhenLightsAppear" is set to true in the configuration, as is default.
This has the disadvantage that Kelvin also enables when I try to turn my light on in a specific state using my Tap Dial while the physical light switch is on. I then have to press again to disable Kelvin.

@cswrd
Copy link

cswrd commented Jul 3, 2023

@DanMossa Does the aforementioned settings work for you? Also the readme states:

Works with smart switches as well as conventional switches

Are there any side effects with hue bulbs? Like flickering, full brightness or addtional latency until the settings apply when the light is turned on with a conventional switch?

edit: this is also discussed in #28

@DanMossa
Copy link
Author

DanMossa commented Jul 6, 2023

@patkol @cswrd
Nope. Doesn't seem to work.

@cswrd
Copy link

cswrd commented Jul 12, 2023

@DanMossa I gave it a try. Same for me. When I turn off the hue bulb with a conventional switch and power it on again, Kelvin does not enable automation for it. I can enable it through the web interface. Even though enableWhenLightsAppear is set to true. I am using the default settings.

@stefanwichmann
Copy link
Owner

stefanwichmann commented Jul 13, 2023

I'm using Kelvin every day with physical switches in the scenario you described. (enableWhenLightsAppear has be set to true)

Could you post a snapshot of the log output from Kelvin around a time where you flipped your switch? If possible with debug logging (parameter --debug) turned on.

(When using physical switches there is a latency between flipping the switch and Kelvin reacting. This results from the bulb "booting up", discovering and logging on the the zigbee network, and the bridge exposing it in the API. So if you flip your switches to rapidly, Kelvin might end up in the wrong state...)

@rmccask
Copy link

rmccask commented Dec 7, 2024

I am not the original poster but I am having this same problem. I have captured a log of me starting kelvin with 2 lights on, it initializes them, I turn them off, wait a few seconds, I turn them back on and it complains that they were changed manually. I would like to disable the manual change detection completely myself but I know others might disagree. Here is my log
debug.txt

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

No branches or pull requests

5 participants