diff --git a/code/platformio.ini b/code/platformio.ini index e63fdefd..839482ae 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -156,6 +156,19 @@ lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1 monitor_baud = 115200 +[env:itead-sonoff-basic-dht22-ota] +platform = espressif8266 +framework = arduino +board = esp01_1m +board_flash_mode = dout +lib_deps = ${common.lib_deps} +lib_ignore = ${common.lib_ignore} +build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1 +upload_speed = 115200 +upload_port = "192.168.4.1" +upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 + [env:itead-sonoff-basic-ds18b20] platform = espressif8266 framework = arduino