class Cisco::DNASpaces::IotTelemetry

Included Modules

Extended Modules

Defined in:

cisco/dna_spaces/iot_telemetry.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def air_pressure #

[View source]
def air_pressure_actual : NamedTuple(pressure: Float64) | Nil #

[View source]
def air_quality #

[View source]
def air_quality_index : NamedTuple(airQualityIndex: Float64) | Nil #

[View source]
def ambient_noise #

[View source]
def binding(type : SensorType, mac : String) #

[View source]
def confidence_factor(*args, **options) #

[View source]
def confidence_factor(*args, **options, &) #

[View source]
def detected_position : IotPosition | Nil #

[View source]
def device : IotDeviceInfo #

[View source]
def device_rtc : Int64 #

[View source]
def has_position? #

[View source]
def humidity #

[View source]
def humidity_percent : NamedTuple(humidityInPercentage: Float64) | Nil #

[View source]
def last_seen #

[View source]
def last_seen=(time) #

[View source]
def latitude(*args, **options) #

make this class quack like a wifi DeviceLocationUpdate


[View source]
def latitude(*args, **options, &) #

make this class quack like a wifi DeviceLocationUpdate


[View source]
def location : Location #

[View source]
def location_mappings : Hash(String, String) #

Ensure we only process these once


[View source]
def longitude(*args, **options) #

[View source]
def longitude(*args, **options, &) #

[View source]
def map_id(*args, **options) #

[View source]
def map_id(*args, **options, &) #

[View source]
def map_id=(id) #

[View source]
def people_count #

[View source]
def pir_trigger : NamedTuple(timestamp: Int64) | Nil #

[View source]
def pir_triggered #

[View source]
def placed_position : IotPosition | Nil #

[View source]
def position : IotPosition #

[View source]
def presence #

[View source]
def raw_header : Int64 #

[View source]
def raw_payload : String #

[View source]
def raw_user_id #

[View source]
def sequence_num : Int64 #

[View source]
def ssid #

[View source]
def tele_presence_data : TpData | Nil #

[View source]
def temperature #

[View source]
def temperature_celsius : NamedTuple(temperatureInCelsius: Float64) | Nil #

[View source]
def unc : Float64 #

[View source]
def visit_id #

[View source]
def x_pos(*args, **options) #

[View source]
def x_pos(*args, **options, &) #

[View source]
def y_pos(*args, **options) #

[View source]
def y_pos(*args, **options, &) #

[View source]