Version 3 has been released!

{LM} command (Monochrome light)

Set a monochrome light channel brightness or start a light sequence pattern. The command can also be used to switch items on and off with the use of relays.

Syntax

{LM} ch ␑ action ␑ value1 value2

  • ch The channel to change.
  • action Perform some action on the light on channel ch. Available actions are:
    • On (good for relay connections)
    • Off (good for relay connections)
    • DOff (with incandescent fade)¹
    • Flash - flash on and off
    • FlashR - flash on and off rapidly
    • Transition from current brightness to a new brightness¹
      • value1 = brightness percentage from 0 to 100.
      • value2 = time in seconds to transition to the new setting
    • Lightning  simulate lightning flashes and return brightness to original value
    • Flames - simulates flickering flames¹
    • Fluorescent - simulate the flickering start of a fluorescent light¹
    • Coals - simulates glowing coals¹
    • Phone - simulates a cell phone camera flash
    • Camera - simulates a camera flash gun
    • Slag - cooling slag (over 15 minutes)¹
    • Sunrise -  simulate increasing brightness¹
      • value1 = number of minutes to transition to full brightness
    • Sunset -  simulate decreasing brightness¹
      • value1 = number of minutes to transition to fully off
    • TV - simulates the changing light that lights up a room from a TV screen¹
    • Minutes - switch on and off at intervals specified
      • value1 = minutes the light should be on
      • value2 = minutes the light should be off
    • Seconds - switch on and off at intervals specified
      • value1 = Seconds the light should be on
      • value2 = Seconds the light should be off
    • RandomM - switch light on and off at random intervals
      • value1 = maximum minutes the light should be on
      • value2 = maximum minutes the light should be off
    • RandomS - switch light on and off at random intervals
      • value1 = maximum seconds the light should be on
      • value2 = maximum seconds the light should be off
    • Toggle - toggle the light on or off
    • Welder - simulate the light from an arc welder²
¹ Do not use with a relay as this effect uses pulse width modulation (PWM), use a MOSFET rather
² Ensure any relay you use can handle switching at 30ms intervals or use a MOSFET

Note that multiple independent light channels can be combined. For example, yellow and red could be combined with flames and glowing coal patterns in a campfire.

See also: {LC}

Overview and list of all RemoteSign commands: API reference

Supported by:
RemoteSign Sequencer v3.5
RemoteSign ESP v3.5 (Toggle from 3.5.29)