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.

2032 lines
58 KiB

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