Compare commits

...

2 Commits

Author SHA1 Message Date
Mathieu Maret
cc3ca2297a change DHT type 2017-10-14 14:00:24 +02:00
Mathieu Maret
ca8799f7c7 Jardin config:
BMP on 12,14
DHT on 5
Dry sensor + power on 16
Relay on 13
Sampling every 5min
2017-04-08 14:42:21 +02:00

View File

@ -19,12 +19,12 @@
#define CONFIG_BMP180_SCL 14 #define CONFIG_BMP180_SCL 14
#define CONFIG_ENABLE_DHT #define CONFIG_ENABLE_DHT
#define CONFIG_DHT_PIN 2 #define CONFIG_DHT_PIN 5
#define CONFIG_DHT_TYPE DHT22 #define CONFIG_DHT_TYPE DHT11
//#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
//#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) // 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 #define CONFIG_ENABLE_POWER_SAVE
@ -47,11 +47,11 @@
#define CONFIG_SAMPLING_PERIODE_MS 300000 #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 "ESPConfiguratorBureau" #define CONFIG_SSID_NAME "ESPConfigurator"
// 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 {12,13} #define CONFIG_CONTROLLED_GPIO {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