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.

1941 lines
55 KiB

7 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. [env:itead-sonoff-s31]
  704. platform = ${common.platform}
  705. framework = arduino
  706. board = esp01_1m
  707. board_flash_mode = dout
  708. lib_deps = ${common.lib_deps}
  709. lib_ignore = ${common.lib_ignore}
  710. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_S31
  711. monitor_baud = 115200
  712. extra_scripts = ${common.extra_scripts}
  713. [env:itead-sonoff-s31-ota]
  714. platform = ${common.platform}
  715. framework = arduino
  716. board = esp01_1m
  717. board_flash_mode = dout
  718. lib_deps = ${common.lib_deps}
  719. lib_ignore = ${common.lib_ignore}
  720. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_S31
  721. upload_port = "192.168.4.1"
  722. upload_flags = --auth=fibonacci --port 8266
  723. monitor_baud = 115200
  724. extra_scripts = ${common.extra_scripts}
  725. # ------------------------------------------------------------------------------
  726. [env:electrodragon-wifi-iot]
  727. platform = ${common.platform}
  728. framework = arduino
  729. board = esp12e
  730. lib_deps = ${common.lib_deps}
  731. lib_ignore = ${common.lib_ignore}
  732. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  733. monitor_baud = 115200
  734. extra_scripts = ${common.extra_scripts}
  735. [env:electrodragon-wifi-iot-ota]
  736. platform = ${common.platform}
  737. framework = arduino
  738. board = esp12e
  739. lib_deps = ${common.lib_deps}
  740. lib_ignore = ${common.lib_ignore}
  741. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  742. upload_speed = 115200
  743. upload_port = ${common.upload_port}
  744. upload_flags = ${common.upload_flags}
  745. monitor_baud = 115200
  746. extra_scripts = ${common.extra_scripts}
  747. [env:workchoice-ecoplug]
  748. platform = ${common.platform}
  749. framework = arduino
  750. board = esp01_1m
  751. board_flash_mode = dout
  752. lib_deps = ${common.lib_deps}
  753. lib_ignore = ${common.lib_ignore}
  754. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  755. monitor_baud = 115200
  756. extra_scripts = ${common.extra_scripts}
  757. [env:workchoice-ecoplug-ota]
  758. platform = ${common.platform}
  759. framework = arduino
  760. board = esp01_1m
  761. board_flash_mode = dout
  762. lib_deps = ${common.lib_deps}
  763. lib_ignore = ${common.lib_ignore}
  764. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  765. upload_speed = 115200
  766. upload_port = ${common.upload_port}
  767. upload_flags = ${common.upload_flags}
  768. monitor_baud = 115200
  769. extra_scripts = ${common.extra_scripts}
  770. [env:jangoe-wifi-relay-nc]
  771. platform = ${common.platform}
  772. framework = arduino
  773. board = esp12e
  774. lib_deps = ${common.lib_deps}
  775. lib_ignore = ${common.lib_ignore}
  776. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  777. monitor_baud = 115200
  778. extra_scripts = ${common.extra_scripts}
  779. [env:jangoe-wifi-relay-nc-ota]
  780. platform = ${common.platform}
  781. framework = arduino
  782. board = esp12e
  783. lib_deps = ${common.lib_deps}
  784. lib_ignore = ${common.lib_ignore}
  785. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  786. upload_speed = 115200
  787. upload_port = ${common.upload_port}
  788. upload_flags = ${common.upload_flags}
  789. monitor_baud = 115200
  790. extra_scripts = ${common.extra_scripts}
  791. [env:jangoe-wifi-relay-no]
  792. platform = ${common.platform}
  793. framework = arduino
  794. board = esp12e
  795. lib_deps = ${common.lib_deps}
  796. lib_ignore = ${common.lib_ignore}
  797. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  798. monitor_baud = 115200
  799. extra_scripts = ${common.extra_scripts}
  800. [env:jangoe-wifi-relay-no-ota]
  801. platform = ${common.platform}
  802. framework = arduino
  803. board = esp12e
  804. lib_deps = ${common.lib_deps}
  805. lib_ignore = ${common.lib_ignore}
  806. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  807. upload_speed = 115200
  808. upload_port = ${common.upload_port}
  809. upload_flags = ${common.upload_flags}
  810. monitor_baud = 115200
  811. extra_scripts = ${common.extra_scripts}
  812. [env:openenergymonitor-mqtt-relay]
  813. platform = ${common.platform}
  814. framework = arduino
  815. board = esp_wroom_02
  816. lib_deps = ${common.lib_deps}
  817. lib_ignore = ${common.lib_ignore}
  818. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  819. monitor_baud = 115200
  820. extra_scripts = ${common.extra_scripts}
  821. [env:openenergymonitor-mqtt-relay-ota]
  822. platform = ${common.platform}
  823. framework = arduino
  824. board = esp_wroom_02
  825. lib_deps = ${common.lib_deps}
  826. lib_ignore = ${common.lib_ignore}
  827. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  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:jorgegarcia-wifi-relays]
  834. platform = ${common.platform}
  835. framework = arduino
  836. board = esp01_1m
  837. lib_deps = ${common.lib_deps}
  838. lib_ignore = ${common.lib_ignore}
  839. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  840. monitor_baud = 115200
  841. extra_scripts = ${common.extra_scripts}
  842. [env:jorgegarcia-wifi-relays-ota]
  843. platform = ${common.platform}
  844. framework = arduino
  845. board = esp01_1m
  846. lib_deps = ${common.lib_deps}
  847. lib_ignore = ${common.lib_ignore}
  848. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  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:aithinker-ai-light]
  855. platform = ${common.platform}
  856. framework = arduino
  857. board = esp01_1m
  858. board_flash_mode = dout
  859. lib_deps = ${common.lib_deps}
  860. lib_ignore = ${common.lib_ignore}
  861. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  862. monitor_baud = 115200
  863. extra_scripts = ${common.extra_scripts}
  864. [env:aithinker-ai-light-ota]
  865. platform = ${common.platform}
  866. framework = arduino
  867. board = esp01_1m
  868. board_flash_mode = dout
  869. lib_deps = ${common.lib_deps}
  870. lib_ignore = ${common.lib_ignore}
  871. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  872. upload_speed = 115200
  873. upload_port = ${common.upload_port}
  874. upload_flags = ${common.upload_flags}
  875. monitor_baud = 115200
  876. extra_scripts = ${common.extra_scripts}
  877. [env:magichome-led-controller]
  878. platform = ${common.platform}
  879. framework = arduino
  880. board = esp01_1m
  881. board_flash_mode = dout
  882. lib_deps = ${common.lib_deps}
  883. lib_ignore = ${common.lib_ignore}
  884. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  885. monitor_baud = 115200
  886. extra_scripts = ${common.extra_scripts}
  887. [env:magichome-led-controller-ota]
  888. platform = ${common.platform}
  889. framework = arduino
  890. board = esp01_1m
  891. board_flash_mode = dout
  892. lib_deps = ${common.lib_deps}
  893. lib_ignore = ${common.lib_ignore}
  894. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  895. upload_speed = 115200
  896. upload_port = ${common.upload_port}
  897. upload_flags = ${common.upload_flags}
  898. monitor_baud = 115200
  899. extra_scripts = ${common.extra_scripts}
  900. [env:magichome-led-controller-20]
  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 = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  908. monitor_baud = 115200
  909. extra_scripts = ${common.extra_scripts}
  910. [env:magichome-led-controller-20-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 = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  918. upload_port = ${common.upload_port}
  919. upload_flags = ${common.upload_flags}
  920. monitor_baud = 115200
  921. extra_scripts = ${common.extra_scripts}
  922. [env:huacanxing-h801]
  923. platform = ${common.platform}
  924. framework = arduino
  925. board = esp01_1m
  926. board_flash_mode = dout
  927. lib_deps = ${common.lib_deps}
  928. lib_ignore = ${common.lib_ignore}
  929. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  930. monitor_baud = 115200
  931. extra_scripts = ${common.extra_scripts}
  932. [env:huacanxing-h801-ota]
  933. platform = ${common.platform}
  934. framework = arduino
  935. board = esp01_1m
  936. board_flash_mode = dout
  937. lib_deps = ${common.lib_deps}
  938. lib_ignore = ${common.lib_ignore}
  939. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  940. upload_speed = 115200
  941. upload_port = ${common.upload_port}
  942. upload_flags = ${common.upload_flags}
  943. monitor_baud = 115200
  944. extra_scripts = ${common.extra_scripts}
  945. [env:huacanxing-h802]
  946. platform = ${common.platform}
  947. framework = arduino
  948. board = esp01_1m
  949. board_flash_mode = dout
  950. lib_deps = ${common.lib_deps}
  951. lib_ignore = ${common.lib_ignore}
  952. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  953. monitor_baud = 115200
  954. extra_scripts = ${common.extra_scripts}
  955. [env:huacanxing-h802-ota]
  956. platform = ${common.platform}
  957. framework = arduino
  958. board = esp01_1m
  959. board_flash_mode = dout
  960. lib_deps = ${common.lib_deps}
  961. lib_ignore = ${common.lib_ignore}
  962. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  963. upload_speed = 115200
  964. upload_port = ${common.upload_port}
  965. upload_flags = ${common.upload_flags}
  966. monitor_baud = 115200
  967. extra_scripts = ${common.extra_scripts}
  968. [env:arilux-al-lc01]
  969. platform = ${common.platform}
  970. framework = arduino
  971. board = esp01_1m
  972. board_flash_mode = dout
  973. lib_deps = ${common.lib_deps}
  974. lib_ignore = ${common.lib_ignore}
  975. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  976. monitor_baud = 115200
  977. extra_scripts = ${common.extra_scripts}
  978. [env:arilux-al-lc01-ota]
  979. platform = ${common.platform}
  980. framework = arduino
  981. board = esp01_1m
  982. board_flash_mode = dout
  983. lib_deps = ${common.lib_deps}
  984. lib_ignore = ${common.lib_ignore}
  985. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  986. upload_speed = 115200
  987. upload_port = ${common.upload_port}
  988. upload_flags = ${common.upload_flags}
  989. monitor_baud = 115200
  990. extra_scripts = ${common.extra_scripts}
  991. [env:arilux-al-lc02]
  992. platform = ${common.platform}
  993. framework = arduino
  994. board = esp01_1m
  995. board_flash_mode = dout
  996. lib_deps = ${common.lib_deps}
  997. lib_ignore = ${common.lib_ignore}
  998. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  999. monitor_baud = 115200
  1000. extra_scripts = ${common.extra_scripts}
  1001. [env:arilux-al-lc02-ota]
  1002. platform = ${common.platform}
  1003. framework = arduino
  1004. board = esp01_1m
  1005. board_flash_mode = dout
  1006. lib_deps = ${common.lib_deps}
  1007. lib_ignore = ${common.lib_ignore}
  1008. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  1009. upload_speed = 115200
  1010. upload_port = ${common.upload_port}
  1011. upload_flags = ${common.upload_flags}
  1012. monitor_baud = 115200
  1013. extra_scripts = ${common.extra_scripts}
  1014. [env:arilux-al-lc06]
  1015. platform = ${common.platform}
  1016. framework = arduino
  1017. board = esp01_1m
  1018. board_flash_mode = dout
  1019. lib_deps = ${common.lib_deps}
  1020. lib_ignore = ${common.lib_ignore}
  1021. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  1022. monitor_baud = 115200
  1023. extra_scripts = ${common.extra_scripts}
  1024. [env:arilux-al-lc06-ota]
  1025. platform = ${common.platform}
  1026. framework = arduino
  1027. board = esp01_1m
  1028. board_flash_mode = dout
  1029. lib_deps = ${common.lib_deps}
  1030. lib_ignore = ${common.lib_ignore}
  1031. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  1032. upload_speed = 115200
  1033. upload_port = ${common.upload_port}
  1034. upload_flags = ${common.upload_flags}
  1035. monitor_baud = 115200
  1036. extra_scripts = ${common.extra_scripts}
  1037. [env:arilux-al-lc11]
  1038. platform = ${common.platform}
  1039. framework = arduino
  1040. board = esp01_1m
  1041. board_flash_mode = dout
  1042. lib_deps = ${common.lib_deps}
  1043. lib_ignore = ${common.lib_ignore}
  1044. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  1045. monitor_baud = 115200
  1046. extra_scripts = ${common.extra_scripts}
  1047. [env:arilux-al-lc11-ota]
  1048. platform = ${common.platform}
  1049. framework = arduino
  1050. board = esp01_1m
  1051. board_flash_mode = dout
  1052. lib_deps = ${common.lib_deps}
  1053. lib_ignore = ${common.lib_ignore}
  1054. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  1055. upload_speed = 115200
  1056. upload_port = ${common.upload_port}
  1057. upload_flags = ${common.upload_flags}
  1058. monitor_baud = 115200
  1059. extra_scripts = ${common.extra_scripts}
  1060. [env:arilux-e27]
  1061. platform = ${common.platform}
  1062. framework = arduino
  1063. board = esp01_1m
  1064. board_flash_mode = dout
  1065. lib_deps = ${common.lib_deps}
  1066. lib_ignore = ${common.lib_ignore}
  1067. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  1068. monitor_baud = 115200
  1069. extra_scripts = ${common.extra_scripts}
  1070. [env:arilux-e27-ota]
  1071. platform = ${common.platform}
  1072. framework = arduino
  1073. board = esp01_1m
  1074. board_flash_mode = dout
  1075. lib_deps = ${common.lib_deps}
  1076. lib_ignore = ${common.lib_ignore}
  1077. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  1078. upload_speed = 115200
  1079. upload_port = ${common.upload_port}
  1080. upload_flags = ${common.upload_flags}
  1081. monitor_baud = 115200
  1082. extra_scripts = ${common.extra_scripts}
  1083. [env:itead-bnsz01]
  1084. platform = ${common.platform}
  1085. framework = arduino
  1086. board = esp01_1m
  1087. board_flash_mode = dout
  1088. lib_deps = ${common.lib_deps}
  1089. lib_ignore = ${common.lib_ignore}
  1090. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1091. monitor_baud = 115200
  1092. extra_scripts = ${common.extra_scripts}
  1093. [env:itead-bnsz01-ota]
  1094. platform = ${common.platform}
  1095. framework = arduino
  1096. board = esp01_1m
  1097. board_flash_mode = dout
  1098. lib_deps = ${common.lib_deps}
  1099. lib_ignore = ${common.lib_ignore}
  1100. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1101. upload_speed = 115200
  1102. upload_port = ${common.upload_port}
  1103. upload_flags = ${common.upload_flags}
  1104. monitor_baud = 115200
  1105. extra_scripts = ${common.extra_scripts}
  1106. [env:wion-50055]
  1107. platform = ${common.platform}
  1108. framework = arduino
  1109. board = esp01_1m
  1110. board_flash_mode = dout
  1111. lib_deps = ${common.lib_deps}
  1112. lib_ignore = ${common.lib_ignore}
  1113. build_flags = ${common.build_flags_1m} -DWION_50055
  1114. monitor_baud = 115200
  1115. extra_scripts = ${common.extra_scripts}
  1116. [env:wion-50055-ota]
  1117. platform = ${common.platform}
  1118. framework = arduino
  1119. board = esp01_1m
  1120. board_flash_mode = dout
  1121. lib_deps = ${common.lib_deps}
  1122. lib_ignore = ${common.lib_ignore}
  1123. build_flags = ${common.build_flags_1m} -DWION_50055
  1124. upload_speed = 115200
  1125. upload_port = ${common.upload_port}
  1126. upload_flags = ${common.upload_flags}
  1127. monitor_baud = 115200
  1128. extra_scripts = ${common.extra_scripts}
  1129. [env:exs-wifi-relay-v31]
  1130. platform = ${common.platform}
  1131. framework = arduino
  1132. board = esp07
  1133. board_flash_mode = dout
  1134. lib_deps = ${common.lib_deps}
  1135. lib_ignore = ${common.lib_ignore}
  1136. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1137. monitor_baud = 115200
  1138. extra_scripts = ${common.extra_scripts}
  1139. [env:exs-wifi-relay-v31-ota]
  1140. platform = ${common.platform}
  1141. framework = arduino
  1142. board = esp07
  1143. board_flash_mode = dout
  1144. lib_deps = ${common.lib_deps}
  1145. lib_ignore = ${common.lib_ignore}
  1146. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  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:wemos-v9261f]
  1153. platform = ${common.platform}
  1154. framework = arduino
  1155. board = d1_mini
  1156. lib_deps = ${common.lib_deps}
  1157. lib_ignore = ${common.lib_ignore}
  1158. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1159. upload_speed = 460800
  1160. monitor_baud = 115200
  1161. extra_scripts = ${common.extra_scripts}
  1162. [env:wemos-v9261f-ota]
  1163. platform = ${common.platform}
  1164. framework = arduino
  1165. board = d1_mini
  1166. lib_deps = ${common.lib_deps}
  1167. lib_ignore = ${common.lib_ignore}
  1168. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1169. upload_speed = 115200
  1170. upload_port = ${common.upload_port}
  1171. upload_flags = ${common.upload_flags}
  1172. monitor_baud = 115200
  1173. extra_scripts = ${common.extra_scripts}
  1174. [env:esp01-v9261f]
  1175. platform = ${common.platform}
  1176. framework = arduino
  1177. board = esp01_1m
  1178. board_flash_mode = dout
  1179. lib_deps = ${common.lib_deps}
  1180. lib_ignore = ${common.lib_ignore}
  1181. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1182. monitor_baud = 115200
  1183. extra_scripts = ${common.extra_scripts}
  1184. [env:esp01-v9261f-ota]
  1185. platform = ${common.platform}
  1186. framework = arduino
  1187. board = esp01_1m
  1188. board_flash_mode = dout
  1189. lib_deps = ${common.lib_deps}
  1190. lib_ignore = ${common.lib_ignore}
  1191. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  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:wemos-ech1560]
  1198. platform = ${common.platform}
  1199. framework = arduino
  1200. board = d1_mini
  1201. lib_deps = ${common.lib_deps}
  1202. lib_ignore = ${common.lib_ignore}
  1203. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1204. upload_speed = 460800
  1205. monitor_baud = 115200
  1206. extra_scripts = ${common.extra_scripts}
  1207. [env:wemos-ech1560-ota]
  1208. platform = ${common.platform}
  1209. framework = arduino
  1210. board = d1_mini
  1211. lib_deps = ${common.lib_deps}
  1212. lib_ignore = ${common.lib_ignore}
  1213. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1214. upload_speed = 115200
  1215. upload_port = ${common.upload_port}
  1216. upload_flags = ${common.upload_flags}
  1217. monitor_baud = 115200
  1218. extra_scripts = ${common.extra_scripts}
  1219. [env:esp01-ech1560]
  1220. platform = ${common.platform}
  1221. framework = arduino
  1222. board = esp01_1m
  1223. board_flash_mode = dout
  1224. lib_deps = ${common.lib_deps}
  1225. lib_ignore = ${common.lib_ignore}
  1226. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1227. monitor_baud = 115200
  1228. extra_scripts = ${common.extra_scripts}
  1229. [env:esp01-ech1560-ota]
  1230. platform = ${common.platform}
  1231. framework = arduino
  1232. board = esp01_1m
  1233. board_flash_mode = dout
  1234. lib_deps = ${common.lib_deps}
  1235. lib_ignore = ${common.lib_ignore}
  1236. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1237. upload_speed = 115200
  1238. upload_port = ${common.upload_port}
  1239. upload_flags = ${common.upload_flags}
  1240. monitor_baud = 115200
  1241. extra_scripts = ${common.extra_scripts}
  1242. [env:mancavemade-esplive]
  1243. platform = ${common.platform}
  1244. framework = arduino
  1245. board = d1_mini
  1246. lib_deps = ${common.lib_deps}
  1247. lib_ignore = ${common.lib_ignore}
  1248. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1249. upload_speed = 460800
  1250. monitor_baud = 115200
  1251. extra_scripts = ${common.extra_scripts}
  1252. [env:mancavemade-esplive-ota]
  1253. platform = ${common.platform}
  1254. framework = arduino
  1255. board = d1_mini
  1256. lib_deps = ${common.lib_deps}
  1257. lib_ignore = ${common.lib_ignore}
  1258. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1259. upload_speed = 460800
  1260. upload_port = ${common.upload_port}
  1261. upload_flags = ${common.upload_flags}
  1262. monitor_baud = 115200
  1263. extra_scripts = ${common.extra_scripts}
  1264. [env:intermittech-quinled]
  1265. platform = ${common.platform}
  1266. framework = arduino
  1267. board = esp01_1m
  1268. board_flash_mode = dout
  1269. lib_deps = ${common.lib_deps}
  1270. lib_ignore = ${common.lib_ignore}
  1271. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1272. monitor_baud = 115200
  1273. extra_scripts = ${common.extra_scripts}
  1274. [env:intermittech-quinled-ota]
  1275. platform = ${common.platform}
  1276. framework = arduino
  1277. board = esp01_1m
  1278. board_flash_mode = dout
  1279. lib_deps = ${common.lib_deps}
  1280. lib_ignore = ${common.lib_ignore}
  1281. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1282. upload_speed = 115200
  1283. upload_port = ${common.upload_port}
  1284. upload_flags = ${common.upload_flags}
  1285. monitor_baud = 115200
  1286. extra_scripts = ${common.extra_scripts}
  1287. [env:xenon-sm-pw702u]
  1288. platform = ${common.platform}
  1289. framework = arduino
  1290. board = esp12e
  1291. board_flash_mode = dout
  1292. lib_deps = ${common.lib_deps}
  1293. lib_ignore = ${common.lib_ignore}
  1294. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1295. monitor_baud = 115200
  1296. extra_scripts = ${common.extra_scripts}
  1297. [env:xenon-sm-pw702u-ota]
  1298. platform = ${common.platform}
  1299. framework = arduino
  1300. board = esp12e
  1301. board_flash_mode = dout
  1302. lib_deps = ${common.lib_deps}
  1303. lib_ignore = ${common.lib_ignore}
  1304. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1305. upload_speed = 115200
  1306. upload_port = ${common.upload_port}
  1307. upload_flags = ${common.upload_flags}
  1308. monitor_baud = 115200
  1309. extra_scripts = ${common.extra_scripts}
  1310. [env:authometion-lyt8266]
  1311. platform = ${common.platform}
  1312. framework = arduino
  1313. board = esp01_1m
  1314. board_flash_mode = dout
  1315. lib_deps = ${common.lib_deps}
  1316. lib_ignore = ${common.lib_ignore}
  1317. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1318. monitor_baud = 115200
  1319. extra_scripts = ${common.extra_scripts}
  1320. [env:authometion-lyt8266-ota]
  1321. platform = ${common.platform}
  1322. framework = arduino
  1323. board = esp01_1m
  1324. board_flash_mode = dout
  1325. lib_deps = ${common.lib_deps}
  1326. lib_ignore = ${common.lib_ignore}
  1327. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1328. upload_speed = 115200
  1329. upload_port = ${common.upload_port}
  1330. upload_flags = ${common.upload_flags}
  1331. monitor_baud = 115200
  1332. extra_scripts = ${common.extra_scripts}
  1333. [env:kmc-70011]
  1334. platform = ${common.platform}
  1335. framework = arduino
  1336. board = esp01_1m
  1337. board_flash_mode = dout
  1338. lib_deps = ${common.lib_deps}
  1339. lib_ignore = ${common.lib_ignore}
  1340. build_flags = ${common.build_flags_1m} -DKMC_70011
  1341. monitor_baud = 115200
  1342. extra_scripts = ${common.extra_scripts}
  1343. [env:kmc-70011-ota]
  1344. platform = ${common.platform}
  1345. framework = arduino
  1346. board = esp01_1m
  1347. board_flash_mode = dout
  1348. lib_deps = ${common.lib_deps}
  1349. lib_ignore = ${common.lib_ignore}
  1350. build_flags = ${common.build_flags_1m} -DKMC_70011
  1351. upload_speed = 115200
  1352. upload_port = ${common.upload_port}
  1353. upload_flags = ${common.upload_flags}
  1354. monitor_baud = 115200
  1355. extra_scripts = ${common.extra_scripts}
  1356. [env:yjzk-switch-2ch]
  1357. platform = ${common.platform}
  1358. framework = arduino
  1359. board = esp01_1m
  1360. board_flash_mode = dout
  1361. lib_deps = ${common.lib_deps}
  1362. lib_ignore = ${common.lib_ignore}
  1363. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1364. monitor_baud = 115200
  1365. extra_scripts = ${common.extra_scripts}
  1366. [env:yjzk-switch-2ch-ota]
  1367. platform = ${common.platform}
  1368. framework = arduino
  1369. board = esp01_1m
  1370. board_flash_mode = dout
  1371. lib_deps = ${common.lib_deps}
  1372. lib_ignore = ${common.lib_ignore}
  1373. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1374. upload_speed = 115200
  1375. upload_port = ${common.upload_port}
  1376. upload_flags = ${common.upload_flags}
  1377. monitor_baud = 115200
  1378. extra_scripts = ${common.extra_scripts}
  1379. [env:generic-8ch]
  1380. platform = ${common.platform}
  1381. framework = arduino
  1382. board = d1_mini
  1383. lib_deps = ${common.lib_deps}
  1384. lib_ignore = ${common.lib_ignore}
  1385. build_flags = ${common.build_flags} -DGENERIC_8CH
  1386. upload_speed = 460800
  1387. monitor_baud = 115200
  1388. extra_scripts = ${common.extra_scripts}
  1389. [env:gizwits-witty-cloud]
  1390. platform = ${common.platform}
  1391. framework = arduino
  1392. board = esp12e
  1393. board_flash_mode = dout
  1394. lib_deps = ${common.lib_deps}
  1395. lib_ignore = ${common.lib_ignore}
  1396. build_flags = ${common.build_flags} -DGIZWITS_WITTY_CLOUD
  1397. monitor_baud = 115200
  1398. extra_scripts = ${common.extra_scripts}
  1399. [env:gizwits-witty-cloud-ota]
  1400. platform = ${common.platform}
  1401. framework = arduino
  1402. board = esp12e
  1403. board_flash_mode = dout
  1404. lib_deps = ${common.lib_deps}
  1405. lib_ignore = ${common.lib_ignore}
  1406. build_flags = ${common.build_flags} -DGIZWITS_WITTY_CLOUD
  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:euromate-wifi-stecker-shuko]
  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} -DEUROMATE_WIFI_STECKER_SCHUKO
  1419. monitor_baud = 115200
  1420. extra_scripts = ${common.extra_scripts}
  1421. [env:euromate-wifi-stecker-shuko-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} -DEUROMATE_WIFI_STECKER_SCHUKO
  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:tonbux-powerstrip02]
  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} -DTONBUX_POWERSTRIP02
  1441. monitor_baud = 115200
  1442. extra_scripts = ${common.extra_scripts}
  1443. [env:tonbux-powerstrip02-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} -DTONBUX_POWERSTRIP02
  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:lingan-swa1]
  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} -DLINGAN_SWA1
  1463. monitor_baud = 115200
  1464. extra_scripts = ${common.extra_scripts}
  1465. [env:lingan-swa1-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} -DLINGAN_SWA1
  1473. upload_speed = 115200
  1474. upload_port = "${env.ESPURNA_IP}"
  1475. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1476. extra_scripts = ${common.extra_scripts}
  1477. [env:stm-relay]
  1478. platform = ${common.platform}
  1479. framework = arduino
  1480. board = esp01_1m
  1481. board_flash_mode = dout
  1482. lib_deps = ${common.lib_deps}
  1483. lib_ignore = ${common.lib_ignore}
  1484. build_flags = ${common.build_flags_1m} -DSTM_RELAY
  1485. monitor_baud = 115200
  1486. extra_scripts = ${common.extra_scripts}
  1487. [env:stm-relay-ota]
  1488. platform = ${common.platform}
  1489. framework = arduino
  1490. board = esp01_1m
  1491. board_flash_mode = dout
  1492. lib_deps = ${common.lib_deps}
  1493. lib_ignore = ${common.lib_ignore}
  1494. build_flags = ${common.build_flags_1m} -DSTM_RELAY
  1495. upload_speed = 115200
  1496. upload_port = ${common.upload_port}
  1497. upload_flags = ${common.upload_flags}
  1498. monitor_baud = 115200
  1499. extra_scripts = ${common.extra_scripts}
  1500. [env:heygo-hy02]
  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} -DHEYGO_HY02
  1508. monitor_baud = 115200
  1509. extra_scripts = ${common.extra_scripts}
  1510. [env:heygo-hy02-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} -DHEYGO_HY02
  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:maxcio-wus002s]
  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} -DMAXCIO_WUS002S
  1530. monitor_baud = 115200
  1531. extra_scripts = ${common.extra_scripts}
  1532. [env:maxcio-wus002s-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} -DMAXCIO_WUS002S
  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:yidian-xsssa05]
  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} -DYIDIAN_XSSSA05
  1552. monitor_baud = 115200
  1553. extra_scripts = ${common.extra_scripts}
  1554. [env:yidian-xsssa05-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} -DYIDIAN_XSSSA05
  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:tonbux-xsssa06]
  1567. platform = ${common.platform}
  1568. framework = arduino
  1569. board = esp01_1m
  1570. board_flash_mode = dout
  1571. lib_deps = ${common.lib_deps}
  1572. lib_ignore = ${common.lib_ignore}
  1573. build_flags = ${common.build_flags_1m} -DTONBUX_XSSSA06
  1574. monitor_baud = 115200
  1575. extra_scripts = ${common.extra_scripts}
  1576. [env:tonbux-xsssa06-ota]
  1577. platform = ${common.platform}
  1578. framework = arduino
  1579. board = esp01_1m
  1580. board_flash_mode = dout
  1581. lib_deps = ${common.lib_deps}
  1582. lib_ignore = ${common.lib_ignore}
  1583. build_flags = ${common.build_flags_1m} -DTONBUX_XSSSA06
  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:green-esp8266relay]
  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} -DGREEN_ESP8266RELAY
  1596. monitor_baud = 115200
  1597. extra_scripts = ${common.extra_scripts}
  1598. [env:green-esp8266relay-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} -DGREEN_ESP8266RELAY
  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:ike-espike]
  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} -DIKE_ESPIKE
  1618. monitor_baud = 115200
  1619. extra_scripts = ${common.extra_scripts}
  1620. [env:ike-espike-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} -DIKE_ESPIKE
  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:arniex-swifitch]
  1633. platform = ${common.platform}
  1634. framework = arduino
  1635. board = esp12e
  1636. board_flash_mode = dout
  1637. lib_deps = ${common.lib_deps}
  1638. lib_ignore = ${common.lib_ignore}
  1639. build_flags = ${common.build_flags_1m} -DARNIEX_SWIFITCH
  1640. extra_scripts = ${common.extra_scripts}
  1641. monitor_baud = 115200
  1642. [env:arniex-swifitch-ota]
  1643. platform = ${common.platform}
  1644. framework = arduino
  1645. board = esp12e
  1646. board_flash_mode = dout
  1647. lib_deps = ${common.lib_deps}
  1648. lib_ignore = ${common.lib_ignore}
  1649. build_flags = ${common.build_flags_1m} -DARNIEX_SWIFITCH
  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-relay-40]
  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_ESP01SRELAY40
  1662. monitor_baud = 115200
  1663. extra_scripts = ${common.extra_scripts}
  1664. [env:generic-esp01s-relay-40-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_ESP01SRELAY40
  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:generic-esp01s-rgbled-10]
  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} -DGENERIC_ESP01SRGBLED10
  1684. monitor_baud = 115200
  1685. extra_scripts = ${common.extra_scripts}
  1686. [env:generic-esp01s-rgbled-10-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} -DGENERIC_ESP01SRGBLED10
  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. [env:heltec-touch-relay]
  1699. platform = ${common.platform}
  1700. framework = arduino
  1701. board = esp01_1m
  1702. board_flash_mode = dout
  1703. lib_deps = ${common.lib_deps}
  1704. lib_ignore = ${common.lib_ignore}
  1705. build_flags = ${common.build_flags_1m} -DHELTEC_TOUCHRELAY
  1706. monitor_baud = 115200
  1707. extra_scripts = ${common.extra_scripts}
  1708. [env:heltec-touch-relay-ota]
  1709. platform = ${common.platform}
  1710. framework = arduino
  1711. board = esp01_1m
  1712. board_flash_mode = dout
  1713. lib_deps = ${common.lib_deps}
  1714. lib_ignore = ${common.lib_ignore}
  1715. build_flags = ${common.build_flags_1m} -DHELTEC_TOUCHRELAY
  1716. upload_speed = 115200
  1717. upload_port = "${env.ESPURNA_IP}"
  1718. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1719. extra_scripts = ${common.extra_scripts}
  1720. # ------------------------------------------------------------------------------
  1721. # GENERIC OTA ENVIRONMENTS
  1722. # ------------------------------------------------------------------------------
  1723. [env:esp8266-1m-ota]
  1724. platform = ${common.platform}
  1725. framework = arduino
  1726. board = esp01_1m
  1727. board_flash_mode = dout
  1728. lib_deps = ${common.lib_deps}
  1729. lib_ignore = ${common.lib_ignore}
  1730. build_flags = ${common.build_flags_1m} -D${env.ESPURNA_BOARD}
  1731. upload_speed = 115200
  1732. upload_port = "${env.ESPURNA_IP}"
  1733. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1734. extra_scripts = ${common.extra_scripts}
  1735. [env:esp8266-4m-ota]
  1736. platform = ${common.platform}
  1737. framework = arduino
  1738. board = esp12e
  1739. board_flash_mode = dout
  1740. lib_deps = ${common.lib_deps}
  1741. lib_ignore = ${common.lib_ignore}
  1742. build_flags = ${common.build_flags} -D${env.ESPURNA_BOARD}
  1743. upload_speed = 115200
  1744. upload_port = "${env.ESPURNA_IP}"
  1745. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1746. extra_scripts = ${common.extra_scripts}
  1747. # ------------------------------------------------------------------------------
  1748. # SPECIAL BUILDS - DO. NOT. USE. ever ---
  1749. # ------------------------------------------------------------------------------
  1750. [env:travis01]
  1751. platform = ${common.platform}
  1752. framework = arduino
  1753. board = esp12e
  1754. lib_deps = ${common.lib_deps}
  1755. lib_ignore = ${common.lib_ignore}
  1756. build_flags = ${common.build_flags} -DTRAVIS01
  1757. monitor_baud = 115200
  1758. extra_scripts = ${common.extra_scripts}
  1759. [env:travis02]
  1760. platform = ${common.platform}
  1761. framework = arduino
  1762. board = esp12e
  1763. lib_deps = ${common.lib_deps}
  1764. lib_ignore = ${common.lib_ignore}
  1765. build_flags = ${common.build_flags} -DTRAVIS02
  1766. monitor_baud = 115200
  1767. extra_scripts = ${common.extra_scripts}
  1768. [env:travis03]
  1769. platform = espressif8266@1.6.0
  1770. framework = arduino
  1771. board = esp12e
  1772. lib_deps = ${common.lib_deps}
  1773. lib_ignore = ${common.lib_ignore}
  1774. build_flags = ${common.build_flags} -DTRAVIS03 -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  1775. monitor_baud = 115200
  1776. extra_scripts = ${common.extra_scripts}