diff --git a/Commands.md b/Commands.md index bd71cad0..fcfd3530 100644 --- a/Commands.md +++ b/Commands.md @@ -137,7 +137,7 @@ Modules | Show available modules by name and index Module | Displays active module by name and index
`` = switch to Module\ and restart NtpServer\ | NTP server setup (x= `1..3`)
`0` = clear NtpServer\ settings
`1` = reset NtpServer\ settings to firmware defaults
`` = set NtpServer\ host or IP address (32 char limit) OtaUrl | Display current OTA URL
`1` = Reset OtaUrl to firmware default
`url` = set address for OTA (100 char limit) -Pwm\|`0..1023` = set PWM value for channel
Numbering of devices is Relays first then PWMs. [`Channel`](#channel) is aligned to [`Power`](#power) numbering.
Example: 2 Relays and 3 PWM
  • Relay1: `Power1`
  • Relay2: `Power2`
  • PWM1: `Power3` and `Channel3`
  • PWM2: `Power4` and `Channel4`
  • PWM3: `Power5` and `Channel5`
  • +Pwm\|`0..1023` = set PWM value for channel PwmFrequency|`1` = reset PWM frequency to 880Hz
    `100..4000` = set PWM frequency (100Hz to 4kHz) PwmRange|`1` = reset maximum PWM range to 1023
    `255..1023` = set maximum PWM range Reset|`1` = reset device settings to firmware defaults and restart
    `2` = erase flash, reset device settings to firmware defaults and restart
    `3` = erase flash SDK parameters and restart
    `4` = reset device settings to firmware defaults but retain Wi-Fi credentials and restart
    `5` = erase all flash and reset parameters to firmware defaults but keep Wi-Fi settings and restart
    `6` = erase all flash and reset parameters to firmware defaults but keep Wi-Fi and MQTT settings and restart
    *(Erase of flash can take a few seconds to complete and there is no output during the erase process on the serial or web console)* @@ -322,7 +322,7 @@ Channel\|`0..100` = set PWM channel dimmer value from 0 to 100%Command | Parameters :--- | :--- -Channel\|`0..100` = set PWM channel dimmer value from 0 to 100% +Channel\|`0..100` = set PWM channel dimmer value from 0 to 100%
    When [`SetOption68`](#setoption68) is set to `1`, numbering of channels is Relays first then PWM channels. [`Channel`](#channel) will be aligned to [`Power`](#power) numbering.
      **Example**: 2 Relays and 3 PWM
    • Relay1: `Power1`
    • Relay2: `Power2`
    • PWM1: `Power3` and `Channel3`
    • PWM2: `Power4` and `Channel4`
    • PWM3: `Power5` and `Channel5`
    Color | Show color setting (hex or decimal depending on [`SetOption17`](#SetOption17))
    `r,g,b` = set color by decimal value (`0..255`)
    `#CWWW` = set hex color value for CT lights
    `#RRGGBB` = set hex color value for RGB lights
    `#RRGGBBWW` = set hex color value for RGBW lights
    `#RRGGBBCWWW` = set hex color value for RGBCCT lights (5 PWM channels)

    [**White Blend Mode:**](white-blend-mode) _used for 4 channel (RGBW) and 5 channel (RGBWC) devices_. Enable with [`RGBWWTable`](#rgbwwtable) by setting the last PWM channel to zero (e.g., `RGBWWTable 255,255,255,,0`) to lower the white channel intensity. | | Set color to
    `1` = red
    `2` = green
    `3` = blue
    `4` = orange
    `5` = light green
    `6` = light blue
    `7` = amber
    `8` = cyan
    `9` = purple
    `10` = yellow
    `11` = pink
    `12` = white (using RGB channels)
    `+` = next color
    `-` = previous color Color2 | Same as `Color` but adjust to current `Dimmer` value