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')
#
def
humidity_by_day(from =
Time.now
- 5.minutes)
#
def
humidity_by_week(from =
Time.now)
#
def
light_by_day(from =
Time.now
- 5.minutes)
#
def
light_by_week(from =
Time.now)
#
def
particulates_by_day(from =
Time.now
- 5.minutes)
#
def
particulates_by_week(from =
Time.now)
#
def
sound_by_day(from =
Time.now
- 5.minutes)
#
def
sound_by_week(from =
Time.now)
#
def
temperature_by_day(from =
Time.now
- 5.minutes)
#
def
temperature_by_week(from =
Time.now)
#
Macro Detail
macro
define_room_sensor(name)
#