class Philips::Dynalite
- Philips::Dynalite
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::Lighting::Level
- PlaceOS::Driver::Interface::Lighting::Scene
Defined in:
philips/dynalite.crConstant Summary
-
LEVEL_PERCENTAGE =
254 / 100
Class Method Summary
Instance Method Summary
- #connected
- #decrement_area_level(area : UInt8)
- #disconnected
- #get_current_preset(area : UInt8)
- #get_light_level(area : Int32, channel : Int32 = 255)
- #increment_area_level(area : UInt8)
- #light_level(area : Int32, level : Float64, fade : Int32 = 1000, channel : Int32 = 255)
- #lighting(area : Int32, state : Bool, fade : Int32 = 1000)
-
#lighting_level?(area : Area | Nil = nil)
return the current level
- #lighting_scene?(area : Area | Nil = nil)
- #link_area(area : UInt8, join : UInt8)
- #on_load
- #received(data, task)
- #save_preset(area : UInt8, scene : UInt8)
-
#set_lighting_level(level : Float64, area : Area | Nil = nil, fade_time : UInt32 = 1000_u32)
level between 0.0 and 100.0, fade in milliseconds
- #set_lighting_scene(scene : UInt32, area : Area | Nil = nil, fade_time : UInt32 = 1000_u32)
- #stop_all_fading(area : UInt8)
- #stop_fading(area : UInt8, channel : UInt8 = 255_u8)
-
#trigger(area : Int32, scene : Int32, fade : Int32 = 1000)
fade_time in millisecond
- #unlink_area(area : UInt8)
Class Method Detail
Instance Method Detail
Description copied from module PlaceOS::Driver::Interface::Lighting::Level
return the current level
Description copied from module PlaceOS::Driver::Interface::Lighting::Level
level between 0.0 and 100.0, fade in milliseconds