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:
    • Camera - simulates a camera flash gun
    • Coals - simulates glowing coals¹
    • On (good for relay connections)
    • Off (good for relay connections)
    • DOff (with incandescent fade)¹
    • Flames - simulates flickering flames¹
    • Flash - flash on and off
    • FlashR - flash on and off rapidly
    • Fluorescent - simulate the flickering start of a fluorescent light¹
    • Lighthouse - a repeating pattern of flashes¹ Note the difference between "Lighthouse" mode and "Seconds" mode is that the lighthouse mode performs a small ramp up and down of the light in an attempt to simulate a rotating beam.
      • value1 = duration of lighthouse light being ON in seconds
      • value2 = duration of lighthouse light being OFF in seconds
    • Lightning  simulate lightning flashes and return brightness to original value
    • Minutes - switch on and off at intervals specified in minutes
      • value1 = minutes the light should be on
      • value2 = minutes the light should be off
    • mSecs - switch on and off at intervals specified in milliseconds
      • value1 = ms the light should be on
      • value2 = ms the light should be off
    • Phone - simulates a cell phone camera flash
    • 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
    • Seconds - switch on and off at intervals specified in seconds
      • value1 = seconds the light should be on
      • value2 = seconds the light should be off
    • 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
    • Toggle - toggle the light on or off
    • 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
    • TV - simulates the changing light that lights up a room from a TV screen¹
    • 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 (3.8.73 for Lighthouse, mSecs)
RemoteSign ESP v3.5 (Toggle from 3.5.29, mSecs from 3.6.2, Lighthouse from 3.6.3)