@ -1 +0,0 @@ | |||
platformio.official.ini |
@ -0,0 +1,179 @@ | |||
[platformio] | |||
env_default = node-debug | |||
[common] | |||
lib_deps = | |||
DHT sensor library | |||
Adafruit Unified Sensor | |||
Time | |||
ArduinoJson | |||
ESPAsyncTCP | |||
ESPAsyncWebServer | |||
AsyncMqttClient | |||
ESPAsyncUCP | |||
Embedis | |||
NtpClientLib | |||
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] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF | |||
lib_ignore = FauxmoESP | |||
[env:sonoff-debug-ota] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
lib_ignore = FauxmoESP | |||
[env:sonoff-pow-debug] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW | |||
lib_ignore = FauxmoESP | |||
[env:sonoff-pow-debug-ota] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
lib_ignore = FauxmoESP | |||
[env:slampher-debug] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER | |||
lib_ignore = FauxmoESP | |||
[env:slampher-debug-ota] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
lib_ignore = FauxmoESP | |||
[env:s20-debug] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20 | |||
lib_ignore = FauxmoESP | |||
[env:s20-debug-ota] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20 | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
lib_ignore = FauxmoESP | |||
upload_flags = --auth=fibonacci --port 8266 | |||
[env:node-debug] | |||
platform = espressif8266_stage | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = nodemcuv2 | |||
build_flags = -g -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1 | |||
[env:node-debug-ota] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = nodemcuv2 | |||
build_flags = -g -DNODEMCUV2 -DDEBUG_PORT=Serial | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
lib_ignore = FauxmoESP | |||
[env:ac-device] | |||
topic = /home/cellar/airconditioner/ip | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20 | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
lib_ignore = FauxmoESP | |||
[env:washer-device] | |||
topic = /home/cellar/washer/ip | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_EMON=1 -DENABLE_DHT=1 | |||
lib_ignore = FauxmoESP | |||
[env:studio-lamp-device] | |||
topic = /home/studio/lamp/ip | |||
platform = espressif8266_stage | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_FAUXMO=1 | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
lib_ignore = | |||
[env:living-lamp-device] | |||
topic = /home/living/lamp/ip | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
lib_ignore = FauxmoESP |
@ -1,179 +0,0 @@ | |||
[platformio] | |||
env_default = node-debug | |||
[common] | |||
lib_deps = | |||
DHT sensor library | |||
Adafruit Unified Sensor | |||
Time | |||
ArduinoJson | |||
ESPAsyncTCP | |||
ESPAsyncWebServer | |||
AsyncMqttClient | |||
ESPAsyncUCP | |||
Embedis | |||
NtpClientLib | |||
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] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF | |||
lib_ignore = FauxmoESP | |||
[env:sonoff-debug-ota] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
lib_ignore = FauxmoESP | |||
[env:sonoff-pow-debug] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW | |||
lib_ignore = FauxmoESP | |||
[env:sonoff-pow-debug-ota] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
lib_ignore = FauxmoESP | |||
[env:slampher-debug] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER | |||
lib_ignore = FauxmoESP | |||
[env:slampher-debug-ota] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
lib_ignore = FauxmoESP | |||
[env:s20-debug] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20 | |||
lib_ignore = FauxmoESP | |||
[env:s20-debug-ota] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20 | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
lib_ignore = FauxmoESP | |||
upload_flags = --auth=fibonacci --port 8266 | |||
[env:node-debug] | |||
platform = espressif8266_stage | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = nodemcuv2 | |||
build_flags = -g -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1 | |||
[env:node-debug-ota] | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = nodemcuv2 | |||
build_flags = -g -DNODEMCUV2 -DDEBUG_PORT=Serial | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
lib_ignore = FauxmoESP | |||
[env:ac-device] | |||
topic = /home/cellar/airconditioner/ip | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20 | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
lib_ignore = FauxmoESP | |||
[env:washer-device] | |||
topic = /home/cellar/washer/ip | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_EMON=1 -DENABLE_DHT=1 | |||
lib_ignore = FauxmoESP | |||
[env:studio-lamp-device] | |||
topic = /home/studio/lamp/ip | |||
platform = espressif8266_stage | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_FAUXMO=1 | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
lib_ignore = | |||
[env:living-lamp-device] | |||
topic = /home/living/lamp/ip | |||
platform = espressif8266 | |||
framework = arduino | |||
lib_deps = ${common.lib_deps} | |||
extra_script = pio_hooks.py | |||
board = esp01_1m | |||
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF | |||
upload_speed = 115200 | |||
upload_port = "192.168.4.1" | |||
upload_flags = --auth=fibonacci --port 8266 | |||
lib_ignore = FauxmoESP |