NeewerLite icon indicating copy to clipboard operation
NeewerLite copied to clipboard

Code for changing Hue, Saturation, & Brightness?

Open hypr-pxls opened this issue 2 years ago • 3 comments

If possible, could you share the exact commands (for macOS Shortcuts) in order to change the Hue, Saturation, and Brightness? I mainly need to be able to change the hue. I am not very good with code and any assistance you can give would be greatly appreciated!

Also, I want to send a huge "THANK YOU" to Keefo for this app. It has allowed me control my Neewer lights with my voice through Alexa (using TriggercmdAgent).

hypr-pxls avatar Mar 26 '22 17:03 hypr-pxls

Hi @hypr-pxls

Unfortunately, this is still on the TODO list.

Feel free to create a PR for this feature if you have time to add this support.

keefo avatar Mar 26 '22 18:03 keefo

Thanks for the reply, Keefo!

I've tried several things without any success, so hopefully someone with coding experience can join in here and help make this feature a reality.

hypr-pxls avatar Mar 27 '22 15:03 hypr-pxls

I second this request. It would be such a game changer for me that i'd try to pull it off myself if I knew where to start.

Is PR a pull request? Would do whatever it took to start getting traction on this.

mritsabigdeal avatar Jun 15 '22 20:06 mritsabigdeal

V0.9 add this support. Please test it. Merged PR #21

keefo avatar Feb 19 '23 20:02 keefo

Hi Keefo, I'm SO excited that you are adding this functionality to the app... SO COOL! Thank You!!!

However, I did test it and I'm getting an error when I try to run the Shortcut (see attached screenshot). I am still able to run the older commands such as "turnOnLight", "turnOffLight", and "scanLight" without any issue... those work perfectly. But, I'm getting an error for the commands setLightCCT, setLightHSI, and setLightScene. Is there something that I'm doing wrong or a setting I should change in the shortcut?

FYI: My lights are the Neewer RGB 530PRO and I'm running macOS Ventura Version 13.2.1.

Thanks in advance for any help you can give me!!!

Screenshot 2023-02-22 at 5 35 23 PM

hypr-pxls avatar Feb 23 '23 00:02 hypr-pxls

You just need to double quote the command. I tested, it works with shortcut.

change

open neewerlite://setLightHSI?RGB=ff00ff&Saturation=100&Brightness=100

to

open "neewerlite://setLightHSI?RGB=ff00ff&Saturation=100&Brightness=100"

regards, Liam

On Feb 22, 2023, at 4:11 PM, hypr-pxls @.***> wrote:

Hi Keefo, I'm SO excited that you are adding this functionality to the app... SO COOL! Thank You!!!

However, I did test it and I'm getting an error when I try to run the Shortcut (see attached screenshot). I am still able to run the older commands such as "turnOnLight", "turnOffLight", and "scanLight" without any issue... those work perfectly. But, I'm getting an error for the commands setLightCCT, setLightHSI, and setLightScene. Is there something that I'm doing wrong or a setting I should change in the shortcut?

FYI: My lights are the Neewer RGB 530PRO and I'm running macOS Ventura Version 13.2.1.

Thanks in advance for any help you can give me!!!

https://user-images.githubusercontent.com/102192643/220791364-91153404-8c89-4169-8392-4c391edb0711.png — Reply to this email directly, view it on GitHub https://github.com/keefo/NeewerLite/issues/12#issuecomment-1441030451, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGFU5EYWCAUBAYXNRAOIC3WY2TLBANCNFSM5RXMC42A. You are receiving this because you commented.

keefo avatar Feb 24 '23 08:02 keefo

WOW, WOW, WOW!!! That worked perfectly.

Thanks SO MUCH, Liam! I'm sure this wasn't an easy task and it had to be pretty time consuming. I REALLY appreciate you adding this feature, as I know others are, as well. This opens a lot of new options for how I control the lights in my studio. SO COOL!

You are the best, my friend! Have a great week. Thanks Again!!!

hypr-pxls avatar Feb 26 '23 17:02 hypr-pxls

This was huge and totally agree with hypr-pxls

Appreciate your commitment to the project

On Sun, Feb 26, 2023 at 9:45 AM hypr-pxls @.***> wrote:

WOW, WOW, WOW!!! That worked perfectly.

Thanks SO MUCH, Liam! I'm sure this wasn't an easy task and it had to be pretty time consuming. I REALLY appreciate you adding this feature, as I know others are, as well. This opens a lot of new options for how I control the lights in my studio. SO COOL!

You are the best, my friend! Have a great week. Thanks Again!!!

— Reply to this email directly, view it on GitHub https://github.com/keefo/NeewerLite/issues/12#issuecomment-1445418294, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMWZV5X5SMSEFIIYMZHMULWZOJFLANCNFSM5RXMC42A . You are receiving this because you commented.Message ID: @.***>

mritsabigdeal avatar Feb 26 '23 20:02 mritsabigdeal