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.

179 lines
4.8 KiB

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