From c7a8ec3b4fc31c3d7e0bce14d6d0f0ef8c3787d2 Mon Sep 17 00:00:00 2001 From: DigiH Date: Sat, 5 Aug 2023 21:43:55 +0200 Subject: [PATCH] WiF i and MQTT manual setup details added (#1726) WiFi and MQTT manual setup details added to [env:esp32dev-all-test] --- environments.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/environments.ini b/environments.ini index 8379b42..8f7cecb 100644 --- a/environments.ini +++ b/environments.ini @@ -114,6 +114,12 @@ build_flags = '-DUSE_MAC_AS_GATEWAY_NAME=true' '-DZsensorC37_YL83_HMRD="HMRD"' '-DESPWifiManualSetup=true' + '-Dwifi_ssid="wifissid"' + '-Dwifi_password="wifipassword"' + '-DMQTT_SERVER="192.168.0.20"' + '-DMQTT_USER=""' + '-DMQTT_PASS=""' + '-DMQTT_PORT="1883"' '-DDEEP_SLEEP_IN_US=120000000' ; Deep sleep for a period of time to conserve battery '-DESP32_EXT0_WAKE_PIN=GPIO_NUM_14' ;Should a water leak be detected immediatly wake the ESP32 and report the problem '-DESP32_EXT0_WAKE_PIN_STATE=0' ;Should a water leak be detected immediatly wake the ESP32 and report the problem, sensor state to look for wakeup