Jardin config:

BMP on 12,14
DHT on 5
Dry sensor + power on 16
Relay on 13
Sampling every 5min
This commit is contained in:
Mathieu Maret 2017-03-18 22:15:10 +01:00
parent a1e40b150f
commit ca8799f7c7

View File

@ -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