class Lutron::ViveLeap
- Lutron::ViveLeap
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::Sensor
Defined in:
lutron/vive_leap.crConstant Summary
-
NO_MATCH =
[] of Interface::Sensor::Detail
Class Method Summary
Instance Method Summary
-
#area_status?
gets the status of all areas
- #connected
- #disconnected
- #on_load
- #on_update
- #ping
- #received(data, task)
-
#sensor(mac : String, id : String | Nil = nil) : Interface::Sensor::Detail | Nil
return the specified sensor details
-
#sensors(type : String | Nil = nil, mac : String | Nil = nil, zone_id : String | Nil = nil) : Array(Interface::Sensor::Detail)
return an array of sensor details zone_id can be ignored if location is unknown by the sensor provider mac_address can be used to grab data from a single device (basic grouping)
- #zone_contact_closure(zone_id : String | Int32, state : Bool)
- #zone_level(zone_id : String | Int32, level : Float64)
- #zone_lighting(zone_id : String | Int32, state : Bool)
-
#zone_status?
get the status of all zones
Class Method Detail
Instance Method Detail
def sensor(mac : String, id : String | Nil = nil) : Interface::Sensor::Detail | Nil
#
Description copied from module PlaceOS::Driver::Interface::Sensor
return the specified sensor details
def sensors(type : String | Nil = nil, mac : String | Nil = nil, zone_id : String | Nil = nil) : Array(Interface::Sensor::Detail)
#
Description copied from module PlaceOS::Driver::Interface::Sensor
return an array of sensor details zone_id can be ignored if location is unknown by the sensor provider mac_address can be used to grab data from a single device (basic grouping)