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

Light Turns On/Off when setting fan speed with slider #1

Open
flavius-sd opened this issue May 17, 2020 · 12 comments
Open

Light Turns On/Off when setting fan speed with slider #1

flavius-sd opened this issue May 17, 2020 · 12 comments
Assignees

Comments

@flavius-sd
Copy link

flavius-sd commented May 17, 2020

AFTER TESTING MORE, THIS DOES NOT FIX THE ISSUE

Great work on getting this to work on the new app!

I had an issue when I installed it where the light on the fan would turn on or off if I changed fan speed using the slider. I thought it may have been related to this line of code, so I commented it out and after quick testing looks like it fixed the issue.

In King of Fans Zigbee Fan Controller:
From the Fan Events definition:

//result << sendEvent(name: "lightBrightness", value: speedToDimmerLevel(speed), displayed: true, isStateChange: true)

One thing it may have broken is if you are in the fan setting and turn it off using the power button, the light does not turn off.

@flavius-sd
Copy link
Author

Nevermind, tested some more and the issue is still there... seems to only occur when you jump more than two fan speeds at once.

@rafaelborja
Copy link
Owner

I could not reproduce the issue. Could you give me more details about it?

@rafaelborja rafaelborja self-assigned this Aug 14, 2020
@rafaelborja
Copy link
Owner

Hi @flavius-sd

I submitted a fix on branch v.02.

Please let me know if you the issue is fixed.

@flavius-sd
Copy link
Author

flavius-sd commented Aug 18, 2020 via email

@rafaelborja
Copy link
Owner

Sorry @flavius-sd ,

I was not able to reproduce the issue. Please try unistalling and installing the latest version on master.

Best regards!

@flavius-sd
Copy link
Author

flavius-sd commented Aug 18, 2020 via email

@lovejoyr
Copy link

Hi, I get the same issue. Sometimes that fan slider works fine but sometimes I experience the issue where the light randomly turns off when I change the fan speed by slider; I think it only happens when switching from Max fan to a different setting (but not every time). Sometimes afterwards it seems as though the whole thing (fan and light control) stops working until I power off and back on the fan circuit. Sometimes when this happens the Light child device shows offline and wont work again until I edit & save the device in the ST website (don't have to change anything, just edit & save). Clean install off the master branch today. Happy to send you logs if they exist/would help.

@lovejoyr
Copy link

Also, not sure if it's relevant, but i've seen the "fan speed" label say 5 and 6, and i've seen the dimmer say 125% (in the fan device) when dimmer set to control fan

@lovejoyr
Copy link

Believe line 560 (fan controller dimmerLevelToSpeed) should be /25 not /20 - that fixes fan speed label and other general weirdness, but not the light turning off. The light turning off seems like a crash rather than a 'light off' command. Once it happens it doesn't work again until circuit power off and back on

@GitHubGoody
Copy link

@rafaelborja I have this same issue. I'm trying to update to v2.2, but there's nothing to pull in under "Obsolete" in the IDE DTH "Update from Repo" list.

@rafaelborja
Copy link
Owner

@rafaelborja I have this same issue. I'm trying to update to v2.2, but there's nothing to pull in under "Obsolete" in the IDE DTH "Update from Repo" list.

Are you sure you are using the right branch?

@GitHubGoody
Copy link

GitHubGoody commented Sep 14, 2020

I'm using Master. The changes you just pulled into Master forced an update, but the problem persists (Max>High=Light Turns Off, Med>High=Light Stays On).

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

4 participants