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.

2031 lines
58 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. # ------------------------------------------------------------------------------
  659. [env:itead-slampher]
  660. platform = ${common.platform}
  661. framework = arduino
  662. board = esp01_1m
  663. board_flash_mode = dout
  664. lib_deps = ${common.lib_deps}
  665. lib_ignore = ${common.lib_ignore}
  666. build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
  667. monitor_baud = 115200
  668. extra_scripts = ${common.extra_scripts}
  669. [env:itead-slampher-ota]
  670. platform = ${common.platform}
  671. framework = arduino
  672. board = esp01_1m
  673. board_flash_mode = dout
  674. lib_deps = ${common.lib_deps}
  675. lib_ignore = ${common.lib_ignore}
  676. build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
  677. upload_speed = 115200
  678. upload_port = ${common.upload_port}
  679. upload_flags = ${common.upload_flags}
  680. monitor_baud = 115200
  681. extra_scripts = ${common.extra_scripts}
  682. [env:itead-s20]
  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_S20
  690. monitor_baud = 115200
  691. extra_scripts = ${common.extra_scripts}
  692. [env:itead-s20-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_S20
  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-1ch-inching]
  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_1CH_INCHING
  713. monitor_baud = 115200
  714. extra_scripts = ${common.extra_scripts}
  715. [env:itead-1ch-inching-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_1CH_INCHING
  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-motor]
  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_MOTOR
  736. monitor_baud = 115200
  737. extra_scripts = ${common.extra_scripts}
  738. [env:itead-motor-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_MOTOR
  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-sonoff-sv]
  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_SONOFF_SV
  759. monitor_baud = 115200
  760. extra_scripts = ${common.extra_scripts}
  761. [env:itead-sonoff-sv-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_SONOFF_SV
  769. upload_port = ${common.upload_port}
  770. upload_flags = ${common.upload_flags}
  771. monitor_baud = 115200
  772. extra_scripts = ${common.extra_scripts}
  773. [env:itead-sonoff-s31]
  774. platform = ${common.platform}
  775. framework = arduino
  776. board = esp01_1m
  777. board_flash_mode = dout
  778. lib_deps = ${common.lib_deps}
  779. lib_ignore = ${common.lib_ignore}
  780. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_S31
  781. monitor_baud = 115200
  782. extra_scripts = ${common.extra_scripts}
  783. [env:itead-sonoff-s31-ota]
  784. platform = ${common.platform}
  785. framework = arduino
  786. board = esp01_1m
  787. board_flash_mode = dout
  788. lib_deps = ${common.lib_deps}
  789. lib_ignore = ${common.lib_ignore}
  790. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_S31
  791. upload_port = "192.168.4.1"
  792. upload_flags = --auth=fibonacci --port 8266
  793. monitor_baud = 115200
  794. extra_scripts = ${common.extra_scripts}
  795. # ------------------------------------------------------------------------------
  796. [env:electrodragon-wifi-iot]
  797. platform = ${common.platform}
  798. framework = arduino
  799. board = esp12e
  800. lib_deps = ${common.lib_deps}
  801. lib_ignore = ${common.lib_ignore}
  802. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  803. monitor_baud = 115200
  804. extra_scripts = ${common.extra_scripts}
  805. [env:electrodragon-wifi-iot-ota]
  806. platform = ${common.platform}
  807. framework = arduino
  808. board = esp12e
  809. lib_deps = ${common.lib_deps}
  810. lib_ignore = ${common.lib_ignore}
  811. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  812. upload_speed = 115200
  813. upload_port = ${common.upload_port}
  814. upload_flags = ${common.upload_flags}
  815. monitor_baud = 115200
  816. extra_scripts = ${common.extra_scripts}
  817. [env:workchoice-ecoplug]
  818. platform = ${common.platform}
  819. framework = arduino
  820. board = esp01_1m
  821. board_flash_mode = dout
  822. lib_deps = ${common.lib_deps}
  823. lib_ignore = ${common.lib_ignore}
  824. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  825. monitor_baud = 115200
  826. extra_scripts = ${common.extra_scripts}
  827. [env:workchoice-ecoplug-ota]
  828. platform = ${common.platform}
  829. framework = arduino
  830. board = esp01_1m
  831. board_flash_mode = dout
  832. lib_deps = ${common.lib_deps}
  833. lib_ignore = ${common.lib_ignore}
  834. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  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:jangoe-wifi-relay-nc]
  841. platform = ${common.platform}
  842. framework = arduino
  843. board = esp12e
  844. lib_deps = ${common.lib_deps}
  845. lib_ignore = ${common.lib_ignore}
  846. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  847. monitor_baud = 115200
  848. extra_scripts = ${common.extra_scripts}
  849. [env:jangoe-wifi-relay-nc-ota]
  850. platform = ${common.platform}
  851. framework = arduino
  852. board = esp12e
  853. lib_deps = ${common.lib_deps}
  854. lib_ignore = ${common.lib_ignore}
  855. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  856. upload_speed = 115200
  857. upload_port = ${common.upload_port}
  858. upload_flags = ${common.upload_flags}
  859. monitor_baud = 115200
  860. extra_scripts = ${common.extra_scripts}
  861. [env:jangoe-wifi-relay-no]
  862. platform = ${common.platform}
  863. framework = arduino
  864. board = esp12e
  865. lib_deps = ${common.lib_deps}
  866. lib_ignore = ${common.lib_ignore}
  867. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  868. monitor_baud = 115200
  869. extra_scripts = ${common.extra_scripts}
  870. [env:jangoe-wifi-relay-no-ota]
  871. platform = ${common.platform}
  872. framework = arduino
  873. board = esp12e
  874. lib_deps = ${common.lib_deps}
  875. lib_ignore = ${common.lib_ignore}
  876. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  877. upload_speed = 115200
  878. upload_port = ${common.upload_port}
  879. upload_flags = ${common.upload_flags}
  880. monitor_baud = 115200
  881. extra_scripts = ${common.extra_scripts}
  882. [env:openenergymonitor-mqtt-relay]
  883. platform = ${common.platform}
  884. framework = arduino
  885. board = esp_wroom_02
  886. lib_deps = ${common.lib_deps}
  887. lib_ignore = ${common.lib_ignore}
  888. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  889. monitor_baud = 115200
  890. extra_scripts = ${common.extra_scripts}
  891. [env:openenergymonitor-mqtt-relay-ota]
  892. platform = ${common.platform}
  893. framework = arduino
  894. board = esp_wroom_02
  895. lib_deps = ${common.lib_deps}
  896. lib_ignore = ${common.lib_ignore}
  897. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  898. upload_speed = 115200
  899. upload_port = ${common.upload_port}
  900. upload_flags = ${common.upload_flags}
  901. monitor_baud = 115200
  902. extra_scripts = ${common.extra_scripts}
  903. [env:jorgegarcia-wifi-relays]
  904. platform = ${common.platform}
  905. framework = arduino
  906. board = esp01_1m
  907. lib_deps = ${common.lib_deps}
  908. lib_ignore = ${common.lib_ignore}
  909. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  910. monitor_baud = 115200
  911. extra_scripts = ${common.extra_scripts}
  912. [env:jorgegarcia-wifi-relays-ota]
  913. platform = ${common.platform}
  914. framework = arduino
  915. board = esp01_1m
  916. lib_deps = ${common.lib_deps}
  917. lib_ignore = ${common.lib_ignore}
  918. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  919. upload_speed = 115200
  920. upload_port = ${common.upload_port}
  921. upload_flags = ${common.upload_flags}
  922. monitor_baud = 115200
  923. extra_scripts = ${common.extra_scripts}
  924. [env:aithinker-ai-light]
  925. platform = ${common.platform}
  926. framework = arduino
  927. board = esp01_1m
  928. board_flash_mode = dout
  929. lib_deps = ${common.lib_deps}
  930. lib_ignore = ${common.lib_ignore}
  931. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  932. monitor_baud = 115200
  933. extra_scripts = ${common.extra_scripts}
  934. [env:aithinker-ai-light-ota]
  935. platform = ${common.platform}
  936. framework = arduino
  937. board = esp01_1m
  938. board_flash_mode = dout
  939. lib_deps = ${common.lib_deps}
  940. lib_ignore = ${common.lib_ignore}
  941. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  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:magichome-led-controller]
  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} -DMAGICHOME_LED_CONTROLLER
  955. monitor_baud = 115200
  956. extra_scripts = ${common.extra_scripts}
  957. [env:magichome-led-controller-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} -DMAGICHOME_LED_CONTROLLER
  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-20]
  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_20
  978. monitor_baud = 115200
  979. extra_scripts = ${common.extra_scripts}
  980. [env:magichome-led-controller-20-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_20
  988. upload_port = ${common.upload_port}
  989. upload_flags = ${common.upload_flags}
  990. monitor_baud = 115200
  991. extra_scripts = ${common.extra_scripts}
  992. [env:huacanxing-h801]
  993. platform = ${common.platform}
  994. framework = arduino
  995. board = esp01_1m
  996. board_flash_mode = dout
  997. lib_deps = ${common.lib_deps}
  998. lib_ignore = ${common.lib_ignore}
  999. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  1000. monitor_baud = 115200
  1001. extra_scripts = ${common.extra_scripts}
  1002. [env:huacanxing-h801-ota]
  1003. platform = ${common.platform}
  1004. framework = arduino
  1005. board = esp01_1m
  1006. board_flash_mode = dout
  1007. lib_deps = ${common.lib_deps}
  1008. lib_ignore = ${common.lib_ignore}
  1009. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  1010. upload_speed = 115200
  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-h802]
  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_H802
  1023. monitor_baud = 115200
  1024. extra_scripts = ${common.extra_scripts}
  1025. [env:huacanxing-h802-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_H802
  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:arilux-al-lc01]
  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 -DARILUX_AL_LC01
  1046. monitor_baud = 115200
  1047. extra_scripts = ${common.extra_scripts}
  1048. [env:arilux-al-lc01-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 -DARILUX_AL_LC01
  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-lc02]
  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_LC02
  1069. monitor_baud = 115200
  1070. extra_scripts = ${common.extra_scripts}
  1071. [env:arilux-al-lc02-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_LC02
  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-lc06]
  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_LC06
  1092. monitor_baud = 115200
  1093. extra_scripts = ${common.extra_scripts}
  1094. [env:arilux-al-lc06-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_LC06
  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-lc11]
  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_LC11
  1115. monitor_baud = 115200
  1116. extra_scripts = ${common.extra_scripts}
  1117. [env:arilux-al-lc11-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_LC11
  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-e27]
  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_E27
  1138. monitor_baud = 115200
  1139. extra_scripts = ${common.extra_scripts}
  1140. [env:arilux-e27-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_E27
  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:itead-bnsz01]
  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 = ${common.build_flags_1m} -DITEAD_BNSZ01
  1161. monitor_baud = 115200
  1162. extra_scripts = ${common.extra_scripts}
  1163. [env:itead-bnsz01-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 = ${common.build_flags_1m} -DITEAD_BNSZ01
  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:wion-50055]
  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} -DWION_50055
  1184. monitor_baud = 115200
  1185. extra_scripts = ${common.extra_scripts}
  1186. [env:wion-50055-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} -DWION_50055
  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:exs-wifi-relay-v31]
  1200. platform = ${common.platform}
  1201. framework = arduino
  1202. board = esp07
  1203. board_flash_mode = dout
  1204. lib_deps = ${common.lib_deps}
  1205. lib_ignore = ${common.lib_ignore}
  1206. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1207. monitor_baud = 115200
  1208. extra_scripts = ${common.extra_scripts}
  1209. [env:exs-wifi-relay-v31-ota]
  1210. platform = ${common.platform}
  1211. framework = arduino
  1212. board = esp07
  1213. board_flash_mode = dout
  1214. lib_deps = ${common.lib_deps}
  1215. lib_ignore = ${common.lib_ignore}
  1216. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  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:wemos-v9261f]
  1223. platform = ${common.platform}
  1224. framework = arduino
  1225. board = d1_mini
  1226. lib_deps = ${common.lib_deps}
  1227. lib_ignore = ${common.lib_ignore}
  1228. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1229. upload_speed = 460800
  1230. monitor_baud = 115200
  1231. extra_scripts = ${common.extra_scripts}
  1232. [env:wemos-v9261f-ota]
  1233. platform = ${common.platform}
  1234. framework = arduino
  1235. board = d1_mini
  1236. lib_deps = ${common.lib_deps}
  1237. lib_ignore = ${common.lib_ignore}
  1238. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1239. upload_speed = 115200
  1240. upload_port = ${common.upload_port}
  1241. upload_flags = ${common.upload_flags}
  1242. monitor_baud = 115200
  1243. extra_scripts = ${common.extra_scripts}
  1244. [env:esp01-v9261f]
  1245. platform = ${common.platform}
  1246. framework = arduino
  1247. board = esp01_1m
  1248. board_flash_mode = dout
  1249. lib_deps = ${common.lib_deps}
  1250. lib_ignore = ${common.lib_ignore}
  1251. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1252. monitor_baud = 115200
  1253. extra_scripts = ${common.extra_scripts}
  1254. [env:esp01-v9261f-ota]
  1255. platform = ${common.platform}
  1256. framework = arduino
  1257. board = esp01_1m
  1258. board_flash_mode = dout
  1259. lib_deps = ${common.lib_deps}
  1260. lib_ignore = ${common.lib_ignore}
  1261. build_flags = ${common.build_flags_1m} -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:wemos-ech1560]
  1268. platform = ${common.platform}
  1269. framework = arduino
  1270. board = d1_mini
  1271. lib_deps = ${common.lib_deps}
  1272. lib_ignore = ${common.lib_ignore}
  1273. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1274. upload_speed = 460800
  1275. monitor_baud = 115200
  1276. extra_scripts = ${common.extra_scripts}
  1277. [env:wemos-ech1560-ota]
  1278. platform = ${common.platform}
  1279. framework = arduino
  1280. board = d1_mini
  1281. lib_deps = ${common.lib_deps}
  1282. lib_ignore = ${common.lib_ignore}
  1283. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1284. upload_speed = 115200
  1285. upload_port = ${common.upload_port}
  1286. upload_flags = ${common.upload_flags}
  1287. monitor_baud = 115200
  1288. extra_scripts = ${common.extra_scripts}
  1289. [env:esp01-ech1560]
  1290. platform = ${common.platform}
  1291. framework = arduino
  1292. board = esp01_1m
  1293. board_flash_mode = dout
  1294. lib_deps = ${common.lib_deps}
  1295. lib_ignore = ${common.lib_ignore}
  1296. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1297. monitor_baud = 115200
  1298. extra_scripts = ${common.extra_scripts}
  1299. [env:esp01-ech1560-ota]
  1300. platform = ${common.platform}
  1301. framework = arduino
  1302. board = esp01_1m
  1303. board_flash_mode = dout
  1304. lib_deps = ${common.lib_deps}
  1305. lib_ignore = ${common.lib_ignore}
  1306. build_flags = ${common.build_flags_1m} -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:mancavemade-esplive]
  1313. platform = ${common.platform}
  1314. framework = arduino
  1315. board = d1_mini
  1316. lib_deps = ${common.lib_deps}
  1317. lib_ignore = ${common.lib_ignore}
  1318. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1319. upload_speed = 460800
  1320. monitor_baud = 115200
  1321. extra_scripts = ${common.extra_scripts}
  1322. [env:mancavemade-esplive-ota]
  1323. platform = ${common.platform}
  1324. framework = arduino
  1325. board = d1_mini
  1326. lib_deps = ${common.lib_deps}
  1327. lib_ignore = ${common.lib_ignore}
  1328. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1329. upload_speed = 460800
  1330. upload_port = ${common.upload_port}
  1331. upload_flags = ${common.upload_flags}
  1332. monitor_baud = 115200
  1333. extra_scripts = ${common.extra_scripts}
  1334. [env:intermittech-quinled]
  1335. platform = ${common.platform}
  1336. framework = arduino
  1337. board = esp01_1m
  1338. board_flash_mode = dout
  1339. lib_deps = ${common.lib_deps}
  1340. lib_ignore = ${common.lib_ignore}
  1341. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1342. monitor_baud = 115200
  1343. extra_scripts = ${common.extra_scripts}
  1344. [env:intermittech-quinled-ota]
  1345. platform = ${common.platform}
  1346. framework = arduino
  1347. board = esp01_1m
  1348. board_flash_mode = dout
  1349. lib_deps = ${common.lib_deps}
  1350. lib_ignore = ${common.lib_ignore}
  1351. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1352. upload_speed = 115200
  1353. upload_port = ${common.upload_port}
  1354. upload_flags = ${common.upload_flags}
  1355. monitor_baud = 115200
  1356. extra_scripts = ${common.extra_scripts}
  1357. [env:xenon-sm-pw702u]
  1358. platform = ${common.platform}
  1359. framework = arduino
  1360. board = esp12e
  1361. board_flash_mode = dout
  1362. lib_deps = ${common.lib_deps}
  1363. lib_ignore = ${common.lib_ignore}
  1364. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1365. monitor_baud = 115200
  1366. extra_scripts = ${common.extra_scripts}
  1367. [env:xenon-sm-pw702u-ota]
  1368. platform = ${common.platform}
  1369. framework = arduino
  1370. board = esp12e
  1371. board_flash_mode = dout
  1372. lib_deps = ${common.lib_deps}
  1373. lib_ignore = ${common.lib_ignore}
  1374. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  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:authometion-lyt8266]
  1381. platform = ${common.platform}
  1382. framework = arduino
  1383. board = esp01_1m
  1384. board_flash_mode = dout
  1385. lib_deps = ${common.lib_deps}
  1386. lib_ignore = ${common.lib_ignore}
  1387. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1388. monitor_baud = 115200
  1389. extra_scripts = ${common.extra_scripts}
  1390. [env:authometion-lyt8266-ota]
  1391. platform = ${common.platform}
  1392. framework = arduino
  1393. board = esp01_1m
  1394. board_flash_mode = dout
  1395. lib_deps = ${common.lib_deps}
  1396. lib_ignore = ${common.lib_ignore}
  1397. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  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:kmc-70011]
  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} -DKMC_70011
  1411. monitor_baud = 115200
  1412. extra_scripts = ${common.extra_scripts}
  1413. [env:kmc-70011-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} -DKMC_70011
  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:yjzk-switch-2ch]
  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} -DYJZK_SWITCH_2CH
  1434. monitor_baud = 115200
  1435. extra_scripts = ${common.extra_scripts}
  1436. [env:yjzk-switch-2ch-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} -DYJZK_SWITCH_2CH
  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:generic-8ch]
  1450. platform = ${common.platform}
  1451. framework = arduino
  1452. board = d1_mini
  1453. lib_deps = ${common.lib_deps}
  1454. lib_ignore = ${common.lib_ignore}
  1455. build_flags = ${common.build_flags} -DGENERIC_8CH
  1456. upload_speed = 460800
  1457. monitor_baud = 115200
  1458. extra_scripts = ${common.extra_scripts}
  1459. [env:gizwits-witty-cloud]
  1460. platform = ${common.platform}
  1461. framework = arduino
  1462. board = esp12e
  1463. board_flash_mode = dout
  1464. lib_deps = ${common.lib_deps}
  1465. lib_ignore = ${common.lib_ignore}
  1466. build_flags = ${common.build_flags} -DGIZWITS_WITTY_CLOUD
  1467. monitor_baud = 115200
  1468. extra_scripts = ${common.extra_scripts}
  1469. [env:gizwits-witty-cloud-ota]
  1470. platform = ${common.platform}
  1471. framework = arduino
  1472. board = esp12e
  1473. board_flash_mode = dout
  1474. lib_deps = ${common.lib_deps}
  1475. lib_ignore = ${common.lib_ignore}
  1476. build_flags = ${common.build_flags} -DGIZWITS_WITTY_CLOUD
  1477. upload_speed = 115200
  1478. upload_port = "${env.ESPURNA_IP}"
  1479. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1480. extra_scripts = ${common.extra_scripts}
  1481. [env:euromate-wifi-stecker-shuko]
  1482. platform = ${common.platform}
  1483. framework = arduino
  1484. board = esp01_1m
  1485. board_flash_mode = dout
  1486. lib_deps = ${common.lib_deps}
  1487. lib_ignore = ${common.lib_ignore}
  1488. build_flags = ${common.build_flags} -DEUROMATE_WIFI_STECKER_SCHUKO
  1489. monitor_baud = 115200
  1490. extra_scripts = ${common.extra_scripts}
  1491. [env:euromate-wifi-stecker-shuko-ota]
  1492. platform = ${common.platform}
  1493. framework = arduino
  1494. board = esp01_1m
  1495. board_flash_mode = dout
  1496. lib_deps = ${common.lib_deps}
  1497. lib_ignore = ${common.lib_ignore}
  1498. build_flags = ${common.build_flags} -DEUROMATE_WIFI_STECKER_SCHUKO
  1499. upload_speed = 115200
  1500. upload_port = "${env.ESPURNA_IP}"
  1501. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1502. extra_scripts = ${common.extra_scripts}
  1503. [env:tonbux-powerstrip02]
  1504. platform = ${common.platform}
  1505. framework = arduino
  1506. board = esp01_1m
  1507. board_flash_mode = dout
  1508. lib_deps = ${common.lib_deps}
  1509. lib_ignore = ${common.lib_ignore}
  1510. build_flags = ${common.build_flags} -DTONBUX_POWERSTRIP02
  1511. monitor_baud = 115200
  1512. extra_scripts = ${common.extra_scripts}
  1513. [env:tonbux-powerstrip02-ota]
  1514. platform = ${common.platform}
  1515. framework = arduino
  1516. board = esp01_1m
  1517. board_flash_mode = dout
  1518. lib_deps = ${common.lib_deps}
  1519. lib_ignore = ${common.lib_ignore}
  1520. build_flags = ${common.build_flags} -DTONBUX_POWERSTRIP02
  1521. upload_speed = 115200
  1522. upload_port = "${env.ESPURNA_IP}"
  1523. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1524. extra_scripts = ${common.extra_scripts}
  1525. [env:lingan-swa1]
  1526. platform = ${common.platform}
  1527. framework = arduino
  1528. board = esp01_1m
  1529. board_flash_mode = dout
  1530. lib_deps = ${common.lib_deps}
  1531. lib_ignore = ${common.lib_ignore}
  1532. build_flags = ${common.build_flags} -DLINGAN_SWA1
  1533. monitor_baud = 115200
  1534. extra_scripts = ${common.extra_scripts}
  1535. [env:lingan-swa1-ota]
  1536. platform = ${common.platform}
  1537. framework = arduino
  1538. board = esp01_1m
  1539. board_flash_mode = dout
  1540. lib_deps = ${common.lib_deps}
  1541. lib_ignore = ${common.lib_ignore}
  1542. build_flags = ${common.build_flags} -DLINGAN_SWA1
  1543. upload_speed = 115200
  1544. upload_port = "${env.ESPURNA_IP}"
  1545. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1546. extra_scripts = ${common.extra_scripts}
  1547. [env:stm-relay]
  1548. platform = ${common.platform}
  1549. framework = arduino
  1550. board = esp01_1m
  1551. board_flash_mode = dout
  1552. lib_deps = ${common.lib_deps}
  1553. lib_ignore = ${common.lib_ignore}
  1554. build_flags = ${common.build_flags_1m} -DSTM_RELAY
  1555. monitor_baud = 115200
  1556. extra_scripts = ${common.extra_scripts}
  1557. [env:stm-relay-ota]
  1558. platform = ${common.platform}
  1559. framework = arduino
  1560. board = esp01_1m
  1561. board_flash_mode = dout
  1562. lib_deps = ${common.lib_deps}
  1563. lib_ignore = ${common.lib_ignore}
  1564. build_flags = ${common.build_flags_1m} -DSTM_RELAY
  1565. upload_speed = 115200
  1566. upload_port = ${common.upload_port}
  1567. upload_flags = ${common.upload_flags}
  1568. monitor_baud = 115200
  1569. extra_scripts = ${common.extra_scripts}
  1570. [env:heygo-hy02]
  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} -DHEYGO_HY02
  1578. monitor_baud = 115200
  1579. extra_scripts = ${common.extra_scripts}
  1580. [env:heygo-hy02-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} -DHEYGO_HY02
  1588. upload_speed = 115200
  1589. upload_port = "${env.ESPURNA_IP}"
  1590. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1591. extra_scripts = ${common.extra_scripts}
  1592. [env:maxcio-wus002s]
  1593. platform = ${common.platform}
  1594. framework = arduino
  1595. board = esp01_1m
  1596. board_flash_mode = dout
  1597. lib_deps = ${common.lib_deps}
  1598. lib_ignore = ${common.lib_ignore}
  1599. build_flags = ${common.build_flags_1m} -DMAXCIO_WUS002S
  1600. monitor_baud = 115200
  1601. extra_scripts = ${common.extra_scripts}
  1602. [env:maxcio-wus002s-ota]
  1603. platform = ${common.platform}
  1604. framework = arduino
  1605. board = esp01_1m
  1606. board_flash_mode = dout
  1607. lib_deps = ${common.lib_deps}
  1608. lib_ignore = ${common.lib_ignore}
  1609. build_flags = ${common.build_flags_1m} -DMAXCIO_WUS002S
  1610. upload_speed = 115200
  1611. upload_port = "${env.ESPURNA_IP}"
  1612. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1613. extra_scripts = ${common.extra_scripts}
  1614. [env:yidian-xsssa05]
  1615. platform = ${common.platform}
  1616. framework = arduino
  1617. board = esp01_1m
  1618. board_flash_mode = dout
  1619. lib_deps = ${common.lib_deps}
  1620. lib_ignore = ${common.lib_ignore}
  1621. build_flags = ${common.build_flags_1m} -DYIDIAN_XSSSA05
  1622. monitor_baud = 115200
  1623. extra_scripts = ${common.extra_scripts}
  1624. [env:yidian-xsssa05-ota]
  1625. platform = ${common.platform}
  1626. framework = arduino
  1627. board = esp01_1m
  1628. board_flash_mode = dout
  1629. lib_deps = ${common.lib_deps}
  1630. lib_ignore = ${common.lib_ignore}
  1631. build_flags = ${common.build_flags_1m} -DYIDIAN_XSSSA05
  1632. upload_speed = 115200
  1633. upload_port = "${env.ESPURNA_IP}"
  1634. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1635. extra_scripts = ${common.extra_scripts}
  1636. [env:tonbux-xsssa06]
  1637. platform = ${common.platform}
  1638. framework = arduino
  1639. board = esp01_1m
  1640. board_flash_mode = dout
  1641. lib_deps = ${common.lib_deps}
  1642. lib_ignore = ${common.lib_ignore}
  1643. build_flags = ${common.build_flags_1m} -DTONBUX_XSSSA06
  1644. monitor_baud = 115200
  1645. extra_scripts = ${common.extra_scripts}
  1646. [env:tonbux-xsssa06-ota]
  1647. platform = ${common.platform}
  1648. framework = arduino
  1649. board = esp01_1m
  1650. board_flash_mode = dout
  1651. lib_deps = ${common.lib_deps}
  1652. lib_ignore = ${common.lib_ignore}
  1653. build_flags = ${common.build_flags_1m} -DTONBUX_XSSSA06
  1654. upload_speed = 115200
  1655. upload_port = "${env.ESPURNA_IP}"
  1656. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1657. extra_scripts = ${common.extra_scripts}
  1658. [env:green-esp8266relay]
  1659. platform = ${common.platform}
  1660. framework = arduino
  1661. board = esp12e
  1662. board_flash_mode = dout
  1663. lib_deps = ${common.lib_deps}
  1664. lib_ignore = ${common.lib_ignore}
  1665. build_flags = ${common.build_flags} -DGREEN_ESP8266RELAY
  1666. monitor_baud = 115200
  1667. extra_scripts = ${common.extra_scripts}
  1668. [env:green-esp8266relay-ota]
  1669. platform = ${common.platform}
  1670. framework = arduino
  1671. board = esp12e
  1672. board_flash_mode = dout
  1673. lib_deps = ${common.lib_deps}
  1674. lib_ignore = ${common.lib_ignore}
  1675. build_flags = ${common.build_flags} -DGREEN_ESP8266RELAY
  1676. upload_speed = 115200
  1677. upload_port = "${env.ESPURNA_IP}"
  1678. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1679. extra_scripts = ${common.extra_scripts}
  1680. [env:ike-espike]
  1681. platform = ${common.platform}
  1682. framework = arduino
  1683. board = esp12e
  1684. board_flash_mode = dout
  1685. lib_deps = ${common.lib_deps}
  1686. lib_ignore = ${common.lib_ignore}
  1687. build_flags = ${common.build_flags} -DIKE_ESPIKE
  1688. monitor_baud = 115200
  1689. extra_scripts = ${common.extra_scripts}
  1690. [env:ike-espike-ota]
  1691. platform = ${common.platform}
  1692. framework = arduino
  1693. board = esp12e
  1694. board_flash_mode = dout
  1695. lib_deps = ${common.lib_deps}
  1696. lib_ignore = ${common.lib_ignore}
  1697. build_flags = ${common.build_flags} -DIKE_ESPIKE
  1698. upload_speed = 115200
  1699. upload_port = "${env.ESPURNA_IP}"
  1700. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1701. extra_scripts = ${common.extra_scripts}
  1702. [env:arniex-swifitch]
  1703. platform = ${common.platform}
  1704. framework = arduino
  1705. board = esp12e
  1706. board_flash_mode = dout
  1707. lib_deps = ${common.lib_deps}
  1708. lib_ignore = ${common.lib_ignore}
  1709. build_flags = ${common.build_flags_1m} -DARNIEX_SWIFITCH
  1710. extra_scripts = ${common.extra_scripts}
  1711. monitor_baud = 115200
  1712. [env:arniex-swifitch-ota]
  1713. platform = ${common.platform}
  1714. framework = arduino
  1715. board = esp12e
  1716. board_flash_mode = dout
  1717. lib_deps = ${common.lib_deps}
  1718. lib_ignore = ${common.lib_ignore}
  1719. build_flags = ${common.build_flags_1m} -DARNIEX_SWIFITCH
  1720. upload_speed = 115200
  1721. upload_port = "${env.ESPURNA_IP}"
  1722. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1723. extra_scripts = ${common.extra_scripts}
  1724. [env:zhilde-eu44-w]
  1725. platform = ${common.platform}
  1726. framework = arduino
  1727. board = esp01_1m
  1728. board_flash_mode = dout
  1729. lib_deps = ${common.lib_deps}
  1730. lib_ignore = ${common.lib_ignore}
  1731. build_flags = ${common.build_flags_1m} -DZHILDE_EU44_W
  1732. monitor_baud = 115200
  1733. extra_scripts = ${common.extra_scripts}
  1734. [env:zhilde-eu44-w-ota]
  1735. platform = ${common.platform}
  1736. framework = arduino
  1737. board = esp01_1m
  1738. board_flash_mode = dout
  1739. lib_deps = ${common.lib_deps}
  1740. lib_ignore = ${common.lib_ignore}
  1741. build_flags = ${common.build_flags_1m} -DZHILDE_EU44_W
  1742. upload_speed = 115200
  1743. upload_port = "192.168.4.1"
  1744. upload_flags = --auth=fibonacci --port 8266
  1745. monitor_baud = 115200
  1746. extra_scripts = ${common.extra_scripts}
  1747. # ------------------------------------------------------------------------------
  1748. # GENERIC OTA ENVIRONMENTS
  1749. # ------------------------------------------------------------------------------
  1750. [env:generic-esp01s-relay-40]
  1751. platform = ${common.platform}
  1752. framework = arduino
  1753. board = esp01_1m
  1754. board_flash_mode = dout
  1755. lib_deps = ${common.lib_deps}
  1756. lib_ignore = ${common.lib_ignore}
  1757. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_RELAY_V40
  1758. monitor_baud = 115200
  1759. extra_scripts = ${common.extra_scripts}
  1760. [env:generic-esp01s-relay-40-ota]
  1761. platform = ${common.platform}
  1762. framework = arduino
  1763. board = esp01_1m
  1764. board_flash_mode = dout
  1765. lib_deps = ${common.lib_deps}
  1766. lib_ignore = ${common.lib_ignore}
  1767. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_RELAY_V40
  1768. upload_speed = 115200
  1769. upload_port = "${env.ESPURNA_IP}"
  1770. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1771. extra_scripts = ${common.extra_scripts}
  1772. [env:generic-esp01s-rgbled-10]
  1773. platform = ${common.platform}
  1774. framework = arduino
  1775. board = esp01_1m
  1776. board_flash_mode = dout
  1777. lib_deps = ${common.lib_deps}
  1778. lib_ignore = ${common.lib_ignore}
  1779. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_RGBLED_V10
  1780. monitor_baud = 115200
  1781. extra_scripts = ${common.extra_scripts}
  1782. [env:generic-esp01s-rgbled-10-ota]
  1783. platform = ${common.platform}
  1784. framework = arduino
  1785. board = esp01_1m
  1786. board_flash_mode = dout
  1787. lib_deps = ${common.lib_deps}
  1788. lib_ignore = ${common.lib_ignore}
  1789. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_RGBLED_V10
  1790. upload_speed = 115200
  1791. upload_port = "${env.ESPURNA_IP}"
  1792. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1793. extra_scripts = ${common.extra_scripts}
  1794. [env:generic-esp01s-dht11-10]
  1795. platform = ${common.platform}
  1796. framework = arduino
  1797. board = esp01_1m
  1798. board_flash_mode = dout
  1799. lib_deps = ${common.lib_deps}
  1800. lib_ignore = ${common.lib_ignore}
  1801. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_DHT11_V10
  1802. monitor_baud = 115200
  1803. extra_scripts = ${common.extra_scripts}
  1804. [env:generic-esp01s-dht11-10-ota]
  1805. platform = ${common.platform}
  1806. framework = arduino
  1807. board = esp01_1m
  1808. board_flash_mode = dout
  1809. lib_deps = ${common.lib_deps}
  1810. lib_ignore = ${common.lib_ignore}
  1811. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_DHT11_V10
  1812. upload_speed = 115200
  1813. upload_port = "${env.ESPURNA_IP}"
  1814. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1815. extra_scripts = ${common.extra_scripts}
  1816. [env:generic-esp01s-ds18b20-10]
  1817. platform = ${common.platform}
  1818. framework = arduino
  1819. board = esp01_1m
  1820. board_flash_mode = dout
  1821. lib_deps = ${common.lib_deps}
  1822. lib_ignore = ${common.lib_ignore}
  1823. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_DS18B20_V10
  1824. monitor_baud = 115200
  1825. extra_scripts = ${common.extra_scripts}
  1826. [env:generic-esp01s-ds18b20-10-ota]
  1827. platform = ${common.platform}
  1828. framework = arduino
  1829. board = esp01_1m
  1830. board_flash_mode = dout
  1831. lib_deps = ${common.lib_deps}
  1832. lib_ignore = ${common.lib_ignore}
  1833. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_DS18B20_V10
  1834. upload_speed = 115200
  1835. upload_port = "${env.ESPURNA_IP}"
  1836. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1837. extra_scripts = ${common.extra_scripts}
  1838. [env:heltec-touch-relay]
  1839. platform = ${common.platform}
  1840. framework = arduino
  1841. board = esp01_1m
  1842. board_flash_mode = dout
  1843. lib_deps = ${common.lib_deps}
  1844. lib_ignore = ${common.lib_ignore}
  1845. build_flags = ${common.build_flags_1m} -DHELTEC_TOUCHRELAY
  1846. monitor_baud = 115200
  1847. extra_scripts = ${common.extra_scripts}
  1848. [env:heltec-touch-relay-ota]
  1849. platform = ${common.platform}
  1850. framework = arduino
  1851. board = esp01_1m
  1852. board_flash_mode = dout
  1853. lib_deps = ${common.lib_deps}
  1854. lib_ignore = ${common.lib_ignore}
  1855. build_flags = ${common.build_flags_1m} -DHELTEC_TOUCHRELAY
  1856. upload_speed = 115200
  1857. upload_port = "${env.ESPURNA_IP}"
  1858. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1859. extra_scripts = ${common.extra_scripts}