class Embedia::ControlPoint

Defined in:

embedia/control_point.cr

Constant Summary

COMMANDS = {stop: 40, down: 78, up: 75, next_extent_preset: 79, previous_extent_preset: 80, close: 22, open: 26, next_tilt_preset: 7, previous_tilt_preset: 4, clear_override: 76}

Class Method Summary

Instance Method Summary

Class Method Detail

def self.driver_interface : String #

Instance Method Detail

def clear_override(address : UInt8, **options) #

[View source]
def close(address : UInt8, **options) #

[View source]
def connected #

[View source]
def disconnected #

[View source]
def down(address : UInt8, **options) #

[View source]
def extent_preset(address : UInt8, number : UInt8, **options) #

[View source]
def next_extent_preset(address : UInt8, **options) #

[View source]
def next_tilt_preset(address : UInt8, **options) #

[View source]
def on_load #

[View source]
def open(address : UInt8, **options) #

[View source]
def previous_extent_preset(address : UInt8, **options) #

[View source]
def previous_tilt_preset(address : UInt8, **options) #

[View source]
def query_sensor(address : UInt8, **options) #

[View source]
def received(bytes, task) #

[View source]
def stop(address : UInt8, **options) #

[View source]
def tilt_preset(address : UInt8, number : UInt8, **options) #

[View source]
def up(address : UInt8, **options) #

[View source]