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.

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