Browse Source

Add bureau conf

sonoff
Mathieu Maret 5 years ago
parent
commit
d954883d19
  1. 13
      WifiControlSensor/config_device.h

13
WifiControlSensor/config_device.h

@ -19,7 +19,8 @@
#define CONFIG_BMP180_SCL 14
#define CONFIG_ENABLE_DHT
#define CONFIG_DHT_PIN 5
#define CONFIG_DHT_PIN 2
#define CONFIG_DHT_TYPE DHT22
//#define CONFIG_ENABLE_DRY_SENSOR
//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 */
//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)
//#define CONFIG_WEB_DELAY_MS 100
// 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
//#define CONFIG_SSID_NAME "ESPConfigurator"
#define CONFIG_SSID_NAME "ESPConfiguratorBureau"
// GPIO that can be set or get by mqtt and set via http
// 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
// 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
//#define CONFIG_CONTROLLED_PWM {}

Loading…
Cancel
Save