2016-02-04 17:19:21 +01:00
|
|
|
#ifndef HALCONFIGURATION_H
|
|
|
|
|
#define HALCONFIGURATION_H
|
2016-02-01 17:52:17 +01:00
|
|
|
|
2016-05-09 17:49:24 +02:00
|
|
|
#define ENABLE_DEBUG // comment out to disable debug
|
|
|
|
|
|
|
|
|
|
#define TIMER_MILLISECOND 60*1000 // poling in minutes
|
2016-05-10 16:04:39 +02:00
|
|
|
#define INDICATOR_PIN 13 // diod
|
2016-02-01 17:52:17 +01:00
|
|
|
|
|
|
|
|
// POWER CONSUMPTION SENSOR
|
|
|
|
|
#define POWERCON_ENABLED // comment out to disable sensor
|
2016-05-02 10:56:15 +02:00
|
|
|
#define POWERCON_SENSOR SensorBH1750()
|
2016-05-10 16:04:39 +02:00
|
|
|
#define POWERCON_PROTOCOL ProtocolOregon(11, 118)
|
2016-05-09 17:49:24 +02:00
|
|
|
#define POWER_TIMER_MULTIPLIER 1
|
2016-02-01 17:52:17 +01:00
|
|
|
|
|
|
|
|
// TEMPERATURE SENSOR
|
|
|
|
|
#define TEMPERATURE_ENABLED // comment out to disable sensor
|
2016-05-10 16:04:39 +02:00
|
|
|
#define TEMPERATURE_SENSOR SensorDHT11(10)
|
|
|
|
|
#define TEMPERATURE_PROTOCOL ProtocolOregon(11, 100)
|
2016-05-09 17:49:24 +02:00
|
|
|
#define TEMPERATURE_TIMER_MULTIPLIER 1
|
2016-02-01 17:52:17 +01:00
|
|
|
|
|
|
|
|
// LIGHT SENSOR
|
2016-02-24 15:31:51 +01:00
|
|
|
//#define LIGHT_ENABLED // comment out to disable sensor
|
2016-05-02 10:56:15 +02:00
|
|
|
#define LIGHT_SENSOR SensorDH1750()
|
2016-02-24 15:31:51 +01:00
|
|
|
#define LIGHT_PROTOCOL ?
|
2016-05-09 17:49:24 +02:00
|
|
|
#define LIGHT_TIMER_MULTIPLIER 1
|
2016-02-01 17:52:17 +01:00
|
|
|
|
|
|
|
|
|
2016-02-24 21:51:16 +01:00
|
|
|
#endif // HALCONFIGURATION_H
|