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.

1917 lines
54 KiB

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