Markus Pesch
dbef4f8241
changes: - Only one storage endpoint can be defined. This consists of a URL which can be used to specify whether the data is to be stored in a file or in a database.
23 lines
522 B
Go
23 lines
522 B
Go
package config
|
|
|
|
import "github.com/go-flucky/flucky/pkg/types"
|
|
|
|
var (
|
|
humiditySensorModels = map[types.SensorModel]types.SensorModel{
|
|
types.BME280: types.BME280,
|
|
types.DHT11: types.DHT11,
|
|
types.DHT22: types.DHT22,
|
|
}
|
|
|
|
pressureSensorModels = map[types.SensorModel]types.SensorModel{
|
|
types.BME280: types.BME280,
|
|
}
|
|
|
|
temperatureSensorModels = map[types.SensorModel]types.SensorModel{
|
|
types.BME280: types.BME280,
|
|
types.DHT11: types.DHT11,
|
|
types.DHT22: types.DHT22,
|
|
types.DS18B20: types.DS18B20,
|
|
}
|
|
)
|