Categorygithub.com/aiONfire/netatmo
modulepackage
0.0.2-dev
Repository: https://github.com/aionfire/netatmo.git
Documentation: pkg.go.dev

# README

netatmo

netatmo is a helper package to use the official netatmo api provided here: https://dev.netatmo.com/guideline

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

AuthURL is netatmo auth url.
BaseURL is netatmo api url.
deviceURL is netatmo device url.
TokenURL is netatmo token url.

# Structs

AuthorizationCode represents the data which is necessary for using the "Authorization code" grant type.
Client is a nuse to make request to Netatmo API.
No description provided by the author
https://github.com/exzz/netatmo-api-go/blob/master/weather.go Config is used to specify credential to Netatmo API ClientID : Client ID from netatmo app registration at http://dev.netatmo.com/dev/listapps ClientSecret : Client app secret Username : Your netatmo account username Password : Your netatmo account password.
DashboardData is used to store sensor values Temperature : Last temperature measure @ LastMeasure (in °C) Humidity : Last humidity measured @ LastMeasure (in %) CO2 : Last Co2 measured @ time_utc (in ppm) Noise : Last noise measured @ LastMeasure (in db) Pressure : Last Sea level pressure measured @ LastMeasure (in mb) AbsolutePressure : Real measured pressure @ LastMeasure (in mb) Rain : Last rain measured (in mm) Rain1Hour : Amount of rain in last hour Rain1Day : Amount of rain today WindAngle : Current 5 min average wind direction @ LastMeasure (in °) WindStrength : Current 5 min average wind speed @ LastMeasure (in km/h) GustAngle : Direction of the last 5 min highest gust wind @ LastMeasure (in °) GustStrength : Speed of the last 5 min highest gust wind @ LastMeasure (in km/h) LastMeasure : Contains timestamp of last data received.
Device is a station or a module ID : Mac address StationName : Station name (only for station) ModuleName : Module name BatteryPercent : Percentage of battery remaining WifiStatus : Wifi status per Base station RFStatus : Current radio status per module Type : Module type : "NAMain" : for the base station "NAModule1" : for the outdoor module "NAModule4" : for the additionnal indoor module "NAModule3" : for the rain gauge module "NAModule2" : for the wind gauge module DashboardData : Data collection from device sensors DataType : List of available datas LinkedModules : Associated modules (only for station).
DeviceCollection hold all devices from netatmo account.
No description provided by the author
No description provided by the author