class Lutron::Lighting
- Lutron::Lighting
- PlaceOS::Driver
- Reference
- Object
Defined in:
lutron/lighting.crConstant Summary
-
Errors =
{"1" => "Parameter count mismatch", "2" => "Object does not exist", "3" => "Invalid action number", "4" => "Parameter data out of range", "5" => "Parameter data malformed", "6" => "Unsupported Command"}
-
Occupancy =
{"1" => "unknown", "2" => "inactive", "3" => "occupied", "4" => "unoccupied"}
Class Method Summary
Instance Method Summary
- #blinds(device : String, action : String, component : String = "shadegrp")
-
#button_press(area : Int32, button : Int32)
=============== DEVICE COMMANDS ===============
- #connected
- #daylight(area : Int32, mode : Bool)
- #daylight_mode?(area : Int32)
- #disconnected
- #led(area : Int32, device : Int32, state : Int32 | Bool)
- #led?(area : Int32, device : Int32)
-
#level(device : Int32, level : Int32, rate : Int32 = 1000, component : String = "output")
dimmers, CCOs, or other devices in a system that have a controllable output
- #light_level(area : Int32, level : Int32, component : String | Nil = nil, fade : Int32 = 1000)
-
#lighting(device : Int32, state : Bool, action : Int32 = 1)
on or off
- #occupancy?(area : Int32)
- #on_load
- #on_update
- #received(data, task)
- #restart
-
#scene(area : Int32, scene : Int32, component : String = "area")
============= AREA COMMANDS =============
- #scene?(area : Int32, component : String = "area")
-
#trigger(area : Int32, scene : Int32)
============= COMPATIBILITY =============
Class Method Detail
Instance Method Detail
dimmers, CCOs, or other devices in a system that have a controllable output
def scene(area : Int32, scene : Int32, component : String = "area")
#