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

Added Turn Off Feature. Huge thanks to @coderforlife #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Nikostito
Copy link

@Nikostito Nikostito commented Apr 19, 2021

@coderforlife I included all your changes. I couldn't add a PR edit to your PR unfortunately (maybe I don't know the right way) All credits goes to you for the color fixes. Amazing work.

I added a feature that I believe most people wanted (numerous comments on @pblesi 's blog post) which is turning the lamp off whenever you dont need it.

It is done by tapping the capacitive touch plate 3 times. The third time the lamp only of the user who tapped it will turn red and fade to an off state. In this state if another lamp user touches their lamp, the turned off lamp will not light up. To wake the lamp, just touch it again. It will light up right away. I used the HOLD state for setting the brightness to 0% and setting the time to infinity.

Again, this includes @coderforlife 's PR. NO CREDIT FOR HIS WORK!!

Hope someone finds it useful! Lmk for any bugs

@Nikostito Nikostito changed the title Added Turn Off Feature. Huge thanks to /u/codeforlife Added Turn Off Feature. Huge thanks to @coderforlife Apr 20, 2021
@swdunning
Copy link

@Nikostito thanks for adding this shutoff capability!!

Hi @Nikostito @pblesi @coderforlife, any chance any of you can help out with the Button version of this project? I just can't get them to communicate using a button instead of the touch plate.

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

Successfully merging this pull request may close these issues.

2 participants