[SYS] User friendly manual network configuration (#1715)
* User friendly manual network configuration * Add manual network config to the docs * Add manual network config to the test env Co-authored-by: DigiH <github@digih.net>
This commit is contained in:
1 parent
fac602e457
commit
2aa4368538
4 files changed
+75
-23
No files matched your search
+11
-5
@@ -118,6 +118,12 @@ build_flags =
|
||||
'-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
|
||||
'-UMQTT_HTTPS_FW_UPDATE' ;disable HTTPS firmware updating
|
||||
'-DNetworkAdvancedSetup=true'
|
||||
'-DNET_IP="192.168.1.99"'
|
||||
'-DNET_MASK="255.255.255.0"'
|
||||
'-DNET_GW="192.168.1.1"'
|
||||
'-DNET_DNS="1.1.1.1"'
|
||||
|
||||
[env:esp32dev-rf]
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32dev
|
||||
@@ -591,7 +597,7 @@ custom_hardware = M5 ATOM Lite
|
||||
|
||||
[env:esp32doitv1-aithinker-r01-sx1278]
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32doit-devkit-v1
|
||||
board = esp32doit-devkit-v1
|
||||
board_build.partitions = min_spiffs.csv
|
||||
lib_deps =
|
||||
${com-esp32.lib_deps}
|
||||
@@ -607,7 +613,7 @@ build_flags =
|
||||
'-DZgatewayRTL_433="rtl_433"'
|
||||
'-DZradioSX127x="SX127x"'
|
||||
; *** rtl_433_ESP Options ***
|
||||
'-DONBOARD_LED=LED_BUILTIN'
|
||||
'-DONBOARD_LED=LED_BUILTIN'
|
||||
; '-DRTL_DEBUG=4' ; rtl_433 verbose mode
|
||||
; '-DRTL_VERBOSE=58' ; LaCrosse TX141-Bv2, TX141TH-Bv2, TX141-Bv3, TX141W, TX145wsdth sensor
|
||||
; '-DRAW_SIGNAL_DEBUG=true' ; display raw received messages
|
||||
@@ -979,7 +985,7 @@ lib_deps =
|
||||
${com-esp32.lib_deps}
|
||||
${libraries.ble}
|
||||
${libraries.decoder}
|
||||
build_flags =
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
${com-esp32.build_flags}
|
||||
'-DZgatewayBT="BT"'
|
||||
@@ -1571,7 +1577,7 @@ build_flags =
|
||||
'-DWM_DEBUG_LEVEL=1' ;DEBUG_NOTIFY=1, default value
|
||||
; Serial output via USB
|
||||
'-DCONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=true'
|
||||
'-DCONFIG_ESP_CONSOLE_UART=ESP_CONSOLE_USB_SERIAL_JTAG'
|
||||
'-DCONFIG_ESP_CONSOLE_UART=ESP_CONSOLE_USB_SERIAL_JTAG'
|
||||
|
||||
[env:thingpulse-espgateway]
|
||||
platform = ${com.esp32_platform}
|
||||
@@ -1633,4 +1639,4 @@ build_flags =
|
||||
; '-DsimplePublishing=true'
|
||||
custom_description = BLE Gateway using ethernet, requires PIO configuration
|
||||
custom_hardware = ThingPulse gateway single ESP32
|
||||
|
||||
|
||||
Reference in new issue
Block a user