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.

2178 lines
62 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://github.com/xoseperez/justwifi.git#1.2.0
  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-pow-r2]
  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_POW_R2
  417. monitor_baud = 115200
  418. extra_scripts = ${common.extra_scripts}
  419. [env:itead-sonoff-pow-r2-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_POW_R2
  427. upload_speed = 115200
  428. upload_port = ${common.upload_port}
  429. upload_flags = ${common.upload_flags}
  430. monitor_baud = 115200
  431. extra_scripts = ${common.extra_scripts}
  432. [env:itead-sonoff-dual]
  433. platform = ${common.platform}
  434. framework = arduino
  435. board = esp01_1m
  436. board_flash_mode = dout
  437. lib_deps = ${common.lib_deps}
  438. lib_ignore = ${common.lib_ignore}
  439. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  440. extra_scripts = ${common.extra_scripts}
  441. [env:itead-sonoff-dual-ota]
  442. platform = ${common.platform}
  443. framework = arduino
  444. board = esp01_1m
  445. board_flash_mode = dout
  446. lib_deps = ${common.lib_deps}
  447. lib_ignore = ${common.lib_ignore}
  448. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  449. upload_speed = 115200
  450. upload_port = ${common.upload_port}
  451. upload_flags = ${common.upload_flags}
  452. extra_scripts = ${common.extra_scripts}
  453. [env:itead-sonoff-dual-r2]
  454. platform = ${common.platform}
  455. framework = arduino
  456. board = esp01_1m
  457. board_flash_mode = dout
  458. lib_deps = ${common.lib_deps}
  459. lib_ignore = ${common.lib_ignore}
  460. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL_R2
  461. extra_scripts = ${common.extra_scripts}
  462. [env:itead-sonoff-dual-ota-r2]
  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_DUAL_R2
  470. upload_speed = 115200
  471. upload_port = ${common.upload_port}
  472. upload_flags = ${common.upload_flags}
  473. extra_scripts = ${common.extra_scripts}
  474. [env:itead-sonoff-4ch]
  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
  482. monitor_baud = 115200
  483. extra_scripts = ${common.extra_scripts}
  484. [env:itead-sonoff-4ch-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
  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-4ch-pro]
  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_4CH_PRO
  505. monitor_baud = 115200
  506. extra_scripts = ${common.extra_scripts}
  507. [env:itead-sonoff-4ch-pro-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_4CH_PRO
  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-touch]
  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_TOUCH
  528. monitor_baud = 115200
  529. extra_scripts = ${common.extra_scripts}
  530. [env:itead-sonoff-touch-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_TOUCH
  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-b1]
  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_B1
  551. monitor_baud = 115200
  552. extra_scripts = ${common.extra_scripts}
  553. [env:itead-sonoff-b1-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_B1
  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-1ch]
  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_1CH
  574. monitor_baud = 115200
  575. extra_scripts = ${common.extra_scripts}
  576. [env:itead-sonoff-t1-1ch-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_1CH
  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-2ch]
  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_2CH
  597. monitor_baud = 115200
  598. extra_scripts = ${common.extra_scripts}
  599. [env:itead-sonoff-t1-2ch-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_2CH
  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-t1-3ch]
  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_T1_3CH
  620. monitor_baud = 115200
  621. extra_scripts = ${common.extra_scripts}
  622. [env:itead-sonoff-t1-3ch-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_T1_3CH
  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-led]
  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_LED
  643. monitor_baud = 115200
  644. extra_scripts = ${common.extra_scripts}
  645. [env:itead-sonoff-led-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_LED
  653. upload_speed = 115200
  654. upload_port = ${common.upload_port}
  655. upload_flags = ${common.upload_flags}
  656. monitor_baud = 115200
  657. extra_scripts = ${common.extra_scripts}
  658. [env:itead-sonoff-rfbridge]
  659. platform = ${common.platform}
  660. framework = arduino
  661. board = esp01_1m
  662. board_flash_mode = dout
  663. lib_deps = ${common.lib_deps}
  664. lib_ignore = ${common.lib_ignore}
  665. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  666. monitor_baud = 19200
  667. extra_scripts = ${common.extra_scripts}
  668. [env:itead-sonoff-rfbridge-ota]
  669. platform = ${common.platform}
  670. framework = arduino
  671. board = esp01_1m
  672. board_flash_mode = dout
  673. lib_deps = ${common.lib_deps}
  674. lib_ignore = ${common.lib_ignore}
  675. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  676. upload_speed = 115200
  677. upload_port = ${common.upload_port}
  678. upload_flags = ${common.upload_flags}
  679. monitor_baud = 19200
  680. extra_scripts = ${common.extra_scripts}
  681. [env:itead-sonoff-rfbridge-direct]
  682. platform = ${common.platform}
  683. framework = arduino
  684. board = esp01_1m
  685. board_flash_mode = dout
  686. lib_deps = ${common.lib_deps}
  687. lib_ignore = ${common.lib_ignore}
  688. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  689. monitor_baud = 19200
  690. extra_scripts = ${common.extra_scripts}
  691. [env:itead-sonoff-rfbridge-direct-ota]
  692. platform = ${common.platform}
  693. framework = arduino
  694. board = esp01_1m
  695. board_flash_mode = dout
  696. lib_deps = ${common.lib_deps}
  697. lib_ignore = ${common.lib_ignore}
  698. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  699. upload_speed = 115200
  700. upload_port = "${env.ESPURNA_IP}"
  701. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  702. monitor_baud = 19200
  703. extra_scripts = ${common.extra_scripts}
  704. # ------------------------------------------------------------------------------
  705. [env:itead-slampher]
  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_SLAMPHER
  713. monitor_baud = 115200
  714. extra_scripts = ${common.extra_scripts}
  715. [env:itead-slampher-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_SLAMPHER
  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-s20]
  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_S20
  736. monitor_baud = 115200
  737. extra_scripts = ${common.extra_scripts}
  738. [env:itead-s20-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_S20
  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-1ch-inching]
  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_1CH_INCHING
  759. monitor_baud = 115200
  760. extra_scripts = ${common.extra_scripts}
  761. [env:itead-1ch-inching-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_1CH_INCHING
  769. upload_speed = 115200
  770. upload_port = ${common.upload_port}
  771. upload_flags = ${common.upload_flags}
  772. monitor_baud = 115200
  773. extra_scripts = ${common.extra_scripts}
  774. [env:itead-motor]
  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_MOTOR
  782. monitor_baud = 115200
  783. extra_scripts = ${common.extra_scripts}
  784. [env:itead-motor-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_MOTOR
  792. upload_speed = 115200
  793. upload_port = ${common.upload_port}
  794. upload_flags = ${common.upload_flags}
  795. monitor_baud = 115200
  796. extra_scripts = ${common.extra_scripts}
  797. [env:itead-sonoff-sv]
  798. platform = ${common.platform}
  799. framework = arduino
  800. board = esp01_1m
  801. board_flash_mode = dout
  802. lib_deps = ${common.lib_deps}
  803. lib_ignore = ${common.lib_ignore}
  804. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_SV
  805. monitor_baud = 115200
  806. extra_scripts = ${common.extra_scripts}
  807. [env:itead-sonoff-sv-ota]
  808. platform = ${common.platform}
  809. framework = arduino
  810. board = esp01_1m
  811. board_flash_mode = dout
  812. lib_deps = ${common.lib_deps}
  813. lib_ignore = ${common.lib_ignore}
  814. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_SV
  815. upload_port = ${common.upload_port}
  816. upload_flags = ${common.upload_flags}
  817. monitor_baud = 115200
  818. extra_scripts = ${common.extra_scripts}
  819. [env:itead-sonoff-s31]
  820. platform = ${common.platform}
  821. framework = arduino
  822. board = esp01_1m
  823. board_flash_mode = dout
  824. lib_deps = ${common.lib_deps}
  825. lib_ignore = ${common.lib_ignore}
  826. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_S31
  827. monitor_baud = 115200
  828. extra_scripts = ${common.extra_scripts}
  829. [env:itead-sonoff-s31-ota]
  830. platform = ${common.platform}
  831. framework = arduino
  832. board = esp01_1m
  833. board_flash_mode = dout
  834. lib_deps = ${common.lib_deps}
  835. lib_ignore = ${common.lib_ignore}
  836. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_S31
  837. upload_port = "${env.ESPURNA_IP}"
  838. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  839. monitor_baud = 115200
  840. extra_scripts = ${common.extra_scripts}
  841. # ------------------------------------------------------------------------------
  842. [env:electrodragon-wifi-iot]
  843. platform = ${common.platform}
  844. framework = arduino
  845. board = esp12e
  846. lib_deps = ${common.lib_deps}
  847. lib_ignore = ${common.lib_ignore}
  848. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  849. monitor_baud = 115200
  850. extra_scripts = ${common.extra_scripts}
  851. [env:electrodragon-wifi-iot-ota]
  852. platform = ${common.platform}
  853. framework = arduino
  854. board = esp12e
  855. lib_deps = ${common.lib_deps}
  856. lib_ignore = ${common.lib_ignore}
  857. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  858. upload_speed = 115200
  859. upload_port = ${common.upload_port}
  860. upload_flags = ${common.upload_flags}
  861. monitor_baud = 115200
  862. extra_scripts = ${common.extra_scripts}
  863. [env:workchoice-ecoplug]
  864. platform = ${common.platform}
  865. framework = arduino
  866. board = esp01_1m
  867. board_flash_mode = dout
  868. lib_deps = ${common.lib_deps}
  869. lib_ignore = ${common.lib_ignore}
  870. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  871. monitor_baud = 115200
  872. extra_scripts = ${common.extra_scripts}
  873. [env:workchoice-ecoplug-ota]
  874. platform = ${common.platform}
  875. framework = arduino
  876. board = esp01_1m
  877. board_flash_mode = dout
  878. lib_deps = ${common.lib_deps}
  879. lib_ignore = ${common.lib_ignore}
  880. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  881. upload_speed = 115200
  882. upload_port = ${common.upload_port}
  883. upload_flags = ${common.upload_flags}
  884. monitor_baud = 115200
  885. extra_scripts = ${common.extra_scripts}
  886. [env:jangoe-wifi-relay-nc]
  887. platform = ${common.platform}
  888. framework = arduino
  889. board = esp12e
  890. lib_deps = ${common.lib_deps}
  891. lib_ignore = ${common.lib_ignore}
  892. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  893. monitor_baud = 115200
  894. extra_scripts = ${common.extra_scripts}
  895. [env:jangoe-wifi-relay-nc-ota]
  896. platform = ${common.platform}
  897. framework = arduino
  898. board = esp12e
  899. lib_deps = ${common.lib_deps}
  900. lib_ignore = ${common.lib_ignore}
  901. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  902. upload_speed = 115200
  903. upload_port = ${common.upload_port}
  904. upload_flags = ${common.upload_flags}
  905. monitor_baud = 115200
  906. extra_scripts = ${common.extra_scripts}
  907. [env:jangoe-wifi-relay-no]
  908. platform = ${common.platform}
  909. framework = arduino
  910. board = esp12e
  911. lib_deps = ${common.lib_deps}
  912. lib_ignore = ${common.lib_ignore}
  913. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  914. monitor_baud = 115200
  915. extra_scripts = ${common.extra_scripts}
  916. [env:jangoe-wifi-relay-no-ota]
  917. platform = ${common.platform}
  918. framework = arduino
  919. board = esp12e
  920. lib_deps = ${common.lib_deps}
  921. lib_ignore = ${common.lib_ignore}
  922. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  923. upload_speed = 115200
  924. upload_port = ${common.upload_port}
  925. upload_flags = ${common.upload_flags}
  926. monitor_baud = 115200
  927. extra_scripts = ${common.extra_scripts}
  928. [env:openenergymonitor-mqtt-relay]
  929. platform = ${common.platform}
  930. framework = arduino
  931. board = esp_wroom_02
  932. lib_deps = ${common.lib_deps}
  933. lib_ignore = ${common.lib_ignore}
  934. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  935. monitor_baud = 115200
  936. extra_scripts = ${common.extra_scripts}
  937. [env:openenergymonitor-mqtt-relay-ota]
  938. platform = ${common.platform}
  939. framework = arduino
  940. board = esp_wroom_02
  941. lib_deps = ${common.lib_deps}
  942. lib_ignore = ${common.lib_ignore}
  943. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  944. upload_speed = 115200
  945. upload_port = ${common.upload_port}
  946. upload_flags = ${common.upload_flags}
  947. monitor_baud = 115200
  948. extra_scripts = ${common.extra_scripts}
  949. [env:jorgegarcia-wifi-relays]
  950. platform = ${common.platform}
  951. framework = arduino
  952. board = esp01_1m
  953. lib_deps = ${common.lib_deps}
  954. lib_ignore = ${common.lib_ignore}
  955. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  956. monitor_baud = 115200
  957. extra_scripts = ${common.extra_scripts}
  958. [env:jorgegarcia-wifi-relays-ota]
  959. platform = ${common.platform}
  960. framework = arduino
  961. board = esp01_1m
  962. lib_deps = ${common.lib_deps}
  963. lib_ignore = ${common.lib_ignore}
  964. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  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:aithinker-ai-light]
  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} -DAITHINKER_AI_LIGHT
  978. monitor_baud = 115200
  979. extra_scripts = ${common.extra_scripts}
  980. [env:aithinker-ai-light-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} -DAITHINKER_AI_LIGHT
  988. upload_speed = 115200
  989. upload_port = ${common.upload_port}
  990. upload_flags = ${common.upload_flags}
  991. monitor_baud = 115200
  992. extra_scripts = ${common.extra_scripts}
  993. [env:magichome-led-controller]
  994. platform = ${common.platform}
  995. framework = arduino
  996. board = esp01_1m
  997. board_flash_mode = dout
  998. lib_deps = ${common.lib_deps}
  999. lib_ignore = ${common.lib_ignore}
  1000. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  1001. monitor_baud = 115200
  1002. extra_scripts = ${common.extra_scripts}
  1003. [env:magichome-led-controller-ota]
  1004. platform = ${common.platform}
  1005. framework = arduino
  1006. board = esp01_1m
  1007. board_flash_mode = dout
  1008. lib_deps = ${common.lib_deps}
  1009. lib_ignore = ${common.lib_ignore}
  1010. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  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:magichome-led-controller-20]
  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 = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  1024. monitor_baud = 115200
  1025. extra_scripts = ${common.extra_scripts}
  1026. [env:magichome-led-controller-20-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 = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  1034. upload_port = ${common.upload_port}
  1035. upload_flags = ${common.upload_flags}
  1036. monitor_baud = 115200
  1037. extra_scripts = ${common.extra_scripts}
  1038. [env:huacanxing-h801]
  1039. platform = ${common.platform}
  1040. framework = arduino
  1041. board = esp01_1m
  1042. board_flash_mode = dout
  1043. lib_deps = ${common.lib_deps}
  1044. lib_ignore = ${common.lib_ignore}
  1045. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  1046. monitor_baud = 115200
  1047. extra_scripts = ${common.extra_scripts}
  1048. [env:huacanxing-h801-ota]
  1049. platform = ${common.platform}
  1050. framework = arduino
  1051. board = esp01_1m
  1052. board_flash_mode = dout
  1053. lib_deps = ${common.lib_deps}
  1054. lib_ignore = ${common.lib_ignore}
  1055. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  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:huacanxing-h802]
  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 -DHUACANXING_H802
  1069. monitor_baud = 115200
  1070. extra_scripts = ${common.extra_scripts}
  1071. [env:huacanxing-h802-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 -DHUACANXING_H802
  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-lc01]
  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_LC01
  1092. monitor_baud = 115200
  1093. extra_scripts = ${common.extra_scripts}
  1094. [env:arilux-al-lc01-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_LC01
  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-lc02]
  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_LC02
  1115. monitor_baud = 115200
  1116. extra_scripts = ${common.extra_scripts}
  1117. [env:arilux-al-lc02-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_LC02
  1125. upload_speed = 115200
  1126. upload_port = ${common.upload_port}
  1127. upload_flags = ${common.upload_flags}
  1128. monitor_baud = 115200
  1129. extra_scripts = ${common.extra_scripts}
  1130. [env:arilux-al-lc06]
  1131. platform = ${common.platform}
  1132. framework = arduino
  1133. board = esp01_1m
  1134. board_flash_mode = dout
  1135. lib_deps = ${common.lib_deps}
  1136. lib_ignore = ${common.lib_ignore}
  1137. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  1138. monitor_baud = 115200
  1139. extra_scripts = ${common.extra_scripts}
  1140. [env:arilux-al-lc06-ota]
  1141. platform = ${common.platform}
  1142. framework = arduino
  1143. board = esp01_1m
  1144. board_flash_mode = dout
  1145. lib_deps = ${common.lib_deps}
  1146. lib_ignore = ${common.lib_ignore}
  1147. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  1148. upload_speed = 115200
  1149. upload_port = ${common.upload_port}
  1150. upload_flags = ${common.upload_flags}
  1151. monitor_baud = 115200
  1152. extra_scripts = ${common.extra_scripts}
  1153. [env:arilux-al-lc11]
  1154. platform = ${common.platform}
  1155. framework = arduino
  1156. board = esp01_1m
  1157. board_flash_mode = dout
  1158. lib_deps = ${common.lib_deps}
  1159. lib_ignore = ${common.lib_ignore}
  1160. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  1161. monitor_baud = 115200
  1162. extra_scripts = ${common.extra_scripts}
  1163. [env:arilux-al-lc11-ota]
  1164. platform = ${common.platform}
  1165. framework = arduino
  1166. board = esp01_1m
  1167. board_flash_mode = dout
  1168. lib_deps = ${common.lib_deps}
  1169. lib_ignore = ${common.lib_ignore}
  1170. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  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:arilux-e27]
  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 = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  1184. monitor_baud = 115200
  1185. extra_scripts = ${common.extra_scripts}
  1186. [env:arilux-e27-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 = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  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:itead-bnsz01]
  1200. platform = ${common.platform}
  1201. framework = arduino
  1202. board = esp01_1m
  1203. board_flash_mode = dout
  1204. lib_deps = ${common.lib_deps}
  1205. lib_ignore = ${common.lib_ignore}
  1206. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1207. monitor_baud = 115200
  1208. extra_scripts = ${common.extra_scripts}
  1209. [env:itead-bnsz01-ota]
  1210. platform = ${common.platform}
  1211. framework = arduino
  1212. board = esp01_1m
  1213. board_flash_mode = dout
  1214. lib_deps = ${common.lib_deps}
  1215. lib_ignore = ${common.lib_ignore}
  1216. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  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:wion-50055]
  1223. platform = ${common.platform}
  1224. framework = arduino
  1225. board = esp01_1m
  1226. board_flash_mode = dout
  1227. lib_deps = ${common.lib_deps}
  1228. lib_ignore = ${common.lib_ignore}
  1229. build_flags = ${common.build_flags_1m} -DWION_50055
  1230. monitor_baud = 115200
  1231. extra_scripts = ${common.extra_scripts}
  1232. [env:wion-50055-ota]
  1233. platform = ${common.platform}
  1234. framework = arduino
  1235. board = esp01_1m
  1236. board_flash_mode = dout
  1237. lib_deps = ${common.lib_deps}
  1238. lib_ignore = ${common.lib_ignore}
  1239. build_flags = ${common.build_flags_1m} -DWION_50055
  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:exs-wifi-relay-v31]
  1246. platform = ${common.platform}
  1247. framework = arduino
  1248. board = esp07
  1249. board_flash_mode = dout
  1250. lib_deps = ${common.lib_deps}
  1251. lib_ignore = ${common.lib_ignore}
  1252. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1253. monitor_baud = 115200
  1254. extra_scripts = ${common.extra_scripts}
  1255. [env:exs-wifi-relay-v31-ota]
  1256. platform = ${common.platform}
  1257. framework = arduino
  1258. board = esp07
  1259. board_flash_mode = dout
  1260. lib_deps = ${common.lib_deps}
  1261. lib_ignore = ${common.lib_ignore}
  1262. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  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-v9261f]
  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_V9261F
  1275. upload_speed = 460800
  1276. monitor_baud = 115200
  1277. extra_scripts = ${common.extra_scripts}
  1278. [env:wemos-v9261f-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_V9261F
  1285. upload_speed = 115200
  1286. upload_port = ${common.upload_port}
  1287. upload_flags = ${common.upload_flags}
  1288. monitor_baud = 115200
  1289. extra_scripts = ${common.extra_scripts}
  1290. [env:esp01-v9261f]
  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_V9261F
  1298. monitor_baud = 115200
  1299. extra_scripts = ${common.extra_scripts}
  1300. [env:esp01-v9261f-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_V9261F
  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:wemos-ech1560]
  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} -DGENERIC_ECH1560
  1320. upload_speed = 460800
  1321. monitor_baud = 115200
  1322. extra_scripts = ${common.extra_scripts}
  1323. [env:wemos-ech1560-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} -DGENERIC_ECH1560
  1330. upload_speed = 115200
  1331. upload_port = ${common.upload_port}
  1332. upload_flags = ${common.upload_flags}
  1333. monitor_baud = 115200
  1334. extra_scripts = ${common.extra_scripts}
  1335. [env:esp01-ech1560]
  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} -DGENERIC_ECH1560
  1343. monitor_baud = 115200
  1344. extra_scripts = ${common.extra_scripts}
  1345. [env:esp01-ech1560-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} -DGENERIC_ECH1560
  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:mancavemade-esplive]
  1359. platform = ${common.platform}
  1360. framework = arduino
  1361. board = d1_mini
  1362. lib_deps = ${common.lib_deps}
  1363. lib_ignore = ${common.lib_ignore}
  1364. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1365. upload_speed = 460800
  1366. monitor_baud = 115200
  1367. extra_scripts = ${common.extra_scripts}
  1368. [env:mancavemade-esplive-ota]
  1369. platform = ${common.platform}
  1370. framework = arduino
  1371. board = d1_mini
  1372. lib_deps = ${common.lib_deps}
  1373. lib_ignore = ${common.lib_ignore}
  1374. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1375. upload_speed = 460800
  1376. upload_port = ${common.upload_port}
  1377. upload_flags = ${common.upload_flags}
  1378. monitor_baud = 115200
  1379. extra_scripts = ${common.extra_scripts}
  1380. [env:intermittech-quinled]
  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} -DINTERMITTECH_QUINLED
  1388. monitor_baud = 115200
  1389. extra_scripts = ${common.extra_scripts}
  1390. [env:intermittech-quinled-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} -DINTERMITTECH_QUINLED
  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:xenon-sm-pw702u]
  1404. platform = ${common.platform}
  1405. framework = arduino
  1406. board = esp12e
  1407. board_flash_mode = dout
  1408. lib_deps = ${common.lib_deps}
  1409. lib_ignore = ${common.lib_ignore}
  1410. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1411. monitor_baud = 115200
  1412. extra_scripts = ${common.extra_scripts}
  1413. [env:xenon-sm-pw702u-ota]
  1414. platform = ${common.platform}
  1415. framework = arduino
  1416. board = esp12e
  1417. board_flash_mode = dout
  1418. lib_deps = ${common.lib_deps}
  1419. lib_ignore = ${common.lib_ignore}
  1420. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  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:authometion-lyt8266]
  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} -DAUTHOMETION_LYT8266
  1434. monitor_baud = 115200
  1435. extra_scripts = ${common.extra_scripts}
  1436. [env:authometion-lyt8266-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} -DAUTHOMETION_LYT8266
  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:kmc-70011]
  1450. platform = ${common.platform}
  1451. framework = arduino
  1452. board = esp01_1m
  1453. board_flash_mode = dout
  1454. lib_deps = ${common.lib_deps}
  1455. lib_ignore = ${common.lib_ignore}
  1456. build_flags = ${common.build_flags_1m} -DKMC_70011
  1457. monitor_baud = 115200
  1458. extra_scripts = ${common.extra_scripts}
  1459. [env:kmc-70011-ota]
  1460. platform = ${common.platform}
  1461. framework = arduino
  1462. board = esp01_1m
  1463. board_flash_mode = dout
  1464. lib_deps = ${common.lib_deps}
  1465. lib_ignore = ${common.lib_ignore}
  1466. build_flags = ${common.build_flags_1m} -DKMC_70011
  1467. upload_speed = 115200
  1468. upload_port = ${common.upload_port}
  1469. upload_flags = ${common.upload_flags}
  1470. monitor_baud = 115200
  1471. extra_scripts = ${common.extra_scripts}
  1472. [env:yjzk-switch-2ch]
  1473. platform = ${common.platform}
  1474. framework = arduino
  1475. board = esp01_1m
  1476. board_flash_mode = dout
  1477. lib_deps = ${common.lib_deps}
  1478. lib_ignore = ${common.lib_ignore}
  1479. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1480. monitor_baud = 115200
  1481. extra_scripts = ${common.extra_scripts}
  1482. [env:yjzk-switch-2ch-ota]
  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_1m} -DYJZK_SWITCH_2CH
  1490. upload_speed = 115200
  1491. upload_port = ${common.upload_port}
  1492. upload_flags = ${common.upload_flags}
  1493. monitor_baud = 115200
  1494. extra_scripts = ${common.extra_scripts}
  1495. [env:generic-8ch]
  1496. platform = ${common.platform}
  1497. framework = arduino
  1498. board = d1_mini
  1499. lib_deps = ${common.lib_deps}
  1500. lib_ignore = ${common.lib_ignore}
  1501. build_flags = ${common.build_flags} -DGENERIC_8CH
  1502. upload_speed = 460800
  1503. monitor_baud = 115200
  1504. extra_scripts = ${common.extra_scripts}
  1505. [env:gizwits-witty-cloud]
  1506. platform = ${common.platform}
  1507. framework = arduino
  1508. board = esp12e
  1509. board_flash_mode = dout
  1510. lib_deps = ${common.lib_deps}
  1511. lib_ignore = ${common.lib_ignore}
  1512. build_flags = ${common.build_flags} -DGIZWITS_WITTY_CLOUD
  1513. monitor_baud = 115200
  1514. extra_scripts = ${common.extra_scripts}
  1515. [env:gizwits-witty-cloud-ota]
  1516. platform = ${common.platform}
  1517. framework = arduino
  1518. board = esp12e
  1519. board_flash_mode = dout
  1520. lib_deps = ${common.lib_deps}
  1521. lib_ignore = ${common.lib_ignore}
  1522. build_flags = ${common.build_flags} -DGIZWITS_WITTY_CLOUD
  1523. upload_speed = 115200
  1524. upload_port = "${env.ESPURNA_IP}"
  1525. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1526. extra_scripts = ${common.extra_scripts}
  1527. [env:euromate-wifi-stecker-shuko]
  1528. platform = ${common.platform}
  1529. framework = arduino
  1530. board = esp01_1m
  1531. board_flash_mode = dout
  1532. lib_deps = ${common.lib_deps}
  1533. lib_ignore = ${common.lib_ignore}
  1534. build_flags = ${common.build_flags} -DEUROMATE_WIFI_STECKER_SCHUKO
  1535. monitor_baud = 115200
  1536. extra_scripts = ${common.extra_scripts}
  1537. [env:euromate-wifi-stecker-shuko-ota]
  1538. platform = ${common.platform}
  1539. framework = arduino
  1540. board = esp01_1m
  1541. board_flash_mode = dout
  1542. lib_deps = ${common.lib_deps}
  1543. lib_ignore = ${common.lib_ignore}
  1544. build_flags = ${common.build_flags} -DEUROMATE_WIFI_STECKER_SCHUKO
  1545. upload_speed = 115200
  1546. upload_port = "${env.ESPURNA_IP}"
  1547. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1548. extra_scripts = ${common.extra_scripts}
  1549. [env:tonbux-powerstrip02]
  1550. platform = ${common.platform}
  1551. framework = arduino
  1552. board = esp01_1m
  1553. board_flash_mode = dout
  1554. lib_deps = ${common.lib_deps}
  1555. lib_ignore = ${common.lib_ignore}
  1556. build_flags = ${common.build_flags} -DTONBUX_POWERSTRIP02
  1557. monitor_baud = 115200
  1558. extra_scripts = ${common.extra_scripts}
  1559. [env:tonbux-powerstrip02-ota]
  1560. platform = ${common.platform}
  1561. framework = arduino
  1562. board = esp01_1m
  1563. board_flash_mode = dout
  1564. lib_deps = ${common.lib_deps}
  1565. lib_ignore = ${common.lib_ignore}
  1566. build_flags = ${common.build_flags} -DTONBUX_POWERSTRIP02
  1567. upload_speed = 115200
  1568. upload_port = "${env.ESPURNA_IP}"
  1569. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1570. extra_scripts = ${common.extra_scripts}
  1571. [env:lingan-swa1]
  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} -DLINGAN_SWA1
  1579. monitor_baud = 115200
  1580. extra_scripts = ${common.extra_scripts}
  1581. [env:lingan-swa1-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} -DLINGAN_SWA1
  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:stm-relay]
  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} -DSTM_RELAY
  1601. monitor_baud = 115200
  1602. extra_scripts = ${common.extra_scripts}
  1603. [env:stm-relay-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} -DSTM_RELAY
  1611. upload_speed = 115200
  1612. upload_port = ${common.upload_port}
  1613. upload_flags = ${common.upload_flags}
  1614. monitor_baud = 115200
  1615. extra_scripts = ${common.extra_scripts}
  1616. [env:heygo-hy02]
  1617. platform = ${common.platform}
  1618. framework = arduino
  1619. board = esp01_1m
  1620. board_flash_mode = dout
  1621. lib_deps = ${common.lib_deps}
  1622. lib_ignore = ${common.lib_ignore}
  1623. build_flags = ${common.build_flags_1m} -DHEYGO_HY02
  1624. monitor_baud = 115200
  1625. extra_scripts = ${common.extra_scripts}
  1626. [env:heygo-hy02-ota]
  1627. platform = ${common.platform}
  1628. framework = arduino
  1629. board = esp01_1m
  1630. board_flash_mode = dout
  1631. lib_deps = ${common.lib_deps}
  1632. lib_ignore = ${common.lib_ignore}
  1633. build_flags = ${common.build_flags_1m} -DHEYGO_HY02
  1634. upload_speed = 115200
  1635. upload_port = "${env.ESPURNA_IP}"
  1636. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1637. extra_scripts = ${common.extra_scripts}
  1638. [env:maxcio-wus002s]
  1639. platform = ${common.platform}
  1640. framework = arduino
  1641. board = esp01_1m
  1642. board_flash_mode = dout
  1643. lib_deps = ${common.lib_deps}
  1644. lib_ignore = ${common.lib_ignore}
  1645. build_flags = ${common.build_flags_1m} -DMAXCIO_WUS002S
  1646. monitor_baud = 115200
  1647. extra_scripts = ${common.extra_scripts}
  1648. [env:maxcio-wus002s-ota]
  1649. platform = ${common.platform}
  1650. framework = arduino
  1651. board = esp01_1m
  1652. board_flash_mode = dout
  1653. lib_deps = ${common.lib_deps}
  1654. lib_ignore = ${common.lib_ignore}
  1655. build_flags = ${common.build_flags_1m} -DMAXCIO_WUS002S
  1656. upload_speed = 115200
  1657. upload_port = "${env.ESPURNA_IP}"
  1658. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1659. extra_scripts = ${common.extra_scripts}
  1660. [env:yidian-xsssa05]
  1661. platform = ${common.platform}
  1662. framework = arduino
  1663. board = esp01_1m
  1664. board_flash_mode = dout
  1665. lib_deps = ${common.lib_deps}
  1666. lib_ignore = ${common.lib_ignore}
  1667. build_flags = ${common.build_flags_1m} -DYIDIAN_XSSSA05
  1668. monitor_baud = 115200
  1669. extra_scripts = ${common.extra_scripts}
  1670. [env:yidian-xsssa05-ota]
  1671. platform = ${common.platform}
  1672. framework = arduino
  1673. board = esp01_1m
  1674. board_flash_mode = dout
  1675. lib_deps = ${common.lib_deps}
  1676. lib_ignore = ${common.lib_ignore}
  1677. build_flags = ${common.build_flags_1m} -DYIDIAN_XSSSA05
  1678. upload_speed = 115200
  1679. upload_port = "${env.ESPURNA_IP}"
  1680. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1681. extra_scripts = ${common.extra_scripts}
  1682. [env:tonbux-xsssa06]
  1683. platform = ${common.platform}
  1684. framework = arduino
  1685. board = esp01_1m
  1686. board_flash_mode = dout
  1687. lib_deps = ${common.lib_deps}
  1688. lib_ignore = ${common.lib_ignore}
  1689. build_flags = ${common.build_flags_1m} -DTONBUX_XSSSA06
  1690. monitor_baud = 115200
  1691. extra_scripts = ${common.extra_scripts}
  1692. [env:tonbux-xsssa06-ota]
  1693. platform = ${common.platform}
  1694. framework = arduino
  1695. board = esp01_1m
  1696. board_flash_mode = dout
  1697. lib_deps = ${common.lib_deps}
  1698. lib_ignore = ${common.lib_ignore}
  1699. build_flags = ${common.build_flags_1m} -DTONBUX_XSSSA06
  1700. upload_speed = 115200
  1701. upload_port = "${env.ESPURNA_IP}"
  1702. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1703. extra_scripts = ${common.extra_scripts}
  1704. [env:green-esp8266relay]
  1705. platform = ${common.platform}
  1706. framework = arduino
  1707. board = esp12e
  1708. board_flash_mode = dout
  1709. lib_deps = ${common.lib_deps}
  1710. lib_ignore = ${common.lib_ignore}
  1711. build_flags = ${common.build_flags} -DGREEN_ESP8266RELAY
  1712. monitor_baud = 115200
  1713. extra_scripts = ${common.extra_scripts}
  1714. [env:green-esp8266relay-ota]
  1715. platform = ${common.platform}
  1716. framework = arduino
  1717. board = esp12e
  1718. board_flash_mode = dout
  1719. lib_deps = ${common.lib_deps}
  1720. lib_ignore = ${common.lib_ignore}
  1721. build_flags = ${common.build_flags} -DGREEN_ESP8266RELAY
  1722. upload_speed = 115200
  1723. upload_port = "${env.ESPURNA_IP}"
  1724. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1725. extra_scripts = ${common.extra_scripts}
  1726. [env:ike-espike]
  1727. platform = ${common.platform}
  1728. framework = arduino
  1729. board = esp12e
  1730. board_flash_mode = dout
  1731. lib_deps = ${common.lib_deps}
  1732. lib_ignore = ${common.lib_ignore}
  1733. build_flags = ${common.build_flags} -DIKE_ESPIKE
  1734. monitor_baud = 115200
  1735. extra_scripts = ${common.extra_scripts}
  1736. [env:ike-espike-ota]
  1737. platform = ${common.platform}
  1738. framework = arduino
  1739. board = esp12e
  1740. board_flash_mode = dout
  1741. lib_deps = ${common.lib_deps}
  1742. lib_ignore = ${common.lib_ignore}
  1743. build_flags = ${common.build_flags} -DIKE_ESPIKE
  1744. upload_speed = 115200
  1745. upload_port = "${env.ESPURNA_IP}"
  1746. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1747. extra_scripts = ${common.extra_scripts}
  1748. [env:arniex-swifitch]
  1749. platform = ${common.platform}
  1750. framework = arduino
  1751. board = esp12e
  1752. board_flash_mode = dout
  1753. lib_deps = ${common.lib_deps}
  1754. lib_ignore = ${common.lib_ignore}
  1755. build_flags = ${common.build_flags_1m} -DARNIEX_SWIFITCH
  1756. extra_scripts = ${common.extra_scripts}
  1757. monitor_baud = 115200
  1758. [env:arniex-swifitch-ota]
  1759. platform = ${common.platform}
  1760. framework = arduino
  1761. board = esp12e
  1762. board_flash_mode = dout
  1763. lib_deps = ${common.lib_deps}
  1764. lib_ignore = ${common.lib_ignore}
  1765. build_flags = ${common.build_flags_1m} -DARNIEX_SWIFITCH
  1766. upload_speed = 115200
  1767. upload_port = "${env.ESPURNA_IP}"
  1768. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1769. extra_scripts = ${common.extra_scripts}
  1770. [env:zhilde-eu44-w]
  1771. platform = ${common.platform}
  1772. framework = arduino
  1773. board = esp01_1m
  1774. board_flash_mode = dout
  1775. lib_deps = ${common.lib_deps}
  1776. lib_ignore = ${common.lib_ignore}
  1777. build_flags = ${common.build_flags_1m} -DZHILDE_EU44_W
  1778. monitor_baud = 115200
  1779. extra_scripts = ${common.extra_scripts}
  1780. [env:zhilde-eu44-w-ota]
  1781. platform = ${common.platform}
  1782. framework = arduino
  1783. board = esp01_1m
  1784. board_flash_mode = dout
  1785. lib_deps = ${common.lib_deps}
  1786. lib_ignore = ${common.lib_ignore}
  1787. build_flags = ${common.build_flags_1m} -DZHILDE_EU44_W
  1788. upload_speed = 115200
  1789. upload_port = "${env.ESPURNA_IP}"
  1790. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1791. monitor_baud = 115200
  1792. extra_scripts = ${common.extra_scripts}
  1793. [env:luani-hvio]
  1794. platform = ${common.platform}
  1795. framework = arduino
  1796. board = esp07
  1797. board_flash_mode = dout
  1798. lib_deps = ${common.lib_deps}
  1799. lib_ignore = ${common.lib_ignore}
  1800. build_flags = ${common.build_flags_1m} -DLUANI_HVIO
  1801. monitor_baud = 115200
  1802. extra_scripts = ${common.extra_scripts}
  1803. [env:luani-hvio-ota]
  1804. platform = ${common.platform}
  1805. framework = arduino
  1806. board = esp07
  1807. board_flash_mode = dout
  1808. lib_deps = ${common.lib_deps}
  1809. lib_ignore = ${common.lib_ignore}
  1810. build_flags = ${common.build_flags_1m} -DZLUANI_HVIO
  1811. upload_speed = 115200
  1812. upload_port = "${env.ESPURNA_IP}"
  1813. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1814. monitor_baud = 115200
  1815. extra_scripts = ${common.extra_scripts}
  1816. [env:neo-coolcam-power-plug-wifi]
  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} -DNEO_COOLCAM_POWER_PLUG_WIFI
  1824. monitor_baud = 115200
  1825. extra_scripts = ${common.extra_scripts}
  1826. [env:neo-coolcam-power-plug-wifi-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} -DNEO_COOLCAM_POWER_PLUG_WIFI
  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. # ------------------------------------------------------------------------------
  1839. # GENERIC OTA ENVIRONMENTS
  1840. # ------------------------------------------------------------------------------
  1841. [env:generic-esp01s-relay-40]
  1842. platform = ${common.platform}
  1843. framework = arduino
  1844. board = esp01_1m
  1845. board_flash_mode = dout
  1846. lib_deps = ${common.lib_deps}
  1847. lib_ignore = ${common.lib_ignore}
  1848. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_RELAY_V40
  1849. monitor_baud = 115200
  1850. extra_scripts = ${common.extra_scripts}
  1851. [env:generic-esp01s-relay-40-ota]
  1852. platform = ${common.platform}
  1853. framework = arduino
  1854. board = esp01_1m
  1855. board_flash_mode = dout
  1856. lib_deps = ${common.lib_deps}
  1857. lib_ignore = ${common.lib_ignore}
  1858. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_RELAY_V40
  1859. upload_speed = 115200
  1860. upload_port = "${env.ESPURNA_IP}"
  1861. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1862. extra_scripts = ${common.extra_scripts}
  1863. [env:generic-esp01s-rgbled-10]
  1864. platform = ${common.platform}
  1865. framework = arduino
  1866. board = esp01_1m
  1867. board_flash_mode = dout
  1868. lib_deps = ${common.lib_deps}
  1869. lib_ignore = ${common.lib_ignore}
  1870. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_RGBLED_V10
  1871. monitor_baud = 115200
  1872. extra_scripts = ${common.extra_scripts}
  1873. [env:generic-esp01s-rgbled-10-ota]
  1874. platform = ${common.platform}
  1875. framework = arduino
  1876. board = esp01_1m
  1877. board_flash_mode = dout
  1878. lib_deps = ${common.lib_deps}
  1879. lib_ignore = ${common.lib_ignore}
  1880. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_RGBLED_V10
  1881. upload_speed = 115200
  1882. upload_port = "${env.ESPURNA_IP}"
  1883. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1884. extra_scripts = ${common.extra_scripts}
  1885. [env:generic-esp01s-dht11-10]
  1886. platform = ${common.platform}
  1887. framework = arduino
  1888. board = esp01_1m
  1889. board_flash_mode = dout
  1890. lib_deps = ${common.lib_deps}
  1891. lib_ignore = ${common.lib_ignore}
  1892. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_DHT11_V10
  1893. monitor_baud = 115200
  1894. extra_scripts = ${common.extra_scripts}
  1895. [env:generic-esp01s-dht11-10-ota]
  1896. platform = ${common.platform}
  1897. framework = arduino
  1898. board = esp01_1m
  1899. board_flash_mode = dout
  1900. lib_deps = ${common.lib_deps}
  1901. lib_ignore = ${common.lib_ignore}
  1902. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_DHT11_V10
  1903. upload_speed = 115200
  1904. upload_port = "${env.ESPURNA_IP}"
  1905. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1906. extra_scripts = ${common.extra_scripts}
  1907. [env:generic-esp01s-ds18b20-10]
  1908. platform = ${common.platform}
  1909. framework = arduino
  1910. board = esp01_1m
  1911. board_flash_mode = dout
  1912. lib_deps = ${common.lib_deps}
  1913. lib_ignore = ${common.lib_ignore}
  1914. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_DS18B20_V10
  1915. monitor_baud = 115200
  1916. extra_scripts = ${common.extra_scripts}
  1917. [env:generic-esp01s-ds18b20-10-ota]
  1918. platform = ${common.platform}
  1919. framework = arduino
  1920. board = esp01_1m
  1921. board_flash_mode = dout
  1922. lib_deps = ${common.lib_deps}
  1923. lib_ignore = ${common.lib_ignore}
  1924. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_DS18B20_V10
  1925. upload_speed = 115200
  1926. upload_port = "${env.ESPURNA_IP}"
  1927. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1928. extra_scripts = ${common.extra_scripts}
  1929. [env:heltec-touch-relay]
  1930. platform = ${common.platform}
  1931. framework = arduino
  1932. board = esp01_1m
  1933. board_flash_mode = dout
  1934. lib_deps = ${common.lib_deps}
  1935. lib_ignore = ${common.lib_ignore}
  1936. build_flags = ${common.build_flags_1m} -DHELTEC_TOUCHRELAY
  1937. monitor_baud = 115200
  1938. extra_scripts = ${common.extra_scripts}
  1939. [env:heltec-touch-relay-ota]
  1940. platform = ${common.platform}
  1941. framework = arduino
  1942. board = esp01_1m
  1943. board_flash_mode = dout
  1944. lib_deps = ${common.lib_deps}
  1945. lib_ignore = ${common.lib_ignore}
  1946. build_flags = ${common.build_flags_1m} -DHELTEC_TOUCHRELAY
  1947. upload_speed = 115200
  1948. upload_port = "${env.ESPURNA_IP}"
  1949. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1950. extra_scripts = ${common.extra_scripts}
  1951. [env:allnet-4duino-iot-wlan-relais]
  1952. platform = ${common.platform}
  1953. framework = arduino
  1954. board = esp12e
  1955. board_flash_mode = dout
  1956. lib_deps = ${common.lib_deps}
  1957. lib_ignore = ${common.lib_ignore}
  1958. build_flags = ${common.build_flags_1m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  1959. monitor_baud = 115200
  1960. extra_scripts = ${common.extra_scripts}
  1961. [env:allnet-4duino-iot-wlan-relais-ota]
  1962. platform = ${common.platform}
  1963. framework = arduino
  1964. board = esp12e
  1965. board_flash_mode = dout
  1966. lib_deps = ${common.lib_deps}
  1967. lib_ignore = ${common.lib_ignore}
  1968. build_flags = ${common.build_flags_1m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  1969. upload_speed = 115200
  1970. upload_port = "${env.ESPURNA_IP}"
  1971. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1972. extra_scripts = ${common.extra_scripts}
  1973. [env:tonbux-mosquito-killer]
  1974. platform = ${common.platform}
  1975. framework = arduino
  1976. board = esp01_1m
  1977. board_flash_mode = dout
  1978. lib_deps = ${common.lib_deps}
  1979. lib_ignore = ${common.lib_ignore}
  1980. build_flags = ${common.build_flags_1m} -DTONBUX_MOSQUITO_KILLER
  1981. monitor_baud = 115200
  1982. extra_scripts = ${common.extra_scripts}
  1983. [env:tonbux-mosquito-killer-ota]
  1984. platform = ${common.platform}
  1985. framework = arduino
  1986. board = esp01_1m
  1987. board_flash_mode = dout
  1988. lib_deps = ${common.lib_deps}
  1989. lib_ignore = ${common.lib_ignore}
  1990. build_flags = ${common.build_flags_1m} -DTONBUX_MOSQUITO_KILLER
  1991. upload_speed = 115200
  1992. upload_port = "${env.ESPURNA_IP}"
  1993. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1994. extra_scripts = ${common.extra_scripts}