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 additional features for improving light handling (Status/Channels/Hue-Sat-Brightness) #2203

Closed

Conversation

aidanmountford
Copy link

  • Added a series of improvements for light handling.

    • new command 'HSBColor' with parameters H,S,B where:

      • H = Hue: 0 < H < 360
      • S = Saturation: 0 < S < 100
      • B = Brightness: 0 < B < 100
    • Altered status report for xdrv_01_light.ino to include info
      relating to HSBColor in the format H,S,B.

    • When SetOption15 = 0 and direct PWM driving is configured
      the status now returns PWM state for each PWM channel.

    • Added feature to Light object that allows a CHANNEL command
      this command allows direct setting of each color/light
      channel. Syntax is CHANNEL[X] [Y] where X is the color
      channel (Red is 1, Green is 2, Blue is 3 etc) and Y is the
      amplitude to set the channel to (0-100).

1)  HSB Color - Allows RGB Color to be set using HSB where
      H is 0-259
      S is 0-100
      B is 0-100
   *  new command 'HSBColor' with parameters H,S,B where:
         *  H = Hue:         0 < H < 360
         *  S = Saturation:  0 < S < 100
         *  B = Brightness:  0 < B < 100

   *  Altered status report for xdrv_01_light.ino to include info
      relating to HSBColor in the format H,S,B.

   *  When SetOption15 = 0 and direct PWM driving is configured
      the status now returns PWM state for each PWM channel.

   *  Added feature to Light object that allows a CHANNEL command
      this command allows direct setting of each color/light
      channel.   Syntax is CHANNEL[X]  [Y]   where X is the color
      channel (Red is 1, Green is 2, Blue is 3 etc) and Y is the
      amplitude to set the channel to (0-100).
@aidanmountford aidanmountford changed the title Feature/hsb features Added additional features for improving light handling (Status/Channels/Hue-Sat-Brightness) Mar 20, 2018
arendst added a commit that referenced this pull request Mar 20, 2018
5.12.0h
 * Add PWM status to command State if PWM enabled (#2203)
 * Add
command HSBColor Hue,Sat,Bri (#1642, #2203)
 * Add command Channel
0..100 to control dimmer value for individual color channels (#2111,
#2203)
@arendst arendst closed this Mar 20, 2018
curzon01 pushed a commit to curzon01/Tasmota that referenced this pull request Sep 6, 2018
5.12.0h
 * Add PWM status to command State if PWM enabled (arendst#2203)
 * Add
command HSBColor Hue,Sat,Bri (arendst#1642, arendst#2203)
 * Add command Channel
0..100 to control dimmer value for individual color channels (arendst#2111,
arendst#2203)
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.

None yet

2 participants