module Sense::API::Sensors

Direct including types

Defined in:

sense-api/sensors.cr

Instance Method Summary

Macro Summary

Instance Method Detail

def current_sensors(temp_unit = 'c') #

[View source]
def humidity_by_day(from = Time.now - 5.minutes) #

[View source]
def humidity_by_week(from = Time.now) #

[View source]
def light_by_day(from = Time.now - 5.minutes) #

[View source]
def light_by_week(from = Time.now) #

[View source]
def particulates_by_day(from = Time.now - 5.minutes) #

[View source]
def particulates_by_week(from = Time.now) #

[View source]
def sound_by_day(from = Time.now - 5.minutes) #

[View source]
def sound_by_week(from = Time.now) #

[View source]
def temperature_by_day(from = Time.now - 5.minutes) #

[View source]
def temperature_by_week(from = Time.now) #

[View source]

Macro Detail

macro define_room_sensor(name) #

[View source]