diff --git a/WifiControlSensor/config_device.h b/WifiControlSensor/config_device.h index c727a56..6d81147 100644 --- a/WifiControlSensor/config_device.h +++ b/WifiControlSensor/config_device.h @@ -19,12 +19,12 @@ #define CONFIG_BMP180_SCL 14 #define CONFIG_ENABLE_DHT -#define CONFIG_DHT_PIN 2 +#define CONFIG_DHT_PIN 5 #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 -//#define CONFIG_DRY_POWER_PIN 13 +#define CONFIG_DRY_POWER_PIN 16 // Enable light sleep to save some power (http://bbs.espressif.com/viewtopic.php?f=6&t=133&p=485&hilit=sleep+modem#p485) #define CONFIG_ENABLE_POWER_SAVE @@ -47,11 +47,11 @@ #define CONFIG_SAMPLING_PERIODE_MS 300000 // Name of the SSID when in AP mode for configuration -#define CONFIG_SSID_NAME "ESPConfiguratorBureau" +#define CONFIG_SSID_NAME "ESPConfigurator" // GPIO that can be set or get by mqtt and set via http // Should have less value than MAXSUBSCRIPTIONS -//#define CONFIG_CONTROLLED_GPIO {12,13} +#define CONFIG_CONTROLLED_GPIO {13} // GPIO that can be get by mqtt and http // Pin 6 to 11 and 16 can not be used for mqtt