Add bureau conf

This commit is contained in:
Mathieu Maret 2017-01-01 23:40:13 +01:00
parent d5a8232e43
commit d954883d19

View File

@ -19,7 +19,8 @@
#define CONFIG_BMP180_SCL 14 #define CONFIG_BMP180_SCL 14
#define CONFIG_ENABLE_DHT #define CONFIG_ENABLE_DHT
#define CONFIG_DHT_PIN 5 #define CONFIG_DHT_PIN 2
#define CONFIG_DHT_TYPE DHT22
//#define CONFIG_ENABLE_DRY_SENSOR //#define CONFIG_ENABLE_DRY_SENSOR
//If the dry sensor is powered by a GPIO, this GPIO could be defined here //If the dry sensor is powered by a GPIO, this GPIO could be defined here
@ -37,24 +38,24 @@
/* DEFAULT VALUE ALSO DEFINED IN CONFIG.H */ /* DEFAULT VALUE ALSO DEFINED IN CONFIG.H */
//If this GPIO is LOW at boot, device will enter setup mode //If this GPIO is LOW at boot, device will enter setup mode
//#define CONFIG_SETUP_GPIO 3 #define CONFIG_SETUP_GPIO 5
// Time to sleep between 2 webserver request (increase it reduce battery usage but increase latency) // Time to sleep between 2 webserver request (increase it reduce battery usage but increase latency)
//#define CONFIG_WEB_DELAY_MS 100 //#define CONFIG_WEB_DELAY_MS 100
// Get sensors value every X ms // Get sensors value every X ms
//#define CONFIG_SAMPLING_PERIODE_MS 60000 #define CONFIG_SAMPLING_PERIODE_MS 300000
// Name of the SSID when in AP mode for configuration // Name of the SSID when in AP mode for configuration
//#define CONFIG_SSID_NAME "ESPConfigurator" #define CONFIG_SSID_NAME "ESPConfiguratorBureau"
// GPIO that can be set or get by mqtt and set via http // GPIO that can be set or get by mqtt and set via http
// Should have less value than MAXSUBSCRIPTIONS // Should have less value than MAXSUBSCRIPTIONS
#define CONFIG_CONTROLLED_GPIO {2,13} //#define CONFIG_CONTROLLED_GPIO {12,13}
// GPIO that can be get by mqtt and http // GPIO that can be get by mqtt and http
// Pin 6 to 11 and 16 can not be used for mqtt // Pin 6 to 11 and 16 can not be used for mqtt
#define CONFIG_OBSERVED_GPIO {5} //#define CONFIG_OBSERVED_GPIO {5}
// GPIO used in PWM // GPIO used in PWM
//#define CONFIG_CONTROLLED_PWM {} //#define CONFIG_CONTROLLED_PWM {}