diff --git a/code/platformio.ini b/code/platformio.ini index 0057ce49..fc29fa7f 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -41,6 +41,7 @@ lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH upload_speed = 460800 +monitor_baud = 115200 [env:wemos-d1mini-relayshield-ota] platform = espressif8266 @@ -52,6 +53,7 @@ build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=S upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:nodemcu-lolin] platform = espressif8266 @@ -61,6 +63,7 @@ lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH upload_speed = 460800 +monitor_baud = 115200 [env:nodemcu-lolin-ota] platform = espressif8266 @@ -72,6 +75,7 @@ build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWS upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 # ------------------------------------------------------------------------------ @@ -83,6 +87,7 @@ lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H upload_speed = 460800 +monitor_baud = 115200 [env:tinkerman-espurna-h-ota] platform = espressif8266 @@ -94,6 +99,7 @@ build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 # ------------------------------------------------------------------------------ @@ -105,6 +111,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC +monitor_baud = 115200 [env:itead-sonoff-basic-ota] platform = espressif8266 @@ -117,6 +124,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:itead-sonoff-basic-dht22] platform = espressif8266 @@ -126,6 +134,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DENABLE_DHT=1 +monitor_baud = 115200 [env:itead-sonoff-basic-ds18b20] platform = espressif8266 @@ -135,6 +144,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DENABLE_DS18B20=1 +monitor_baud = 115200 [env:itead-sonoff-rf] platform = espressif8266 @@ -144,6 +154,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RF +monitor_baud = 115200 [env:itead-sonoff-rf-ota] platform = espressif8266 @@ -156,6 +167,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RF upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:itead-sonoff-pow] platform = espressif8266 @@ -165,6 +177,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW +monitor_baud = 115200 [env:itead-sonoff-pow-ota] platform = espressif8266 @@ -177,6 +190,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:itead-sonoff-dual] platform = espressif8266 @@ -207,6 +221,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH +monitor_baud = 115200 [env:itead-sonoff-4ch-ota] platform = espressif8266 @@ -219,6 +234,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:itead-sonoff-4ch-pro] platform = espressif8266 @@ -228,6 +244,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO +monitor_baud = 115200 [env:itead-sonoff-4ch-pro-ota] platform = espressif8266 @@ -240,6 +257,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:itead-sonoff-touch] platform = espressif8266 @@ -249,6 +267,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH +monitor_baud = 115200 [env:itead-sonoff-touch-ota] platform = espressif8266 @@ -261,6 +280,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:itead-sonoff-b1] platform = espressif8266 @@ -270,6 +290,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1 +monitor_baud = 115200 [env:itead-sonoff-b1-ota] platform = espressif8266 @@ -282,6 +303,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1 upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:itead-sonoff-t1-1ch] platform = espressif8266 @@ -291,6 +313,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH +monitor_baud = 115200 [env:itead-sonoff-t1-1ch-ota] platform = espressif8266 @@ -303,6 +326,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:itead-sonoff-t1-2ch] platform = espressif8266 @@ -312,6 +336,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH +monitor_baud = 115200 [env:itead-sonoff-t1-2ch-ota] platform = espressif8266 @@ -324,6 +349,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:itead-sonoff-t1-3ch] platform = espressif8266 @@ -333,6 +359,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH +monitor_baud = 115200 [env:itead-sonoff-t1-3ch-ota] platform = espressif8266 @@ -345,6 +372,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:itead-sonoff-led] platform = espressif8266 @@ -354,6 +382,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED +monitor_baud = 115200 [env:itead-sonoff-led-ota] platform = espressif8266 @@ -366,6 +395,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:itead-sonoff-rfbridge] platform = espressif8266 @@ -375,6 +405,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE +monitor_baud = 19200 [env:itead-sonoff-rfbridge-ota] platform = espressif8266 @@ -387,6 +418,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=Algernon1 --port 8266 +monitor_baud = 19200 # ------------------------------------------------------------------------------ @@ -398,6 +430,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER +monitor_baud = 115200 [env:itead-slampher-ota] platform = espressif8266 @@ -410,6 +443,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:itead-s20] platform = espressif8266 @@ -419,6 +453,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_S20 +monitor_baud = 115200 [env:itead-s20-ota] platform = espressif8266 @@ -431,6 +466,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_S20 upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:itead-1ch-inching] platform = espressif8266 @@ -440,6 +476,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING +monitor_baud = 115200 [env:itead-1ch-inching-ota] platform = espressif8266 @@ -452,6 +489,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:itead-motor] platform = espressif8266 @@ -461,6 +499,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_MOTOR +monitor_baud = 115200 [env:itead-motor-ota] platform = espressif8266 @@ -473,6 +512,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_MOTOR upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 # ------------------------------------------------------------------------------ @@ -483,6 +523,7 @@ board = esp12e lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DENABLE_DHT=1 +monitor_baud = 115200 [env:electrodragon-wifi-iot-ota] platform = espressif8266 @@ -494,6 +535,7 @@ build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DENABLE_DHT=1 upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:workchoice-ecoplug] platform = espressif8266 @@ -503,6 +545,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG +monitor_baud = 115200 [env:workchoice-ecoplug-ota] platform = espressif8266 @@ -515,6 +558,7 @@ build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:jangoe-wifi-relay] platform = espressif8266 @@ -523,6 +567,7 @@ board = esp12e lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC +monitor_baud = 115200 [env:jangoe-wifi-relay-ota] platform = espressif8266 @@ -534,6 +579,7 @@ build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:openenergymonitor-mqtt-relay] platform = espressif8266 @@ -542,6 +588,7 @@ board = esp_wroom_02 lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DENABLE_DS18B20=1 +monitor_baud = 115200 [env:openenergymonitor-mqtt-relay-ota] platform = espressif8266 @@ -553,6 +600,7 @@ build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DENABLE_DS18 upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:jorgegarcia-wifi-relays] platform = espressif8266 @@ -561,6 +609,7 @@ board = esp01_1m lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS +monitor_baud = 115200 [env:jorgegarcia-wifi-relays-ota] platform = espressif8266 @@ -572,6 +621,7 @@ build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:aithinker-ai-light] platform = espressif8266 @@ -581,6 +631,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT +monitor_baud = 115200 [env:aithinker-ai-light-ota] platform = espressif8266 @@ -593,6 +644,7 @@ build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:magichome-led-controller] platform = espressif8266 @@ -601,6 +653,7 @@ board = esp01_1m lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER +monitor_baud = 115200 [env:magichome-led-controller-ota] platform = espressif8266 @@ -612,6 +665,7 @@ build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:huacanxing-h801] platform = espressif8266 @@ -621,6 +675,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801 -DDEBUG_PORT=Serial1 +monitor_baud = 115200 [env:huacanxing-h801-ota] platform = espressif8266 @@ -633,6 +688,7 @@ build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801 -DDEBUG_PORT=Seria upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:itead-bnsz01] platform = espressif8266 @@ -642,6 +698,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_BN_SZ01 +monitor_baud = 115200 [env:itead-bnsz01-ota] platform = espressif8266 @@ -654,6 +711,7 @@ build_flags = ${common.build_flags_1m} -DITEAD_BN_SZ01 upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:wion-50055] platform = espressif8266 @@ -663,6 +721,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DWION_50055 +monitor_baud = 115200 [env:wion-50055-ota] platform = espressif8266 @@ -675,6 +734,7 @@ build_flags = ${common.build_flags_1m} -DWION_50055 upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 [env:exs-wifi-relay-v31] platform = espressif8266 @@ -684,6 +744,7 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31 +monitor_baud = 115200 [env:exs-wifi-relay-v31-ota] platform = espressif8266 @@ -696,3 +757,4 @@ build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31 upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200