@ -2,96 +2,112 @@
env_default = node-debug
env_default = node-debug
[common]
[common]
lib_install = 19,31,44,64,305,306,346,359,408,727
lib_deps =
19
31
44
64
305
306
346
359
408
727
https://bitbucket.org/xoseperez/justwifi.git
https://bitbucket.org/xoseperez/nofuss.git
https://bitbucket.org/xoseperez/hlw8012.git
https://bitbucket.org/xoseperez/emonliteesp.git
https://bitbucket.org/xoseperez/fauxmoesp.git
https://github.com/jccprj/RemoteSwitch-arduino-library
[env:sonoff-debug]
[env:sonoff-debug]
platform = espressif8266
platform = espressif8266
framework = arduino
framework = arduino
lib_install = ${common.lib_install}
lib_deps = ${common.lib_deps }
extra_script = pio_hooks.py
extra_script = pio_hooks.py
board = esp01_1m
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
lib_ignore = fauxmoESP
lib_ignore = F auxmoESP
[env:sonoff-debug-ota]
[env:sonoff-debug-ota]
platform = espressif8266
platform = espressif8266
framework = arduino
framework = arduino
lib_install = ${common.lib_install}
lib_deps = ${common.lib_deps }
extra_script = pio_hooks.py
extra_script = pio_hooks.py
board = esp01_1m
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
upload_speed = 115200
upload_speed = 115200
upload_port = "192.168.4.1"
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
upload_flags = --auth=fibonacci --port 8266
lib_ignore = f auxmoESP
lib_ignore = F auxmoESP
[env:sonoff-pow-debug]
[env:sonoff-pow-debug]
platform = espressif8266
platform = espressif8266
framework = arduino
framework = arduino
lib_install = ${common.lib_install }
lib_deps = ${common.lib_deps }
extra_script = pio_hooks.py
extra_script = pio_hooks.py
board = esp01_1m
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
lib_ignore = f auxmoESP
lib_ignore = F auxmoESP
[env:sonoff-pow-debug-ota]
[env:sonoff-pow-debug-ota]
platform = espressif8266
platform = espressif8266
framework = arduino
framework = arduino
lib_install = ${common.lib_install }
lib_deps = ${common.lib_deps }
extra_script = pio_hooks.py
extra_script = pio_hooks.py
board = esp01_1m
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
upload_speed = 115200
upload_speed = 115200
upload_port = "192.168.4.1"
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
upload_flags = --auth=fibonacci --port 8266
lib_ignore = f auxmoESP
lib_ignore = F auxmoESP
[env:slampher-debug]
[env:slampher-debug]
platform = espressif8266
platform = espressif8266
framework = arduino
framework = arduino
lib_install = ${common.lib_install }
lib_deps = ${common.lib_deps }
extra_script = pio_hooks.py
extra_script = pio_hooks.py
board = esp01_1m
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
lib_ignore = f auxmoESP
lib_ignore = F auxmoESP
[env:slampher-debug-ota]
[env:slampher-debug-ota]
platform = espressif8266
platform = espressif8266
framework = arduino
framework = arduino
lib_install = ${common.lib_install }
lib_deps = ${common.lib_deps }
extra_script = pio_hooks.py
extra_script = pio_hooks.py
board = esp01_1m
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
upload_speed = 115200
upload_speed = 115200
upload_port = "192.168.4.1"
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
upload_flags = --auth=fibonacci --port 8266
lib_ignore = f auxmoESP
lib_ignore = F auxmoESP
[env:s20-debug]
[env:s20-debug]
platform = espressif8266
platform = espressif8266
framework = arduino
framework = arduino
lib_install = ${common.lib_install }
lib_deps = ${common.lib_deps }
extra_script = pio_hooks.py
extra_script = pio_hooks.py
board = esp01_1m
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
lib_ignore = f auxmoESP
lib_ignore = F auxmoESP
[env:s20-debug-ota]
[env:s20-debug-ota]
platform = espressif8266
platform = espressif8266
framework = arduino
framework = arduino
lib_install = ${common.lib_install }
lib_deps = ${common.lib_deps }
extra_script = pio_hooks.py
extra_script = pio_hooks.py
board = esp01_1m
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
upload_speed = 115200
upload_speed = 115200
upload_port = "192.168.4.1"
upload_port = "192.168.4.1"
lib_ignore = FauxmoESP
upload_flags = --auth=fibonacci --port 8266
upload_flags = --auth=fibonacci --port 8266
lib_ignore = fauxmoESP
[env:node-debug]
[env:node-debug]
platform = espressif8266_stage
platform = espressif8266_stage
framework = arduino
framework = arduino
lib_install = ${common.lib_install }
lib_deps = ${common.lib_deps }
extra_script = pio_hooks.py
extra_script = pio_hooks.py
board = nodemcuv2
board = nodemcuv2
build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1
build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1
@ -99,14 +115,14 @@ build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1
[env:node-debug-ota]
[env:node-debug-ota]
platform = espressif8266
platform = espressif8266
framework = arduino
framework = arduino
lib_install = ${common.lib_install }
lib_deps = ${common.lib_deps }
extra_script = pio_hooks.py
extra_script = pio_hooks.py
board = nodemcuv2
board = nodemcuv2
build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial
build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial
upload_speed = 115200
upload_speed = 115200
upload_port = "192.168.4.1"
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
upload_flags = --auth=fibonacci --port 8266
lib_ignore = f auxmoESP
lib_ignore = F auxmoESP
@ -114,50 +130,50 @@ lib_ignore = fauxmoESP
topic = /home/cellar/airconditioner/ip
topic = /home/cellar/airconditioner/ip
platform = espressif8266
platform = espressif8266
framework = arduino
framework = arduino
lib_install = ${common.lib_install }
lib_deps = ${common.lib_deps }
extra_script = pio_hooks.py
extra_script = pio_hooks.py
board = esp01_1m
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
upload_speed = 115200
upload_speed = 115200
upload_port = "192.168.4.1"
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
upload_flags = --auth=fibonacci --port 8266
lib_ignore = f auxmoESP
lib_ignore = F auxmoESP
[env:washer-device]
[env:washer-device]
topic = /home/cellar/washer/ip
topic = /home/cellar/washer/ip
platform = espressif8266
platform = espressif8266
framework = arduino
framework = arduino
lib_install = ${common.lib_install }
lib_deps = ${common.lib_deps }
extra_script = pio_hooks.py
extra_script = pio_hooks.py
board = esp01_1m
board = esp01_1m
upload_speed = 115200
upload_speed = 115200
upload_port = "192.168.4.1"
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
upload_flags = --auth=fibonacci --port 8266
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_EMON=1 -DENABLE_DHT=1
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_EMON=1 -DENABLE_DHT=1
lib_ignore = f auxmoESP
lib_ignore = F auxmoESP
[env:studio-lamp-device]
[env:studio-lamp-device]
topic = /home/studio/lamp/ip
topic = /home/studio/lamp/ip
platform = espressif8266
platform = espressif8266_stage
framework = arduino
framework = arduino
lib_install = ${common.lib_install }
lib_deps = ${common.lib_deps }
extra_script = pio_hooks.py
extra_script = pio_hooks.py
board = esp01_1m
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_FAUXMO=1
upload_speed = 115200
upload_speed = 115200
upload_port = "192.168.4.1"
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
upload_flags = --auth=fibonacci --port 8266
lib_ignore = fauxmoESP
lib_ignore =
[env:living-lamp-device]
[env:living-lamp-device]
topic = /home/living/lamp/ip
topic = /home/living/lamp/ip
platform = espressif8266
platform = espressif8266
framework = arduino
framework = arduino
lib_install = ${common.lib_install }
lib_deps = ${common.lib_deps }
extra_script = pio_hooks.py
extra_script = pio_hooks.py
board = esp01_1m
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
upload_speed = 115200
upload_speed = 115200
upload_port = "192.168.4.1"
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
upload_flags = --auth=fibonacci --port 8266
lib_ignore = f auxmoESP
lib_ignore = F auxmoESP