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.

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