From ca8799f7c779a46eaf242060d5641818cd472d74 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Sat, 18 Mar 2017 22:15:10 +0100 Subject: [PATCH] Jardin config: BMP on 12,14 DHT on 5 Dry sensor + power on 16 Relay on 13 Sampling every 5min --- WifiControlSensor/config_device.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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