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.

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