Module: WeatherLink
- Defined in:
- lib/weatherlink.rb,
lib/weatherlink/node.rb,
lib/weatherlink/api_v2.rb,
lib/weatherlink/client.rb,
lib/weatherlink/sensor.rb,
lib/weatherlink/station.rb,
lib/weatherlink/version.rb,
lib/weatherlink/data_record.rb,
lib/weatherlink/sensor_data.rb,
lib/weatherlink/hash_wrapper.rb,
lib/weatherlink/local_api_v1.rb,
lib/weatherlink/local_client.rb,
lib/weatherlink/sensor_record.rb,
lib/weatherlink/sensor_data_collection.rb
Defined Under Namespace
Classes: APIv2, Client, DataRecord, Error, HashWrapper, LocalAPIv1, LocalClient, Node, RecordType, Sensor, SensorData, SensorDataCollection, SensorRecord, Station, SystemType, Units
Constant Summary collapse
- UNIT_TYPES =
%i[ temperature humidity wind_speed pressure wind_direction rain_quantity rain_rate solar_radiation ].freeze
- METRIC_WEATHER_UNITS =
Units.new( temperature: 'tempC', humidity: '%', pressure: 'hPa', wind_speed: 'm/s', wind_direction: 'deg', rain_quantity: 'cm', rain_rate: 'cm/h', solar_radiation: 'W/m^2' )
- IMPERIAL_WEATHER_UNITS =
Units.new( temperature: 'tempF', humidity: '%', pressure: 'inHg', wind_speed: 'mph', wind_direction: 'deg', rain_quantity: 'in', rain_rate: 'in/h', solar_radiation: 'W/m^2' )
- VERSION =
'0.1.3'