Fork of the espurna firmware for `mhsw` switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

163 lines
4.4 KiB

  1. [platformio]
  2. env_default = node-debug
  3. [common]
  4. lib_install = 19,31,44,64,305,306,346,359,408,727
  5. [env:sonoff-debug]
  6. platform = espressif8266
  7. framework = arduino
  8. lib_install = ${common.lib_install}
  9. extra_script = pio_hooks.py
  10. board = esp01_1m
  11. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
  12. lib_ignore = fauxmoESP
  13. [env:sonoff-debug-ota]
  14. platform = espressif8266
  15. framework = arduino
  16. lib_install = ${common.lib_install}
  17. extra_script = pio_hooks.py
  18. board = esp01_1m
  19. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
  20. upload_speed = 115200
  21. upload_port = "192.168.4.1"
  22. upload_flags = --auth=fibonacci --port 8266
  23. lib_ignore = fauxmoESP
  24. [env:sonoff-pow-debug]
  25. platform = espressif8266
  26. framework = arduino
  27. lib_install = ${common.lib_install}
  28. extra_script = pio_hooks.py
  29. board = esp01_1m
  30. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
  31. lib_ignore = fauxmoESP
  32. [env:sonoff-pow-debug-ota]
  33. platform = espressif8266
  34. framework = arduino
  35. lib_install = ${common.lib_install}
  36. extra_script = pio_hooks.py
  37. board = esp01_1m
  38. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
  39. upload_speed = 115200
  40. upload_port = "192.168.4.1"
  41. upload_flags = --auth=fibonacci --port 8266
  42. lib_ignore = fauxmoESP
  43. [env:slampher-debug]
  44. platform = espressif8266
  45. framework = arduino
  46. lib_install = ${common.lib_install}
  47. extra_script = pio_hooks.py
  48. board = esp01_1m
  49. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
  50. lib_ignore = fauxmoESP
  51. [env:slampher-debug-ota]
  52. platform = espressif8266
  53. framework = arduino
  54. lib_install = ${common.lib_install}
  55. extra_script = pio_hooks.py
  56. board = esp01_1m
  57. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
  58. upload_speed = 115200
  59. upload_port = "192.168.4.1"
  60. upload_flags = --auth=fibonacci --port 8266
  61. lib_ignore = fauxmoESP
  62. [env:s20-debug]
  63. platform = espressif8266
  64. framework = arduino
  65. lib_install = ${common.lib_install}
  66. extra_script = pio_hooks.py
  67. board = esp01_1m
  68. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
  69. lib_ignore = fauxmoESP
  70. [env:s20-debug-ota]
  71. platform = espressif8266
  72. framework = arduino
  73. lib_install = ${common.lib_install}
  74. extra_script = pio_hooks.py
  75. board = esp01_1m
  76. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
  77. upload_speed = 115200
  78. upload_port = "192.168.4.1"
  79. upload_flags = --auth=fibonacci --port 8266
  80. lib_ignore = fauxmoESP
  81. [env:node-debug]
  82. platform = espressif8266_stage
  83. framework = arduino
  84. lib_install = ${common.lib_install}
  85. extra_script = pio_hooks.py
  86. board = nodemcuv2
  87. build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1
  88. [env:node-debug-ota]
  89. platform = espressif8266
  90. framework = arduino
  91. lib_install = ${common.lib_install}
  92. extra_script = pio_hooks.py
  93. board = nodemcuv2
  94. build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial
  95. upload_speed = 115200
  96. upload_port = "192.168.4.1"
  97. upload_flags = --auth=fibonacci --port 8266
  98. lib_ignore = fauxmoESP
  99. [env:ac-device]
  100. topic = /home/cellar/airconditioner/ip
  101. platform = espressif8266
  102. framework = arduino
  103. lib_install = ${common.lib_install}
  104. extra_script = pio_hooks.py
  105. board = esp01_1m
  106. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
  107. upload_speed = 115200
  108. upload_port = "192.168.4.1"
  109. upload_flags = --auth=fibonacci --port 8266
  110. lib_ignore = fauxmoESP
  111. [env:washer-device]
  112. topic = /home/cellar/washer/ip
  113. platform = espressif8266
  114. framework = arduino
  115. lib_install = ${common.lib_install}
  116. extra_script = pio_hooks.py
  117. board = esp01_1m
  118. upload_speed = 115200
  119. upload_port = "192.168.4.1"
  120. upload_flags = --auth=fibonacci --port 8266
  121. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_EMON=1 -DENABLE_DHT=1
  122. lib_ignore = fauxmoESP
  123. [env:studio-lamp-device]
  124. topic = /home/studio/lamp/ip
  125. platform = espressif8266
  126. framework = arduino
  127. lib_install = ${common.lib_install}
  128. extra_script = pio_hooks.py
  129. board = esp01_1m
  130. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
  131. upload_speed = 115200
  132. upload_port = "192.168.4.1"
  133. upload_flags = --auth=fibonacci --port 8266
  134. lib_ignore = fauxmoESP
  135. [env:living-lamp-device]
  136. topic = /home/living/lamp/ip
  137. platform = espressif8266
  138. framework = arduino
  139. lib_install = ${common.lib_install}
  140. extra_script = pio_hooks.py
  141. board = esp01_1m
  142. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
  143. upload_speed = 115200
  144. upload_port = "192.168.4.1"
  145. upload_flags = --auth=fibonacci --port 8266
  146. lib_ignore = fauxmoESP