2019-12-07 15:53:49 +00:00
|
|
|
package config
|
|
|
|
|
2020-01-19 12:30:47 +00:00
|
|
|
import "github.com/volker-raschek/flucky/pkg/types"
|
2019-12-07 15:53:49 +00:00
|
|
|
|
|
|
|
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,
|
|
|
|
}
|
|
|
|
)
|