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

Rotary encoder support for H801 LED WiFi controller #8670

Closed
ximonline opened this issue Jun 12, 2020 · 3 comments
Closed

Rotary encoder support for H801 LED WiFi controller #8670

ximonline opened this issue Jun 12, 2020 · 3 comments
Labels
duplicated Result - Duplicated Issue

Comments

@ximonline
Copy link

Have you looked for this feature in other issues and in the docs?
Yes, there no feature "rotary encoder" exept xiaomi lamp.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
No problem.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Wifi LED RGBWW module H801 supported by Tasmota (device #20). 5 pwm channels has level from 0 to 100 (I used all 5 channels to white stripes). It will be better adjust dimmer level with rotary encoder like KY-040. H801 has three free pins (gpio0, gpio2, gpio3).
Scenario:

  • on "rotary encoder click" switch off LED/switch on LED (with level before off).
  • on "rotate right" level up "dimmer level",
  • on "rotate left" level down "dimmer level".

P.S. I found in Tasmota code module "ROTARY_V1", but only for Xiaomy lamp. I think, it will be suitable for H802 too.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

(Please, remember to close the issue when the problem has been addressed)

@ascillato2 ascillato2 added the feature request (devs?) Action - awaiting response from developers label Jun 12, 2020
@ascillato2
Copy link
Collaborator

Duplicated of #8263

@ascillato2 ascillato2 added duplicated Result - Duplicated Issue and removed feature request (devs?) Action - awaiting response from developers labels Jun 12, 2020
@ximonline
Copy link
Author

Duplicated of #8263

My feature request is not duplicate. In #8263 requested some function improvement for xiaomi mi desk lamp. But feature from this lamp is not available for other devices. I said about it in my post. Please, open my issue again.

arendst added a commit that referenced this issue Jun 30, 2020
- Add rotary encoder support for light dimmer and optional color temperature if button1 still pressed (#8670)
- Fix Mi Desk Lamp brightness control (#8748)
@arendst
Copy link
Owner

arendst commented Jun 30, 2020

The latest rotary encoder implementation supports:

  • Dimming
  • When pressed and configured as button1 controls colortemp on ColdWarm lights
  • When pressed and configured as button1 controls color on RGB lights

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicated Result - Duplicated Issue
Projects
None yet
Development

No branches or pull requests

3 participants