-
Notifications
You must be signed in to change notification settings - Fork 11
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
HTTP Server Daemon brightness increase/decrease by increments #92
Comments
Got you - that should be doable @zoltak, I'll add it to the list of things for the next version! |
@taburineagle I have generated code that provides this functionality. I haven't tested with the GUI and may need more testing around the validation. You can find the update here |
Ah, excellent, thank you @zoltak! I'll have to check that out over the weekend and make the changes on my end as well. |
OK, I've taken a quick look at the code changes @zoltak, and everything looks good, still need to do a few things first before making a PR, but looks good - I also saw you improved the logistics for that one section in Ah, I think I see why - if you try to coerce a string with a decimal into an int, it throws an error... interesting. |
@taburineagle I think it should be ok cast as a int. I did a quick test and it didn't throw any errors. |
Would it be possible to add support to increase/decrease brightness by increments from current setting e.g.
Increase brightness by 10 increment from current value:
http://127.0.0.1:8080/NeewerLite-Python/doAction?light=11:22:33:44:55:66&bri=+10
Decrease brightness by 5 increment from current value:
http://127.0.0.1:8080/NeewerLite-Python/doAction?light=11:22:33:44:55:66&bri=-5
The requirement is for using Stream Deck and having a button to tap to increase or decrease the brightness by increments while streaming without having to keep state on the client side.
The text was updated successfully, but these errors were encountered: