class Philips::DyNetText
- Philips::DyNetText
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::Lighting::Level
- PlaceOS::Driver::Interface::Lighting::Scene
Defined in:
philips/dynet_text.crClass Method Summary
Instance Method Summary
- #connected
- #disconnected
- #get_current_preset(area : UInt16, join : UInt8 = 255_u8)
- #get_date
- #get_light_level(area : UInt16, join : UInt8 = 255_u8, channel : UInt16 = 1_u16)
- #get_time
- #light_level(area : UInt16, level : Float64, join : UInt8 = 255_u8, fade : UInt32 = 1000_u32, channel : UInt16 = 0_u16)
- #lighting(area : UInt16, state : Bool, join : UInt8 = 255_u8, fade : UInt32 = 1000_u32)
-
#lighting_level?(area : Area | Nil = nil)
return the current level
- #lighting_scene?(area : Area | Nil = nil)
- #on_load
- #received(data, task)
- #send_custom(data : String)
-
#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_fading(area : UInt16, join : UInt8 = 255_u8, channel : UInt16 = 0_u16)
- #trigger(area : UInt16, scene : UInt16, join : UInt8 = 255_u8, fade : UInt32 = 1000_u32)
Class Method Detail
Instance Method Detail
def light_level(area : UInt16, level : Float64, join : UInt8 = 255_u8, fade : UInt32 = 1000_u32, channel : UInt16 = 0_u16)
#
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