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.

2241 lines
66 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. [platformio]
  2. env_default = wemos-d1mini-relayshield
  3. src_dir = espurna
  4. data_dir = espurna/data
  5. [common]
  6. # ------------------------------------------------------------------------------
  7. # PLATFORM:
  8. # !! DO NOT confuse platformio's ESP8266 development platform with Arduino core for ESP8266
  9. # We use platformIO 1.5.0 as default
  10. #
  11. # platformIO 1.5.0 = arduino core 2.3.0
  12. # platformIO 1.6.0 = arduino core 2.4.0
  13. # platformIO 1.7.0 = arduino core 2.4.1
  14. # ------------------------------------------------------------------------------
  15. platform_150 = espressif8266@1.5.0
  16. platform_160 = espressif8266@1.6.0
  17. platform_170 = espressif8266@1.7.0
  18. platform = ${common.platform_150}
  19. # ------------------------------------------------------------------------------
  20. # FLAGS: DEBUG
  21. #
  22. # ------------------------------------------------------------------------------
  23. debug_flags = -DDEBUG_ESP_CORE -DDEBUG_ESP_SSL -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_HTTP_SERVER -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_TLS_MEM
  24. # ------------------------------------------------------------------------------
  25. # FLAGS: build flags
  26. # build flags for 512k/1m ESP's are different because we use Linker Scripts to adjust flash split
  27. # 512 KB = 487 KB sketch, 20 KB eeprom
  28. # 1 MB = 999 KB sketch, 20 KB eeprom
  29. #
  30. # Available lwIP variants (macros):
  31. # -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH v1.4 Higher Bandwidth (default)
  32. # -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY v2 Lower Memory
  33. # -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH v2 Higher Bandwidth
  34. # ------------------------------------------------------------------------------
  35. build_flags = -g -w -DMQTT_MAX_PACKET_SIZE=400 -DNO_GLOBAL_EEPROM ${env.ESPURNA_FLAGS} -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
  36. build_flags_512k = ${common.build_flags} -Wl,-Teagle.flash.512k0m1s.ld
  37. build_flags_1m0m = ${common.build_flags} -Wl,-Teagle.flash.1m0m1s.ld
  38. build_flags_4m1m = ${common.build_flags} -Wl,-Teagle.flash.4m1m4s.ld
  39. build_flags_4m3m = ${common.build_flags} -Wl,-Teagle.flash.4m3m4s.ld
  40. # ------------------------------------------------------------------------------
  41. # GLOBALS:
  42. # ------------------------------------------------------------------------------
  43. # IP address when using OTA
  44. upload_port = "192.168.4.1"
  45. upload_flags = --auth=fibonacci --port 8266
  46. #upload_port = "${env.ESPURNA_IP}"
  47. #upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  48. # ------------------------------------------------------------------------------
  49. # LIBRARIES: required dependencies
  50. # Please note that we don't always use the latest version of a library.
  51. # ------------------------------------------------------------------------------
  52. lib_deps =
  53. ArduinoJson
  54. https://github.com/marvinroger/async-mqtt-client#v0.8.1
  55. Brzo I2C
  56. https://bitbucket.org/xoseperez/debounceevent.git#2.0.1
  57. https://github.com/xoseperez/eeprom_rotate#0.9.1
  58. Embedis
  59. https://github.com/plerup/espsoftwareserial#3.4.1
  60. https://github.com/me-no-dev/ESPAsyncTCP#55cd520
  61. https://github.com/me-no-dev/ESPAsyncWebServer#05306e4
  62. FastLED
  63. https://bitbucket.org/xoseperez/fauxmoesp.git#2.4.2
  64. https://github.com/xoseperez/hlw8012.git#1.1.0
  65. https://github.com/markszabo/IRremoteESP8266#v2.2.0
  66. https://github.com/xoseperez/justwifi.git#2.0.0
  67. https://github.com/madpilot/mDNSResolver#4cfcda1
  68. https://github.com/xoseperez/my92xx#3.0.1
  69. https://bitbucket.org/xoseperez/nofuss.git#0.2.5
  70. https://github.com/xoseperez/NtpClient.git#0016a59
  71. OneWire
  72. PZEM004T
  73. PubSubClient
  74. rc-switch
  75. https://github.com/xoseperez/Time
  76. lib_ignore =
  77. extra_scripts = extra_scripts.py
  78. # ------------------------------------------------------------------------------
  79. # ESPURNA CORE BUILDS
  80. # ------------------------------------------------------------------------------
  81. [env:espurna-core-1MB]
  82. platform = ${common.platform}
  83. framework = arduino
  84. board = esp01_1m
  85. board_build.flash_mode = dout
  86. lib_deps = ${common.lib_deps}
  87. lib_ignore = ${common.lib_ignore}
  88. build_flags = ${common.build_flags_1m0m} -DESPURNA_CORE
  89. monitor_speed = 115200
  90. extra_scripts = ${common.extra_scripts}
  91. [env:espurna-core-4MB]
  92. platform = ${common.platform}
  93. framework = arduino
  94. board = d1_mini
  95. board_build.flash_mode = dout
  96. lib_deps = ${common.lib_deps}
  97. lib_ignore = ${common.lib_ignore}
  98. build_flags = ${common.build_flags_4m1m} -DESPURNA_CORE
  99. monitor_speed = 115200
  100. extra_scripts = ${common.extra_scripts}
  101. # ------------------------------------------------------------------------------
  102. # GENERIC OTA ENVIRONMENTS
  103. # ------------------------------------------------------------------------------
  104. [env:esp8266-1m-ota]
  105. platform = ${common.platform}
  106. framework = arduino
  107. board = esp01_1m
  108. board_build.flash_mode = dout
  109. lib_deps = ${common.lib_deps}
  110. lib_ignore = ${common.lib_ignore}
  111. build_flags = ${common.build_flags_1m0m} -D${env.ESPURNA_BOARD}
  112. upload_speed = 115200
  113. upload_port = "${env.ESPURNA_IP}"
  114. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  115. extra_scripts = ${common.extra_scripts}
  116. [env:esp8266-4m-ota]
  117. platform = ${common.platform}
  118. framework = arduino
  119. board = esp12e
  120. board_build.flash_mode = dout
  121. lib_deps = ${common.lib_deps}
  122. lib_ignore = ${common.lib_ignore}
  123. build_flags = ${common.build_flags_4m1m} -D${env.ESPURNA_BOARD}
  124. upload_speed = 115200
  125. upload_port = "${env.ESPURNA_IP}"
  126. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  127. extra_scripts = ${common.extra_scripts}
  128. # ------------------------------------------------------------------------------
  129. # SPECIAL BUILDS - DO. NOT. USE. ever ---
  130. # ------------------------------------------------------------------------------
  131. [env:travis01]
  132. platform = ${common.platform}
  133. framework = arduino
  134. board = esp12e
  135. lib_deps = ${common.lib_deps}
  136. lib_ignore = ${common.lib_ignore}
  137. build_flags = ${common.build_flags_4m1m} -DTRAVIS01
  138. monitor_speed = 115200
  139. extra_scripts = ${common.extra_scripts}
  140. [env:travis02]
  141. platform = ${common.platform}
  142. framework = arduino
  143. board = esp12e
  144. lib_deps = ${common.lib_deps}
  145. lib_ignore = ${common.lib_ignore}
  146. build_flags = ${common.build_flags_4m1m} -DTRAVIS02
  147. monitor_speed = 115200
  148. extra_scripts = ${common.extra_scripts}
  149. [env:travis03]
  150. platform = espressif8266@1.6.0
  151. framework = arduino
  152. board = esp12e
  153. lib_deps = ${common.lib_deps}
  154. lib_ignore = ${common.lib_ignore}
  155. build_flags = ${common.build_flags_4m1m} -DTRAVIS03 -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  156. monitor_speed = 115200
  157. extra_scripts = ${common.extra_scripts}
  158. # ------------------------------------------------------------------------------
  159. # DEVELOPMENT BOARDS
  160. # ------------------------------------------------------------------------------
  161. [env:wemos-d1mini-relayshield]
  162. platform = ${common.platform}
  163. framework = arduino
  164. board = d1_mini
  165. lib_deps = ${common.lib_deps}
  166. lib_ignore = ${common.lib_ignore}
  167. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  168. upload_speed = 460800
  169. monitor_speed = 115200
  170. extra_scripts = ${common.extra_scripts}
  171. [env:wemos-d1mini-relayshield-ssl]
  172. platform = espressif8266@1.6.0
  173. framework = arduino
  174. board = d1_mini
  175. lib_deps = ${common.lib_deps}
  176. lib_ignore = ${common.lib_ignore}
  177. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  178. upload_speed = 460800
  179. monitor_speed = 115200
  180. extra_scripts = ${common.extra_scripts}
  181. [env:wemos-d1mini-relayshield-ota]
  182. platform = ${common.platform}
  183. framework = arduino
  184. board = d1_mini
  185. lib_deps = ${common.lib_deps}
  186. lib_ignore = ${common.lib_ignore}
  187. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  188. upload_speed = 115200
  189. upload_port = ${common.upload_port}
  190. upload_flags = ${common.upload_flags}
  191. extra_scripts = ${common.extra_scripts}
  192. [env:nodemcu-lolin]
  193. platform = ${common.platform}
  194. framework = arduino
  195. board = nodemcuv2
  196. lib_deps = ${common.lib_deps}
  197. lib_ignore = ${common.lib_ignore}
  198. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  199. upload_speed = 460800
  200. monitor_speed = 115200
  201. extra_scripts = ${common.extra_scripts}
  202. [env:nodemcu-lolin-ssl]
  203. platform = espressif8266@1.6.0
  204. framework = arduino
  205. board = nodemcuv2
  206. lib_deps = ${common.lib_deps}
  207. lib_ignore = ${common.lib_ignore}
  208. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  209. upload_speed = 460800
  210. monitor_speed = 115200
  211. extra_scripts = ${common.extra_scripts}
  212. [env:nodemcu-lolin-ota]
  213. platform = ${common.platform}
  214. framework = arduino
  215. board = nodemcuv2
  216. lib_deps = ${common.lib_deps}
  217. lib_ignore = ${common.lib_ignore}
  218. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  219. upload_speed = 115200
  220. upload_port = ${common.upload_port}
  221. upload_flags = ${common.upload_flags}
  222. monitor_speed = 115200
  223. extra_scripts = ${common.extra_scripts}
  224. # ------------------------------------------------------------------------------
  225. # SPECIFIC BOARDS
  226. # ------------------------------------------------------------------------------
  227. [env:tinkerman-espurna-h06]
  228. platform = ${common.platform}
  229. framework = arduino
  230. board = esp12e
  231. lib_deps = ${common.lib_deps}
  232. lib_ignore = ${common.lib_ignore}
  233. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H06
  234. monitor_speed = 115200
  235. extra_scripts = ${common.extra_scripts}
  236. [env:tinkerman-espurna-h06-ota]
  237. platform = ${common.platform}
  238. framework = arduino
  239. board = esp12e
  240. lib_deps = ${common.lib_deps}
  241. lib_ignore = ${common.lib_ignore}
  242. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H06
  243. upload_speed = 115200
  244. upload_port = ${common.upload_port}
  245. upload_flags = ${common.upload_flags}
  246. monitor_speed = 115200
  247. extra_scripts = ${common.extra_scripts}
  248. [env:tinkerman-espurna-h08]
  249. platform = ${common.platform}
  250. framework = arduino
  251. board = esp12e
  252. lib_deps = ${common.lib_deps}
  253. lib_ignore = ${common.lib_ignore}
  254. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H08
  255. monitor_speed = 115200
  256. extra_scripts = ${common.extra_scripts}
  257. [env:tinkerman-espurna-h08-ota]
  258. platform = ${common.platform}
  259. framework = arduino
  260. board = esp12e
  261. lib_deps = ${common.lib_deps}
  262. lib_ignore = ${common.lib_ignore}
  263. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H08
  264. upload_speed = 115200
  265. upload_port = ${common.upload_port}
  266. upload_flags = ${common.upload_flags}
  267. monitor_speed = 115200
  268. extra_scripts = ${common.extra_scripts}
  269. [env:tinkerman-espurna-switch]
  270. platform = ${common.platform}
  271. framework = arduino
  272. board = esp12e
  273. lib_deps = ${common.lib_deps}
  274. lib_ignore = ${common.lib_ignore}
  275. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_SWITCH
  276. monitor_speed = 115200
  277. extra_scripts = ${common.extra_scripts}
  278. [env:wemos-d1-tarpunashield]
  279. platform = ${common.platform}
  280. framework = arduino
  281. board = esp12e
  282. lib_deps = ${common.lib_deps}
  283. lib_ignore = ${common.lib_ignore}
  284. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_TARPUNA_SHIELD
  285. monitor_speed = 115200
  286. extra_scripts = ${common.extra_scripts}
  287. # ------------------------------------------------------------------------------
  288. [env:itead-sonoff-basic]
  289. platform = ${common.platform}
  290. framework = arduino
  291. board = esp01_1m
  292. board_build.flash_mode = dout
  293. lib_deps = ${common.lib_deps}
  294. lib_ignore = ${common.lib_ignore}
  295. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC
  296. monitor_speed = 115200
  297. extra_scripts = ${common.extra_scripts}
  298. [env:itead-sonoff-basic-ota]
  299. platform = ${common.platform}
  300. framework = arduino
  301. board = esp01_1m
  302. board_build.flash_mode = dout
  303. lib_deps = ${common.lib_deps}
  304. lib_ignore = ${common.lib_ignore}
  305. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC
  306. upload_speed = 115200
  307. upload_port = ${common.upload_port}
  308. upload_flags = ${common.upload_flags}
  309. monitor_speed = 115200
  310. extra_scripts = ${common.extra_scripts}
  311. [env:itead-sonoff-basic-dht]
  312. platform = ${common.platform}
  313. framework = arduino
  314. board = esp01_1m
  315. board_build.flash_mode = dout
  316. lib_deps = ${common.lib_deps}
  317. lib_ignore = ${common.lib_ignore}
  318. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  319. monitor_speed = 115200
  320. extra_scripts = ${common.extra_scripts}
  321. [env:itead-sonoff-basic-dht-ota]
  322. platform = ${common.platform}
  323. framework = arduino
  324. board = esp01_1m
  325. board_build.flash_mode = dout
  326. lib_deps = ${common.lib_deps}
  327. lib_ignore = ${common.lib_ignore}
  328. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  329. upload_speed = 115200
  330. upload_port = ${common.upload_port}
  331. upload_flags = ${common.upload_flags}
  332. monitor_speed = 115200
  333. extra_scripts = ${common.extra_scripts}
  334. [env:itead-sonoff-basic-dallas]
  335. platform = ${common.platform}
  336. framework = arduino
  337. board = esp01_1m
  338. board_build.flash_mode = dout
  339. lib_deps = ${common.lib_deps}
  340. lib_ignore = ${common.lib_ignore}
  341. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1
  342. monitor_speed = 115200
  343. extra_scripts = ${common.extra_scripts}
  344. [env:itead-sonoff-rf]
  345. platform = ${common.platform}
  346. framework = arduino
  347. board = esp01_1m
  348. board_build.flash_mode = dout
  349. lib_deps = ${common.lib_deps}
  350. lib_ignore = ${common.lib_ignore}
  351. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RF
  352. monitor_speed = 115200
  353. extra_scripts = ${common.extra_scripts}
  354. [env:itead-sonoff-rf-ota]
  355. platform = ${common.platform}
  356. framework = arduino
  357. board = esp01_1m
  358. board_build.flash_mode = dout
  359. lib_deps = ${common.lib_deps}
  360. lib_ignore = ${common.lib_ignore}
  361. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RF
  362. upload_speed = 115200
  363. upload_port = ${common.upload_port}
  364. upload_flags = ${common.upload_flags}
  365. monitor_speed = 115200
  366. extra_scripts = ${common.extra_scripts}
  367. [env:itead-sonoff-th]
  368. platform = ${common.platform}
  369. framework = arduino
  370. board = esp01_1m
  371. board_build.flash_mode = dout
  372. lib_deps = ${common.lib_deps}
  373. lib_ignore = ${common.lib_ignore}
  374. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TH
  375. monitor_speed = 115200
  376. extra_scripts = ${common.extra_scripts}
  377. [env:itead-sonoff-th-ota]
  378. platform = ${common.platform}
  379. framework = arduino
  380. board = esp01_1m
  381. board_build.flash_mode = dout
  382. lib_deps = ${common.lib_deps}
  383. lib_ignore = ${common.lib_ignore}
  384. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TH
  385. upload_speed = 115200
  386. upload_port = ${common.upload_port}
  387. upload_flags = ${common.upload_flags}
  388. monitor_speed = 115200
  389. extra_scripts = ${common.extra_scripts}
  390. [env:itead-sonoff-pow]
  391. platform = ${common.platform}
  392. framework = arduino
  393. board = esp01_1m
  394. board_build.flash_mode = dout
  395. lib_deps = ${common.lib_deps}
  396. lib_ignore = ${common.lib_ignore}
  397. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW
  398. monitor_speed = 115200
  399. extra_scripts = ${common.extra_scripts}
  400. [env:itead-sonoff-pow-ota]
  401. platform = ${common.platform}
  402. framework = arduino
  403. board = esp01_1m
  404. board_build.flash_mode = dout
  405. lib_deps = ${common.lib_deps}
  406. lib_ignore = ${common.lib_ignore}
  407. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW
  408. upload_speed = 115200
  409. upload_port = ${common.upload_port}
  410. upload_flags = ${common.upload_flags}
  411. monitor_speed = 115200
  412. extra_scripts = ${common.extra_scripts}
  413. [env:itead-sonoff-pow-r2]
  414. platform = ${common.platform}
  415. framework = arduino
  416. board = esp01_1m
  417. board_build.flash_mode = dout
  418. lib_deps = ${common.lib_deps}
  419. lib_ignore = ${common.lib_ignore}
  420. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW_R2
  421. monitor_speed = 115200
  422. extra_scripts = ${common.extra_scripts}
  423. [env:itead-sonoff-pow-r2-ota]
  424. platform = ${common.platform}
  425. framework = arduino
  426. board = esp01_1m
  427. board_build.flash_mode = dout
  428. lib_deps = ${common.lib_deps}
  429. lib_ignore = ${common.lib_ignore}
  430. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW_R2
  431. upload_speed = 115200
  432. upload_port = ${common.upload_port}
  433. upload_flags = ${common.upload_flags}
  434. monitor_speed = 115200
  435. extra_scripts = ${common.extra_scripts}
  436. [env:itead-sonoff-dual]
  437. platform = ${common.platform}
  438. framework = arduino
  439. board = esp01_1m
  440. board_build.flash_mode = dout
  441. lib_deps = ${common.lib_deps}
  442. lib_ignore = ${common.lib_ignore}
  443. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL
  444. extra_scripts = ${common.extra_scripts}
  445. [env:itead-sonoff-dual-ota]
  446. platform = ${common.platform}
  447. framework = arduino
  448. board = esp01_1m
  449. board_build.flash_mode = dout
  450. lib_deps = ${common.lib_deps}
  451. lib_ignore = ${common.lib_ignore}
  452. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL
  453. upload_speed = 115200
  454. upload_port = ${common.upload_port}
  455. upload_flags = ${common.upload_flags}
  456. extra_scripts = ${common.extra_scripts}
  457. [env:itead-sonoff-dual-r2]
  458. platform = ${common.platform}
  459. framework = arduino
  460. board = esp01_1m
  461. board_build.flash_mode = dout
  462. lib_deps = ${common.lib_deps}
  463. lib_ignore = ${common.lib_ignore}
  464. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL_R2
  465. extra_scripts = ${common.extra_scripts}
  466. [env:itead-sonoff-dual-ota-r2]
  467. platform = ${common.platform}
  468. framework = arduino
  469. board = esp01_1m
  470. board_build.flash_mode = dout
  471. lib_deps = ${common.lib_deps}
  472. lib_ignore = ${common.lib_ignore}
  473. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL_R2
  474. upload_speed = 115200
  475. upload_port = ${common.upload_port}
  476. upload_flags = ${common.upload_flags}
  477. extra_scripts = ${common.extra_scripts}
  478. [env:itead-sonoff-4ch]
  479. platform = ${common.platform}
  480. framework = arduino
  481. board = esp01_1m
  482. board_build.flash_mode = dout
  483. lib_deps = ${common.lib_deps}
  484. lib_ignore = ${common.lib_ignore}
  485. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH
  486. monitor_speed = 115200
  487. extra_scripts = ${common.extra_scripts}
  488. [env:itead-sonoff-4ch-ota]
  489. platform = ${common.platform}
  490. framework = arduino
  491. board = esp01_1m
  492. board_build.flash_mode = dout
  493. lib_deps = ${common.lib_deps}
  494. lib_ignore = ${common.lib_ignore}
  495. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH
  496. upload_speed = 115200
  497. upload_port = ${common.upload_port}
  498. upload_flags = ${common.upload_flags}
  499. monitor_speed = 115200
  500. extra_scripts = ${common.extra_scripts}
  501. [env:itead-sonoff-4ch-pro]
  502. platform = ${common.platform}
  503. framework = arduino
  504. board = esp01_1m
  505. board_build.flash_mode = dout
  506. lib_deps = ${common.lib_deps}
  507. lib_ignore = ${common.lib_ignore}
  508. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH_PRO
  509. monitor_speed = 115200
  510. extra_scripts = ${common.extra_scripts}
  511. [env:itead-sonoff-4ch-pro-ota]
  512. platform = ${common.platform}
  513. framework = arduino
  514. board = esp01_1m
  515. board_build.flash_mode = dout
  516. lib_deps = ${common.lib_deps}
  517. lib_ignore = ${common.lib_ignore}
  518. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH_PRO
  519. upload_speed = 115200
  520. upload_port = ${common.upload_port}
  521. upload_flags = ${common.upload_flags}
  522. monitor_speed = 115200
  523. extra_scripts = ${common.extra_scripts}
  524. [env:itead-sonoff-touch]
  525. platform = ${common.platform}
  526. framework = arduino
  527. board = esp01_1m
  528. board_build.flash_mode = dout
  529. lib_deps = ${common.lib_deps}
  530. lib_ignore = ${common.lib_ignore}
  531. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TOUCH
  532. monitor_speed = 115200
  533. extra_scripts = ${common.extra_scripts}
  534. [env:itead-sonoff-touch-ota]
  535. platform = ${common.platform}
  536. framework = arduino
  537. board = esp01_1m
  538. board_build.flash_mode = dout
  539. lib_deps = ${common.lib_deps}
  540. lib_ignore = ${common.lib_ignore}
  541. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TOUCH
  542. upload_speed = 115200
  543. upload_port = ${common.upload_port}
  544. upload_flags = ${common.upload_flags}
  545. monitor_speed = 115200
  546. extra_scripts = ${common.extra_scripts}
  547. [env:itead-sonoff-b1]
  548. platform = ${common.platform}
  549. framework = arduino
  550. board = esp01_1m
  551. board_build.flash_mode = dout
  552. lib_deps = ${common.lib_deps}
  553. lib_ignore = ${common.lib_ignore}
  554. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_B1
  555. monitor_speed = 115200
  556. extra_scripts = ${common.extra_scripts}
  557. [env:itead-sonoff-b1-ota]
  558. platform = ${common.platform}
  559. framework = arduino
  560. board = esp01_1m
  561. board_build.flash_mode = dout
  562. lib_deps = ${common.lib_deps}
  563. lib_ignore = ${common.lib_ignore}
  564. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_B1
  565. upload_speed = 115200
  566. upload_port = ${common.upload_port}
  567. upload_flags = ${common.upload_flags}
  568. monitor_speed = 115200
  569. extra_scripts = ${common.extra_scripts}
  570. [env:itead-sonoff-t1-1ch]
  571. platform = ${common.platform}
  572. framework = arduino
  573. board = esp01_1m
  574. board_build.flash_mode = dout
  575. lib_deps = ${common.lib_deps}
  576. lib_ignore = ${common.lib_ignore}
  577. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_1CH
  578. monitor_speed = 115200
  579. extra_scripts = ${common.extra_scripts}
  580. [env:itead-sonoff-t1-1ch-ota]
  581. platform = ${common.platform}
  582. framework = arduino
  583. board = esp01_1m
  584. board_build.flash_mode = dout
  585. lib_deps = ${common.lib_deps}
  586. lib_ignore = ${common.lib_ignore}
  587. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_1CH
  588. upload_speed = 115200
  589. upload_port = ${common.upload_port}
  590. upload_flags = ${common.upload_flags}
  591. monitor_speed = 115200
  592. extra_scripts = ${common.extra_scripts}
  593. [env:itead-sonoff-t1-2ch]
  594. platform = ${common.platform}
  595. framework = arduino
  596. board = esp01_1m
  597. board_build.flash_mode = dout
  598. lib_deps = ${common.lib_deps}
  599. lib_ignore = ${common.lib_ignore}
  600. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_2CH
  601. monitor_speed = 115200
  602. extra_scripts = ${common.extra_scripts}
  603. [env:itead-sonoff-t1-2ch-ota]
  604. platform = ${common.platform}
  605. framework = arduino
  606. board = esp01_1m
  607. board_build.flash_mode = dout
  608. lib_deps = ${common.lib_deps}
  609. lib_ignore = ${common.lib_ignore}
  610. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_2CH
  611. upload_speed = 115200
  612. upload_port = ${common.upload_port}
  613. upload_flags = ${common.upload_flags}
  614. monitor_speed = 115200
  615. extra_scripts = ${common.extra_scripts}
  616. [env:itead-sonoff-t1-3ch]
  617. platform = ${common.platform}
  618. framework = arduino
  619. board = esp01_1m
  620. board_build.flash_mode = dout
  621. lib_deps = ${common.lib_deps}
  622. lib_ignore = ${common.lib_ignore}
  623. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_3CH
  624. monitor_speed = 115200
  625. extra_scripts = ${common.extra_scripts}
  626. [env:itead-sonoff-t1-3ch-ota]
  627. platform = ${common.platform}
  628. framework = arduino
  629. board = esp01_1m
  630. board_build.flash_mode = dout
  631. lib_deps = ${common.lib_deps}
  632. lib_ignore = ${common.lib_ignore}
  633. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_3CH
  634. upload_speed = 115200
  635. upload_port = ${common.upload_port}
  636. upload_flags = ${common.upload_flags}
  637. monitor_speed = 115200
  638. extra_scripts = ${common.extra_scripts}
  639. [env:itead-sonoff-led]
  640. platform = ${common.platform}
  641. framework = arduino
  642. board = esp01_1m
  643. board_build.flash_mode = dout
  644. lib_deps = ${common.lib_deps}
  645. lib_ignore = ${common.lib_ignore}
  646. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_LED
  647. monitor_speed = 115200
  648. extra_scripts = ${common.extra_scripts}
  649. [env:itead-sonoff-led-ota]
  650. platform = ${common.platform}
  651. framework = arduino
  652. board = esp01_1m
  653. board_build.flash_mode = dout
  654. lib_deps = ${common.lib_deps}
  655. lib_ignore = ${common.lib_ignore}
  656. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_LED
  657. upload_speed = 115200
  658. upload_port = ${common.upload_port}
  659. upload_flags = ${common.upload_flags}
  660. monitor_speed = 115200
  661. extra_scripts = ${common.extra_scripts}
  662. [env:itead-sonoff-rfbridge]
  663. platform = ${common.platform}
  664. framework = arduino
  665. board = esp01_1m
  666. board_build.flash_mode = dout
  667. lib_deps = ${common.lib_deps}
  668. lib_ignore = ${common.lib_ignore}
  669. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE
  670. monitor_speed = 19200
  671. extra_scripts = ${common.extra_scripts}
  672. [env:itead-sonoff-rfbridge-ota]
  673. platform = ${common.platform}
  674. framework = arduino
  675. board = esp01_1m
  676. board_build.flash_mode = dout
  677. lib_deps = ${common.lib_deps}
  678. lib_ignore = ${common.lib_ignore}
  679. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE
  680. upload_speed = 115200
  681. upload_port = ${common.upload_port}
  682. upload_flags = ${common.upload_flags}
  683. monitor_speed = 19200
  684. extra_scripts = ${common.extra_scripts}
  685. [env:itead-sonoff-rfbridge-direct]
  686. platform = ${common.platform}
  687. framework = arduino
  688. board = esp01_1m
  689. board_build.flash_mode = dout
  690. lib_deps = ${common.lib_deps}
  691. lib_ignore = ${common.lib_ignore}
  692. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  693. monitor_speed = 19200
  694. extra_scripts = ${common.extra_scripts}
  695. [env:itead-sonoff-rfbridge-direct-ota]
  696. platform = ${common.platform}
  697. framework = arduino
  698. board = esp01_1m
  699. board_build.flash_mode = dout
  700. lib_deps = ${common.lib_deps}
  701. lib_ignore = ${common.lib_ignore}
  702. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  703. upload_speed = 115200
  704. upload_port = "${env.ESPURNA_IP}"
  705. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  706. monitor_speed = 19200
  707. extra_scripts = ${common.extra_scripts}
  708. # ------------------------------------------------------------------------------
  709. [env:itead-slampher]
  710. platform = ${common.platform}
  711. framework = arduino
  712. board = esp01_1m
  713. board_build.flash_mode = dout
  714. lib_deps = ${common.lib_deps}
  715. lib_ignore = ${common.lib_ignore}
  716. build_flags = ${common.build_flags_1m0m} -DITEAD_SLAMPHER
  717. monitor_speed = 115200
  718. extra_scripts = ${common.extra_scripts}
  719. [env:itead-slampher-ota]
  720. platform = ${common.platform}
  721. framework = arduino
  722. board = esp01_1m
  723. board_build.flash_mode = dout
  724. lib_deps = ${common.lib_deps}
  725. lib_ignore = ${common.lib_ignore}
  726. build_flags = ${common.build_flags_1m0m} -DITEAD_SLAMPHER
  727. upload_speed = 115200
  728. upload_port = ${common.upload_port}
  729. upload_flags = ${common.upload_flags}
  730. monitor_speed = 115200
  731. extra_scripts = ${common.extra_scripts}
  732. [env:itead-s20]
  733. platform = ${common.platform}
  734. framework = arduino
  735. board = esp01_1m
  736. board_build.flash_mode = dout
  737. lib_deps = ${common.lib_deps}
  738. lib_ignore = ${common.lib_ignore}
  739. build_flags = ${common.build_flags_1m0m} -DITEAD_S20
  740. monitor_speed = 115200
  741. extra_scripts = ${common.extra_scripts}
  742. [env:itead-s20-ota]
  743. platform = ${common.platform}
  744. framework = arduino
  745. board = esp01_1m
  746. board_build.flash_mode = dout
  747. lib_deps = ${common.lib_deps}
  748. lib_ignore = ${common.lib_ignore}
  749. build_flags = ${common.build_flags_1m0m} -DITEAD_S20
  750. upload_speed = 115200
  751. upload_port = ${common.upload_port}
  752. upload_flags = ${common.upload_flags}
  753. monitor_speed = 115200
  754. extra_scripts = ${common.extra_scripts}
  755. [env:itead-1ch-inching]
  756. platform = ${common.platform}
  757. framework = arduino
  758. board = esp01_1m
  759. board_build.flash_mode = dout
  760. lib_deps = ${common.lib_deps}
  761. lib_ignore = ${common.lib_ignore}
  762. build_flags = ${common.build_flags_1m0m} -DITEAD_1CH_INCHING
  763. monitor_speed = 115200
  764. extra_scripts = ${common.extra_scripts}
  765. [env:itead-1ch-inching-ota]
  766. platform = ${common.platform}
  767. framework = arduino
  768. board = esp01_1m
  769. board_build.flash_mode = dout
  770. lib_deps = ${common.lib_deps}
  771. lib_ignore = ${common.lib_ignore}
  772. build_flags = ${common.build_flags_1m0m} -DITEAD_1CH_INCHING
  773. upload_speed = 115200
  774. upload_port = ${common.upload_port}
  775. upload_flags = ${common.upload_flags}
  776. monitor_speed = 115200
  777. extra_scripts = ${common.extra_scripts}
  778. [env:itead-motor]
  779. platform = ${common.platform}
  780. framework = arduino
  781. board = esp01_1m
  782. board_build.flash_mode = dout
  783. lib_deps = ${common.lib_deps}
  784. lib_ignore = ${common.lib_ignore}
  785. build_flags = ${common.build_flags_1m0m} -DITEAD_MOTOR
  786. monitor_speed = 115200
  787. extra_scripts = ${common.extra_scripts}
  788. [env:itead-motor-ota]
  789. platform = ${common.platform}
  790. framework = arduino
  791. board = esp01_1m
  792. board_build.flash_mode = dout
  793. lib_deps = ${common.lib_deps}
  794. lib_ignore = ${common.lib_ignore}
  795. build_flags = ${common.build_flags_1m0m} -DITEAD_MOTOR
  796. upload_speed = 115200
  797. upload_port = ${common.upload_port}
  798. upload_flags = ${common.upload_flags}
  799. monitor_speed = 115200
  800. extra_scripts = ${common.extra_scripts}
  801. [env:itead-sonoff-sv]
  802. platform = ${common.platform}
  803. framework = arduino
  804. board = esp01_1m
  805. board_build.flash_mode = dout
  806. lib_deps = ${common.lib_deps}
  807. lib_ignore = ${common.lib_ignore}
  808. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_SV
  809. monitor_speed = 115200
  810. extra_scripts = ${common.extra_scripts}
  811. [env:itead-sonoff-sv-ota]
  812. platform = ${common.platform}
  813. framework = arduino
  814. board = esp01_1m
  815. board_build.flash_mode = dout
  816. lib_deps = ${common.lib_deps}
  817. lib_ignore = ${common.lib_ignore}
  818. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_SV
  819. upload_port = ${common.upload_port}
  820. upload_flags = ${common.upload_flags}
  821. monitor_speed = 115200
  822. extra_scripts = ${common.extra_scripts}
  823. [env:itead-sonoff-s31]
  824. platform = ${common.platform}
  825. framework = arduino
  826. board = esp01_1m
  827. board_build.flash_mode = dout
  828. lib_deps = ${common.lib_deps}
  829. lib_ignore = ${common.lib_ignore}
  830. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31
  831. monitor_speed = 115200
  832. extra_scripts = ${common.extra_scripts}
  833. [env:itead-sonoff-s31-ota]
  834. platform = ${common.platform}
  835. framework = arduino
  836. board = esp01_1m
  837. board_build.flash_mode = dout
  838. lib_deps = ${common.lib_deps}
  839. lib_ignore = ${common.lib_ignore}
  840. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31
  841. upload_port = "${env.ESPURNA_IP}"
  842. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  843. monitor_speed = 115200
  844. extra_scripts = ${common.extra_scripts}
  845. # ------------------------------------------------------------------------------
  846. [env:electrodragon-wifi-iot]
  847. platform = ${common.platform}
  848. framework = arduino
  849. board = esp12e
  850. lib_deps = ${common.lib_deps}
  851. lib_ignore = ${common.lib_ignore}
  852. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  853. monitor_speed = 115200
  854. extra_scripts = ${common.extra_scripts}
  855. [env:electrodragon-wifi-iot-ota]
  856. platform = ${common.platform}
  857. framework = arduino
  858. board = esp12e
  859. lib_deps = ${common.lib_deps}
  860. lib_ignore = ${common.lib_ignore}
  861. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  862. upload_speed = 115200
  863. upload_port = ${common.upload_port}
  864. upload_flags = ${common.upload_flags}
  865. monitor_speed = 115200
  866. extra_scripts = ${common.extra_scripts}
  867. [env:workchoice-ecoplug]
  868. platform = ${common.platform}
  869. framework = arduino
  870. board = esp01_1m
  871. board_build.flash_mode = dout
  872. lib_deps = ${common.lib_deps}
  873. lib_ignore = ${common.lib_ignore}
  874. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  875. monitor_speed = 115200
  876. extra_scripts = ${common.extra_scripts}
  877. [env:workchoice-ecoplug-ota]
  878. platform = ${common.platform}
  879. framework = arduino
  880. board = esp01_1m
  881. board_build.flash_mode = dout
  882. lib_deps = ${common.lib_deps}
  883. lib_ignore = ${common.lib_ignore}
  884. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  885. upload_speed = 115200
  886. upload_port = ${common.upload_port}
  887. upload_flags = ${common.upload_flags}
  888. monitor_speed = 115200
  889. extra_scripts = ${common.extra_scripts}
  890. [env:jangoe-wifi-relay-nc]
  891. platform = ${common.platform}
  892. framework = arduino
  893. board = esp12e
  894. lib_deps = ${common.lib_deps}
  895. lib_ignore = ${common.lib_ignore}
  896. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  897. monitor_speed = 115200
  898. extra_scripts = ${common.extra_scripts}
  899. [env:jangoe-wifi-relay-nc-ota]
  900. platform = ${common.platform}
  901. framework = arduino
  902. board = esp12e
  903. lib_deps = ${common.lib_deps}
  904. lib_ignore = ${common.lib_ignore}
  905. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  906. upload_speed = 115200
  907. upload_port = ${common.upload_port}
  908. upload_flags = ${common.upload_flags}
  909. monitor_speed = 115200
  910. extra_scripts = ${common.extra_scripts}
  911. [env:jangoe-wifi-relay-no]
  912. platform = ${common.platform}
  913. framework = arduino
  914. board = esp12e
  915. lib_deps = ${common.lib_deps}
  916. lib_ignore = ${common.lib_ignore}
  917. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  918. monitor_speed = 115200
  919. extra_scripts = ${common.extra_scripts}
  920. [env:jangoe-wifi-relay-no-ota]
  921. platform = ${common.platform}
  922. framework = arduino
  923. board = esp12e
  924. lib_deps = ${common.lib_deps}
  925. lib_ignore = ${common.lib_ignore}
  926. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  927. upload_speed = 115200
  928. upload_port = ${common.upload_port}
  929. upload_flags = ${common.upload_flags}
  930. monitor_speed = 115200
  931. extra_scripts = ${common.extra_scripts}
  932. [env:openenergymonitor-mqtt-relay]
  933. platform = ${common.platform}
  934. framework = arduino
  935. board = esp_wroom_02
  936. lib_deps = ${common.lib_deps}
  937. lib_ignore = ${common.lib_ignore}
  938. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  939. monitor_speed = 115200
  940. extra_scripts = ${common.extra_scripts}
  941. [env:openenergymonitor-mqtt-relay-ota]
  942. platform = ${common.platform}
  943. framework = arduino
  944. board = esp_wroom_02
  945. lib_deps = ${common.lib_deps}
  946. lib_ignore = ${common.lib_ignore}
  947. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  948. upload_speed = 115200
  949. upload_port = ${common.upload_port}
  950. upload_flags = ${common.upload_flags}
  951. monitor_speed = 115200
  952. extra_scripts = ${common.extra_scripts}
  953. [env:jorgegarcia-wifi-relays]
  954. platform = ${common.platform}
  955. framework = arduino
  956. board = esp01_1m
  957. lib_deps = ${common.lib_deps}
  958. lib_ignore = ${common.lib_ignore}
  959. build_flags = ${common.build_flags_1m0m} -DJORGEGARCIA_WIFI_RELAYS
  960. monitor_speed = 115200
  961. extra_scripts = ${common.extra_scripts}
  962. [env:jorgegarcia-wifi-relays-ota]
  963. platform = ${common.platform}
  964. framework = arduino
  965. board = esp01_1m
  966. lib_deps = ${common.lib_deps}
  967. lib_ignore = ${common.lib_ignore}
  968. build_flags = ${common.build_flags_1m0m} -DJORGEGARCIA_WIFI_RELAYS
  969. upload_speed = 115200
  970. upload_port = ${common.upload_port}
  971. upload_flags = ${common.upload_flags}
  972. monitor_speed = 115200
  973. extra_scripts = ${common.extra_scripts}
  974. [env:aithinker-ai-light]
  975. platform = ${common.platform}
  976. framework = arduino
  977. board = esp01_1m
  978. board_build.flash_mode = dout
  979. lib_deps = ${common.lib_deps}
  980. lib_ignore = ${common.lib_ignore}
  981. build_flags = ${common.build_flags_1m0m} -DAITHINKER_AI_LIGHT
  982. monitor_speed = 115200
  983. extra_scripts = ${common.extra_scripts}
  984. [env:aithinker-ai-light-ota]
  985. platform = ${common.platform}
  986. framework = arduino
  987. board = esp01_1m
  988. board_build.flash_mode = dout
  989. lib_deps = ${common.lib_deps}
  990. lib_ignore = ${common.lib_ignore}
  991. build_flags = ${common.build_flags_1m0m} -DAITHINKER_AI_LIGHT
  992. upload_speed = 115200
  993. upload_port = ${common.upload_port}
  994. upload_flags = ${common.upload_flags}
  995. monitor_speed = 115200
  996. extra_scripts = ${common.extra_scripts}
  997. [env:magichome-led-controller]
  998. platform = ${common.platform}
  999. framework = arduino
  1000. board = esp01_1m
  1001. board_build.flash_mode = dout
  1002. lib_deps = ${common.lib_deps}
  1003. lib_ignore = ${common.lib_ignore}
  1004. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER
  1005. monitor_speed = 115200
  1006. extra_scripts = ${common.extra_scripts}
  1007. [env:magichome-led-controller-ota]
  1008. platform = ${common.platform}
  1009. framework = arduino
  1010. board = esp01_1m
  1011. board_build.flash_mode = dout
  1012. lib_deps = ${common.lib_deps}
  1013. lib_ignore = ${common.lib_ignore}
  1014. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER
  1015. upload_speed = 115200
  1016. upload_port = ${common.upload_port}
  1017. upload_flags = ${common.upload_flags}
  1018. monitor_speed = 115200
  1019. extra_scripts = ${common.extra_scripts}
  1020. [env:magichome-led-controller-20]
  1021. platform = ${common.platform}
  1022. framework = arduino
  1023. board = esp01_1m
  1024. board_build.flash_mode = dout
  1025. lib_deps = ${common.lib_deps}
  1026. lib_ignore = ${common.lib_ignore}
  1027. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER_20
  1028. monitor_speed = 115200
  1029. extra_scripts = ${common.extra_scripts}
  1030. [env:magichome-led-controller-20-ota]
  1031. platform = ${common.platform}
  1032. framework = arduino
  1033. board = esp01_1m
  1034. board_build.flash_mode = dout
  1035. lib_deps = ${common.lib_deps}
  1036. lib_ignore = ${common.lib_ignore}
  1037. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER_20
  1038. upload_port = ${common.upload_port}
  1039. upload_flags = ${common.upload_flags}
  1040. monitor_speed = 115200
  1041. extra_scripts = ${common.extra_scripts}
  1042. [env:huacanxing-h801]
  1043. platform = ${common.platform}
  1044. framework = arduino
  1045. board = esp01_1m
  1046. board_build.flash_mode = dout
  1047. lib_deps = ${common.lib_deps}
  1048. lib_ignore = ${common.lib_ignore}
  1049. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H801
  1050. monitor_speed = 115200
  1051. extra_scripts = ${common.extra_scripts}
  1052. [env:huacanxing-h801-ota]
  1053. platform = ${common.platform}
  1054. framework = arduino
  1055. board = esp01_1m
  1056. board_build.flash_mode = dout
  1057. lib_deps = ${common.lib_deps}
  1058. lib_ignore = ${common.lib_ignore}
  1059. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H801
  1060. upload_speed = 115200
  1061. upload_port = ${common.upload_port}
  1062. upload_flags = ${common.upload_flags}
  1063. monitor_speed = 115200
  1064. extra_scripts = ${common.extra_scripts}
  1065. [env:huacanxing-h802]
  1066. platform = ${common.platform}
  1067. framework = arduino
  1068. board = esp01_1m
  1069. board_build.flash_mode = dout
  1070. lib_deps = ${common.lib_deps}
  1071. lib_ignore = ${common.lib_ignore}
  1072. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H802
  1073. monitor_speed = 115200
  1074. extra_scripts = ${common.extra_scripts}
  1075. [env:huacanxing-h802-ota]
  1076. platform = ${common.platform}
  1077. framework = arduino
  1078. board = esp01_1m
  1079. board_build.flash_mode = dout
  1080. lib_deps = ${common.lib_deps}
  1081. lib_ignore = ${common.lib_ignore}
  1082. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H802
  1083. upload_speed = 115200
  1084. upload_port = ${common.upload_port}
  1085. upload_flags = ${common.upload_flags}
  1086. monitor_speed = 115200
  1087. extra_scripts = ${common.extra_scripts}
  1088. [env:arilux-al-lc01]
  1089. platform = ${common.platform}
  1090. framework = arduino
  1091. board = esp01_1m
  1092. board_build.flash_mode = dout
  1093. lib_deps = ${common.lib_deps}
  1094. lib_ignore = ${common.lib_ignore}
  1095. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC01
  1096. monitor_speed = 115200
  1097. extra_scripts = ${common.extra_scripts}
  1098. [env:arilux-al-lc01-ota]
  1099. platform = ${common.platform}
  1100. framework = arduino
  1101. board = esp01_1m
  1102. board_build.flash_mode = dout
  1103. lib_deps = ${common.lib_deps}
  1104. lib_ignore = ${common.lib_ignore}
  1105. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC01
  1106. upload_speed = 115200
  1107. upload_port = ${common.upload_port}
  1108. upload_flags = ${common.upload_flags}
  1109. monitor_speed = 115200
  1110. extra_scripts = ${common.extra_scripts}
  1111. [env:arilux-al-lc02]
  1112. platform = ${common.platform}
  1113. framework = arduino
  1114. board = esp01_1m
  1115. board_build.flash_mode = dout
  1116. lib_deps = ${common.lib_deps}
  1117. lib_ignore = ${common.lib_ignore}
  1118. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02
  1119. monitor_speed = 115200
  1120. extra_scripts = ${common.extra_scripts}
  1121. [env:arilux-al-lc02-ota]
  1122. platform = ${common.platform}
  1123. framework = arduino
  1124. board = esp01_1m
  1125. board_build.flash_mode = dout
  1126. lib_deps = ${common.lib_deps}
  1127. lib_ignore = ${common.lib_ignore}
  1128. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02
  1129. upload_speed = 115200
  1130. upload_port = ${common.upload_port}
  1131. upload_flags = ${common.upload_flags}
  1132. monitor_speed = 115200
  1133. extra_scripts = ${common.extra_scripts}
  1134. [env:arilux-al-lc06]
  1135. platform = ${common.platform}
  1136. framework = arduino
  1137. board = esp01_1m
  1138. board_build.flash_mode = dout
  1139. lib_deps = ${common.lib_deps}
  1140. lib_ignore = ${common.lib_ignore}
  1141. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC06
  1142. monitor_speed = 115200
  1143. extra_scripts = ${common.extra_scripts}
  1144. [env:arilux-al-lc06-ota]
  1145. platform = ${common.platform}
  1146. framework = arduino
  1147. board = esp01_1m
  1148. board_build.flash_mode = dout
  1149. lib_deps = ${common.lib_deps}
  1150. lib_ignore = ${common.lib_ignore}
  1151. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC06
  1152. upload_speed = 115200
  1153. upload_port = ${common.upload_port}
  1154. upload_flags = ${common.upload_flags}
  1155. monitor_speed = 115200
  1156. extra_scripts = ${common.extra_scripts}
  1157. [env:arilux-al-lc11]
  1158. platform = ${common.platform}
  1159. framework = arduino
  1160. board = esp01_1m
  1161. board_build.flash_mode = dout
  1162. lib_deps = ${common.lib_deps}
  1163. lib_ignore = ${common.lib_ignore}
  1164. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC11
  1165. monitor_speed = 115200
  1166. extra_scripts = ${common.extra_scripts}
  1167. [env:arilux-al-lc11-ota]
  1168. platform = ${common.platform}
  1169. framework = arduino
  1170. board = esp01_1m
  1171. board_build.flash_mode = dout
  1172. lib_deps = ${common.lib_deps}
  1173. lib_ignore = ${common.lib_ignore}
  1174. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC11
  1175. upload_speed = 115200
  1176. upload_port = ${common.upload_port}
  1177. upload_flags = ${common.upload_flags}
  1178. monitor_speed = 115200
  1179. extra_scripts = ${common.extra_scripts}
  1180. [env:arilux-e27]
  1181. platform = ${common.platform}
  1182. framework = arduino
  1183. board = esp01_1m
  1184. board_build.flash_mode = dout
  1185. lib_deps = ${common.lib_deps}
  1186. lib_ignore = ${common.lib_ignore}
  1187. build_flags = ${common.build_flags_1m0m} -DARILUX_E27
  1188. monitor_speed = 115200
  1189. extra_scripts = ${common.extra_scripts}
  1190. [env:arilux-e27-ota]
  1191. platform = ${common.platform}
  1192. framework = arduino
  1193. board = esp01_1m
  1194. board_build.flash_mode = dout
  1195. lib_deps = ${common.lib_deps}
  1196. lib_ignore = ${common.lib_ignore}
  1197. build_flags = ${common.build_flags_1m0m} -DARILUX_E27
  1198. upload_speed = 115200
  1199. upload_port = ${common.upload_port}
  1200. upload_flags = ${common.upload_flags}
  1201. monitor_speed = 115200
  1202. extra_scripts = ${common.extra_scripts}
  1203. [env:itead-bnsz01]
  1204. platform = ${common.platform}
  1205. framework = arduino
  1206. board = esp01_1m
  1207. board_build.flash_mode = dout
  1208. lib_deps = ${common.lib_deps}
  1209. lib_ignore = ${common.lib_ignore}
  1210. build_flags = ${common.build_flags_1m0m} -DITEAD_BNSZ01
  1211. monitor_speed = 115200
  1212. extra_scripts = ${common.extra_scripts}
  1213. [env:itead-bnsz01-ota]
  1214. platform = ${common.platform}
  1215. framework = arduino
  1216. board = esp01_1m
  1217. board_build.flash_mode = dout
  1218. lib_deps = ${common.lib_deps}
  1219. lib_ignore = ${common.lib_ignore}
  1220. build_flags = ${common.build_flags_1m0m} -DITEAD_BNSZ01
  1221. upload_speed = 115200
  1222. upload_port = ${common.upload_port}
  1223. upload_flags = ${common.upload_flags}
  1224. monitor_speed = 115200
  1225. extra_scripts = ${common.extra_scripts}
  1226. [env:wion-50055]
  1227. platform = ${common.platform}
  1228. framework = arduino
  1229. board = esp01_1m
  1230. board_build.flash_mode = dout
  1231. lib_deps = ${common.lib_deps}
  1232. lib_ignore = ${common.lib_ignore}
  1233. build_flags = ${common.build_flags_1m0m} -DWION_50055
  1234. monitor_speed = 115200
  1235. extra_scripts = ${common.extra_scripts}
  1236. [env:wion-50055-ota]
  1237. platform = ${common.platform}
  1238. framework = arduino
  1239. board = esp01_1m
  1240. board_build.flash_mode = dout
  1241. lib_deps = ${common.lib_deps}
  1242. lib_ignore = ${common.lib_ignore}
  1243. build_flags = ${common.build_flags_1m0m} -DWION_50055
  1244. upload_speed = 115200
  1245. upload_port = ${common.upload_port}
  1246. upload_flags = ${common.upload_flags}
  1247. monitor_speed = 115200
  1248. extra_scripts = ${common.extra_scripts}
  1249. [env:exs-wifi-relay-v31]
  1250. platform = ${common.platform}
  1251. framework = arduino
  1252. board = esp07
  1253. board_build.flash_mode = dout
  1254. lib_deps = ${common.lib_deps}
  1255. lib_ignore = ${common.lib_ignore}
  1256. build_flags = ${common.build_flags_1m0m} -DEXS_WIFI_RELAY_V31
  1257. monitor_speed = 115200
  1258. extra_scripts = ${common.extra_scripts}
  1259. [env:exs-wifi-relay-v31-ota]
  1260. platform = ${common.platform}
  1261. framework = arduino
  1262. board = esp07
  1263. board_build.flash_mode = dout
  1264. lib_deps = ${common.lib_deps}
  1265. lib_ignore = ${common.lib_ignore}
  1266. build_flags = ${common.build_flags_1m0m} -DEXS_WIFI_RELAY_V31
  1267. upload_speed = 115200
  1268. upload_port = ${common.upload_port}
  1269. upload_flags = ${common.upload_flags}
  1270. monitor_speed = 115200
  1271. extra_scripts = ${common.extra_scripts}
  1272. [env:wemos-v9261f]
  1273. platform = ${common.platform}
  1274. framework = arduino
  1275. board = d1_mini
  1276. lib_deps = ${common.lib_deps}
  1277. lib_ignore = ${common.lib_ignore}
  1278. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  1279. upload_speed = 460800
  1280. monitor_speed = 115200
  1281. extra_scripts = ${common.extra_scripts}
  1282. [env:wemos-v9261f-ota]
  1283. platform = ${common.platform}
  1284. framework = arduino
  1285. board = d1_mini
  1286. lib_deps = ${common.lib_deps}
  1287. lib_ignore = ${common.lib_ignore}
  1288. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  1289. upload_speed = 115200
  1290. upload_port = ${common.upload_port}
  1291. upload_flags = ${common.upload_flags}
  1292. monitor_speed = 115200
  1293. extra_scripts = ${common.extra_scripts}
  1294. [env:esp01-v9261f]
  1295. platform = ${common.platform}
  1296. framework = arduino
  1297. board = esp01_1m
  1298. board_build.flash_mode = dout
  1299. lib_deps = ${common.lib_deps}
  1300. lib_ignore = ${common.lib_ignore}
  1301. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  1302. monitor_speed = 115200
  1303. extra_scripts = ${common.extra_scripts}
  1304. [env:esp01-v9261f-ota]
  1305. platform = ${common.platform}
  1306. framework = arduino
  1307. board = esp01_1m
  1308. board_build.flash_mode = dout
  1309. lib_deps = ${common.lib_deps}
  1310. lib_ignore = ${common.lib_ignore}
  1311. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  1312. upload_speed = 115200
  1313. upload_port = ${common.upload_port}
  1314. upload_flags = ${common.upload_flags}
  1315. monitor_speed = 115200
  1316. extra_scripts = ${common.extra_scripts}
  1317. [env:wemos-ech1560]
  1318. platform = ${common.platform}
  1319. framework = arduino
  1320. board = d1_mini
  1321. lib_deps = ${common.lib_deps}
  1322. lib_ignore = ${common.lib_ignore}
  1323. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  1324. upload_speed = 460800
  1325. monitor_speed = 115200
  1326. extra_scripts = ${common.extra_scripts}
  1327. [env:wemos-ech1560-ota]
  1328. platform = ${common.platform}
  1329. framework = arduino
  1330. board = d1_mini
  1331. lib_deps = ${common.lib_deps}
  1332. lib_ignore = ${common.lib_ignore}
  1333. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  1334. upload_speed = 115200
  1335. upload_port = ${common.upload_port}
  1336. upload_flags = ${common.upload_flags}
  1337. monitor_speed = 115200
  1338. extra_scripts = ${common.extra_scripts}
  1339. [env:esp01-ech1560]
  1340. platform = ${common.platform}
  1341. framework = arduino
  1342. board = esp01_1m
  1343. board_build.flash_mode = dout
  1344. lib_deps = ${common.lib_deps}
  1345. lib_ignore = ${common.lib_ignore}
  1346. build_flags = ${common.build_flags_1m0m} -DGENERIC_ECH1560
  1347. monitor_speed = 115200
  1348. extra_scripts = ${common.extra_scripts}
  1349. [env:esp01-ech1560-ota]
  1350. platform = ${common.platform}
  1351. framework = arduino
  1352. board = esp01_1m
  1353. board_build.flash_mode = dout
  1354. lib_deps = ${common.lib_deps}
  1355. lib_ignore = ${common.lib_ignore}
  1356. build_flags = ${common.build_flags_1m0m} -DGENERIC_ECH1560
  1357. upload_speed = 115200
  1358. upload_port = ${common.upload_port}
  1359. upload_flags = ${common.upload_flags}
  1360. monitor_speed = 115200
  1361. extra_scripts = ${common.extra_scripts}
  1362. [env:mancavemade-esplive]
  1363. platform = ${common.platform}
  1364. framework = arduino
  1365. board = d1_mini
  1366. lib_deps = ${common.lib_deps}
  1367. lib_ignore = ${common.lib_ignore}
  1368. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  1369. upload_speed = 460800
  1370. monitor_speed = 115200
  1371. extra_scripts = ${common.extra_scripts}
  1372. [env:mancavemade-esplive-ota]
  1373. platform = ${common.platform}
  1374. framework = arduino
  1375. board = d1_mini
  1376. lib_deps = ${common.lib_deps}
  1377. lib_ignore = ${common.lib_ignore}
  1378. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  1379. upload_speed = 460800
  1380. upload_port = ${common.upload_port}
  1381. upload_flags = ${common.upload_flags}
  1382. monitor_speed = 115200
  1383. extra_scripts = ${common.extra_scripts}
  1384. [env:intermittech-quinled]
  1385. platform = ${common.platform}
  1386. framework = arduino
  1387. board = esp01_1m
  1388. board_build.flash_mode = dout
  1389. lib_deps = ${common.lib_deps}
  1390. lib_ignore = ${common.lib_ignore}
  1391. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  1392. monitor_speed = 115200
  1393. extra_scripts = ${common.extra_scripts}
  1394. [env:intermittech-quinled-ota]
  1395. platform = ${common.platform}
  1396. framework = arduino
  1397. board = esp01_1m
  1398. board_build.flash_mode = dout
  1399. lib_deps = ${common.lib_deps}
  1400. lib_ignore = ${common.lib_ignore}
  1401. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  1402. upload_speed = 115200
  1403. upload_port = ${common.upload_port}
  1404. upload_flags = ${common.upload_flags}
  1405. monitor_speed = 115200
  1406. extra_scripts = ${common.extra_scripts}
  1407. [env:xenon-sm-pw702u]
  1408. platform = ${common.platform}
  1409. framework = arduino
  1410. board = esp12e
  1411. board_build.flash_mode = dout
  1412. lib_deps = ${common.lib_deps}
  1413. lib_ignore = ${common.lib_ignore}
  1414. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  1415. monitor_speed = 115200
  1416. extra_scripts = ${common.extra_scripts}
  1417. [env:xenon-sm-pw702u-ota]
  1418. platform = ${common.platform}
  1419. framework = arduino
  1420. board = esp12e
  1421. board_build.flash_mode = dout
  1422. lib_deps = ${common.lib_deps}
  1423. lib_ignore = ${common.lib_ignore}
  1424. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  1425. upload_speed = 115200
  1426. upload_port = ${common.upload_port}
  1427. upload_flags = ${common.upload_flags}
  1428. monitor_speed = 115200
  1429. extra_scripts = ${common.extra_scripts}
  1430. [env:authometion-lyt8266]
  1431. platform = ${common.platform}
  1432. framework = arduino
  1433. board = esp01_1m
  1434. board_build.flash_mode = dout
  1435. lib_deps = ${common.lib_deps}
  1436. lib_ignore = ${common.lib_ignore}
  1437. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  1438. monitor_speed = 115200
  1439. extra_scripts = ${common.extra_scripts}
  1440. [env:authometion-lyt8266-ota]
  1441. platform = ${common.platform}
  1442. framework = arduino
  1443. board = esp01_1m
  1444. board_build.flash_mode = dout
  1445. lib_deps = ${common.lib_deps}
  1446. lib_ignore = ${common.lib_ignore}
  1447. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  1448. upload_speed = 115200
  1449. upload_port = ${common.upload_port}
  1450. upload_flags = ${common.upload_flags}
  1451. monitor_speed = 115200
  1452. extra_scripts = ${common.extra_scripts}
  1453. [env:kmc-70011]
  1454. platform = ${common.platform}
  1455. framework = arduino
  1456. board = esp01_1m
  1457. board_build.flash_mode = dout
  1458. lib_deps = ${common.lib_deps}
  1459. lib_ignore = ${common.lib_ignore}
  1460. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  1461. monitor_speed = 115200
  1462. extra_scripts = ${common.extra_scripts}
  1463. [env:kmc-70011-ota]
  1464. platform = ${common.platform}
  1465. framework = arduino
  1466. board = esp01_1m
  1467. board_build.flash_mode = dout
  1468. lib_deps = ${common.lib_deps}
  1469. lib_ignore = ${common.lib_ignore}
  1470. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  1471. upload_speed = 115200
  1472. upload_port = ${common.upload_port}
  1473. upload_flags = ${common.upload_flags}
  1474. monitor_speed = 115200
  1475. extra_scripts = ${common.extra_scripts}
  1476. [env:yjzk-switch-2ch]
  1477. platform = ${common.platform}
  1478. framework = arduino
  1479. board = esp01_1m
  1480. board_build.flash_mode = dout
  1481. lib_deps = ${common.lib_deps}
  1482. lib_ignore = ${common.lib_ignore}
  1483. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  1484. monitor_speed = 115200
  1485. extra_scripts = ${common.extra_scripts}
  1486. [env:yjzk-switch-2ch-ota]
  1487. platform = ${common.platform}
  1488. framework = arduino
  1489. board = esp01_1m
  1490. board_build.flash_mode = dout
  1491. lib_deps = ${common.lib_deps}
  1492. lib_ignore = ${common.lib_ignore}
  1493. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  1494. upload_speed = 115200
  1495. upload_port = ${common.upload_port}
  1496. upload_flags = ${common.upload_flags}
  1497. monitor_speed = 115200
  1498. extra_scripts = ${common.extra_scripts}
  1499. [env:generic-8ch]
  1500. platform = ${common.platform}
  1501. framework = arduino
  1502. board = d1_mini
  1503. lib_deps = ${common.lib_deps}
  1504. lib_ignore = ${common.lib_ignore}
  1505. build_flags = ${common.build_flags_4m1m} -DGENERIC_8CH
  1506. upload_speed = 460800
  1507. monitor_speed = 115200
  1508. extra_scripts = ${common.extra_scripts}
  1509. [env:gizwits-witty-cloud]
  1510. platform = ${common.platform}
  1511. framework = arduino
  1512. board = esp12e
  1513. board_build.flash_mode = dout
  1514. lib_deps = ${common.lib_deps}
  1515. lib_ignore = ${common.lib_ignore}
  1516. build_flags = ${common.build_flags_4m1m} -DGIZWITS_WITTY_CLOUD
  1517. monitor_speed = 115200
  1518. extra_scripts = ${common.extra_scripts}
  1519. [env:gizwits-witty-cloud-ota]
  1520. platform = ${common.platform}
  1521. framework = arduino
  1522. board = esp12e
  1523. board_build.flash_mode = dout
  1524. lib_deps = ${common.lib_deps}
  1525. lib_ignore = ${common.lib_ignore}
  1526. build_flags = ${common.build_flags_4m1m} -DGIZWITS_WITTY_CLOUD
  1527. upload_speed = 115200
  1528. upload_port = "${env.ESPURNA_IP}"
  1529. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1530. extra_scripts = ${common.extra_scripts}
  1531. [env:euromate-wifi-stecker-shuko]
  1532. platform = ${common.platform}
  1533. framework = arduino
  1534. board = esp01_1m
  1535. board_build.flash_mode = dout
  1536. lib_deps = ${common.lib_deps}
  1537. lib_ignore = ${common.lib_ignore}
  1538. build_flags = ${common.build_flags_4m1m} -DEUROMATE_WIFI_STECKER_SCHUKO
  1539. monitor_speed = 115200
  1540. extra_scripts = ${common.extra_scripts}
  1541. [env:euromate-wifi-stecker-shuko-ota]
  1542. platform = ${common.platform}
  1543. framework = arduino
  1544. board = esp01_1m
  1545. board_build.flash_mode = dout
  1546. lib_deps = ${common.lib_deps}
  1547. lib_ignore = ${common.lib_ignore}
  1548. build_flags = ${common.build_flags_4m1m} -DEUROMATE_WIFI_STECKER_SCHUKO
  1549. upload_speed = 115200
  1550. upload_port = "${env.ESPURNA_IP}"
  1551. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1552. extra_scripts = ${common.extra_scripts}
  1553. [env:tonbux-powerstrip02]
  1554. platform = ${common.platform}
  1555. framework = arduino
  1556. board = esp01_1m
  1557. board_build.flash_mode = dout
  1558. lib_deps = ${common.lib_deps}
  1559. lib_ignore = ${common.lib_ignore}
  1560. build_flags = ${common.build_flags_4m1m} -DTONBUX_POWERSTRIP02
  1561. monitor_speed = 115200
  1562. extra_scripts = ${common.extra_scripts}
  1563. [env:tonbux-powerstrip02-ota]
  1564. platform = ${common.platform}
  1565. framework = arduino
  1566. board = esp01_1m
  1567. board_build.flash_mode = dout
  1568. lib_deps = ${common.lib_deps}
  1569. lib_ignore = ${common.lib_ignore}
  1570. build_flags = ${common.build_flags_4m1m} -DTONBUX_POWERSTRIP02
  1571. upload_speed = 115200
  1572. upload_port = "${env.ESPURNA_IP}"
  1573. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1574. extra_scripts = ${common.extra_scripts}
  1575. [env:lingan-swa1]
  1576. platform = ${common.platform}
  1577. framework = arduino
  1578. board = esp01_1m
  1579. board_build.flash_mode = dout
  1580. lib_deps = ${common.lib_deps}
  1581. lib_ignore = ${common.lib_ignore}
  1582. build_flags = ${common.build_flags_4m1m} -DLINGAN_SWA1
  1583. monitor_speed = 115200
  1584. extra_scripts = ${common.extra_scripts}
  1585. [env:lingan-swa1-ota]
  1586. platform = ${common.platform}
  1587. framework = arduino
  1588. board = esp01_1m
  1589. board_build.flash_mode = dout
  1590. lib_deps = ${common.lib_deps}
  1591. lib_ignore = ${common.lib_ignore}
  1592. build_flags = ${common.build_flags_4m1m} -DLINGAN_SWA1
  1593. upload_speed = 115200
  1594. upload_port = "${env.ESPURNA_IP}"
  1595. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1596. extra_scripts = ${common.extra_scripts}
  1597. [env:stm-relay]
  1598. platform = ${common.platform}
  1599. framework = arduino
  1600. board = esp01_1m
  1601. board_build.flash_mode = dout
  1602. lib_deps = ${common.lib_deps}
  1603. lib_ignore = ${common.lib_ignore}
  1604. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY
  1605. monitor_speed = 115200
  1606. extra_scripts = ${common.extra_scripts}
  1607. [env:stm-relay-ota]
  1608. platform = ${common.platform}
  1609. framework = arduino
  1610. board = esp01_1m
  1611. board_build.flash_mode = dout
  1612. lib_deps = ${common.lib_deps}
  1613. lib_ignore = ${common.lib_ignore}
  1614. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY
  1615. upload_speed = 115200
  1616. upload_port = ${common.upload_port}
  1617. upload_flags = ${common.upload_flags}
  1618. monitor_speed = 115200
  1619. extra_scripts = ${common.extra_scripts}
  1620. [env:heygo-hy02]
  1621. platform = ${common.platform}
  1622. framework = arduino
  1623. board = esp01_1m
  1624. board_build.flash_mode = dout
  1625. lib_deps = ${common.lib_deps}
  1626. lib_ignore = ${common.lib_ignore}
  1627. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  1628. monitor_speed = 115200
  1629. extra_scripts = ${common.extra_scripts}
  1630. [env:heygo-hy02-ota]
  1631. platform = ${common.platform}
  1632. framework = arduino
  1633. board = esp01_1m
  1634. board_build.flash_mode = dout
  1635. lib_deps = ${common.lib_deps}
  1636. lib_ignore = ${common.lib_ignore}
  1637. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  1638. upload_speed = 115200
  1639. upload_port = "${env.ESPURNA_IP}"
  1640. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1641. extra_scripts = ${common.extra_scripts}
  1642. [env:maxcio-wus002s]
  1643. platform = ${common.platform}
  1644. framework = arduino
  1645. board = esp01_1m
  1646. board_build.flash_mode = dout
  1647. lib_deps = ${common.lib_deps}
  1648. lib_ignore = ${common.lib_ignore}
  1649. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  1650. monitor_speed = 115200
  1651. extra_scripts = ${common.extra_scripts}
  1652. [env:maxcio-wus002s-ota]
  1653. platform = ${common.platform}
  1654. framework = arduino
  1655. board = esp01_1m
  1656. board_build.flash_mode = dout
  1657. lib_deps = ${common.lib_deps}
  1658. lib_ignore = ${common.lib_ignore}
  1659. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  1660. upload_speed = 115200
  1661. upload_port = "${env.ESPURNA_IP}"
  1662. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1663. extra_scripts = ${common.extra_scripts}
  1664. [env:yidian-xsssa05]
  1665. platform = ${common.platform}
  1666. framework = arduino
  1667. board = esp01_1m
  1668. board_build.flash_mode = dout
  1669. lib_deps = ${common.lib_deps}
  1670. lib_ignore = ${common.lib_ignore}
  1671. build_flags = ${common.build_flags_1m0m} -DYIDIAN_XSSSA05
  1672. monitor_speed = 115200
  1673. extra_scripts = ${common.extra_scripts}
  1674. [env:yidian-xsssa05-ota]
  1675. platform = ${common.platform}
  1676. framework = arduino
  1677. board = esp01_1m
  1678. board_build.flash_mode = dout
  1679. lib_deps = ${common.lib_deps}
  1680. lib_ignore = ${common.lib_ignore}
  1681. build_flags = ${common.build_flags_1m0m} -DYIDIAN_XSSSA05
  1682. upload_speed = 115200
  1683. upload_port = "${env.ESPURNA_IP}"
  1684. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1685. extra_scripts = ${common.extra_scripts}
  1686. [env:tonbux-xsssa06]
  1687. platform = ${common.platform}
  1688. framework = arduino
  1689. board = esp01_1m
  1690. board_build.flash_mode = dout
  1691. lib_deps = ${common.lib_deps}
  1692. lib_ignore = ${common.lib_ignore}
  1693. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  1694. monitor_speed = 115200
  1695. extra_scripts = ${common.extra_scripts}
  1696. [env:tonbux-xsssa06-ota]
  1697. platform = ${common.platform}
  1698. framework = arduino
  1699. board = esp01_1m
  1700. board_build.flash_mode = dout
  1701. lib_deps = ${common.lib_deps}
  1702. lib_ignore = ${common.lib_ignore}
  1703. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  1704. upload_speed = 115200
  1705. upload_port = "${env.ESPURNA_IP}"
  1706. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1707. extra_scripts = ${common.extra_scripts}
  1708. [env:green-esp8266relay]
  1709. platform = ${common.platform}
  1710. framework = arduino
  1711. board = esp12e
  1712. board_build.flash_mode = dout
  1713. lib_deps = ${common.lib_deps}
  1714. lib_ignore = ${common.lib_ignore}
  1715. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  1716. monitor_speed = 115200
  1717. extra_scripts = ${common.extra_scripts}
  1718. [env:green-esp8266relay-ota]
  1719. platform = ${common.platform}
  1720. framework = arduino
  1721. board = esp12e
  1722. board_build.flash_mode = dout
  1723. lib_deps = ${common.lib_deps}
  1724. lib_ignore = ${common.lib_ignore}
  1725. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  1726. upload_speed = 115200
  1727. upload_port = "${env.ESPURNA_IP}"
  1728. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1729. extra_scripts = ${common.extra_scripts}
  1730. [env:ike-espike]
  1731. platform = ${common.platform}
  1732. framework = arduino
  1733. board = esp12e
  1734. board_build.flash_mode = dout
  1735. lib_deps = ${common.lib_deps}
  1736. lib_ignore = ${common.lib_ignore}
  1737. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  1738. monitor_speed = 115200
  1739. extra_scripts = ${common.extra_scripts}
  1740. [env:ike-espike-ota]
  1741. platform = ${common.platform}
  1742. framework = arduino
  1743. board = esp12e
  1744. board_build.flash_mode = dout
  1745. lib_deps = ${common.lib_deps}
  1746. lib_ignore = ${common.lib_ignore}
  1747. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  1748. upload_speed = 115200
  1749. upload_port = "${env.ESPURNA_IP}"
  1750. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1751. extra_scripts = ${common.extra_scripts}
  1752. [env:arniex-swifitch]
  1753. platform = ${common.platform}
  1754. framework = arduino
  1755. board = esp12e
  1756. board_build.flash_mode = dout
  1757. lib_deps = ${common.lib_deps}
  1758. lib_ignore = ${common.lib_ignore}
  1759. build_flags = ${common.build_flags_1m0m} -DARNIEX_SWIFITCH
  1760. extra_scripts = ${common.extra_scripts}
  1761. monitor_speed = 115200
  1762. [env:arniex-swifitch-ota]
  1763. platform = ${common.platform}
  1764. framework = arduino
  1765. board = esp12e
  1766. board_build.flash_mode = dout
  1767. lib_deps = ${common.lib_deps}
  1768. lib_ignore = ${common.lib_ignore}
  1769. build_flags = ${common.build_flags_1m0m} -DARNIEX_SWIFITCH
  1770. upload_speed = 115200
  1771. upload_port = "${env.ESPURNA_IP}"
  1772. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1773. extra_scripts = ${common.extra_scripts}
  1774. [env:zhilde-eu44-w]
  1775. platform = ${common.platform}
  1776. framework = arduino
  1777. board = esp01_1m
  1778. board_build.flash_mode = dout
  1779. lib_deps = ${common.lib_deps}
  1780. lib_ignore = ${common.lib_ignore}
  1781. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  1782. monitor_speed = 115200
  1783. extra_scripts = ${common.extra_scripts}
  1784. [env:zhilde-eu44-w-ota]
  1785. platform = ${common.platform}
  1786. framework = arduino
  1787. board = esp01_1m
  1788. board_build.flash_mode = dout
  1789. lib_deps = ${common.lib_deps}
  1790. lib_ignore = ${common.lib_ignore}
  1791. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  1792. upload_speed = 115200
  1793. upload_port = "${env.ESPURNA_IP}"
  1794. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1795. monitor_speed = 115200
  1796. extra_scripts = ${common.extra_scripts}
  1797. [env:luani-hvio]
  1798. platform = ${common.platform}
  1799. framework = arduino
  1800. board = esp07
  1801. board_build.flash_mode = dout
  1802. lib_deps = ${common.lib_deps}
  1803. lib_ignore = ${common.lib_ignore}
  1804. build_flags = ${common.build_flags_1m0m} -DLUANI_HVIO
  1805. monitor_speed = 115200
  1806. extra_scripts = ${common.extra_scripts}
  1807. [env:luani-hvio-ota]
  1808. platform = ${common.platform}
  1809. framework = arduino
  1810. board = esp07
  1811. board_build.flash_mode = dout
  1812. lib_deps = ${common.lib_deps}
  1813. lib_ignore = ${common.lib_ignore}
  1814. build_flags = ${common.build_flags_1m0m} -DZLUANI_HVIO
  1815. upload_speed = 115200
  1816. upload_port = "${env.ESPURNA_IP}"
  1817. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1818. monitor_speed = 115200
  1819. extra_scripts = ${common.extra_scripts}
  1820. [env:neo-coolcam-power-plug-wifi]
  1821. platform = ${common.platform}
  1822. framework = arduino
  1823. board = esp01_1m
  1824. board_build.flash_mode = dout
  1825. lib_deps = ${common.lib_deps}
  1826. lib_ignore = ${common.lib_ignore}
  1827. build_flags = ${common.build_flags_4m1m} -DNEO_COOLCAM_POWER_PLUG_WIFI
  1828. monitor_speed = 115200
  1829. extra_scripts = ${common.extra_scripts}
  1830. [env:neo-coolcam-power-plug-wifi-ota]
  1831. platform = ${common.platform}
  1832. framework = arduino
  1833. board = esp01_1m
  1834. board_build.flash_mode = dout
  1835. lib_deps = ${common.lib_deps}
  1836. lib_ignore = ${common.lib_ignore}
  1837. build_flags = ${common.build_flags_4m1m} -DNEO_COOLCAM_POWER_PLUG_WIFI
  1838. upload_speed = 115200
  1839. upload_port = "${env.ESPURNA_IP}"
  1840. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1841. extra_scripts = ${common.extra_scripts}
  1842. [env:estink-wifi-power-strip]
  1843. platform = ${common.platform}
  1844. framework = arduino
  1845. board = esp01_1m
  1846. board_build.flash_mode = dout
  1847. lib_deps = ${common.lib_deps}
  1848. lib_ignore = ${common.lib_ignore}
  1849. build_flags = ${common.build_flags_4m1m} -DESTINK_WIFI_POWER_STRIP
  1850. monitor_speed = 115200
  1851. extra_scripts = ${common.extra_scripts}
  1852. [env:estink-wifi-power-strip-ota]
  1853. platform = ${common.platform}
  1854. framework = arduino
  1855. board = esp01_1m
  1856. board_build.flash_mode = dout
  1857. lib_deps = ${common.lib_deps}
  1858. lib_ignore = ${common.lib_ignore}
  1859. build_flags = ${common.build_flags_4m1m} -DESTINK_WIFI_POWER_STRIP
  1860. upload_speed = 115200
  1861. upload_port = "${env.ESPURNA_IP}"
  1862. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1863. extra_scripts = ${common.extra_scripts}
  1864. # ------------------------------------------------------------------------------
  1865. # GENERIC OTA ENVIRONMENTS
  1866. # ------------------------------------------------------------------------------
  1867. [env:generic-esp01s-relay-40]
  1868. platform = ${common.platform}
  1869. framework = arduino
  1870. board = esp01_1m
  1871. board_build.flash_mode = dout
  1872. lib_deps = ${common.lib_deps}
  1873. lib_ignore = ${common.lib_ignore}
  1874. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  1875. monitor_speed = 115200
  1876. extra_scripts = ${common.extra_scripts}
  1877. [env:generic-esp01s-relay-40-ota]
  1878. platform = ${common.platform}
  1879. framework = arduino
  1880. board = esp01_1m
  1881. board_build.flash_mode = dout
  1882. lib_deps = ${common.lib_deps}
  1883. lib_ignore = ${common.lib_ignore}
  1884. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  1885. upload_speed = 115200
  1886. upload_port = "${env.ESPURNA_IP}"
  1887. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1888. extra_scripts = ${common.extra_scripts}
  1889. [env:generic-esp01s-rgbled-10]
  1890. platform = ${common.platform}
  1891. framework = arduino
  1892. board = esp01_1m
  1893. board_build.flash_mode = dout
  1894. lib_deps = ${common.lib_deps}
  1895. lib_ignore = ${common.lib_ignore}
  1896. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  1897. monitor_speed = 115200
  1898. extra_scripts = ${common.extra_scripts}
  1899. [env:generic-esp01s-rgbled-10-ota]
  1900. platform = ${common.platform}
  1901. framework = arduino
  1902. board = esp01_1m
  1903. board_build.flash_mode = dout
  1904. lib_deps = ${common.lib_deps}
  1905. lib_ignore = ${common.lib_ignore}
  1906. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  1907. upload_speed = 115200
  1908. upload_port = "${env.ESPURNA_IP}"
  1909. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1910. extra_scripts = ${common.extra_scripts}
  1911. [env:generic-esp01s-dht11-10]
  1912. platform = ${common.platform}
  1913. framework = arduino
  1914. board = esp01_1m
  1915. board_build.flash_mode = dout
  1916. lib_deps = ${common.lib_deps}
  1917. lib_ignore = ${common.lib_ignore}
  1918. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  1919. monitor_speed = 115200
  1920. extra_scripts = ${common.extra_scripts}
  1921. [env:generic-esp01s-dht11-10-ota]
  1922. platform = ${common.platform}
  1923. framework = arduino
  1924. board = esp01_1m
  1925. board_build.flash_mode = dout
  1926. lib_deps = ${common.lib_deps}
  1927. lib_ignore = ${common.lib_ignore}
  1928. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  1929. upload_speed = 115200
  1930. upload_port = "${env.ESPURNA_IP}"
  1931. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1932. extra_scripts = ${common.extra_scripts}
  1933. [env:generic-esp01s-ds18b20-10]
  1934. platform = ${common.platform}
  1935. framework = arduino
  1936. board = esp01_1m
  1937. board_build.flash_mode = dout
  1938. lib_deps = ${common.lib_deps}
  1939. lib_ignore = ${common.lib_ignore}
  1940. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  1941. monitor_speed = 115200
  1942. extra_scripts = ${common.extra_scripts}
  1943. [env:generic-esp01s-ds18b20-10-ota]
  1944. platform = ${common.platform}
  1945. framework = arduino
  1946. board = esp01_1m
  1947. board_build.flash_mode = dout
  1948. lib_deps = ${common.lib_deps}
  1949. lib_ignore = ${common.lib_ignore}
  1950. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  1951. upload_speed = 115200
  1952. upload_port = "${env.ESPURNA_IP}"
  1953. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1954. extra_scripts = ${common.extra_scripts}
  1955. [env:heltec-touch-relay]
  1956. platform = ${common.platform}
  1957. framework = arduino
  1958. board = esp01_1m
  1959. board_build.flash_mode = dout
  1960. lib_deps = ${common.lib_deps}
  1961. lib_ignore = ${common.lib_ignore}
  1962. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  1963. monitor_speed = 115200
  1964. extra_scripts = ${common.extra_scripts}
  1965. [env:heltec-touch-relay-ota]
  1966. platform = ${common.platform}
  1967. framework = arduino
  1968. board = esp01_1m
  1969. board_build.flash_mode = dout
  1970. lib_deps = ${common.lib_deps}
  1971. lib_ignore = ${common.lib_ignore}
  1972. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  1973. upload_speed = 115200
  1974. upload_port = "${env.ESPURNA_IP}"
  1975. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1976. extra_scripts = ${common.extra_scripts}
  1977. [env:allnet-4duino-iot-wlan-relais]
  1978. platform = ${common.platform}
  1979. framework = arduino
  1980. board = esp12e
  1981. board_build.flash_mode = dout
  1982. lib_deps = ${common.lib_deps}
  1983. lib_ignore = ${common.lib_ignore}
  1984. build_flags = ${common.build_flags_1m0m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  1985. monitor_speed = 115200
  1986. extra_scripts = ${common.extra_scripts}
  1987. [env:allnet-4duino-iot-wlan-relais-ota]
  1988. platform = ${common.platform}
  1989. framework = arduino
  1990. board = esp12e
  1991. board_build.flash_mode = dout
  1992. lib_deps = ${common.lib_deps}
  1993. lib_ignore = ${common.lib_ignore}
  1994. build_flags = ${common.build_flags_1m0m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  1995. upload_speed = 115200
  1996. upload_port = "${env.ESPURNA_IP}"
  1997. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1998. extra_scripts = ${common.extra_scripts}
  1999. [env:tonbux-mosquito-killer]
  2000. platform = ${common.platform}
  2001. framework = arduino
  2002. board = esp01_1m
  2003. board_build.flash_mode = dout
  2004. lib_deps = ${common.lib_deps}
  2005. lib_ignore = ${common.lib_ignore}
  2006. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  2007. monitor_speed = 115200
  2008. extra_scripts = ${common.extra_scripts}
  2009. [env:tonbux-mosquito-killer-ota]
  2010. platform = ${common.platform}
  2011. framework = arduino
  2012. board = esp01_1m
  2013. board_build.flash_mode = dout
  2014. lib_deps = ${common.lib_deps}
  2015. lib_ignore = ${common.lib_ignore}
  2016. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  2017. upload_speed = 115200
  2018. upload_port = "${env.ESPURNA_IP}"
  2019. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2020. extra_scripts = ${common.extra_scripts}
  2021. [env:pilotak-esp-din-v1]
  2022. platform = ${common.platform}
  2023. framework = arduino
  2024. board = esp01_1m
  2025. board_build.flash_mode = dout
  2026. lib_deps = ${common.lib_deps}
  2027. lib_ignore = ${common.lib_ignore}
  2028. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  2029. monitor_speed = 115200
  2030. extra_scripts = ${common.extra_scripts}
  2031. [env:pilotak-esp-din-v1-ota]
  2032. platform = ${common.platform}
  2033. framework = arduino
  2034. board = esp01_1m
  2035. board_build.flash_mode = dout
  2036. lib_deps = ${common.lib_deps}
  2037. lib_ignore = ${common.lib_ignore}
  2038. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  2039. upload_speed = 115200
  2040. upload_port = "${env.ESPURNA_IP}"
  2041. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2042. extra_scripts = ${common.extra_scripts}
  2043. [env:nodemcu-geiger]
  2044. platform = ${common.platform}
  2045. framework = arduino
  2046. board = nodemcu
  2047. lib_deps = ${common.lib_deps}
  2048. lib_ignore = ${common.lib_ignore}
  2049. build_flags = ${common.build_flags_1m0m} -DNODEMCU_BASIC -DNOWSAUTH -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
  2050. upload_speed = 460800
  2051. monitor_speed = 115200
  2052. extra_scripts = ${common.extra_scripts}