From d1f19cfd558d55b929e333789b51d96c4b181daf Mon Sep 17 00:00:00 2001 From: wildwiz Date: Sun, 29 Apr 2018 17:02:36 +0200 Subject: [PATCH] changing ota settings to environment variables for itead-sonoff-rfbridge-direct-ota itead-sonoff-s31-ota zhilde-eu44-w-ota --- code/platformio.ini | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/code/platformio.ini b/code/platformio.ini index db86f9e3..acc64d7b 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -738,8 +738,8 @@ lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT upload_speed = 115200 -upload_port = "192.168.4.1" -upload_flags = --auth=fibonacci --port 8266 +upload_port = "${env.ESPURNA_IP}" +upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266 monitor_baud = 19200 extra_scripts = ${common.extra_scripts} @@ -888,8 +888,8 @@ board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_S31 -upload_port = "192.168.4.1" -upload_flags = --auth=fibonacci --port 8266 +upload_port = "${env.ESPURNA_IP}" +upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266 monitor_baud = 115200 extra_scripts = ${common.extra_scripts} @@ -1926,8 +1926,8 @@ lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DZHILDE_EU44_W upload_speed = 115200 -upload_port = "192.168.4.1" -upload_flags = --auth=fibonacci --port 8266 +upload_port = "${env.ESPURNA_IP}" +upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266 monitor_baud = 115200 extra_scripts = ${common.extra_scripts}