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.

1528 lines
43 KiB

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
  7. platform = https://github.com/platformio/platform-espressif8266.git#v1.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.0
  27. https://bitbucket.org/xoseperez/nofuss.git#0.2.5
  28. https://github.com/xoseperez/NtpClient.git#b35e249
  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_stage
  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_stage
  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. # ------------------------------------------------------------------------------
  175. [env:itead-sonoff-basic]
  176. platform = ${common.platform}
  177. framework = arduino
  178. board = esp01_1m
  179. board_flash_mode = dout
  180. lib_deps = ${common.lib_deps}
  181. lib_ignore = ${common.lib_ignore}
  182. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
  183. monitor_baud = 115200
  184. extra_scripts = ${common.extra_scripts}
  185. [env:itead-sonoff-basic-ota]
  186. platform = ${common.platform}
  187. framework = arduino
  188. board = esp01_1m
  189. board_flash_mode = dout
  190. lib_deps = ${common.lib_deps}
  191. lib_ignore = ${common.lib_ignore}
  192. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
  193. upload_speed = 115200
  194. upload_port = "192.168.4.1"
  195. upload_flags = --auth=fibonacci --port 8266
  196. monitor_baud = 115200
  197. extra_scripts = ${common.extra_scripts}
  198. [env:itead-sonoff-basic-dht]
  199. platform = ${common.platform}
  200. framework = arduino
  201. board = esp01_1m
  202. board_flash_mode = dout
  203. lib_deps = ${common.lib_deps}
  204. lib_ignore = ${common.lib_ignore}
  205. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  206. monitor_baud = 115200
  207. extra_scripts = ${common.extra_scripts}
  208. [env:itead-sonoff-basic-dht-ota]
  209. platform = ${common.platform}
  210. framework = arduino
  211. board = esp01_1m
  212. board_flash_mode = dout
  213. lib_deps = ${common.lib_deps}
  214. lib_ignore = ${common.lib_ignore}
  215. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  216. upload_speed = 115200
  217. upload_port = "192.168.4.1"
  218. upload_flags = --auth=fibonacci --port 8266
  219. monitor_baud = 115200
  220. extra_scripts = ${common.extra_scripts}
  221. [env:itead-sonoff-basic-dallas]
  222. platform = ${common.platform}
  223. framework = arduino
  224. board = esp01_1m
  225. board_flash_mode = dout
  226. lib_deps = ${common.lib_deps}
  227. lib_ignore = ${common.lib_ignore}
  228. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1
  229. monitor_baud = 115200
  230. extra_scripts = ${common.extra_scripts}
  231. [env:itead-sonoff-rf]
  232. platform = ${common.platform}
  233. framework = arduino
  234. board = esp01_1m
  235. board_flash_mode = dout
  236. lib_deps = ${common.lib_deps}
  237. lib_ignore = ${common.lib_ignore}
  238. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RF
  239. monitor_baud = 115200
  240. extra_scripts = ${common.extra_scripts}
  241. [env:itead-sonoff-rf-ota]
  242. platform = ${common.platform}
  243. framework = arduino
  244. board = esp01_1m
  245. board_flash_mode = dout
  246. lib_deps = ${common.lib_deps}
  247. lib_ignore = ${common.lib_ignore}
  248. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RF
  249. upload_speed = 115200
  250. upload_port = "192.168.4.1"
  251. upload_flags = --auth=fibonacci --port 8266
  252. monitor_baud = 115200
  253. extra_scripts = ${common.extra_scripts}
  254. [env:itead-sonoff-th]
  255. platform = ${common.platform}
  256. framework = arduino
  257. board = esp01_1m
  258. board_flash_mode = dout
  259. lib_deps = ${common.lib_deps}
  260. lib_ignore = ${common.lib_ignore}
  261. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TH
  262. monitor_baud = 115200
  263. extra_scripts = ${common.extra_scripts}
  264. [env:itead-sonoff-th-ota]
  265. platform = ${common.platform}
  266. framework = arduino
  267. board = esp01_1m
  268. board_flash_mode = dout
  269. lib_deps = ${common.lib_deps}
  270. lib_ignore = ${common.lib_ignore}
  271. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TH
  272. upload_speed = 115200
  273. upload_port = "192.168.4.1"
  274. upload_flags = --auth=fibonacci --port 8266
  275. monitor_baud = 115200
  276. extra_scripts = ${common.extra_scripts}
  277. [env:itead-sonoff-pow]
  278. platform = ${common.platform}
  279. framework = arduino
  280. board = esp01_1m
  281. board_flash_mode = dout
  282. lib_deps = ${common.lib_deps}
  283. lib_ignore = ${common.lib_ignore}
  284. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW
  285. monitor_baud = 115200
  286. extra_scripts = ${common.extra_scripts}
  287. [env:itead-sonoff-pow-ota]
  288. platform = ${common.platform}
  289. framework = arduino
  290. board = esp01_1m
  291. board_flash_mode = dout
  292. lib_deps = ${common.lib_deps}
  293. lib_ignore = ${common.lib_ignore}
  294. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW
  295. upload_speed = 115200
  296. upload_port = "192.168.4.1"
  297. upload_flags = --auth=fibonacci --port 8266
  298. monitor_baud = 115200
  299. extra_scripts = ${common.extra_scripts}
  300. [env:itead-sonoff-dual]
  301. platform = ${common.platform}
  302. framework = arduino
  303. board = esp01_1m
  304. board_flash_mode = dout
  305. lib_deps = ${common.lib_deps}
  306. lib_ignore = ${common.lib_ignore}
  307. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  308. extra_scripts = ${common.extra_scripts}
  309. [env:itead-sonoff-dual-ota]
  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. upload_speed = 115200
  318. upload_port = "192.168.4.1"
  319. upload_flags = --auth=fibonacci --port 8266
  320. extra_scripts = ${common.extra_scripts}
  321. [env:itead-sonoff-dual-r2]
  322. platform = ${common.platform}
  323. framework = arduino
  324. board = esp01_1m
  325. board_flash_mode = dout
  326. lib_deps = ${common.lib_deps}
  327. lib_ignore = ${common.lib_ignore}
  328. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL_R2
  329. extra_scripts = ${common.extra_scripts}
  330. [env:itead-sonoff-dual-ota-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. upload_speed = 115200
  339. upload_port = "192.168.4.1"
  340. upload_flags = --auth=fibonacci --port 8266
  341. extra_scripts = ${common.extra_scripts}
  342. [env:itead-sonoff-4ch]
  343. platform = ${common.platform}
  344. framework = arduino
  345. board = esp01_1m
  346. board_flash_mode = dout
  347. lib_deps = ${common.lib_deps}
  348. lib_ignore = ${common.lib_ignore}
  349. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH
  350. monitor_baud = 115200
  351. extra_scripts = ${common.extra_scripts}
  352. [env:itead-sonoff-4ch-ota]
  353. platform = ${common.platform}
  354. framework = arduino
  355. board = esp01_1m
  356. board_flash_mode = dout
  357. lib_deps = ${common.lib_deps}
  358. lib_ignore = ${common.lib_ignore}
  359. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH
  360. upload_speed = 115200
  361. upload_port = "192.168.4.1"
  362. upload_flags = --auth=fibonacci --port 8266
  363. monitor_baud = 115200
  364. extra_scripts = ${common.extra_scripts}
  365. [env:itead-sonoff-4ch-pro]
  366. platform = ${common.platform}
  367. framework = arduino
  368. board = esp01_1m
  369. board_flash_mode = dout
  370. lib_deps = ${common.lib_deps}
  371. lib_ignore = ${common.lib_ignore}
  372. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO
  373. monitor_baud = 115200
  374. extra_scripts = ${common.extra_scripts}
  375. [env:itead-sonoff-4ch-pro-ota]
  376. platform = ${common.platform}
  377. framework = arduino
  378. board = esp01_1m
  379. board_flash_mode = dout
  380. lib_deps = ${common.lib_deps}
  381. lib_ignore = ${common.lib_ignore}
  382. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO
  383. upload_speed = 115200
  384. upload_port = "192.168.4.1"
  385. upload_flags = --auth=fibonacci --port 8266
  386. monitor_baud = 115200
  387. extra_scripts = ${common.extra_scripts}
  388. [env:itead-sonoff-touch]
  389. platform = ${common.platform}
  390. framework = arduino
  391. board = esp01_1m
  392. board_flash_mode = dout
  393. lib_deps = ${common.lib_deps}
  394. lib_ignore = ${common.lib_ignore}
  395. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH
  396. monitor_baud = 115200
  397. extra_scripts = ${common.extra_scripts}
  398. [env:itead-sonoff-touch-ota]
  399. platform = ${common.platform}
  400. framework = arduino
  401. board = esp01_1m
  402. board_flash_mode = dout
  403. lib_deps = ${common.lib_deps}
  404. lib_ignore = ${common.lib_ignore}
  405. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH
  406. upload_speed = 115200
  407. upload_port = "192.168.4.1"
  408. upload_flags = --auth=fibonacci --port 8266
  409. monitor_baud = 115200
  410. extra_scripts = ${common.extra_scripts}
  411. [env:itead-sonoff-b1]
  412. platform = ${common.platform}
  413. framework = arduino
  414. board = esp01_1m
  415. board_flash_mode = dout
  416. lib_deps = ${common.lib_deps}
  417. lib_ignore = ${common.lib_ignore}
  418. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
  419. monitor_baud = 115200
  420. extra_scripts = ${common.extra_scripts}
  421. [env:itead-sonoff-b1-ota]
  422. platform = ${common.platform}
  423. framework = arduino
  424. board = esp01_1m
  425. board_flash_mode = dout
  426. lib_deps = ${common.lib_deps}
  427. lib_ignore = ${common.lib_ignore}
  428. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
  429. upload_speed = 115200
  430. upload_port = "192.168.4.1"
  431. upload_flags = --auth=fibonacci --port 8266
  432. monitor_baud = 115200
  433. extra_scripts = ${common.extra_scripts}
  434. [env:itead-sonoff-t1-1ch]
  435. platform = ${common.platform}
  436. framework = arduino
  437. board = esp01_1m
  438. board_flash_mode = dout
  439. lib_deps = ${common.lib_deps}
  440. lib_ignore = ${common.lib_ignore}
  441. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH
  442. monitor_baud = 115200
  443. extra_scripts = ${common.extra_scripts}
  444. [env:itead-sonoff-t1-1ch-ota]
  445. platform = ${common.platform}
  446. framework = arduino
  447. board = esp01_1m
  448. board_flash_mode = dout
  449. lib_deps = ${common.lib_deps}
  450. lib_ignore = ${common.lib_ignore}
  451. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH
  452. upload_speed = 115200
  453. upload_port = "192.168.4.1"
  454. upload_flags = --auth=fibonacci --port 8266
  455. monitor_baud = 115200
  456. extra_scripts = ${common.extra_scripts}
  457. [env:itead-sonoff-t1-2ch]
  458. platform = ${common.platform}
  459. framework = arduino
  460. board = esp01_1m
  461. board_flash_mode = dout
  462. lib_deps = ${common.lib_deps}
  463. lib_ignore = ${common.lib_ignore}
  464. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
  465. monitor_baud = 115200
  466. extra_scripts = ${common.extra_scripts}
  467. [env:itead-sonoff-t1-2ch-ota]
  468. platform = ${common.platform}
  469. framework = arduino
  470. board = esp01_1m
  471. board_flash_mode = dout
  472. lib_deps = ${common.lib_deps}
  473. lib_ignore = ${common.lib_ignore}
  474. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
  475. upload_speed = 115200
  476. upload_port = "192.168.4.1"
  477. upload_flags = --auth=fibonacci --port 8266
  478. monitor_baud = 115200
  479. extra_scripts = ${common.extra_scripts}
  480. [env:itead-sonoff-t1-3ch]
  481. platform = ${common.platform}
  482. framework = arduino
  483. board = esp01_1m
  484. board_flash_mode = dout
  485. lib_deps = ${common.lib_deps}
  486. lib_ignore = ${common.lib_ignore}
  487. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
  488. monitor_baud = 115200
  489. extra_scripts = ${common.extra_scripts}
  490. [env:itead-sonoff-t1-3ch-ota]
  491. platform = ${common.platform}
  492. framework = arduino
  493. board = esp01_1m
  494. board_flash_mode = dout
  495. lib_deps = ${common.lib_deps}
  496. lib_ignore = ${common.lib_ignore}
  497. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
  498. upload_speed = 115200
  499. upload_port = "192.168.4.1"
  500. upload_flags = --auth=fibonacci --port 8266
  501. monitor_baud = 115200
  502. extra_scripts = ${common.extra_scripts}
  503. [env:itead-sonoff-led]
  504. platform = ${common.platform}
  505. framework = arduino
  506. board = esp01_1m
  507. board_flash_mode = dout
  508. lib_deps = ${common.lib_deps}
  509. lib_ignore = ${common.lib_ignore}
  510. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
  511. monitor_baud = 115200
  512. extra_scripts = ${common.extra_scripts}
  513. [env:itead-sonoff-led-ota]
  514. platform = ${common.platform}
  515. framework = arduino
  516. board = esp01_1m
  517. board_flash_mode = dout
  518. lib_deps = ${common.lib_deps}
  519. lib_ignore = ${common.lib_ignore}
  520. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
  521. upload_speed = 115200
  522. upload_port = "192.168.4.1"
  523. upload_flags = --auth=fibonacci --port 8266
  524. monitor_baud = 115200
  525. extra_scripts = ${common.extra_scripts}
  526. [env:itead-sonoff-rfbridge]
  527. platform = ${common.platform}
  528. framework = arduino
  529. board = esp01_1m
  530. board_flash_mode = dout
  531. lib_deps = ${common.lib_deps}
  532. lib_ignore = ${common.lib_ignore}
  533. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  534. monitor_baud = 19200
  535. extra_scripts = ${common.extra_scripts}
  536. [env:itead-sonoff-rfbridge-ota]
  537. platform = ${common.platform}
  538. framework = arduino
  539. board = esp01_1m
  540. board_flash_mode = dout
  541. lib_deps = ${common.lib_deps}
  542. lib_ignore = ${common.lib_ignore}
  543. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  544. upload_speed = 115200
  545. upload_port = "192.168.4.1"
  546. upload_flags = --auth=Algernon1 --port 8266
  547. monitor_baud = 19200
  548. extra_scripts = ${common.extra_scripts}
  549. # ------------------------------------------------------------------------------
  550. [env:itead-slampher]
  551. platform = ${common.platform}
  552. framework = arduino
  553. board = esp01_1m
  554. board_flash_mode = dout
  555. lib_deps = ${common.lib_deps}
  556. lib_ignore = ${common.lib_ignore}
  557. build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
  558. monitor_baud = 115200
  559. extra_scripts = ${common.extra_scripts}
  560. [env:itead-slampher-ota]
  561. platform = ${common.platform}
  562. framework = arduino
  563. board = esp01_1m
  564. board_flash_mode = dout
  565. lib_deps = ${common.lib_deps}
  566. lib_ignore = ${common.lib_ignore}
  567. build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
  568. upload_speed = 115200
  569. upload_port = "192.168.4.1"
  570. upload_flags = --auth=fibonacci --port 8266
  571. monitor_baud = 115200
  572. extra_scripts = ${common.extra_scripts}
  573. [env:itead-s20]
  574. platform = ${common.platform}
  575. framework = arduino
  576. board = esp01_1m
  577. board_flash_mode = dout
  578. lib_deps = ${common.lib_deps}
  579. lib_ignore = ${common.lib_ignore}
  580. build_flags = ${common.build_flags_1m} -DITEAD_S20
  581. monitor_baud = 115200
  582. extra_scripts = ${common.extra_scripts}
  583. [env:itead-s20-ota]
  584. platform = ${common.platform}
  585. framework = arduino
  586. board = esp01_1m
  587. board_flash_mode = dout
  588. lib_deps = ${common.lib_deps}
  589. lib_ignore = ${common.lib_ignore}
  590. build_flags = ${common.build_flags_1m} -DITEAD_S20
  591. upload_speed = 115200
  592. upload_port = "192.168.4.1"
  593. upload_flags = --auth=fibonacci --port 8266
  594. monitor_baud = 115200
  595. extra_scripts = ${common.extra_scripts}
  596. [env:itead-1ch-inching]
  597. platform = ${common.platform}
  598. framework = arduino
  599. board = esp01_1m
  600. board_flash_mode = dout
  601. lib_deps = ${common.lib_deps}
  602. lib_ignore = ${common.lib_ignore}
  603. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  604. monitor_baud = 115200
  605. extra_scripts = ${common.extra_scripts}
  606. [env:itead-1ch-inching-ota]
  607. platform = ${common.platform}
  608. framework = arduino
  609. board = esp01_1m
  610. board_flash_mode = dout
  611. lib_deps = ${common.lib_deps}
  612. lib_ignore = ${common.lib_ignore}
  613. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  614. upload_speed = 115200
  615. upload_port = "192.168.4.1"
  616. upload_flags = --auth=fibonacci --port 8266
  617. monitor_baud = 115200
  618. extra_scripts = ${common.extra_scripts}
  619. [env:itead-motor]
  620. platform = ${common.platform}
  621. framework = arduino
  622. board = esp01_1m
  623. board_flash_mode = dout
  624. lib_deps = ${common.lib_deps}
  625. lib_ignore = ${common.lib_ignore}
  626. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  627. monitor_baud = 115200
  628. extra_scripts = ${common.extra_scripts}
  629. [env:itead-motor-ota]
  630. platform = ${common.platform}
  631. framework = arduino
  632. board = esp01_1m
  633. board_flash_mode = dout
  634. lib_deps = ${common.lib_deps}
  635. lib_ignore = ${common.lib_ignore}
  636. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  637. upload_speed = 115200
  638. upload_port = "192.168.4.1"
  639. upload_flags = --auth=fibonacci --port 8266
  640. monitor_baud = 115200
  641. extra_scripts = ${common.extra_scripts}
  642. # ------------------------------------------------------------------------------
  643. [env:electrodragon-wifi-iot]
  644. platform = ${common.platform}
  645. framework = arduino
  646. board = esp12e
  647. lib_deps = ${common.lib_deps}
  648. lib_ignore = ${common.lib_ignore}
  649. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  650. monitor_baud = 115200
  651. extra_scripts = ${common.extra_scripts}
  652. [env:electrodragon-wifi-iot-ota]
  653. platform = ${common.platform}
  654. framework = arduino
  655. board = esp12e
  656. lib_deps = ${common.lib_deps}
  657. lib_ignore = ${common.lib_ignore}
  658. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  659. upload_speed = 115200
  660. upload_port = "192.168.4.1"
  661. upload_flags = --auth=fibonacci --port 8266
  662. monitor_baud = 115200
  663. extra_scripts = ${common.extra_scripts}
  664. [env:workchoice-ecoplug]
  665. platform = ${common.platform}
  666. framework = arduino
  667. board = esp01_1m
  668. board_flash_mode = dout
  669. lib_deps = ${common.lib_deps}
  670. lib_ignore = ${common.lib_ignore}
  671. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  672. monitor_baud = 115200
  673. extra_scripts = ${common.extra_scripts}
  674. [env:workchoice-ecoplug-ota]
  675. platform = ${common.platform}
  676. framework = arduino
  677. board = esp01_1m
  678. board_flash_mode = dout
  679. lib_deps = ${common.lib_deps}
  680. lib_ignore = ${common.lib_ignore}
  681. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  682. upload_speed = 115200
  683. upload_port = "192.168.4.1"
  684. upload_flags = --auth=fibonacci --port 8266
  685. monitor_baud = 115200
  686. extra_scripts = ${common.extra_scripts}
  687. [env:jangoe-wifi-relay-nc]
  688. platform = ${common.platform}
  689. framework = arduino
  690. board = esp12e
  691. lib_deps = ${common.lib_deps}
  692. lib_ignore = ${common.lib_ignore}
  693. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  694. monitor_baud = 115200
  695. extra_scripts = ${common.extra_scripts}
  696. [env:jangoe-wifi-relay-nc-ota]
  697. platform = ${common.platform}
  698. framework = arduino
  699. board = esp12e
  700. lib_deps = ${common.lib_deps}
  701. lib_ignore = ${common.lib_ignore}
  702. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  703. upload_speed = 115200
  704. upload_port = "192.168.4.1"
  705. upload_flags = --auth=fibonacci --port 8266
  706. monitor_baud = 115200
  707. extra_scripts = ${common.extra_scripts}
  708. [env:jangoe-wifi-relay-no]
  709. platform = ${common.platform}
  710. framework = arduino
  711. board = esp12e
  712. lib_deps = ${common.lib_deps}
  713. lib_ignore = ${common.lib_ignore}
  714. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  715. monitor_baud = 115200
  716. extra_scripts = ${common.extra_scripts}
  717. [env:jangoe-wifi-relay-no-ota]
  718. platform = ${common.platform}
  719. framework = arduino
  720. board = esp12e
  721. lib_deps = ${common.lib_deps}
  722. lib_ignore = ${common.lib_ignore}
  723. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  724. upload_speed = 115200
  725. upload_port = "192.168.4.1"
  726. upload_flags = --auth=fibonacci --port 8266
  727. monitor_baud = 115200
  728. extra_scripts = ${common.extra_scripts}
  729. [env:openenergymonitor-mqtt-relay]
  730. platform = ${common.platform}
  731. framework = arduino
  732. board = esp_wroom_02
  733. lib_deps = ${common.lib_deps}
  734. lib_ignore = ${common.lib_ignore}
  735. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  736. monitor_baud = 115200
  737. extra_scripts = ${common.extra_scripts}
  738. [env:openenergymonitor-mqtt-relay-ota]
  739. platform = ${common.platform}
  740. framework = arduino
  741. board = esp_wroom_02
  742. lib_deps = ${common.lib_deps}
  743. lib_ignore = ${common.lib_ignore}
  744. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  745. upload_speed = 115200
  746. upload_port = "192.168.4.1"
  747. upload_flags = --auth=fibonacci --port 8266
  748. monitor_baud = 115200
  749. extra_scripts = ${common.extra_scripts}
  750. [env:jorgegarcia-wifi-relays]
  751. platform = ${common.platform}
  752. framework = arduino
  753. board = esp01_1m
  754. lib_deps = ${common.lib_deps}
  755. lib_ignore = ${common.lib_ignore}
  756. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  757. monitor_baud = 115200
  758. extra_scripts = ${common.extra_scripts}
  759. [env:jorgegarcia-wifi-relays-ota]
  760. platform = ${common.platform}
  761. framework = arduino
  762. board = esp01_1m
  763. lib_deps = ${common.lib_deps}
  764. lib_ignore = ${common.lib_ignore}
  765. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  766. upload_speed = 115200
  767. upload_port = "192.168.4.1"
  768. upload_flags = --auth=fibonacci --port 8266
  769. monitor_baud = 115200
  770. extra_scripts = ${common.extra_scripts}
  771. [env:aithinker-ai-light]
  772. platform = ${common.platform}
  773. framework = arduino
  774. board = esp01_1m
  775. board_flash_mode = dout
  776. lib_deps = ${common.lib_deps}
  777. lib_ignore = ${common.lib_ignore}
  778. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  779. monitor_baud = 115200
  780. extra_scripts = ${common.extra_scripts}
  781. [env:aithinker-ai-light-ota]
  782. platform = ${common.platform}
  783. framework = arduino
  784. board = esp01_1m
  785. board_flash_mode = dout
  786. lib_deps = ${common.lib_deps}
  787. lib_ignore = ${common.lib_ignore}
  788. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  789. upload_speed = 115200
  790. upload_port = "192.168.4.1"
  791. upload_flags = --auth=fibonacci --port 8266
  792. monitor_baud = 115200
  793. extra_scripts = ${common.extra_scripts}
  794. [env:magichome-led-controller]
  795. platform = ${common.platform}
  796. framework = arduino
  797. board = esp01_1m
  798. board_flash_mode = dout
  799. lib_deps = ${common.lib_deps}
  800. lib_ignore = ${common.lib_ignore}
  801. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  802. monitor_baud = 115200
  803. extra_scripts = ${common.extra_scripts}
  804. [env:magichome-led-controller-ota]
  805. platform = ${common.platform}
  806. framework = arduino
  807. board = esp01_1m
  808. board_flash_mode = dout
  809. lib_deps = ${common.lib_deps}
  810. lib_ignore = ${common.lib_ignore}
  811. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  812. upload_speed = 115200
  813. upload_port = "192.168.4.1"
  814. upload_flags = --auth=fibonacci --port 8266
  815. monitor_baud = 115200
  816. extra_scripts = ${common.extra_scripts}
  817. [env:magichome-led-controller-20]
  818. platform = ${common.platform}
  819. framework = arduino
  820. board = esp01_1m
  821. board_flash_mode = dout
  822. lib_deps = ${common.lib_deps}
  823. lib_ignore = ${common.lib_ignore}
  824. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  825. monitor_baud = 115200
  826. extra_scripts = ${common.extra_scripts}
  827. [env:magichome-led-controller-20-ota]
  828. platform = ${common.platform}
  829. framework = arduino
  830. board = esp01_1m
  831. board_flash_mode = dout
  832. lib_deps = ${common.lib_deps}
  833. lib_ignore = ${common.lib_ignore}
  834. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  835. upload_port = "192.168.4.1"
  836. upload_flags = --auth=fibonacci --port 8266
  837. monitor_baud = 115200
  838. extra_scripts = ${common.extra_scripts}
  839. [env:magichome-led-controller-23]
  840. platform = ${common.platform}
  841. framework = arduino
  842. board = esp01_1m
  843. board_flash_mode = dout
  844. lib_deps = ${common.lib_deps}
  845. lib_ignore = ${common.lib_ignore}
  846. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_23
  847. monitor_baud = 115200
  848. extra_scripts = ${common.extra_scripts}
  849. [env:magichome-led-controller-23-ota]
  850. platform = ${common.platform}
  851. framework = arduino
  852. board = esp01_1m
  853. board_flash_mode = dout
  854. lib_deps = ${common.lib_deps}
  855. lib_ignore = ${common.lib_ignore}
  856. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_23
  857. upload_port = "192.168.4.1"
  858. upload_flags = --auth=fibonacci --port 8266
  859. monitor_baud = 115200
  860. extra_scripts = ${common.extra_scripts}
  861. [env:huacanxing-h801]
  862. platform = ${common.platform}
  863. framework = arduino
  864. board = esp01_1m
  865. board_flash_mode = dout
  866. lib_deps = ${common.lib_deps}
  867. lib_ignore = ${common.lib_ignore}
  868. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  869. monitor_baud = 115200
  870. extra_scripts = ${common.extra_scripts}
  871. [env:huacanxing-h801-ota]
  872. platform = ${common.platform}
  873. framework = arduino
  874. board = esp01_1m
  875. board_flash_mode = dout
  876. lib_deps = ${common.lib_deps}
  877. lib_ignore = ${common.lib_ignore}
  878. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  879. upload_speed = 115200
  880. upload_port = "192.168.4.1"
  881. upload_flags = --auth=fibonacci --port 8266
  882. monitor_baud = 115200
  883. extra_scripts = ${common.extra_scripts}
  884. [env:huacanxing-h802]
  885. platform = ${common.platform}
  886. framework = arduino
  887. board = esp01_1m
  888. board_flash_mode = dout
  889. lib_deps = ${common.lib_deps}
  890. lib_ignore = ${common.lib_ignore}
  891. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  892. monitor_baud = 115200
  893. extra_scripts = ${common.extra_scripts}
  894. [env:huacanxing-h802-ota]
  895. platform = ${common.platform}
  896. framework = arduino
  897. board = esp01_1m
  898. board_flash_mode = dout
  899. lib_deps = ${common.lib_deps}
  900. lib_ignore = ${common.lib_ignore}
  901. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  902. upload_speed = 115200
  903. upload_port = "192.168.4.1"
  904. upload_flags = --auth=fibonacci --port 8266
  905. monitor_baud = 115200
  906. extra_scripts = ${common.extra_scripts}
  907. [env:arilux-al-lc01]
  908. platform = ${common.platform}
  909. framework = arduino
  910. board = esp01_1m
  911. board_flash_mode = dout
  912. lib_deps = ${common.lib_deps}
  913. lib_ignore = ${common.lib_ignore}
  914. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  915. monitor_baud = 115200
  916. extra_scripts = ${common.extra_scripts}
  917. [env:arilux-al-lc01-ota]
  918. platform = ${common.platform}
  919. framework = arduino
  920. board = esp01_1m
  921. board_flash_mode = dout
  922. lib_deps = ${common.lib_deps}
  923. lib_ignore = ${common.lib_ignore}
  924. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  925. upload_speed = 115200
  926. upload_port = "192.168.4.1"
  927. upload_flags = --auth=fibonacci --port 8266
  928. monitor_baud = 115200
  929. extra_scripts = ${common.extra_scripts}
  930. [env:arilux-al-lc02]
  931. platform = ${common.platform}
  932. framework = arduino
  933. board = esp01_1m
  934. board_flash_mode = dout
  935. lib_deps = ${common.lib_deps}
  936. lib_ignore = ${common.lib_ignore}
  937. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  938. monitor_baud = 115200
  939. extra_scripts = ${common.extra_scripts}
  940. [env:arilux-al-lc02-ota]
  941. platform = ${common.platform}
  942. framework = arduino
  943. board = esp01_1m
  944. board_flash_mode = dout
  945. lib_deps = ${common.lib_deps}
  946. lib_ignore = ${common.lib_ignore}
  947. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  948. upload_speed = 115200
  949. upload_port = "192.168.4.1"
  950. upload_flags = --auth=fibonacci --port 8266
  951. monitor_baud = 115200
  952. extra_scripts = ${common.extra_scripts}
  953. [env:arilux-al-lc06]
  954. platform = ${common.platform}
  955. framework = arduino
  956. board = esp01_1m
  957. board_flash_mode = dout
  958. lib_deps = ${common.lib_deps}
  959. lib_ignore = ${common.lib_ignore}
  960. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  961. monitor_baud = 115200
  962. extra_scripts = ${common.extra_scripts}
  963. [env:arilux-al-lc06-ota]
  964. platform = ${common.platform}
  965. framework = arduino
  966. board = esp01_1m
  967. board_flash_mode = dout
  968. lib_deps = ${common.lib_deps}
  969. lib_ignore = ${common.lib_ignore}
  970. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  971. upload_speed = 115200
  972. upload_port = "192.168.4.1"
  973. upload_flags = --auth=fibonacci --port 8266
  974. monitor_baud = 115200
  975. extra_scripts = ${common.extra_scripts}
  976. [env:arilux-al-lc11]
  977. platform = ${common.platform}
  978. framework = arduino
  979. board = esp01_1m
  980. board_flash_mode = dout
  981. lib_deps = ${common.lib_deps}
  982. lib_ignore = ${common.lib_ignore}
  983. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  984. monitor_baud = 115200
  985. extra_scripts = ${common.extra_scripts}
  986. [env:arilux-al-lc11-ota]
  987. platform = ${common.platform}
  988. framework = arduino
  989. board = esp01_1m
  990. board_flash_mode = dout
  991. lib_deps = ${common.lib_deps}
  992. lib_ignore = ${common.lib_ignore}
  993. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  994. upload_speed = 115200
  995. upload_port = "192.168.4.1"
  996. upload_flags = --auth=fibonacci --port 8266
  997. monitor_baud = 115200
  998. extra_scripts = ${common.extra_scripts}
  999. [env:arilux-e27]
  1000. platform = ${common.platform}
  1001. framework = arduino
  1002. board = esp01_1m
  1003. board_flash_mode = dout
  1004. lib_deps = ${common.lib_deps}
  1005. lib_ignore = ${common.lib_ignore}
  1006. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  1007. monitor_baud = 115200
  1008. extra_scripts = ${common.extra_scripts}
  1009. [env:arilux-e27-ota]
  1010. platform = ${common.platform}
  1011. framework = arduino
  1012. board = esp01_1m
  1013. board_flash_mode = dout
  1014. lib_deps = ${common.lib_deps}
  1015. lib_ignore = ${common.lib_ignore}
  1016. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  1017. upload_speed = 115200
  1018. upload_port = "192.168.4.1"
  1019. upload_flags = --auth=fibonacci --port 8266
  1020. monitor_baud = 115200
  1021. extra_scripts = ${common.extra_scripts}
  1022. [env:itead-bnsz01]
  1023. platform = ${common.platform}
  1024. framework = arduino
  1025. board = esp01_1m
  1026. board_flash_mode = dout
  1027. lib_deps = ${common.lib_deps}
  1028. lib_ignore = ${common.lib_ignore}
  1029. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1030. monitor_baud = 115200
  1031. extra_scripts = ${common.extra_scripts}
  1032. [env:itead-bnsz01-ota]
  1033. platform = ${common.platform}
  1034. framework = arduino
  1035. board = esp01_1m
  1036. board_flash_mode = dout
  1037. lib_deps = ${common.lib_deps}
  1038. lib_ignore = ${common.lib_ignore}
  1039. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1040. upload_speed = 115200
  1041. upload_port = "192.168.4.1"
  1042. upload_flags = --auth=fibonacci --port 8266
  1043. monitor_baud = 115200
  1044. extra_scripts = ${common.extra_scripts}
  1045. [env:wion-50055]
  1046. platform = ${common.platform}
  1047. framework = arduino
  1048. board = esp01_1m
  1049. board_flash_mode = dout
  1050. lib_deps = ${common.lib_deps}
  1051. lib_ignore = ${common.lib_ignore}
  1052. build_flags = ${common.build_flags_1m} -DWION_50055
  1053. monitor_baud = 115200
  1054. extra_scripts = ${common.extra_scripts}
  1055. [env:wion-50055-ota]
  1056. platform = ${common.platform}
  1057. framework = arduino
  1058. board = esp01_1m
  1059. board_flash_mode = dout
  1060. lib_deps = ${common.lib_deps}
  1061. lib_ignore = ${common.lib_ignore}
  1062. build_flags = ${common.build_flags_1m} -DWION_50055
  1063. upload_speed = 115200
  1064. upload_port = "192.168.4.1"
  1065. upload_flags = --auth=fibonacci --port 8266
  1066. monitor_baud = 115200
  1067. extra_scripts = ${common.extra_scripts}
  1068. [env:exs-wifi-relay-v31]
  1069. platform = ${common.platform}
  1070. framework = arduino
  1071. board = esp07
  1072. board_flash_mode = dout
  1073. lib_deps = ${common.lib_deps}
  1074. lib_ignore = ${common.lib_ignore}
  1075. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1076. monitor_baud = 115200
  1077. extra_scripts = ${common.extra_scripts}
  1078. [env:exs-wifi-relay-v31-ota]
  1079. platform = ${common.platform}
  1080. framework = arduino
  1081. board = esp07
  1082. board_flash_mode = dout
  1083. lib_deps = ${common.lib_deps}
  1084. lib_ignore = ${common.lib_ignore}
  1085. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1086. upload_speed = 115200
  1087. upload_port = "192.168.4.1"
  1088. upload_flags = --auth=fibonacci --port 8266
  1089. monitor_baud = 115200
  1090. extra_scripts = ${common.extra_scripts}
  1091. [env:wemos-v9261f]
  1092. platform = ${common.platform}
  1093. framework = arduino
  1094. board = d1_mini
  1095. lib_deps = ${common.lib_deps}
  1096. lib_ignore = ${common.lib_ignore}
  1097. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1098. upload_speed = 460800
  1099. monitor_baud = 115200
  1100. extra_scripts = ${common.extra_scripts}
  1101. [env:wemos-v9261f-ota]
  1102. platform = ${common.platform}
  1103. framework = arduino
  1104. board = d1_mini
  1105. lib_deps = ${common.lib_deps}
  1106. lib_ignore = ${common.lib_ignore}
  1107. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1108. upload_speed = 115200
  1109. upload_port = "192.168.4.1"
  1110. upload_flags = --auth=fibonacci --port 8266
  1111. monitor_baud = 115200
  1112. extra_scripts = ${common.extra_scripts}
  1113. [env:esp01-v9261f]
  1114. platform = ${common.platform}
  1115. framework = arduino
  1116. board = esp01_1m
  1117. board_flash_mode = dout
  1118. lib_deps = ${common.lib_deps}
  1119. lib_ignore = ${common.lib_ignore}
  1120. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1121. monitor_baud = 115200
  1122. extra_scripts = ${common.extra_scripts}
  1123. [env:esp01-v9261f-ota]
  1124. platform = ${common.platform}
  1125. framework = arduino
  1126. board = esp01_1m
  1127. board_flash_mode = dout
  1128. lib_deps = ${common.lib_deps}
  1129. lib_ignore = ${common.lib_ignore}
  1130. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1131. upload_speed = 115200
  1132. upload_port = "192.168.4.1"
  1133. upload_flags = --auth=fibonacci --port 8266
  1134. monitor_baud = 115200
  1135. extra_scripts = ${common.extra_scripts}
  1136. [env:wemos-ech1560]
  1137. platform = ${common.platform}
  1138. framework = arduino
  1139. board = d1_mini
  1140. lib_deps = ${common.lib_deps}
  1141. lib_ignore = ${common.lib_ignore}
  1142. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1143. upload_speed = 460800
  1144. monitor_baud = 115200
  1145. extra_scripts = ${common.extra_scripts}
  1146. [env:wemos-ech1560-ota]
  1147. platform = ${common.platform}
  1148. framework = arduino
  1149. board = d1_mini
  1150. lib_deps = ${common.lib_deps}
  1151. lib_ignore = ${common.lib_ignore}
  1152. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1153. upload_speed = 115200
  1154. upload_port = "192.168.4.1"
  1155. upload_flags = --auth=fibonacci --port 8266
  1156. monitor_baud = 115200
  1157. extra_scripts = ${common.extra_scripts}
  1158. [env:esp01-ech1560]
  1159. platform = ${common.platform}
  1160. framework = arduino
  1161. board = esp01_1m
  1162. board_flash_mode = dout
  1163. lib_deps = ${common.lib_deps}
  1164. lib_ignore = ${common.lib_ignore}
  1165. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1166. monitor_baud = 115200
  1167. extra_scripts = ${common.extra_scripts}
  1168. [env:esp01-ech1560-ota]
  1169. platform = ${common.platform}
  1170. framework = arduino
  1171. board = esp01_1m
  1172. board_flash_mode = dout
  1173. lib_deps = ${common.lib_deps}
  1174. lib_ignore = ${common.lib_ignore}
  1175. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1176. upload_speed = 115200
  1177. upload_port = "192.168.4.1"
  1178. upload_flags = --auth=fibonacci --port 8266
  1179. monitor_baud = 115200
  1180. extra_scripts = ${common.extra_scripts}
  1181. [env:mancavemade-esplive]
  1182. platform = ${common.platform}
  1183. framework = arduino
  1184. board = d1_mini
  1185. lib_deps = ${common.lib_deps}
  1186. lib_ignore = ${common.lib_ignore}
  1187. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1188. upload_speed = 460800
  1189. monitor_baud = 115200
  1190. extra_scripts = ${common.extra_scripts}
  1191. [env:mancavemade-esplive-ota]
  1192. platform = ${common.platform}
  1193. framework = arduino
  1194. board = d1_mini
  1195. lib_deps = ${common.lib_deps}
  1196. lib_ignore = ${common.lib_ignore}
  1197. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1198. upload_speed = 460800
  1199. upload_port = "192.168.4.1"
  1200. upload_flags = --auth=fibonacci --port 8266
  1201. monitor_baud = 115200
  1202. extra_scripts = ${common.extra_scripts}
  1203. [env:intermittech-quinled]
  1204. platform = ${common.platform}
  1205. framework = arduino
  1206. board = esp01_1m
  1207. board_flash_mode = dout
  1208. lib_deps = ${common.lib_deps}
  1209. lib_ignore = ${common.lib_ignore}
  1210. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1211. monitor_baud = 115200
  1212. extra_scripts = ${common.extra_scripts}
  1213. [env:intermittech-quinled-ota]
  1214. platform = ${common.platform}
  1215. framework = arduino
  1216. board = esp01_1m
  1217. board_flash_mode = dout
  1218. lib_deps = ${common.lib_deps}
  1219. lib_ignore = ${common.lib_ignore}
  1220. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1221. upload_speed = 115200
  1222. upload_port = "192.168.4.1"
  1223. upload_flags = --auth=fibonacci --port 8266
  1224. monitor_baud = 115200
  1225. extra_scripts = ${common.extra_scripts}
  1226. [env:xenon-sm-pw702u]
  1227. platform = ${common.platform}
  1228. framework = arduino
  1229. board = esp12e
  1230. board_flash_mode = dout
  1231. lib_deps = ${common.lib_deps}
  1232. lib_ignore = ${common.lib_ignore}
  1233. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1234. monitor_baud = 115200
  1235. extra_scripts = ${common.extra_scripts}
  1236. [env:xenon-sm-pw702u-ota]
  1237. platform = ${common.platform}
  1238. framework = arduino
  1239. board = esp12e
  1240. board_flash_mode = dout
  1241. lib_deps = ${common.lib_deps}
  1242. lib_ignore = ${common.lib_ignore}
  1243. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1244. upload_speed = 115200
  1245. upload_port = "192.168.4.1"
  1246. upload_flags = --auth=fibonacci --port 8266
  1247. monitor_baud = 115200
  1248. extra_scripts = ${common.extra_scripts}
  1249. [env:authometion-lyt8266]
  1250. platform = ${common.platform}
  1251. framework = arduino
  1252. board = esp01_1m
  1253. board_flash_mode = dout
  1254. lib_deps = ${common.lib_deps}
  1255. lib_ignore = ${common.lib_ignore}
  1256. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1257. monitor_baud = 115200
  1258. extra_scripts = ${common.extra_scripts}
  1259. [env:authometion-lyt8266-ota]
  1260. platform = ${common.platform}
  1261. framework = arduino
  1262. board = esp01_1m
  1263. board_flash_mode = dout
  1264. lib_deps = ${common.lib_deps}
  1265. lib_ignore = ${common.lib_ignore}
  1266. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1267. upload_speed = 115200
  1268. upload_port = "192.168.4.1"
  1269. upload_flags = --auth=fibonacci --port 8266
  1270. monitor_baud = 115200
  1271. extra_scripts = ${common.extra_scripts}
  1272. [env:kmc-70011]
  1273. platform = ${common.platform}
  1274. framework = arduino
  1275. board = esp01_1m
  1276. board_flash_mode = dout
  1277. lib_deps = ${common.lib_deps}
  1278. lib_ignore = ${common.lib_ignore}
  1279. build_flags = ${common.build_flags_1m} -DKMC_70011
  1280. monitor_baud = 115200
  1281. extra_scripts = ${common.extra_scripts}
  1282. [env:kmc-70011-ota]
  1283. platform = ${common.platform}
  1284. framework = arduino
  1285. board = esp01_1m
  1286. board_flash_mode = dout
  1287. lib_deps = ${common.lib_deps}
  1288. lib_ignore = ${common.lib_ignore}
  1289. build_flags = ${common.build_flags_1m} -DKMC_70011
  1290. upload_speed = 115200
  1291. upload_port = "192.168.4.1"
  1292. upload_flags = --auth=fibonacci --port 8266
  1293. monitor_baud = 115200
  1294. extra_scripts = ${common.extra_scripts}
  1295. [env:yjzk-switch-2ch]
  1296. platform = ${common.platform}
  1297. framework = arduino
  1298. board = esp01_1m
  1299. board_flash_mode = dout
  1300. lib_deps = ${common.lib_deps}
  1301. lib_ignore = ${common.lib_ignore}
  1302. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1303. monitor_baud = 115200
  1304. extra_scripts = ${common.extra_scripts}
  1305. [env:yjzk-switch-2ch-ota]
  1306. platform = ${common.platform}
  1307. framework = arduino
  1308. board = esp01_1m
  1309. board_flash_mode = dout
  1310. lib_deps = ${common.lib_deps}
  1311. lib_ignore = ${common.lib_ignore}
  1312. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1313. upload_speed = 115200
  1314. upload_port = "192.168.4.1"
  1315. upload_flags = --auth=fibonacci --port 8266
  1316. monitor_baud = 115200
  1317. extra_scripts = ${common.extra_scripts}
  1318. [env:generic-8ch]
  1319. platform = ${common.platform}
  1320. framework = arduino
  1321. board = d1_mini
  1322. lib_deps = ${common.lib_deps}
  1323. lib_ignore = ${common.lib_ignore}
  1324. build_flags = ${common.build_flags} -DGENERIC_8CH
  1325. upload_speed = 460800
  1326. monitor_baud = 115200
  1327. extra_scripts = ${common.extra_scripts}
  1328. [env:gizwits-witty-cloud]
  1329. platform = ${common.platform}
  1330. framework = arduino
  1331. board = esp12e
  1332. board_flash_mode = dout
  1333. lib_deps = ${common.lib_deps}
  1334. lib_ignore = ${common.lib_ignore}
  1335. build_flags = ${common.build_flags} -DGIZWITS_WITTY_CLOUD
  1336. monitor_baud = 115200
  1337. extra_scripts = ${common.extra_scripts}
  1338. [env:gizwits-witty-cloud-ota]
  1339. platform = ${common.platform}
  1340. framework = arduino
  1341. board = esp12e
  1342. board_flash_mode = dout
  1343. lib_deps = ${common.lib_deps}
  1344. lib_ignore = ${common.lib_ignore}
  1345. build_flags = ${common.build_flags} -DGIZWITS_WITTY_CLOUD
  1346. upload_speed = 115200
  1347. upload_port = "${env.ESPURNA_IP}"
  1348. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1349. extra_scripts = ${common.extra_scripts}
  1350. [env:stm-relay-ota]
  1351. platform = ${common.platform}
  1352. framework = arduino
  1353. board = esp01_1m
  1354. board_flash_mode = dout
  1355. lib_deps = ${common.lib_deps}
  1356. lib_ignore = ${common.lib_ignore}
  1357. build_flags = ${common.build_flags_1m} -DSTM_RELAY
  1358. monitor_baud = 115200
  1359. extra_scripts = ${common.extra_scripts}
  1360. [env:stm-relay-ota]
  1361. platform = ${common.platform}
  1362. framework = arduino
  1363. board = esp01_1m
  1364. board_flash_mode = dout
  1365. lib_deps = ${common.lib_deps}
  1366. lib_ignore = ${common.lib_ignore}
  1367. build_flags = ${common.build_flags_1m} -DSTM_RELAY
  1368. upload_speed = 115200
  1369. upload_port = "192.168.4.1"
  1370. upload_flags = --auth=fibonacci --port 8266
  1371. monitor_baud = 115200
  1372. extra_scripts = ${common.extra_scripts}
  1373. # ------------------------------------------------------------------------------
  1374. # GENERIC OTA ENVIRONMENTS
  1375. # ------------------------------------------------------------------------------
  1376. [env:esp8266-1m-ota]
  1377. platform = ${common.platform}
  1378. framework = arduino
  1379. board = esp01_1m
  1380. board_flash_mode = dout
  1381. lib_deps = ${common.lib_deps}
  1382. lib_ignore = ${common.lib_ignore}
  1383. build_flags = ${common.build_flags_1m} -D${env.ESPURNA_BOARD}
  1384. upload_speed = 115200
  1385. upload_port = "${env.ESPURNA_IP}"
  1386. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1387. extra_scripts = ${common.extra_scripts}
  1388. [env:esp8266-4m-ota]
  1389. platform = ${common.platform}
  1390. framework = arduino
  1391. board = esp12e
  1392. board_flash_mode = dout
  1393. lib_deps = ${common.lib_deps}
  1394. lib_ignore = ${common.lib_ignore}
  1395. build_flags = ${common.build_flags} -D${env.ESPURNA_BOARD}
  1396. upload_speed = 115200
  1397. upload_port = "${env.ESPURNA_IP}"
  1398. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1399. extra_scripts = ${common.extra_scripts}