package
0.0.0-20210909120051-89b2a280c4fa
Repository: https://github.com/hekmon/go-netatmo.git
Documentation: pkg.go.dev

# README

Weather OpenAPI

docker run --rm -v $PWD:/local openapitools/openapi-generator-cli generate -i /local/netatmo_weather_openapi.json -g go -o /local/out/go

# Functions

New returns a weather api capable client.

# Constants

AnemometerBatteryFull represents the full level of the anemometer battery.
AnemometerBatteryHigh represents the high level of the anemometer battery.
AnemometerBatteryLow represents the low level of the anemometer battery.
AnemometerBatteryMax represents the maximum level of the anemometer battery.
AnemometerBatteryMedium represents the medium level of the anemometer battery.
ModuleDataTypeCO2 represents a co2 type.
ModuleDataTypeHumidity represents a humidity data type.
ModuleDataTypeNoise represents a noise data type.
ModuleDataTypePressure represents a pressure data type.
ModuleDataTypeRain represents a rain data type.
ModuleDataTypeTemperature represents a temperature data type.
ModuleDataTypeWind represents a wind data type.
ModulesBatteryFull represents the full level of a module battery.
ModulesBatteryHigh represents the high level of a module battery.
ModulesBatteryLow represents the low level of a module battery.
ModulesBatteryMax represents the maximum level of a module battery.
ModulesBatteryMedium represents the high level of a module battery.
ModuleTypeAnemometer represents the anemometer module.
ModuleTypeIndoor represents an indoor module.
ModuleTypeOutdoor represents the outdoor module.
ModuleTypeRainGauge represents the rain gauge module.
ModuleTypeStation represents the main status.
custom.
RadioQUalityHighest represents the highest quality radio link.
RadioQualityLow represents a low quality radio link.
custom.
TrendDown represents a trend going down.
TrendStable represents a stable trend.
TrendUp represents a trend going up.
UnitCO2 is the unit used for the co2 concentration in API responses.
UnitHumidity is the unit used for humidity in API responses.
UnitNoise is the unit used for noise level in API responses.
UnitPressure is the unit used for pressure in API responses.
UnitTemperature is the unit used for temperature in API responses.
UnitWind is the unit used for the wind in API responses.
UserUnitFeelLikeHeatIndex represent the Heat Index feel like unit.
UserUnitFeelLikeHumidex represent the Humidex feel like unit.
UserUnitPressureInHg represents the InHg unit display user preference.
UserUnitPressureMbar represents the Mbar unit display user preference.
UserUnitPressureMmHg represents the MmHg unit display user preference.
UserUnitSystemImperial represents the Imperial metric.
UserUnitSystemMetric represents the international Metric system.
UserUnitWindBeaufort represents the Beaufort unit.
UserUnitWindKnot represents the Knot unit.
UserUnitWindKph represents the Kilometer per Hour unit.
UserUnitWindMph represents the Miles per Hour unit.
UserUnitWindMs represents the Meter per Hour unit.
WiFiQualityAverage represents an average level for WiFi reception.
WiFiQualityBad represents a bad level for WiFi reception.
WiFiQUalityGood represents a good level for WiFi reception.

# Structs

Client holds the logic to perform weather api calls.
DashboardDataWeatherstation Weather - Weather station, getstationdata.
GetPublicDataParameters represents the parameters for GetPublicData().
GetStationDataParameters represents the parameters used in GetStationData().
IndoorModuleDashboardData struct for IndoorModuleDashboardData.
Module contains information about any additionnal modules.
OutdoorModuleDashboardData struct for OutdoorModuleDashboardData.
Place struct for Place.
PublicOutdoorModule contains all the public informations for an outdoor module.
PublicRainModule contains all the public informations for an rain gauge module.
PublicStationData represents the public data of a station.
PublicStationDataOutdoor represents a given outdoor temperature and humidity measures at a given time.
PublicStationDataPressure represents a given presure at a given time.
PublicWindModule contains all the public informations for an anemometer module.
RainMeasures holds measures for the RainGauge module.
RainModuleDashboardData struct for RainModuleDashboardData.
StationDataBody struct for StationDataBody.
StationDataBodyDevices struct for StationDataBodyDevices.
UserWeather struct for UserWeather.
UserWeatherAdministrative struct for UserWeatherAdministrative.
WindMeasures holds measures for the anemometer module.
WindModuleDashboardData struct for WindModuleDashboardData.

# Type aliases

AnemometerBatteryStatus represents the battery status of the anemometer battery.
ModuleDataType represents a given data type for a module.
ModulesBatteryStatus represents the battery status for additionnal modules.
ModuleType represents the type of an additionnal module.
PublicStationDataOutdoorValues is a collection of PublicStationDataOutdoor.
PublicStationDataPressureValues is a collection of PublicStationDataPressure.
RadioQuality represents the radio signal quality between a station and its modules.
Trend represents a current trend.
UserUnitFeelLike represents the unit the user choose for display for feel like temperature.
UserUnitPressure represents the unit a user has chosen for display.
UserUnitSystem represents the unit system the user is using.
UserUnitWind represents the unit chosen by the user to represents the wind speed.
WiFiQuality represents the WiFi strength signal.