Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mapping ¶
type Mapping struct { ModuleID string `json:"moduleId"` Name string `json:"name"` Server string `json:"server"` Streams []Stream `json:"streams"` }
Mapping contains information about the link between the netatmo stations, sensors and datastreams
type Module ¶
type Module struct { module.ConnectorModuleBase // contains filtered or unexported fields }
Module adds support for publishing Netatmo weather module readings to a SensorThings server.
type Settings ¶
type Settings struct { ClientID string `json:"clientId"` ClientSecret string `json:"clientSecret"` Username string `json:"username"` Password string `json:"password"` FetchInterval int `json:"fetchIntervalSeconds"` Mappings []Mapping `json:"mappings"` }
Settings contains information on Netatmo login and sensor reading to datastream mappings
Click to show internal directories.
Click to hide internal directories.