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.

2339 lines
69 KiB

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.2 = arduino core 2.4.1
  14. # ------------------------------------------------------------------------------
  15. platform_150 = espressif8266@1.5.0
  16. platform_160 = espressif8266@1.6.0
  17. platform_172 = espressif8266@1.7.2
  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. #if needed (for memleaks etc) also add; -DDEBUG_ESP_OOM -include "umm_malloc/umm_malloc_cfg.h"
  25. # ------------------------------------------------------------------------------
  26. # FLAGS: build flags
  27. # build flags for 512k/1m ESP's are different because we use Linker Scripts to adjust flash split
  28. # build_flags_512k ( 512 KB) = 487 KB sketch, 4 KB eeprom, 16 KB reserved
  29. # build_flags_1m0m (1024 KB) = 999 KB sketch, 4 KB eeprom, 16 KB reserved
  30. # build_flags_4m1m (4096 KB) = 1019 KB sketch, 16 KB eeprom, 992 KB spiffs, 16 KB reserved, 2048 KB empty/ota?
  31. # build_flags_4m3m (4096 KB) = 1019 KB sketch, 16 KB eeprom, 3040 KB spiffs, 16 KB reserved
  32. #
  33. # Available lwIP variants (macros):
  34. # -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH = v1.4 Higher Bandwidth (default)
  35. # -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY = v2 Lower Memory
  36. # -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH = v2 Higher Bandwidth
  37. # ------------------------------------------------------------------------------
  38. build_flags = -g -w -DMQTT_MAX_PACKET_SIZE=400 -DNO_GLOBAL_EEPROM ${env.ESPURNA_FLAGS} -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
  39. build_flags_512k = ${common.build_flags} -Wl,-Teagle.flash.512k0m1s.ld
  40. build_flags_1m0m = ${common.build_flags} -Wl,-Teagle.flash.1m0m1s.ld
  41. build_flags_4m1m = ${common.build_flags} -Wl,-Teagle.flash.4m1m4s.ld
  42. build_flags_4m3m = ${common.build_flags} -Wl,-Teagle.flash.4m3m4s.ld
  43. # ------------------------------------------------------------------------------
  44. # GLOBALS:
  45. # ------------------------------------------------------------------------------
  46. # IP address when using OTA
  47. upload_port = "192.168.4.1"
  48. upload_flags = --auth=fibonacci --port 8266
  49. #upload_port = "${env.ESPURNA_IP}"
  50. #upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  51. # ------------------------------------------------------------------------------
  52. # LIBRARIES: required dependencies
  53. # Please note that we don't always use the latest version of a library.
  54. # ------------------------------------------------------------------------------
  55. lib_deps =
  56. ArduinoJson
  57. https://github.com/marvinroger/async-mqtt-client#v0.8.1
  58. Brzo I2C
  59. https://bitbucket.org/xoseperez/debounceevent.git#2.0.1
  60. https://github.com/xoseperez/eeprom_rotate#0.9.1
  61. Embedis
  62. https://github.com/plerup/espsoftwareserial#3.4.1
  63. https://github.com/me-no-dev/ESPAsyncTCP#55cd520
  64. https://github.com/me-no-dev/ESPAsyncWebServer#05306e4
  65. https://bitbucket.org/xoseperez/fauxmoesp.git#2.4.2
  66. https://github.com/xoseperez/hlw8012.git#1.1.0
  67. https://github.com/markszabo/IRremoteESP8266#v2.2.0
  68. https://github.com/xoseperez/justwifi.git#2.0.0
  69. https://github.com/madpilot/mDNSResolver#4cfcda1
  70. https://github.com/xoseperez/my92xx#3.0.1
  71. https://bitbucket.org/xoseperez/nofuss.git#0.2.5
  72. https://github.com/xoseperez/NtpClient.git#0016a59
  73. OneWire
  74. PZEM004T
  75. PubSubClient
  76. rc-switch
  77. https://github.com/LowPowerLab/RFM69#7f140f0
  78. https://github.com/xoseperez/Time
  79. lib_ignore =
  80. extra_scripts = extra_scripts.py
  81. modules =
  82. # ------------------------------------------------------------------------------
  83. # ESPURNA CORE BUILDS
  84. # ------------------------------------------------------------------------------
  85. [env:espurna-core-1MB]
  86. platform = ${common.platform}
  87. framework = arduino
  88. board = esp01_1m
  89. board_build.flash_mode = dout
  90. lib_deps = ${common.lib_deps}
  91. lib_ignore = ${common.lib_ignore}
  92. build_flags = ${common.build_flags_1m0m} -DESPURNA_CORE
  93. monitor_speed = 115200
  94. extra_scripts = ${common.extra_scripts}
  95. [env:espurna-core-4MB]
  96. platform = ${common.platform}
  97. framework = arduino
  98. board = d1_mini
  99. board_build.flash_mode = dout
  100. lib_deps = ${common.lib_deps}
  101. lib_ignore = ${common.lib_ignore}
  102. build_flags = ${common.build_flags_4m1m} -DESPURNA_CORE
  103. monitor_speed = 115200
  104. extra_scripts = ${common.extra_scripts}
  105. # ------------------------------------------------------------------------------
  106. # GENERIC OTA ENVIRONMENTS
  107. # ------------------------------------------------------------------------------
  108. [env:esp8266-1m-ota]
  109. platform = ${common.platform}
  110. framework = arduino
  111. board = esp01_1m
  112. board_build.flash_mode = dout
  113. lib_deps = ${common.lib_deps}
  114. lib_ignore = ${common.lib_ignore}
  115. build_flags = ${common.build_flags_1m0m} -D${env.ESPURNA_BOARD}
  116. upload_speed = 115200
  117. upload_port = "${env.ESPURNA_IP}"
  118. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  119. extra_scripts = ${common.extra_scripts}
  120. [env:esp8266-4m-ota]
  121. platform = ${common.platform}
  122. framework = arduino
  123. board = esp12e
  124. board_build.flash_mode = dout
  125. lib_deps = ${common.lib_deps}
  126. lib_ignore = ${common.lib_ignore}
  127. build_flags = ${common.build_flags_4m1m} -D${env.ESPURNA_BOARD}
  128. upload_speed = 115200
  129. upload_port = "${env.ESPURNA_IP}"
  130. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  131. extra_scripts = ${common.extra_scripts}
  132. # ------------------------------------------------------------------------------
  133. # SPECIAL BUILDS - DO. NOT. USE. ever ---
  134. # ------------------------------------------------------------------------------
  135. [env:travis01]
  136. platform = ${common.platform}
  137. framework = arduino
  138. board = esp12e
  139. lib_deps = ${common.lib_deps}
  140. lib_ignore = ${common.lib_ignore}
  141. build_flags = ${common.build_flags_4m1m} -DTRAVIS01
  142. monitor_speed = 115200
  143. extra_scripts = ${common.extra_scripts}
  144. [env:travis02]
  145. platform = ${common.platform}
  146. framework = arduino
  147. board = esp12e
  148. lib_deps = ${common.lib_deps}
  149. lib_ignore = ${common.lib_ignore}
  150. build_flags = ${common.build_flags_4m1m} -DTRAVIS02
  151. monitor_speed = 115200
  152. extra_scripts = ${common.extra_scripts}
  153. [env:travis03]
  154. platform = espressif8266@1.6.0
  155. framework = arduino
  156. board = esp12e
  157. lib_deps = ${common.lib_deps}
  158. lib_ignore = ${common.lib_ignore}
  159. build_flags = ${common.build_flags_4m1m} -DTRAVIS03 -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  160. monitor_speed = 115200
  161. extra_scripts = ${common.extra_scripts}
  162. # ------------------------------------------------------------------------------
  163. # DEVELOPMENT BOARDS
  164. # ------------------------------------------------------------------------------
  165. [env:wemos-d1mini-relayshield]
  166. platform = ${common.platform}
  167. framework = arduino
  168. board = d1_mini
  169. lib_deps = ${common.lib_deps}
  170. lib_ignore = ${common.lib_ignore}
  171. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  172. upload_speed = 460800
  173. monitor_speed = 115200
  174. extra_scripts = ${common.extra_scripts}
  175. [env:wemos-d1mini-relayshield-ssl]
  176. platform = espressif8266@1.6.0
  177. framework = arduino
  178. board = d1_mini
  179. lib_deps = ${common.lib_deps}
  180. lib_ignore = ${common.lib_ignore}
  181. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  182. upload_speed = 460800
  183. monitor_speed = 115200
  184. extra_scripts = ${common.extra_scripts}
  185. [env:wemos-d1mini-relayshield-ota]
  186. platform = ${common.platform}
  187. framework = arduino
  188. board = d1_mini
  189. lib_deps = ${common.lib_deps}
  190. lib_ignore = ${common.lib_ignore}
  191. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  192. upload_speed = 115200
  193. upload_port = ${common.upload_port}
  194. upload_flags = ${common.upload_flags}
  195. extra_scripts = ${common.extra_scripts}
  196. [env:nodemcu-lolin]
  197. platform = ${common.platform}
  198. framework = arduino
  199. board = nodemcuv2
  200. lib_deps = ${common.lib_deps}
  201. lib_ignore = ${common.lib_ignore}
  202. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  203. upload_speed = 460800
  204. monitor_speed = 115200
  205. extra_scripts = ${common.extra_scripts}
  206. [env:nodemcu-lolin-ssl]
  207. platform = espressif8266@1.6.0
  208. framework = arduino
  209. board = nodemcuv2
  210. lib_deps = ${common.lib_deps}
  211. lib_ignore = ${common.lib_ignore}
  212. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  213. upload_speed = 460800
  214. monitor_speed = 115200
  215. extra_scripts = ${common.extra_scripts}
  216. [env:nodemcu-lolin-ota]
  217. platform = ${common.platform}
  218. framework = arduino
  219. board = nodemcuv2
  220. lib_deps = ${common.lib_deps}
  221. lib_ignore = ${common.lib_ignore}
  222. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  223. upload_speed = 115200
  224. upload_port = ${common.upload_port}
  225. upload_flags = ${common.upload_flags}
  226. monitor_speed = 115200
  227. extra_scripts = ${common.extra_scripts}
  228. # ------------------------------------------------------------------------------
  229. # SPECIFIC BOARDS
  230. # ------------------------------------------------------------------------------
  231. [env:tinkerman-espurna-h06]
  232. platform = ${common.platform}
  233. framework = arduino
  234. board = esp12e
  235. lib_deps = ${common.lib_deps}
  236. lib_ignore = ${common.lib_ignore}
  237. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H06
  238. monitor_speed = 115200
  239. extra_scripts = ${common.extra_scripts}
  240. [env:tinkerman-espurna-h06-ota]
  241. platform = ${common.platform}
  242. framework = arduino
  243. board = esp12e
  244. lib_deps = ${common.lib_deps}
  245. lib_ignore = ${common.lib_ignore}
  246. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H06
  247. upload_speed = 115200
  248. upload_port = ${common.upload_port}
  249. upload_flags = ${common.upload_flags}
  250. monitor_speed = 115200
  251. extra_scripts = ${common.extra_scripts}
  252. [env:tinkerman-espurna-h08]
  253. platform = ${common.platform}
  254. framework = arduino
  255. board = esp12e
  256. lib_deps = ${common.lib_deps}
  257. lib_ignore = ${common.lib_ignore}
  258. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H08
  259. monitor_speed = 115200
  260. extra_scripts = ${common.extra_scripts}
  261. [env:tinkerman-espurna-h08-ota]
  262. platform = ${common.platform}
  263. framework = arduino
  264. board = esp12e
  265. lib_deps = ${common.lib_deps}
  266. lib_ignore = ${common.lib_ignore}
  267. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H08
  268. upload_speed = 115200
  269. upload_port = ${common.upload_port}
  270. upload_flags = ${common.upload_flags}
  271. monitor_speed = 115200
  272. extra_scripts = ${common.extra_scripts}
  273. [env:tinkerman-espurna-switch]
  274. platform = ${common.platform}
  275. framework = arduino
  276. board = esp12e
  277. lib_deps = ${common.lib_deps}
  278. lib_ignore = ${common.lib_ignore}
  279. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_SWITCH
  280. monitor_speed = 115200
  281. extra_scripts = ${common.extra_scripts}
  282. [env:wemos-d1-tarpunashield]
  283. platform = ${common.platform}
  284. framework = arduino
  285. board = esp12e
  286. lib_deps = ${common.lib_deps}
  287. lib_ignore = ${common.lib_ignore}
  288. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_TARPUNA_SHIELD
  289. monitor_speed = 115200
  290. extra_scripts = ${common.extra_scripts}
  291. [env:tinkerman-rfm69gw]
  292. platform = ${common.platform}
  293. framework = arduino
  294. board = esp12e
  295. lib_deps = ${common.lib_deps}
  296. lib_ignore = ${common.lib_ignore}
  297. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_RFM69GW -DNOWSAUTH
  298. monitor_speed = 115200
  299. extra_scripts = ${common.extra_scripts}
  300. # ------------------------------------------------------------------------------
  301. [env:itead-sonoff-basic]
  302. platform = ${common.platform}
  303. framework = arduino
  304. board = esp01_1m
  305. board_build.flash_mode = dout
  306. lib_deps = ${common.lib_deps}
  307. lib_ignore = ${common.lib_ignore}
  308. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC
  309. monitor_speed = 115200
  310. extra_scripts = ${common.extra_scripts}
  311. [env:itead-sonoff-basic-ota]
  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
  319. upload_speed = 115200
  320. upload_port = ${common.upload_port}
  321. upload_flags = ${common.upload_flags}
  322. monitor_speed = 115200
  323. extra_scripts = ${common.extra_scripts}
  324. [env:itead-sonoff-basic-dht]
  325. platform = ${common.platform}
  326. framework = arduino
  327. board = esp01_1m
  328. board_build.flash_mode = dout
  329. lib_deps = ${common.lib_deps}
  330. lib_ignore = ${common.lib_ignore}
  331. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  332. monitor_speed = 115200
  333. extra_scripts = ${common.extra_scripts}
  334. [env:itead-sonoff-basic-dht-ota]
  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 -DDHT_SUPPORT=1
  342. upload_speed = 115200
  343. upload_port = ${common.upload_port}
  344. upload_flags = ${common.upload_flags}
  345. monitor_speed = 115200
  346. extra_scripts = ${common.extra_scripts}
  347. [env:itead-sonoff-basic-dallas]
  348. platform = ${common.platform}
  349. framework = arduino
  350. board = esp01_1m
  351. board_build.flash_mode = dout
  352. lib_deps = ${common.lib_deps}
  353. lib_ignore = ${common.lib_ignore}
  354. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1
  355. monitor_speed = 115200
  356. extra_scripts = ${common.extra_scripts}
  357. [env:itead-sonoff-rf]
  358. platform = ${common.platform}
  359. framework = arduino
  360. board = esp01_1m
  361. board_build.flash_mode = dout
  362. lib_deps = ${common.lib_deps}
  363. lib_ignore = ${common.lib_ignore}
  364. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RF
  365. monitor_speed = 115200
  366. extra_scripts = ${common.extra_scripts}
  367. [env:itead-sonoff-rf-ota]
  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_RF
  375. upload_speed = 115200
  376. upload_port = ${common.upload_port}
  377. upload_flags = ${common.upload_flags}
  378. monitor_speed = 115200
  379. extra_scripts = ${common.extra_scripts}
  380. [env:itead-sonoff-th]
  381. platform = ${common.platform}
  382. framework = arduino
  383. board = esp01_1m
  384. board_build.flash_mode = dout
  385. lib_deps = ${common.lib_deps}
  386. lib_ignore = ${common.lib_ignore}
  387. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TH
  388. monitor_speed = 115200
  389. extra_scripts = ${common.extra_scripts}
  390. [env:itead-sonoff-th-ota]
  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_TH
  398. upload_speed = 115200
  399. upload_port = ${common.upload_port}
  400. upload_flags = ${common.upload_flags}
  401. monitor_speed = 115200
  402. extra_scripts = ${common.extra_scripts}
  403. [env:itead-sonoff-pow]
  404. platform = ${common.platform}
  405. framework = arduino
  406. board = esp01_1m
  407. board_build.flash_mode = dout
  408. lib_deps = ${common.lib_deps}
  409. lib_ignore = ${common.lib_ignore}
  410. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW
  411. monitor_speed = 115200
  412. extra_scripts = ${common.extra_scripts}
  413. [env:itead-sonoff-pow-ota]
  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
  421. upload_speed = 115200
  422. upload_port = ${common.upload_port}
  423. upload_flags = ${common.upload_flags}
  424. monitor_speed = 115200
  425. extra_scripts = ${common.extra_scripts}
  426. [env:itead-sonoff-pow-r2]
  427. platform = ${common.platform}
  428. framework = arduino
  429. board = esp01_1m
  430. board_build.flash_mode = dout
  431. lib_deps = ${common.lib_deps}
  432. lib_ignore = ${common.lib_ignore}
  433. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW_R2
  434. monitor_speed = 115200
  435. extra_scripts = ${common.extra_scripts}
  436. [env:itead-sonoff-pow-r2-ota]
  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_POW_R2
  444. upload_speed = 115200
  445. upload_port = ${common.upload_port}
  446. upload_flags = ${common.upload_flags}
  447. monitor_speed = 115200
  448. extra_scripts = ${common.extra_scripts}
  449. [env:itead-sonoff-dual]
  450. platform = ${common.platform}
  451. framework = arduino
  452. board = esp01_1m
  453. board_build.flash_mode = dout
  454. lib_deps = ${common.lib_deps}
  455. lib_ignore = ${common.lib_ignore}
  456. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL
  457. extra_scripts = ${common.extra_scripts}
  458. [env:itead-sonoff-dual-ota]
  459. platform = ${common.platform}
  460. framework = arduino
  461. board = esp01_1m
  462. board_build.flash_mode = dout
  463. lib_deps = ${common.lib_deps}
  464. lib_ignore = ${common.lib_ignore}
  465. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL
  466. upload_speed = 115200
  467. upload_port = ${common.upload_port}
  468. upload_flags = ${common.upload_flags}
  469. extra_scripts = ${common.extra_scripts}
  470. [env:itead-sonoff-dual-r2]
  471. platform = ${common.platform}
  472. framework = arduino
  473. board = esp01_1m
  474. board_build.flash_mode = dout
  475. lib_deps = ${common.lib_deps}
  476. lib_ignore = ${common.lib_ignore}
  477. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL_R2
  478. extra_scripts = ${common.extra_scripts}
  479. [env:itead-sonoff-dual-ota-r2]
  480. platform = ${common.platform}
  481. framework = arduino
  482. board = esp01_1m
  483. board_build.flash_mode = dout
  484. lib_deps = ${common.lib_deps}
  485. lib_ignore = ${common.lib_ignore}
  486. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL_R2
  487. upload_speed = 115200
  488. upload_port = ${common.upload_port}
  489. upload_flags = ${common.upload_flags}
  490. extra_scripts = ${common.extra_scripts}
  491. [env:itead-sonoff-4ch]
  492. platform = ${common.platform}
  493. framework = arduino
  494. board = esp01_1m
  495. board_build.flash_mode = dout
  496. lib_deps = ${common.lib_deps}
  497. lib_ignore = ${common.lib_ignore}
  498. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH
  499. monitor_speed = 115200
  500. extra_scripts = ${common.extra_scripts}
  501. [env:itead-sonoff-4ch-ota]
  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
  509. upload_speed = 115200
  510. upload_port = ${common.upload_port}
  511. upload_flags = ${common.upload_flags}
  512. monitor_speed = 115200
  513. extra_scripts = ${common.extra_scripts}
  514. [env:itead-sonoff-4ch-pro]
  515. platform = ${common.platform}
  516. framework = arduino
  517. board = esp01_1m
  518. board_build.flash_mode = dout
  519. lib_deps = ${common.lib_deps}
  520. lib_ignore = ${common.lib_ignore}
  521. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH_PRO
  522. monitor_speed = 115200
  523. extra_scripts = ${common.extra_scripts}
  524. [env:itead-sonoff-4ch-pro-ota]
  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_4CH_PRO
  532. upload_speed = 115200
  533. upload_port = ${common.upload_port}
  534. upload_flags = ${common.upload_flags}
  535. monitor_speed = 115200
  536. extra_scripts = ${common.extra_scripts}
  537. [env:itead-sonoff-touch]
  538. platform = ${common.platform}
  539. framework = arduino
  540. board = esp01_1m
  541. board_build.flash_mode = dout
  542. lib_deps = ${common.lib_deps}
  543. lib_ignore = ${common.lib_ignore}
  544. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TOUCH
  545. monitor_speed = 115200
  546. extra_scripts = ${common.extra_scripts}
  547. [env:itead-sonoff-touch-ota]
  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_TOUCH
  555. upload_speed = 115200
  556. upload_port = ${common.upload_port}
  557. upload_flags = ${common.upload_flags}
  558. monitor_speed = 115200
  559. extra_scripts = ${common.extra_scripts}
  560. [env:itead-sonoff-b1]
  561. platform = ${common.platform}
  562. framework = arduino
  563. board = esp01_1m
  564. board_build.flash_mode = dout
  565. lib_deps = ${common.lib_deps}
  566. lib_ignore = ${common.lib_ignore}
  567. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_B1
  568. monitor_speed = 115200
  569. extra_scripts = ${common.extra_scripts}
  570. [env:itead-sonoff-b1-ota]
  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_B1
  578. upload_speed = 115200
  579. upload_port = ${common.upload_port}
  580. upload_flags = ${common.upload_flags}
  581. monitor_speed = 115200
  582. extra_scripts = ${common.extra_scripts}
  583. [env:itead-sonoff-t1-1ch]
  584. platform = ${common.platform}
  585. framework = arduino
  586. board = esp01_1m
  587. board_build.flash_mode = dout
  588. lib_deps = ${common.lib_deps}
  589. lib_ignore = ${common.lib_ignore}
  590. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_1CH
  591. monitor_speed = 115200
  592. extra_scripts = ${common.extra_scripts}
  593. [env:itead-sonoff-t1-1ch-ota]
  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_1CH
  601. upload_speed = 115200
  602. upload_port = ${common.upload_port}
  603. upload_flags = ${common.upload_flags}
  604. monitor_speed = 115200
  605. extra_scripts = ${common.extra_scripts}
  606. [env:itead-sonoff-t1-2ch]
  607. platform = ${common.platform}
  608. framework = arduino
  609. board = esp01_1m
  610. board_build.flash_mode = dout
  611. lib_deps = ${common.lib_deps}
  612. lib_ignore = ${common.lib_ignore}
  613. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_2CH
  614. monitor_speed = 115200
  615. extra_scripts = ${common.extra_scripts}
  616. [env:itead-sonoff-t1-2ch-ota]
  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_2CH
  624. upload_speed = 115200
  625. upload_port = ${common.upload_port}
  626. upload_flags = ${common.upload_flags}
  627. monitor_speed = 115200
  628. extra_scripts = ${common.extra_scripts}
  629. [env:itead-sonoff-t1-3ch]
  630. platform = ${common.platform}
  631. framework = arduino
  632. board = esp01_1m
  633. board_build.flash_mode = dout
  634. lib_deps = ${common.lib_deps}
  635. lib_ignore = ${common.lib_ignore}
  636. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_3CH
  637. monitor_speed = 115200
  638. extra_scripts = ${common.extra_scripts}
  639. [env:itead-sonoff-t1-3ch-ota]
  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_T1_3CH
  647. upload_speed = 115200
  648. upload_port = ${common.upload_port}
  649. upload_flags = ${common.upload_flags}
  650. monitor_speed = 115200
  651. extra_scripts = ${common.extra_scripts}
  652. [env:itead-sonoff-led]
  653. platform = ${common.platform}
  654. framework = arduino
  655. board = esp01_1m
  656. board_build.flash_mode = dout
  657. lib_deps = ${common.lib_deps}
  658. lib_ignore = ${common.lib_ignore}
  659. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_LED
  660. monitor_speed = 115200
  661. extra_scripts = ${common.extra_scripts}
  662. [env:itead-sonoff-led-ota]
  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_LED
  670. upload_speed = 115200
  671. upload_port = ${common.upload_port}
  672. upload_flags = ${common.upload_flags}
  673. monitor_speed = 115200
  674. extra_scripts = ${common.extra_scripts}
  675. [env:itead-sonoff-rfbridge]
  676. platform = ${common.platform}
  677. framework = arduino
  678. board = esp01_1m
  679. board_build.flash_mode = dout
  680. lib_deps = ${common.lib_deps}
  681. lib_ignore = ${common.lib_ignore}
  682. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE
  683. monitor_speed = 19200
  684. extra_scripts = ${common.extra_scripts}
  685. [env:itead-sonoff-rfbridge-ota]
  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
  693. upload_speed = 115200
  694. upload_port = ${common.upload_port}
  695. upload_flags = ${common.upload_flags}
  696. monitor_speed = 19200
  697. extra_scripts = ${common.extra_scripts}
  698. [env:itead-sonoff-rfbridge-direct]
  699. platform = ${common.platform}
  700. framework = arduino
  701. board = esp01_1m
  702. board_build.flash_mode = dout
  703. lib_deps = ${common.lib_deps}
  704. lib_ignore = ${common.lib_ignore}
  705. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  706. monitor_speed = 19200
  707. extra_scripts = ${common.extra_scripts}
  708. [env:itead-sonoff-rfbridge-direct-ota]
  709. platform = ${common.platform}
  710. framework = arduino
  711. board = esp01_1m
  712. board_build.flash_mode = dout
  713. lib_deps = ${common.lib_deps}
  714. lib_ignore = ${common.lib_ignore}
  715. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  716. upload_speed = 115200
  717. upload_port = "${env.ESPURNA_IP}"
  718. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  719. monitor_speed = 19200
  720. extra_scripts = ${common.extra_scripts}
  721. # ------------------------------------------------------------------------------
  722. [env:itead-slampher]
  723. platform = ${common.platform}
  724. framework = arduino
  725. board = esp01_1m
  726. board_build.flash_mode = dout
  727. lib_deps = ${common.lib_deps}
  728. lib_ignore = ${common.lib_ignore}
  729. build_flags = ${common.build_flags_1m0m} -DITEAD_SLAMPHER
  730. monitor_speed = 115200
  731. extra_scripts = ${common.extra_scripts}
  732. [env:itead-slampher-ota]
  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_SLAMPHER
  740. upload_speed = 115200
  741. upload_port = ${common.upload_port}
  742. upload_flags = ${common.upload_flags}
  743. monitor_speed = 115200
  744. extra_scripts = ${common.extra_scripts}
  745. [env:itead-s20]
  746. platform = ${common.platform}
  747. framework = arduino
  748. board = esp01_1m
  749. board_build.flash_mode = dout
  750. lib_deps = ${common.lib_deps}
  751. lib_ignore = ${common.lib_ignore}
  752. build_flags = ${common.build_flags_1m0m} -DITEAD_S20
  753. monitor_speed = 115200
  754. extra_scripts = ${common.extra_scripts}
  755. [env:itead-s20-ota]
  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_S20
  763. upload_speed = 115200
  764. upload_port = ${common.upload_port}
  765. upload_flags = ${common.upload_flags}
  766. monitor_speed = 115200
  767. extra_scripts = ${common.extra_scripts}
  768. [env:itead-1ch-inching]
  769. platform = ${common.platform}
  770. framework = arduino
  771. board = esp01_1m
  772. board_build.flash_mode = dout
  773. lib_deps = ${common.lib_deps}
  774. lib_ignore = ${common.lib_ignore}
  775. build_flags = ${common.build_flags_1m0m} -DITEAD_1CH_INCHING
  776. monitor_speed = 115200
  777. extra_scripts = ${common.extra_scripts}
  778. [env:itead-1ch-inching-ota]
  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_1CH_INCHING
  786. upload_speed = 115200
  787. upload_port = ${common.upload_port}
  788. upload_flags = ${common.upload_flags}
  789. monitor_speed = 115200
  790. extra_scripts = ${common.extra_scripts}
  791. [env:itead-motor]
  792. platform = ${common.platform}
  793. framework = arduino
  794. board = esp01_1m
  795. board_build.flash_mode = dout
  796. lib_deps = ${common.lib_deps}
  797. lib_ignore = ${common.lib_ignore}
  798. build_flags = ${common.build_flags_1m0m} -DITEAD_MOTOR
  799. monitor_speed = 115200
  800. extra_scripts = ${common.extra_scripts}
  801. [env:itead-motor-ota]
  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_MOTOR
  809. upload_speed = 115200
  810. upload_port = ${common.upload_port}
  811. upload_flags = ${common.upload_flags}
  812. monitor_speed = 115200
  813. extra_scripts = ${common.extra_scripts}
  814. [env:itead-sonoff-sv]
  815. platform = ${common.platform}
  816. framework = arduino
  817. board = esp01_1m
  818. board_build.flash_mode = dout
  819. lib_deps = ${common.lib_deps}
  820. lib_ignore = ${common.lib_ignore}
  821. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_SV
  822. monitor_speed = 115200
  823. extra_scripts = ${common.extra_scripts}
  824. [env:itead-sonoff-sv-ota]
  825. platform = ${common.platform}
  826. framework = arduino
  827. board = esp01_1m
  828. board_build.flash_mode = dout
  829. lib_deps = ${common.lib_deps}
  830. lib_ignore = ${common.lib_ignore}
  831. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_SV
  832. upload_port = ${common.upload_port}
  833. upload_flags = ${common.upload_flags}
  834. monitor_speed = 115200
  835. extra_scripts = ${common.extra_scripts}
  836. [env:itead-sonoff-s31]
  837. platform = ${common.platform}
  838. framework = arduino
  839. board = esp01_1m
  840. board_build.flash_mode = dout
  841. lib_deps = ${common.lib_deps}
  842. lib_ignore = ${common.lib_ignore}
  843. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31
  844. monitor_speed = 115200
  845. extra_scripts = ${common.extra_scripts}
  846. [env:itead-sonoff-s31-ota]
  847. platform = ${common.platform}
  848. framework = arduino
  849. board = esp01_1m
  850. board_build.flash_mode = dout
  851. lib_deps = ${common.lib_deps}
  852. lib_ignore = ${common.lib_ignore}
  853. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31
  854. upload_port = "${env.ESPURNA_IP}"
  855. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  856. monitor_speed = 115200
  857. extra_scripts = ${common.extra_scripts}
  858. # ------------------------------------------------------------------------------
  859. [env:electrodragon-wifi-iot]
  860. platform = ${common.platform}
  861. framework = arduino
  862. board = esp12e
  863. board_build.flash_mode = dout
  864. lib_deps = ${common.lib_deps}
  865. lib_ignore = ${common.lib_ignore}
  866. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  867. monitor_speed = 115200
  868. extra_scripts = ${common.extra_scripts}
  869. [env:electrodragon-wifi-iot-ota]
  870. platform = ${common.platform}
  871. framework = arduino
  872. board = esp12e
  873. board_build.flash_mode = dout
  874. lib_deps = ${common.lib_deps}
  875. lib_ignore = ${common.lib_ignore}
  876. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  877. upload_speed = 115200
  878. upload_port = ${common.upload_port}
  879. upload_flags = ${common.upload_flags}
  880. monitor_speed = 115200
  881. extra_scripts = ${common.extra_scripts}
  882. [env:workchoice-ecoplug]
  883. platform = ${common.platform}
  884. framework = arduino
  885. board = esp01_1m
  886. board_build.flash_mode = dout
  887. lib_deps = ${common.lib_deps}
  888. lib_ignore = ${common.lib_ignore}
  889. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  890. monitor_speed = 115200
  891. extra_scripts = ${common.extra_scripts}
  892. [env:workchoice-ecoplug-ota]
  893. platform = ${common.platform}
  894. framework = arduino
  895. board = esp01_1m
  896. board_build.flash_mode = dout
  897. lib_deps = ${common.lib_deps}
  898. lib_ignore = ${common.lib_ignore}
  899. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  900. upload_speed = 115200
  901. upload_port = ${common.upload_port}
  902. upload_flags = ${common.upload_flags}
  903. monitor_speed = 115200
  904. extra_scripts = ${common.extra_scripts}
  905. [env:jangoe-wifi-relay-nc]
  906. platform = ${common.platform}
  907. framework = arduino
  908. board = esp12e
  909. board_build.flash_mode = dout
  910. lib_deps = ${common.lib_deps}
  911. lib_ignore = ${common.lib_ignore}
  912. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  913. monitor_speed = 115200
  914. extra_scripts = ${common.extra_scripts}
  915. [env:jangoe-wifi-relay-nc-ota]
  916. platform = ${common.platform}
  917. framework = arduino
  918. board = esp12e
  919. board_build.flash_mode = dout
  920. lib_deps = ${common.lib_deps}
  921. lib_ignore = ${common.lib_ignore}
  922. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  923. upload_speed = 115200
  924. upload_port = ${common.upload_port}
  925. upload_flags = ${common.upload_flags}
  926. monitor_speed = 115200
  927. extra_scripts = ${common.extra_scripts}
  928. [env:jangoe-wifi-relay-no]
  929. platform = ${common.platform}
  930. framework = arduino
  931. board = esp12e
  932. board_build.flash_mode = dout
  933. lib_deps = ${common.lib_deps}
  934. lib_ignore = ${common.lib_ignore}
  935. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  936. monitor_speed = 115200
  937. extra_scripts = ${common.extra_scripts}
  938. [env:jangoe-wifi-relay-no-ota]
  939. platform = ${common.platform}
  940. framework = arduino
  941. board = esp12e
  942. board_build.flash_mode = dout
  943. lib_deps = ${common.lib_deps}
  944. lib_ignore = ${common.lib_ignore}
  945. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  946. upload_speed = 115200
  947. upload_port = ${common.upload_port}
  948. upload_flags = ${common.upload_flags}
  949. monitor_speed = 115200
  950. extra_scripts = ${common.extra_scripts}
  951. [env:openenergymonitor-mqtt-relay]
  952. platform = ${common.platform}
  953. framework = arduino
  954. board = esp_wroom_02
  955. board_build.flash_mode = dout
  956. lib_deps = ${common.lib_deps}
  957. lib_ignore = ${common.lib_ignore}
  958. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  959. monitor_speed = 115200
  960. extra_scripts = ${common.extra_scripts}
  961. [env:openenergymonitor-mqtt-relay-ota]
  962. platform = ${common.platform}
  963. framework = arduino
  964. board = esp_wroom_02
  965. board_build.flash_mode = dout
  966. lib_deps = ${common.lib_deps}
  967. lib_ignore = ${common.lib_ignore}
  968. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  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:jorgegarcia-wifi-relays]
  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} -DJORGEGARCIA_WIFI_RELAYS
  982. monitor_speed = 115200
  983. extra_scripts = ${common.extra_scripts}
  984. [env:jorgegarcia-wifi-relays-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} -DJORGEGARCIA_WIFI_RELAYS
  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:aithinker-ai-light]
  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} -DAITHINKER_AI_LIGHT
  1005. monitor_speed = 115200
  1006. extra_scripts = ${common.extra_scripts}
  1007. [env:aithinker-ai-light-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} -DAITHINKER_AI_LIGHT
  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]
  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
  1028. monitor_speed = 115200
  1029. extra_scripts = ${common.extra_scripts}
  1030. [env:magichome-led-controller-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
  1038. upload_speed = 115200
  1039. upload_port = ${common.upload_port}
  1040. upload_flags = ${common.upload_flags}
  1041. monitor_speed = 115200
  1042. extra_scripts = ${common.extra_scripts}
  1043. [env:magichome-led-controller-20]
  1044. platform = ${common.platform}
  1045. framework = arduino
  1046. board = esp01_1m
  1047. board_build.flash_mode = dout
  1048. lib_deps = ${common.lib_deps}
  1049. lib_ignore = ${common.lib_ignore}
  1050. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER_20
  1051. monitor_speed = 115200
  1052. extra_scripts = ${common.extra_scripts}
  1053. [env:magichome-led-controller-20-ota]
  1054. platform = ${common.platform}
  1055. framework = arduino
  1056. board = esp01_1m
  1057. board_build.flash_mode = dout
  1058. lib_deps = ${common.lib_deps}
  1059. lib_ignore = ${common.lib_ignore}
  1060. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER_20
  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-h801]
  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_H801
  1073. monitor_speed = 115200
  1074. extra_scripts = ${common.extra_scripts}
  1075. [env:huacanxing-h801-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_H801
  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:huacanxing-h802]
  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} -DHUACANXING_H802
  1096. monitor_speed = 115200
  1097. extra_scripts = ${common.extra_scripts}
  1098. [env:huacanxing-h802-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} -DHUACANXING_H802
  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-lc01]
  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_LC01
  1119. monitor_speed = 115200
  1120. extra_scripts = ${common.extra_scripts}
  1121. [env:arilux-al-lc01-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_LC01
  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-lc02]
  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_LC02
  1142. monitor_speed = 115200
  1143. extra_scripts = ${common.extra_scripts}
  1144. [env:arilux-al-lc02-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_LC02
  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-lc06]
  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_LC06
  1165. monitor_speed = 115200
  1166. extra_scripts = ${common.extra_scripts}
  1167. [env:arilux-al-lc06-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_LC06
  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-al-lc11]
  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_AL_LC11
  1188. monitor_speed = 115200
  1189. extra_scripts = ${common.extra_scripts}
  1190. [env:arilux-al-lc11-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_AL_LC11
  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:arilux-e27]
  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} -DARILUX_E27
  1211. monitor_speed = 115200
  1212. extra_scripts = ${common.extra_scripts}
  1213. [env:arilux-e27-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} -DARILUX_E27
  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:itead-bnsz01]
  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} -DITEAD_BNSZ01
  1234. monitor_speed = 115200
  1235. extra_scripts = ${common.extra_scripts}
  1236. [env:itead-bnsz01-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} -DITEAD_BNSZ01
  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:wion-50055]
  1250. platform = ${common.platform}
  1251. framework = arduino
  1252. board = esp01_1m
  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} -DWION_50055
  1257. monitor_speed = 115200
  1258. extra_scripts = ${common.extra_scripts}
  1259. [env:wion-50055-ota]
  1260. platform = ${common.platform}
  1261. framework = arduino
  1262. board = esp01_1m
  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} -DWION_50055
  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:exs-wifi-relay-v31]
  1273. platform = ${common.platform}
  1274. framework = arduino
  1275. board = esp07
  1276. board_build.flash_mode = dout
  1277. lib_deps = ${common.lib_deps}
  1278. lib_ignore = ${common.lib_ignore}
  1279. build_flags = ${common.build_flags_1m0m} -DEXS_WIFI_RELAY_V31
  1280. monitor_speed = 115200
  1281. extra_scripts = ${common.extra_scripts}
  1282. [env:exs-wifi-relay-v31-ota]
  1283. platform = ${common.platform}
  1284. framework = arduino
  1285. board = esp07
  1286. board_build.flash_mode = dout
  1287. lib_deps = ${common.lib_deps}
  1288. lib_ignore = ${common.lib_ignore}
  1289. build_flags = ${common.build_flags_1m0m} -DEXS_WIFI_RELAY_V31
  1290. upload_speed = 115200
  1291. upload_port = ${common.upload_port}
  1292. upload_flags = ${common.upload_flags}
  1293. monitor_speed = 115200
  1294. extra_scripts = ${common.extra_scripts}
  1295. [env:wemos-v9261f]
  1296. platform = ${common.platform}
  1297. framework = arduino
  1298. board = d1_mini
  1299. board_build.flash_mode = dout
  1300. lib_deps = ${common.lib_deps}
  1301. lib_ignore = ${common.lib_ignore}
  1302. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  1303. upload_speed = 460800
  1304. monitor_speed = 115200
  1305. extra_scripts = ${common.extra_scripts}
  1306. [env:wemos-v9261f-ota]
  1307. platform = ${common.platform}
  1308. framework = arduino
  1309. board = d1_mini
  1310. board_build.flash_mode = dout
  1311. lib_deps = ${common.lib_deps}
  1312. lib_ignore = ${common.lib_ignore}
  1313. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  1314. upload_speed = 115200
  1315. upload_port = ${common.upload_port}
  1316. upload_flags = ${common.upload_flags}
  1317. monitor_speed = 115200
  1318. extra_scripts = ${common.extra_scripts}
  1319. [env:esp01-v9261f]
  1320. platform = ${common.platform}
  1321. framework = arduino
  1322. board = esp01_1m
  1323. board_build.flash_mode = dout
  1324. lib_deps = ${common.lib_deps}
  1325. lib_ignore = ${common.lib_ignore}
  1326. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  1327. monitor_speed = 115200
  1328. extra_scripts = ${common.extra_scripts}
  1329. [env:esp01-v9261f-ota]
  1330. platform = ${common.platform}
  1331. framework = arduino
  1332. board = esp01_1m
  1333. board_build.flash_mode = dout
  1334. lib_deps = ${common.lib_deps}
  1335. lib_ignore = ${common.lib_ignore}
  1336. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  1337. upload_speed = 115200
  1338. upload_port = ${common.upload_port}
  1339. upload_flags = ${common.upload_flags}
  1340. monitor_speed = 115200
  1341. extra_scripts = ${common.extra_scripts}
  1342. [env:wemos-ech1560]
  1343. platform = ${common.platform}
  1344. framework = arduino
  1345. board = d1_mini
  1346. board_build.flash_mode = dout
  1347. lib_deps = ${common.lib_deps}
  1348. lib_ignore = ${common.lib_ignore}
  1349. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  1350. upload_speed = 460800
  1351. monitor_speed = 115200
  1352. extra_scripts = ${common.extra_scripts}
  1353. [env:wemos-ech1560-ota]
  1354. platform = ${common.platform}
  1355. framework = arduino
  1356. board = d1_mini
  1357. board_build.flash_mode = dout
  1358. lib_deps = ${common.lib_deps}
  1359. lib_ignore = ${common.lib_ignore}
  1360. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  1361. upload_speed = 115200
  1362. upload_port = ${common.upload_port}
  1363. upload_flags = ${common.upload_flags}
  1364. monitor_speed = 115200
  1365. extra_scripts = ${common.extra_scripts}
  1366. [env:esp01-ech1560]
  1367. platform = ${common.platform}
  1368. framework = arduino
  1369. board = esp01_1m
  1370. board_build.flash_mode = dout
  1371. lib_deps = ${common.lib_deps}
  1372. lib_ignore = ${common.lib_ignore}
  1373. build_flags = ${common.build_flags_1m0m} -DGENERIC_ECH1560
  1374. monitor_speed = 115200
  1375. extra_scripts = ${common.extra_scripts}
  1376. [env:esp01-ech1560-ota]
  1377. platform = ${common.platform}
  1378. framework = arduino
  1379. board = esp01_1m
  1380. board_build.flash_mode = dout
  1381. lib_deps = ${common.lib_deps}
  1382. lib_ignore = ${common.lib_ignore}
  1383. build_flags = ${common.build_flags_1m0m} -DGENERIC_ECH1560
  1384. upload_speed = 115200
  1385. upload_port = ${common.upload_port}
  1386. upload_flags = ${common.upload_flags}
  1387. monitor_speed = 115200
  1388. extra_scripts = ${common.extra_scripts}
  1389. [env:mancavemade-esplive]
  1390. platform = ${common.platform}
  1391. framework = arduino
  1392. board = d1_mini
  1393. board_build.flash_mode = dout
  1394. lib_deps = ${common.lib_deps}
  1395. lib_ignore = ${common.lib_ignore}
  1396. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  1397. upload_speed = 460800
  1398. monitor_speed = 115200
  1399. extra_scripts = ${common.extra_scripts}
  1400. [env:mancavemade-esplive-ota]
  1401. platform = ${common.platform}
  1402. framework = arduino
  1403. board = d1_mini
  1404. board_build.flash_mode = dout
  1405. lib_deps = ${common.lib_deps}
  1406. lib_ignore = ${common.lib_ignore}
  1407. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  1408. upload_speed = 460800
  1409. upload_port = ${common.upload_port}
  1410. upload_flags = ${common.upload_flags}
  1411. monitor_speed = 115200
  1412. extra_scripts = ${common.extra_scripts}
  1413. [env:intermittech-quinled]
  1414. platform = ${common.platform}
  1415. framework = arduino
  1416. board = esp01_1m
  1417. board_build.flash_mode = dout
  1418. lib_deps = ${common.lib_deps}
  1419. lib_ignore = ${common.lib_ignore}
  1420. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  1421. monitor_speed = 115200
  1422. extra_scripts = ${common.extra_scripts}
  1423. [env:intermittech-quinled-ota]
  1424. platform = ${common.platform}
  1425. framework = arduino
  1426. board = esp01_1m
  1427. board_build.flash_mode = dout
  1428. lib_deps = ${common.lib_deps}
  1429. lib_ignore = ${common.lib_ignore}
  1430. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  1431. upload_speed = 115200
  1432. upload_port = ${common.upload_port}
  1433. upload_flags = ${common.upload_flags}
  1434. monitor_speed = 115200
  1435. extra_scripts = ${common.extra_scripts}
  1436. [env:xenon-sm-pw702u]
  1437. platform = ${common.platform}
  1438. framework = arduino
  1439. board = esp12e
  1440. board_build.flash_mode = dout
  1441. lib_deps = ${common.lib_deps}
  1442. lib_ignore = ${common.lib_ignore}
  1443. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  1444. monitor_speed = 115200
  1445. extra_scripts = ${common.extra_scripts}
  1446. [env:xenon-sm-pw702u-ota]
  1447. platform = ${common.platform}
  1448. framework = arduino
  1449. board = esp12e
  1450. board_build.flash_mode = dout
  1451. lib_deps = ${common.lib_deps}
  1452. lib_ignore = ${common.lib_ignore}
  1453. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  1454. upload_speed = 115200
  1455. upload_port = ${common.upload_port}
  1456. upload_flags = ${common.upload_flags}
  1457. monitor_speed = 115200
  1458. extra_scripts = ${common.extra_scripts}
  1459. [env:authometion-lyt8266]
  1460. platform = ${common.platform}
  1461. framework = arduino
  1462. board = esp01_1m
  1463. board_build.flash_mode = dout
  1464. lib_deps = ${common.lib_deps}
  1465. lib_ignore = ${common.lib_ignore}
  1466. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  1467. monitor_speed = 115200
  1468. extra_scripts = ${common.extra_scripts}
  1469. [env:authometion-lyt8266-ota]
  1470. platform = ${common.platform}
  1471. framework = arduino
  1472. board = esp01_1m
  1473. board_build.flash_mode = dout
  1474. lib_deps = ${common.lib_deps}
  1475. lib_ignore = ${common.lib_ignore}
  1476. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  1477. upload_speed = 115200
  1478. upload_port = ${common.upload_port}
  1479. upload_flags = ${common.upload_flags}
  1480. monitor_speed = 115200
  1481. extra_scripts = ${common.extra_scripts}
  1482. [env:kmc-70011]
  1483. platform = ${common.platform}
  1484. framework = arduino
  1485. board = esp01_1m
  1486. board_build.flash_mode = dout
  1487. lib_deps = ${common.lib_deps}
  1488. lib_ignore = ${common.lib_ignore}
  1489. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  1490. monitor_speed = 115200
  1491. extra_scripts = ${common.extra_scripts}
  1492. [env:kmc-70011-ota]
  1493. platform = ${common.platform}
  1494. framework = arduino
  1495. board = esp01_1m
  1496. board_build.flash_mode = dout
  1497. lib_deps = ${common.lib_deps}
  1498. lib_ignore = ${common.lib_ignore}
  1499. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  1500. upload_speed = 115200
  1501. upload_port = ${common.upload_port}
  1502. upload_flags = ${common.upload_flags}
  1503. monitor_speed = 115200
  1504. extra_scripts = ${common.extra_scripts}
  1505. [env:yjzk-switch-2ch]
  1506. platform = ${common.platform}
  1507. framework = arduino
  1508. board = esp01_1m
  1509. board_build.flash_mode = dout
  1510. lib_deps = ${common.lib_deps}
  1511. lib_ignore = ${common.lib_ignore}
  1512. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  1513. monitor_speed = 115200
  1514. extra_scripts = ${common.extra_scripts}
  1515. [env:yjzk-switch-2ch-ota]
  1516. platform = ${common.platform}
  1517. framework = arduino
  1518. board = esp01_1m
  1519. board_build.flash_mode = dout
  1520. lib_deps = ${common.lib_deps}
  1521. lib_ignore = ${common.lib_ignore}
  1522. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  1523. upload_speed = 115200
  1524. upload_port = ${common.upload_port}
  1525. upload_flags = ${common.upload_flags}
  1526. monitor_speed = 115200
  1527. extra_scripts = ${common.extra_scripts}
  1528. [env:generic-8ch]
  1529. platform = ${common.platform}
  1530. framework = arduino
  1531. board = d1_mini
  1532. board_build.flash_mode = dout
  1533. lib_deps = ${common.lib_deps}
  1534. lib_ignore = ${common.lib_ignore}
  1535. build_flags = ${common.build_flags_4m1m} -DGENERIC_8CH
  1536. upload_speed = 460800
  1537. monitor_speed = 115200
  1538. extra_scripts = ${common.extra_scripts}
  1539. [env:gizwits-witty-cloud]
  1540. platform = ${common.platform}
  1541. framework = arduino
  1542. board = esp12e
  1543. board_build.flash_mode = dout
  1544. lib_deps = ${common.lib_deps}
  1545. lib_ignore = ${common.lib_ignore}
  1546. build_flags = ${common.build_flags_4m1m} -DGIZWITS_WITTY_CLOUD
  1547. monitor_speed = 115200
  1548. extra_scripts = ${common.extra_scripts}
  1549. [env:gizwits-witty-cloud-ota]
  1550. platform = ${common.platform}
  1551. framework = arduino
  1552. board = esp12e
  1553. board_build.flash_mode = dout
  1554. lib_deps = ${common.lib_deps}
  1555. lib_ignore = ${common.lib_ignore}
  1556. build_flags = ${common.build_flags_4m1m} -DGIZWITS_WITTY_CLOUD
  1557. upload_speed = 115200
  1558. upload_port = "${env.ESPURNA_IP}"
  1559. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1560. extra_scripts = ${common.extra_scripts}
  1561. [env:euromate-wifi-stecker-shuko]
  1562. platform = ${common.platform}
  1563. framework = arduino
  1564. board = esp01_1m
  1565. board_build.flash_mode = dout
  1566. lib_deps = ${common.lib_deps}
  1567. lib_ignore = ${common.lib_ignore}
  1568. build_flags = ${common.build_flags_4m1m} -DEUROMATE_WIFI_STECKER_SCHUKO
  1569. monitor_speed = 115200
  1570. extra_scripts = ${common.extra_scripts}
  1571. [env:euromate-wifi-stecker-shuko-ota]
  1572. platform = ${common.platform}
  1573. framework = arduino
  1574. board = esp01_1m
  1575. board_build.flash_mode = dout
  1576. lib_deps = ${common.lib_deps}
  1577. lib_ignore = ${common.lib_ignore}
  1578. build_flags = ${common.build_flags_4m1m} -DEUROMATE_WIFI_STECKER_SCHUKO
  1579. upload_speed = 115200
  1580. upload_port = "${env.ESPURNA_IP}"
  1581. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1582. extra_scripts = ${common.extra_scripts}
  1583. [env:tonbux-powerstrip02]
  1584. platform = ${common.platform}
  1585. framework = arduino
  1586. board = esp01_1m
  1587. board_build.flash_mode = dout
  1588. lib_deps = ${common.lib_deps}
  1589. lib_ignore = ${common.lib_ignore}
  1590. build_flags = ${common.build_flags_4m1m} -DTONBUX_POWERSTRIP02
  1591. monitor_speed = 115200
  1592. extra_scripts = ${common.extra_scripts}
  1593. [env:tonbux-powerstrip02-ota]
  1594. platform = ${common.platform}
  1595. framework = arduino
  1596. board = esp01_1m
  1597. board_build.flash_mode = dout
  1598. lib_deps = ${common.lib_deps}
  1599. lib_ignore = ${common.lib_ignore}
  1600. build_flags = ${common.build_flags_4m1m} -DTONBUX_POWERSTRIP02
  1601. upload_speed = 115200
  1602. upload_port = "${env.ESPURNA_IP}"
  1603. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1604. extra_scripts = ${common.extra_scripts}
  1605. [env:lingan-swa1]
  1606. platform = ${common.platform}
  1607. framework = arduino
  1608. board = esp01_1m
  1609. board_build.flash_mode = dout
  1610. lib_deps = ${common.lib_deps}
  1611. lib_ignore = ${common.lib_ignore}
  1612. build_flags = ${common.build_flags_4m1m} -DLINGAN_SWA1
  1613. monitor_speed = 115200
  1614. extra_scripts = ${common.extra_scripts}
  1615. [env:lingan-swa1-ota]
  1616. platform = ${common.platform}
  1617. framework = arduino
  1618. board = esp01_1m
  1619. board_build.flash_mode = dout
  1620. lib_deps = ${common.lib_deps}
  1621. lib_ignore = ${common.lib_ignore}
  1622. build_flags = ${common.build_flags_4m1m} -DLINGAN_SWA1
  1623. upload_speed = 115200
  1624. upload_port = "${env.ESPURNA_IP}"
  1625. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1626. extra_scripts = ${common.extra_scripts}
  1627. [env:stm-relay]
  1628. platform = ${common.platform}
  1629. framework = arduino
  1630. board = esp01_1m
  1631. board_build.flash_mode = dout
  1632. lib_deps = ${common.lib_deps}
  1633. lib_ignore = ${common.lib_ignore}
  1634. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY
  1635. monitor_speed = 115200
  1636. extra_scripts = ${common.extra_scripts}
  1637. [env:stm-relay-ota]
  1638. platform = ${common.platform}
  1639. framework = arduino
  1640. board = esp01_1m
  1641. board_build.flash_mode = dout
  1642. lib_deps = ${common.lib_deps}
  1643. lib_ignore = ${common.lib_ignore}
  1644. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY
  1645. upload_speed = 115200
  1646. upload_port = ${common.upload_port}
  1647. upload_flags = ${common.upload_flags}
  1648. monitor_speed = 115200
  1649. extra_scripts = ${common.extra_scripts}
  1650. [env:heygo-hy02]
  1651. platform = ${common.platform}
  1652. framework = arduino
  1653. board = esp01_1m
  1654. board_build.flash_mode = dout
  1655. lib_deps = ${common.lib_deps}
  1656. lib_ignore = ${common.lib_ignore}
  1657. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  1658. monitor_speed = 115200
  1659. extra_scripts = ${common.extra_scripts}
  1660. [env:heygo-hy02-ota]
  1661. platform = ${common.platform}
  1662. framework = arduino
  1663. board = esp01_1m
  1664. board_build.flash_mode = dout
  1665. lib_deps = ${common.lib_deps}
  1666. lib_ignore = ${common.lib_ignore}
  1667. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  1668. upload_speed = 115200
  1669. upload_port = "${env.ESPURNA_IP}"
  1670. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1671. extra_scripts = ${common.extra_scripts}
  1672. [env:maxcio-wus002s]
  1673. platform = ${common.platform}
  1674. framework = arduino
  1675. board = esp01_1m
  1676. board_build.flash_mode = dout
  1677. lib_deps = ${common.lib_deps}
  1678. lib_ignore = ${common.lib_ignore}
  1679. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  1680. monitor_speed = 115200
  1681. extra_scripts = ${common.extra_scripts}
  1682. [env:maxcio-wus002s-ota]
  1683. platform = ${common.platform}
  1684. framework = arduino
  1685. board = esp01_1m
  1686. board_build.flash_mode = dout
  1687. lib_deps = ${common.lib_deps}
  1688. lib_ignore = ${common.lib_ignore}
  1689. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  1690. upload_speed = 115200
  1691. upload_port = "${env.ESPURNA_IP}"
  1692. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1693. extra_scripts = ${common.extra_scripts}
  1694. [env:yidian-xsssa05]
  1695. platform = ${common.platform}
  1696. framework = arduino
  1697. board = esp01_1m
  1698. board_build.flash_mode = dout
  1699. lib_deps = ${common.lib_deps}
  1700. lib_ignore = ${common.lib_ignore}
  1701. build_flags = ${common.build_flags_1m0m} -DYIDIAN_XSSSA05
  1702. monitor_speed = 115200
  1703. extra_scripts = ${common.extra_scripts}
  1704. [env:yidian-xsssa05-ota]
  1705. platform = ${common.platform}
  1706. framework = arduino
  1707. board = esp01_1m
  1708. board_build.flash_mode = dout
  1709. lib_deps = ${common.lib_deps}
  1710. lib_ignore = ${common.lib_ignore}
  1711. build_flags = ${common.build_flags_1m0m} -DYIDIAN_XSSSA05
  1712. upload_speed = 115200
  1713. upload_port = "${env.ESPURNA_IP}"
  1714. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1715. extra_scripts = ${common.extra_scripts}
  1716. [env:tonbux-xsssa06]
  1717. platform = ${common.platform}
  1718. framework = arduino
  1719. board = esp01_1m
  1720. board_build.flash_mode = dout
  1721. lib_deps = ${common.lib_deps}
  1722. lib_ignore = ${common.lib_ignore}
  1723. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  1724. monitor_speed = 115200
  1725. extra_scripts = ${common.extra_scripts}
  1726. [env:tonbux-xsssa06-ota]
  1727. platform = ${common.platform}
  1728. framework = arduino
  1729. board = esp01_1m
  1730. board_build.flash_mode = dout
  1731. lib_deps = ${common.lib_deps}
  1732. lib_ignore = ${common.lib_ignore}
  1733. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  1734. upload_speed = 115200
  1735. upload_port = "${env.ESPURNA_IP}"
  1736. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1737. extra_scripts = ${common.extra_scripts}
  1738. [env:green-esp8266relay]
  1739. platform = ${common.platform}
  1740. framework = arduino
  1741. board = esp12e
  1742. board_build.flash_mode = dout
  1743. lib_deps = ${common.lib_deps}
  1744. lib_ignore = ${common.lib_ignore}
  1745. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  1746. monitor_speed = 115200
  1747. extra_scripts = ${common.extra_scripts}
  1748. [env:green-esp8266relay-ota]
  1749. platform = ${common.platform}
  1750. framework = arduino
  1751. board = esp12e
  1752. board_build.flash_mode = dout
  1753. lib_deps = ${common.lib_deps}
  1754. lib_ignore = ${common.lib_ignore}
  1755. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  1756. upload_speed = 115200
  1757. upload_port = "${env.ESPURNA_IP}"
  1758. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1759. extra_scripts = ${common.extra_scripts}
  1760. [env:ike-espike]
  1761. platform = ${common.platform}
  1762. framework = arduino
  1763. board = esp12e
  1764. board_build.flash_mode = dout
  1765. lib_deps = ${common.lib_deps}
  1766. lib_ignore = ${common.lib_ignore}
  1767. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  1768. monitor_speed = 115200
  1769. extra_scripts = ${common.extra_scripts}
  1770. [env:ike-espike-ota]
  1771. platform = ${common.platform}
  1772. framework = arduino
  1773. board = esp12e
  1774. board_build.flash_mode = dout
  1775. lib_deps = ${common.lib_deps}
  1776. lib_ignore = ${common.lib_ignore}
  1777. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  1778. upload_speed = 115200
  1779. upload_port = "${env.ESPURNA_IP}"
  1780. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1781. extra_scripts = ${common.extra_scripts}
  1782. [env:arniex-swifitch]
  1783. platform = ${common.platform}
  1784. framework = arduino
  1785. board = esp12e
  1786. board_build.flash_mode = dout
  1787. lib_deps = ${common.lib_deps}
  1788. lib_ignore = ${common.lib_ignore}
  1789. build_flags = ${common.build_flags_1m0m} -DARNIEX_SWIFITCH
  1790. extra_scripts = ${common.extra_scripts}
  1791. monitor_speed = 115200
  1792. [env:arniex-swifitch-ota]
  1793. platform = ${common.platform}
  1794. framework = arduino
  1795. board = esp12e
  1796. board_build.flash_mode = dout
  1797. lib_deps = ${common.lib_deps}
  1798. lib_ignore = ${common.lib_ignore}
  1799. build_flags = ${common.build_flags_1m0m} -DARNIEX_SWIFITCH
  1800. upload_speed = 115200
  1801. upload_port = "${env.ESPURNA_IP}"
  1802. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1803. extra_scripts = ${common.extra_scripts}
  1804. [env:zhilde-eu44-w]
  1805. platform = ${common.platform}
  1806. framework = arduino
  1807. board = esp01_1m
  1808. board_build.flash_mode = dout
  1809. lib_deps = ${common.lib_deps}
  1810. lib_ignore = ${common.lib_ignore}
  1811. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  1812. monitor_speed = 115200
  1813. extra_scripts = ${common.extra_scripts}
  1814. [env:zhilde-eu44-w-ota]
  1815. platform = ${common.platform}
  1816. framework = arduino
  1817. board = esp01_1m
  1818. board_build.flash_mode = dout
  1819. lib_deps = ${common.lib_deps}
  1820. lib_ignore = ${common.lib_ignore}
  1821. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  1822. upload_speed = 115200
  1823. upload_port = "${env.ESPURNA_IP}"
  1824. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1825. monitor_speed = 115200
  1826. extra_scripts = ${common.extra_scripts}
  1827. [env:luani-hvio]
  1828. platform = ${common.platform}
  1829. framework = arduino
  1830. board = esp07
  1831. board_build.flash_mode = dout
  1832. lib_deps = ${common.lib_deps}
  1833. lib_ignore = ${common.lib_ignore}
  1834. build_flags = ${common.build_flags_1m0m} -DLUANI_HVIO
  1835. monitor_speed = 115200
  1836. extra_scripts = ${common.extra_scripts}
  1837. [env:luani-hvio-ota]
  1838. platform = ${common.platform}
  1839. framework = arduino
  1840. board = esp07
  1841. board_build.flash_mode = dout
  1842. lib_deps = ${common.lib_deps}
  1843. lib_ignore = ${common.lib_ignore}
  1844. build_flags = ${common.build_flags_1m0m} -DZLUANI_HVIO
  1845. upload_speed = 115200
  1846. upload_port = "${env.ESPURNA_IP}"
  1847. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1848. monitor_speed = 115200
  1849. extra_scripts = ${common.extra_scripts}
  1850. [env:neo-coolcam-power-plug-wifi]
  1851. platform = ${common.platform}
  1852. framework = arduino
  1853. board = esp01_1m
  1854. board_build.flash_mode = dout
  1855. lib_deps = ${common.lib_deps}
  1856. lib_ignore = ${common.lib_ignore}
  1857. build_flags = ${common.build_flags_4m1m} -DNEO_COOLCAM_NAS_WR01W
  1858. monitor_speed = 115200
  1859. extra_scripts = ${common.extra_scripts}
  1860. [env:neo-coolcam-power-plug-wifi-ota]
  1861. platform = ${common.platform}
  1862. framework = arduino
  1863. board = esp01_1m
  1864. board_build.flash_mode = dout
  1865. lib_deps = ${common.lib_deps}
  1866. lib_ignore = ${common.lib_ignore}
  1867. build_flags = ${common.build_flags_4m1m} -DNEO_COOLCAM_NAS_WR01W
  1868. upload_speed = 115200
  1869. upload_port = "${env.ESPURNA_IP}"
  1870. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1871. extra_scripts = ${common.extra_scripts}
  1872. [env:estink-wifi-power-strip]
  1873. platform = ${common.platform}
  1874. framework = arduino
  1875. board = esp01_1m
  1876. board_build.flash_mode = dout
  1877. lib_deps = ${common.lib_deps}
  1878. lib_ignore = ${common.lib_ignore}
  1879. build_flags = ${common.build_flags_4m1m} -DESTINK_WIFI_POWER_STRIP
  1880. monitor_speed = 115200
  1881. extra_scripts = ${common.extra_scripts}
  1882. [env:estink-wifi-power-strip-ota]
  1883. platform = ${common.platform}
  1884. framework = arduino
  1885. board = esp01_1m
  1886. board_build.flash_mode = dout
  1887. lib_deps = ${common.lib_deps}
  1888. lib_ignore = ${common.lib_ignore}
  1889. build_flags = ${common.build_flags_4m1m} -DESTINK_WIFI_POWER_STRIP
  1890. upload_speed = 115200
  1891. upload_port = "${env.ESPURNA_IP}"
  1892. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1893. extra_scripts = ${common.extra_scripts}
  1894. # ------------------------------------------------------------------------------
  1895. # GENERIC OTA ENVIRONMENTS
  1896. # ------------------------------------------------------------------------------
  1897. [env:generic-esp01s-relay-40]
  1898. platform = ${common.platform}
  1899. framework = arduino
  1900. board = esp01_1m
  1901. board_build.flash_mode = dout
  1902. lib_deps = ${common.lib_deps}
  1903. lib_ignore = ${common.lib_ignore}
  1904. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  1905. monitor_speed = 115200
  1906. extra_scripts = ${common.extra_scripts}
  1907. [env:generic-esp01s-relay-40-ota]
  1908. platform = ${common.platform}
  1909. framework = arduino
  1910. board = esp01_1m
  1911. board_build.flash_mode = dout
  1912. lib_deps = ${common.lib_deps}
  1913. lib_ignore = ${common.lib_ignore}
  1914. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  1915. upload_speed = 115200
  1916. upload_port = "${env.ESPURNA_IP}"
  1917. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1918. extra_scripts = ${common.extra_scripts}
  1919. [env:generic-esp01s-rgbled-10]
  1920. platform = ${common.platform}
  1921. framework = arduino
  1922. board = esp01_1m
  1923. board_build.flash_mode = dout
  1924. lib_deps = ${common.lib_deps}
  1925. lib_ignore = ${common.lib_ignore}
  1926. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  1927. monitor_speed = 115200
  1928. extra_scripts = ${common.extra_scripts}
  1929. [env:generic-esp01s-rgbled-10-ota]
  1930. platform = ${common.platform}
  1931. framework = arduino
  1932. board = esp01_1m
  1933. board_build.flash_mode = dout
  1934. lib_deps = ${common.lib_deps}
  1935. lib_ignore = ${common.lib_ignore}
  1936. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  1937. upload_speed = 115200
  1938. upload_port = "${env.ESPURNA_IP}"
  1939. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1940. extra_scripts = ${common.extra_scripts}
  1941. [env:generic-esp01s-dht11-10]
  1942. platform = ${common.platform}
  1943. framework = arduino
  1944. board = esp01_1m
  1945. board_build.flash_mode = dout
  1946. lib_deps = ${common.lib_deps}
  1947. lib_ignore = ${common.lib_ignore}
  1948. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  1949. monitor_speed = 115200
  1950. extra_scripts = ${common.extra_scripts}
  1951. [env:generic-esp01s-dht11-10-ota]
  1952. platform = ${common.platform}
  1953. framework = arduino
  1954. board = esp01_1m
  1955. board_build.flash_mode = dout
  1956. lib_deps = ${common.lib_deps}
  1957. lib_ignore = ${common.lib_ignore}
  1958. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  1959. upload_speed = 115200
  1960. upload_port = "${env.ESPURNA_IP}"
  1961. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1962. extra_scripts = ${common.extra_scripts}
  1963. [env:generic-esp01s-ds18b20-10]
  1964. platform = ${common.platform}
  1965. framework = arduino
  1966. board = esp01_1m
  1967. board_build.flash_mode = dout
  1968. lib_deps = ${common.lib_deps}
  1969. lib_ignore = ${common.lib_ignore}
  1970. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  1971. monitor_speed = 115200
  1972. extra_scripts = ${common.extra_scripts}
  1973. [env:generic-esp01s-ds18b20-10-ota]
  1974. platform = ${common.platform}
  1975. framework = arduino
  1976. board = esp01_1m
  1977. board_build.flash_mode = dout
  1978. lib_deps = ${common.lib_deps}
  1979. lib_ignore = ${common.lib_ignore}
  1980. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  1981. upload_speed = 115200
  1982. upload_port = "${env.ESPURNA_IP}"
  1983. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1984. extra_scripts = ${common.extra_scripts}
  1985. [env:heltec-touch-relay]
  1986. platform = ${common.platform}
  1987. framework = arduino
  1988. board = esp01_1m
  1989. board_build.flash_mode = dout
  1990. lib_deps = ${common.lib_deps}
  1991. lib_ignore = ${common.lib_ignore}
  1992. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  1993. monitor_speed = 115200
  1994. extra_scripts = ${common.extra_scripts}
  1995. [env:heltec-touch-relay-ota]
  1996. platform = ${common.platform}
  1997. framework = arduino
  1998. board = esp01_1m
  1999. board_build.flash_mode = dout
  2000. lib_deps = ${common.lib_deps}
  2001. lib_ignore = ${common.lib_ignore}
  2002. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  2003. upload_speed = 115200
  2004. upload_port = "${env.ESPURNA_IP}"
  2005. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2006. extra_scripts = ${common.extra_scripts}
  2007. [env:allnet-4duino-iot-wlan-relais]
  2008. platform = ${common.platform}
  2009. framework = arduino
  2010. board = esp12e
  2011. board_build.flash_mode = dout
  2012. lib_deps = ${common.lib_deps}
  2013. lib_ignore = ${common.lib_ignore}
  2014. build_flags = ${common.build_flags_1m0m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  2015. monitor_speed = 115200
  2016. extra_scripts = ${common.extra_scripts}
  2017. [env:allnet-4duino-iot-wlan-relais-ota]
  2018. platform = ${common.platform}
  2019. framework = arduino
  2020. board = esp12e
  2021. board_build.flash_mode = dout
  2022. lib_deps = ${common.lib_deps}
  2023. lib_ignore = ${common.lib_ignore}
  2024. build_flags = ${common.build_flags_1m0m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  2025. upload_speed = 115200
  2026. upload_port = "${env.ESPURNA_IP}"
  2027. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2028. extra_scripts = ${common.extra_scripts}
  2029. [env:tonbux-mosquito-killer]
  2030. platform = ${common.platform}
  2031. framework = arduino
  2032. board = esp01_1m
  2033. board_build.flash_mode = dout
  2034. lib_deps = ${common.lib_deps}
  2035. lib_ignore = ${common.lib_ignore}
  2036. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  2037. monitor_speed = 115200
  2038. extra_scripts = ${common.extra_scripts}
  2039. [env:tonbux-mosquito-killer-ota]
  2040. platform = ${common.platform}
  2041. framework = arduino
  2042. board = esp01_1m
  2043. board_build.flash_mode = dout
  2044. lib_deps = ${common.lib_deps}
  2045. lib_ignore = ${common.lib_ignore}
  2046. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  2047. upload_speed = 115200
  2048. upload_port = "${env.ESPURNA_IP}"
  2049. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2050. extra_scripts = ${common.extra_scripts}
  2051. [env:pilotak-esp-din-v1]
  2052. platform = ${common.platform}
  2053. framework = arduino
  2054. board = esp01_1m
  2055. board_build.flash_mode = dout
  2056. lib_deps = ${common.lib_deps}
  2057. lib_ignore = ${common.lib_ignore}
  2058. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  2059. monitor_speed = 115200
  2060. extra_scripts = ${common.extra_scripts}
  2061. [env:pilotak-esp-din-v1-ota]
  2062. platform = ${common.platform}
  2063. framework = arduino
  2064. board = esp01_1m
  2065. board_build.flash_mode = dout
  2066. lib_deps = ${common.lib_deps}
  2067. lib_ignore = ${common.lib_ignore}
  2068. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  2069. upload_speed = 115200
  2070. upload_port = "${env.ESPURNA_IP}"
  2071. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2072. extra_scripts = ${common.extra_scripts}
  2073. [env:nodemcu-geiger]
  2074. platform = ${common.platform}
  2075. framework = arduino
  2076. board = nodemcu
  2077. board_build.flash_mode = dout
  2078. lib_deps = ${common.lib_deps}
  2079. lib_ignore = ${common.lib_ignore}
  2080. build_flags = ${common.build_flags_1m0m} -DNODEMCU_BASIC -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
  2081. upload_speed = 460800
  2082. monitor_speed = 115200
  2083. extra_scripts = ${common.extra_scripts}
  2084. [env:nodemcu-geiger-ota]
  2085. platform = ${common.platform}
  2086. framework = arduino
  2087. board = nodemcu
  2088. board_build.flash_mode = dout
  2089. lib_deps = ${common.lib_deps}
  2090. lib_ignore = ${common.lib_ignore}
  2091. build_flags = ${common.build_flags_1m0m} -DNODEMCU_BASIC -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
  2092. upload_speed = 460800
  2093. monitor_speed = 115200
  2094. upload_port = "${env.ESPURNA_IP}"
  2095. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2096. extra_scripts = ${common.extra_scripts}
  2097. [env:blitzwolf-bwshp2]
  2098. platform = ${common.platform}
  2099. framework = arduino
  2100. board = esp01_1m
  2101. board_build.flash_mode = dout
  2102. lib_deps = ${common.lib_deps}
  2103. lib_ignore = ${common.lib_ignore}
  2104. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHP2
  2105. upload_speed = 115200
  2106. monitor_speed = 115200
  2107. extra_scripts = ${common.extra_scripts}
  2108. [env:blitzwolf-bwshp2-ota]
  2109. platform = ${common.platform}
  2110. framework = arduino
  2111. board = esp01_1m
  2112. board_build.flash_mode = dout
  2113. lib_deps = ${common.lib_deps}
  2114. lib_ignore = ${common.lib_ignore}
  2115. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHP2
  2116. upload_speed = 115200
  2117. monitor_speed = 115200
  2118. upload_port = "${env.ESPURNA_IP}"
  2119. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2120. extra_scripts = ${common.extra_scripts}
  2121. [env:bh-onofre]
  2122. platform = ${common.platform}
  2123. framework = arduino
  2124. board = esp12e
  2125. board_build.flash_mode = dout
  2126. lib_deps = ${common.lib_deps}
  2127. lib_ignore = ${common.lib_ignore}
  2128. build_flags = ${common.build_flags_1m0m} -DBH_ONOFRE
  2129. upload_speed = 460800
  2130. monitor_speed = 115200
  2131. extra_scripts = ${common.extra_scripts}
  2132. [env:bh-onofre-ota]
  2133. platform = ${common.platform}
  2134. framework = arduino
  2135. board = esp12e
  2136. board_build.flash_mode = dout
  2137. lib_deps = ${common.lib_deps}
  2138. lib_ignore = ${common.lib_ignore}
  2139. build_flags = ${common.build_flags_1m0m} -DBH_ONOFRE
  2140. upload_speed = 460800
  2141. monitor_speed = 115200
  2142. upload_port = "${env.ESPURNA_IP}"
  2143. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2144. extra_scripts = ${common.extra_scripts}