diff --git a/config.h.sample b/config.h.sample index 200f330..3db09a7 100644 --- a/config.h.sample +++ b/config.h.sample @@ -41,7 +41,7 @@ #define SYSTEM_NAME "internal-hostname" // The mode this system should run in. See consts.h for the available values. -#define SYSTEM_MODE MODE_PULL +#define SYSTEM_MODE MODE_PROM_PULL // If you have a DHT temperature+humidity sensor of this type will be used, // remove the #undef line and uncomment one of DHT11 or DHT22. You also have diff --git a/consts.h b/consts.h index 4b7496e..1709e84 100644 --- a/consts.h +++ b/consts.h @@ -27,3 +27,6 @@ // Prometheus Pull mode. A Prometheus instance has to be configured to // regularly pull values from the station. #define MODE_PROM_PULL 1 + +// NOTE: Bit 1 (ie. value of 2) is reserved for MODE_PROM_PUSH when it gets +// implemented