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.

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