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.

1385 lines
39 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. https://github.com/xoseperez/Time
  14. ArduinoJson
  15. https://github.com/me-no-dev/ESPAsyncTCP#a57560d
  16. https://github.com/me-no-dev/ESPAsyncWebServer#313f337
  17. https://github.com/marvinroger/async-mqtt-client#v0.8.1
  18. PubSubClient
  19. Embedis
  20. NtpClientLib
  21. OneWire
  22. Brzo I2C
  23. https://github.com/krosk93/espsoftwareserial#a770677
  24. SparkFun BME280
  25. PMS Library
  26. https://bitbucket.org/xoseperez/justwifi.git#1.1.4
  27. https://bitbucket.org/xoseperez/hlw8012.git#1.1.0
  28. https://bitbucket.org/xoseperez/fauxmoesp.git#2.4.0
  29. https://bitbucket.org/xoseperez/nofuss.git#0.2.5
  30. https://bitbucket.org/xoseperez/debounceevent.git#2.0.1
  31. https://github.com/xoseperez/my92xx#3.0.0
  32. https://github.com/xoseperez/RemoteSwitch-arduino-library.git
  33. https://github.com/markszabo/IRremoteESP8266#v2.2.0
  34. lib_ignore =
  35. extra_scripts = extra_scripts.py
  36. # ------------------------------------------------------------------------------
  37. [env:espurna-core]
  38. platform = ${common.platform}
  39. framework = arduino
  40. board = esp01_1m
  41. board_flash_mode = dout
  42. lib_deps = ${common.lib_deps}
  43. lib_ignore = ${common.lib_ignore}
  44. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DESPURNA_CORE
  45. monitor_baud = 115200
  46. extra_scripts = ${common.extra_scripts}
  47. # ------------------------------------------------------------------------------
  48. [env:wemos-d1mini-relayshield]
  49. platform = ${common.platform}
  50. framework = arduino
  51. board = d1_mini
  52. lib_deps = ${common.lib_deps}
  53. lib_ignore = ${common.lib_ignore}
  54. build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  55. upload_speed = 460800
  56. monitor_baud = 115200
  57. extra_scripts = ${common.extra_scripts}
  58. [env:wemos-d1mini-relayshield-ssl]
  59. platform = espressif8266_stage
  60. framework = arduino
  61. board = d1_mini
  62. lib_deps = ${common.lib_deps}
  63. lib_ignore = ${common.lib_ignore}
  64. build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  65. upload_speed = 460800
  66. monitor_baud = 115200
  67. extra_scripts = ${common.extra_scripts}
  68. [env:wemos-d1mini-relayshield-ota]
  69. platform = ${common.platform}
  70. framework = arduino
  71. board = d1_mini
  72. lib_deps = ${common.lib_deps}
  73. lib_ignore = ${common.lib_ignore}
  74. build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  75. upload_speed = 115200
  76. upload_port = "192.168.4.1"
  77. upload_flags = --auth=fibonacci --port 8266
  78. extra_scripts = ${common.extra_scripts}
  79. [env:nodemcu-lolin]
  80. platform = ${common.platform}
  81. framework = arduino
  82. board = nodemcuv2
  83. lib_deps = ${common.lib_deps}
  84. lib_ignore = ${common.lib_ignore}
  85. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  86. upload_speed = 460800
  87. monitor_baud = 115200
  88. extra_scripts = ${common.extra_scripts}
  89. [env:nodemcu-lolin-ssl]
  90. platform = espressif8266_stage
  91. framework = arduino
  92. board = nodemcuv2
  93. lib_deps = ${common.lib_deps}
  94. lib_ignore = ${common.lib_ignore}
  95. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  96. upload_speed = 460800
  97. monitor_baud = 115200
  98. extra_scripts = ${common.extra_scripts}
  99. [env:nodemcu-lolin-ota]
  100. platform = ${common.platform}
  101. framework = arduino
  102. board = nodemcuv2
  103. lib_deps = ${common.lib_deps}
  104. lib_ignore = ${common.lib_ignore}
  105. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  106. upload_speed = 115200
  107. upload_port = "192.168.4.1"
  108. upload_flags = --auth=fibonacci --port 8266
  109. monitor_baud = 115200
  110. extra_scripts = ${common.extra_scripts}
  111. # ------------------------------------------------------------------------------
  112. [env:tinkerman-espurna-h06]
  113. platform = ${common.platform}
  114. framework = arduino
  115. board = esp12e
  116. lib_deps = ${common.lib_deps}
  117. lib_ignore = ${common.lib_ignore}
  118. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H06
  119. monitor_baud = 115200
  120. extra_scripts = ${common.extra_scripts}
  121. [env:tinkerman-espurna-h06-ota]
  122. platform = ${common.platform}
  123. framework = arduino
  124. board = esp12e
  125. lib_deps = ${common.lib_deps}
  126. lib_ignore = ${common.lib_ignore}
  127. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H06
  128. upload_speed = 115200
  129. upload_port = "192.168.4.1"
  130. upload_flags = --auth=fibonacci --port 8266
  131. monitor_baud = 115200
  132. extra_scripts = ${common.extra_scripts}
  133. [env:tinkerman-espurna-h08]
  134. platform = ${common.platform}
  135. framework = arduino
  136. board = esp12e
  137. lib_deps = ${common.lib_deps}
  138. lib_ignore = ${common.lib_ignore}
  139. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H08
  140. monitor_baud = 115200
  141. extra_scripts = ${common.extra_scripts}
  142. [env:tinkerman-espurna-h08-ota]
  143. platform = ${common.platform}
  144. framework = arduino
  145. board = esp12e
  146. lib_deps = ${common.lib_deps}
  147. lib_ignore = ${common.lib_ignore}
  148. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H08
  149. upload_speed = 115200
  150. upload_port = "192.168.4.1"
  151. upload_flags = --auth=fibonacci --port 8266
  152. monitor_baud = 115200
  153. extra_scripts = ${common.extra_scripts}
  154. # ------------------------------------------------------------------------------
  155. [env:itead-sonoff-basic]
  156. platform = ${common.platform}
  157. framework = arduino
  158. board = esp01_1m
  159. board_flash_mode = dout
  160. lib_deps = ${common.lib_deps}
  161. lib_ignore = ${common.lib_ignore}
  162. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
  163. monitor_baud = 115200
  164. extra_scripts = ${common.extra_scripts}
  165. [env:itead-sonoff-basic-ota]
  166. platform = ${common.platform}
  167. framework = arduino
  168. board = esp01_1m
  169. board_flash_mode = dout
  170. lib_deps = ${common.lib_deps}
  171. lib_ignore = ${common.lib_ignore}
  172. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
  173. upload_speed = 115200
  174. upload_port = "192.168.4.1"
  175. upload_flags = --auth=fibonacci --port 8266
  176. monitor_baud = 115200
  177. extra_scripts = ${common.extra_scripts}
  178. [env:itead-sonoff-basic-dht]
  179. platform = ${common.platform}
  180. framework = arduino
  181. board = esp01_1m
  182. board_flash_mode = dout
  183. lib_deps = ${common.lib_deps}
  184. lib_ignore = ${common.lib_ignore}
  185. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  186. monitor_baud = 115200
  187. extra_scripts = ${common.extra_scripts}
  188. [env:itead-sonoff-basic-dht-ota]
  189. platform = ${common.platform}
  190. framework = arduino
  191. board = esp01_1m
  192. board_flash_mode = dout
  193. lib_deps = ${common.lib_deps}
  194. lib_ignore = ${common.lib_ignore}
  195. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  196. upload_speed = 115200
  197. upload_port = "192.168.4.1"
  198. upload_flags = --auth=fibonacci --port 8266
  199. monitor_baud = 115200
  200. extra_scripts = ${common.extra_scripts}
  201. [env:itead-sonoff-basic-dallas]
  202. platform = ${common.platform}
  203. framework = arduino
  204. board = esp01_1m
  205. board_flash_mode = dout
  206. lib_deps = ${common.lib_deps}
  207. lib_ignore = ${common.lib_ignore}
  208. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1
  209. monitor_baud = 115200
  210. extra_scripts = ${common.extra_scripts}
  211. [env:itead-sonoff-rf]
  212. platform = ${common.platform}
  213. framework = arduino
  214. board = esp01_1m
  215. board_flash_mode = dout
  216. lib_deps = ${common.lib_deps}
  217. lib_ignore = ${common.lib_ignore}
  218. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RF
  219. monitor_baud = 115200
  220. extra_scripts = ${common.extra_scripts}
  221. [env:itead-sonoff-rf-ota]
  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_RF
  229. upload_speed = 115200
  230. upload_port = "192.168.4.1"
  231. upload_flags = --auth=fibonacci --port 8266
  232. monitor_baud = 115200
  233. extra_scripts = ${common.extra_scripts}
  234. [env:itead-sonoff-th]
  235. platform = ${common.platform}
  236. framework = arduino
  237. board = esp01_1m
  238. board_flash_mode = dout
  239. lib_deps = ${common.lib_deps}
  240. lib_ignore = ${common.lib_ignore}
  241. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TH
  242. monitor_baud = 115200
  243. extra_scripts = ${common.extra_scripts}
  244. [env:itead-sonoff-th-ota]
  245. platform = ${common.platform}
  246. framework = arduino
  247. board = esp01_1m
  248. board_flash_mode = dout
  249. lib_deps = ${common.lib_deps}
  250. lib_ignore = ${common.lib_ignore}
  251. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TH
  252. upload_speed = 115200
  253. upload_port = "192.168.4.1"
  254. upload_flags = --auth=fibonacci --port 8266
  255. monitor_baud = 115200
  256. extra_scripts = ${common.extra_scripts}
  257. [env:itead-sonoff-pow]
  258. platform = ${common.platform}
  259. framework = arduino
  260. board = esp01_1m
  261. board_flash_mode = dout
  262. lib_deps = ${common.lib_deps}
  263. lib_ignore = ${common.lib_ignore}
  264. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW
  265. monitor_baud = 115200
  266. extra_scripts = ${common.extra_scripts}
  267. [env:itead-sonoff-pow-ota]
  268. platform = ${common.platform}
  269. framework = arduino
  270. board = esp01_1m
  271. board_flash_mode = dout
  272. lib_deps = ${common.lib_deps}
  273. lib_ignore = ${common.lib_ignore}
  274. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW
  275. upload_speed = 115200
  276. upload_port = "192.168.4.1"
  277. upload_flags = --auth=fibonacci --port 8266
  278. monitor_baud = 115200
  279. extra_scripts = ${common.extra_scripts}
  280. [env:itead-sonoff-dual]
  281. platform = ${common.platform}
  282. framework = arduino
  283. board = esp01_1m
  284. board_flash_mode = dout
  285. lib_deps = ${common.lib_deps}
  286. lib_ignore = ${common.lib_ignore}
  287. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  288. extra_scripts = ${common.extra_scripts}
  289. [env:itead-sonoff-dual-ota]
  290. platform = ${common.platform}
  291. framework = arduino
  292. board = esp01_1m
  293. board_flash_mode = dout
  294. lib_deps = ${common.lib_deps}
  295. lib_ignore = ${common.lib_ignore}
  296. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  297. upload_speed = 115200
  298. upload_port = "192.168.4.1"
  299. upload_flags = --auth=fibonacci --port 8266
  300. extra_scripts = ${common.extra_scripts}
  301. [env:itead-sonoff-dual-r2]
  302. platform = ${common.platform}
  303. framework = arduino
  304. board = esp01_1m
  305. board_flash_mode = dout
  306. lib_deps = ${common.lib_deps}
  307. lib_ignore = ${common.lib_ignore}
  308. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL_R2
  309. extra_scripts = ${common.extra_scripts}
  310. [env:itead-sonoff-dual-ota-r2]
  311. platform = ${common.platform}
  312. framework = arduino
  313. board = esp01_1m
  314. board_flash_mode = dout
  315. lib_deps = ${common.lib_deps}
  316. lib_ignore = ${common.lib_ignore}
  317. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL_R2
  318. upload_speed = 115200
  319. upload_port = "192.168.4.1"
  320. upload_flags = --auth=fibonacci --port 8266
  321. extra_scripts = ${common.extra_scripts}
  322. [env:itead-sonoff-4ch]
  323. platform = ${common.platform}
  324. framework = arduino
  325. board = esp01_1m
  326. board_flash_mode = dout
  327. lib_deps = ${common.lib_deps}
  328. lib_ignore = ${common.lib_ignore}
  329. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH
  330. monitor_baud = 115200
  331. extra_scripts = ${common.extra_scripts}
  332. [env:itead-sonoff-4ch-ota]
  333. platform = ${common.platform}
  334. framework = arduino
  335. board = esp01_1m
  336. board_flash_mode = dout
  337. lib_deps = ${common.lib_deps}
  338. lib_ignore = ${common.lib_ignore}
  339. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH
  340. upload_speed = 115200
  341. upload_port = "192.168.4.1"
  342. upload_flags = --auth=fibonacci --port 8266
  343. monitor_baud = 115200
  344. extra_scripts = ${common.extra_scripts}
  345. [env:itead-sonoff-4ch-pro]
  346. platform = ${common.platform}
  347. framework = arduino
  348. board = esp01_1m
  349. board_flash_mode = dout
  350. lib_deps = ${common.lib_deps}
  351. lib_ignore = ${common.lib_ignore}
  352. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO
  353. monitor_baud = 115200
  354. extra_scripts = ${common.extra_scripts}
  355. [env:itead-sonoff-4ch-pro-ota]
  356. platform = ${common.platform}
  357. framework = arduino
  358. board = esp01_1m
  359. board_flash_mode = dout
  360. lib_deps = ${common.lib_deps}
  361. lib_ignore = ${common.lib_ignore}
  362. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO
  363. upload_speed = 115200
  364. upload_port = "192.168.4.1"
  365. upload_flags = --auth=fibonacci --port 8266
  366. monitor_baud = 115200
  367. extra_scripts = ${common.extra_scripts}
  368. [env:itead-sonoff-touch]
  369. platform = ${common.platform}
  370. framework = arduino
  371. board = esp01_1m
  372. board_flash_mode = dout
  373. lib_deps = ${common.lib_deps}
  374. lib_ignore = ${common.lib_ignore}
  375. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH
  376. monitor_baud = 115200
  377. extra_scripts = ${common.extra_scripts}
  378. [env:itead-sonoff-touch-ota]
  379. platform = ${common.platform}
  380. framework = arduino
  381. board = esp01_1m
  382. board_flash_mode = dout
  383. lib_deps = ${common.lib_deps}
  384. lib_ignore = ${common.lib_ignore}
  385. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH
  386. upload_speed = 115200
  387. upload_port = "192.168.4.1"
  388. upload_flags = --auth=fibonacci --port 8266
  389. monitor_baud = 115200
  390. extra_scripts = ${common.extra_scripts}
  391. [env:itead-sonoff-b1]
  392. platform = ${common.platform}
  393. framework = arduino
  394. board = esp01_1m
  395. board_flash_mode = dout
  396. lib_deps = ${common.lib_deps}
  397. lib_ignore = ${common.lib_ignore}
  398. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
  399. monitor_baud = 115200
  400. extra_scripts = ${common.extra_scripts}
  401. [env:itead-sonoff-b1-ota]
  402. platform = ${common.platform}
  403. framework = arduino
  404. board = esp01_1m
  405. board_flash_mode = dout
  406. lib_deps = ${common.lib_deps}
  407. lib_ignore = ${common.lib_ignore}
  408. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
  409. upload_speed = 115200
  410. upload_port = "192.168.4.1"
  411. upload_flags = --auth=fibonacci --port 8266
  412. monitor_baud = 115200
  413. extra_scripts = ${common.extra_scripts}
  414. [env:itead-sonoff-t1-1ch]
  415. platform = ${common.platform}
  416. framework = arduino
  417. board = esp01_1m
  418. board_flash_mode = dout
  419. lib_deps = ${common.lib_deps}
  420. lib_ignore = ${common.lib_ignore}
  421. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH
  422. monitor_baud = 115200
  423. extra_scripts = ${common.extra_scripts}
  424. [env:itead-sonoff-t1-1ch-ota]
  425. platform = ${common.platform}
  426. framework = arduino
  427. board = esp01_1m
  428. board_flash_mode = dout
  429. lib_deps = ${common.lib_deps}
  430. lib_ignore = ${common.lib_ignore}
  431. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH
  432. upload_speed = 115200
  433. upload_port = "192.168.4.1"
  434. upload_flags = --auth=fibonacci --port 8266
  435. monitor_baud = 115200
  436. extra_scripts = ${common.extra_scripts}
  437. [env:itead-sonoff-t1-2ch]
  438. platform = ${common.platform}
  439. framework = arduino
  440. board = esp01_1m
  441. board_flash_mode = dout
  442. lib_deps = ${common.lib_deps}
  443. lib_ignore = ${common.lib_ignore}
  444. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
  445. monitor_baud = 115200
  446. extra_scripts = ${common.extra_scripts}
  447. [env:itead-sonoff-t1-2ch-ota]
  448. platform = ${common.platform}
  449. framework = arduino
  450. board = esp01_1m
  451. board_flash_mode = dout
  452. lib_deps = ${common.lib_deps}
  453. lib_ignore = ${common.lib_ignore}
  454. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
  455. upload_speed = 115200
  456. upload_port = "192.168.4.1"
  457. upload_flags = --auth=fibonacci --port 8266
  458. monitor_baud = 115200
  459. extra_scripts = ${common.extra_scripts}
  460. [env:itead-sonoff-t1-3ch]
  461. platform = ${common.platform}
  462. framework = arduino
  463. board = esp01_1m
  464. board_flash_mode = dout
  465. lib_deps = ${common.lib_deps}
  466. lib_ignore = ${common.lib_ignore}
  467. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
  468. monitor_baud = 115200
  469. extra_scripts = ${common.extra_scripts}
  470. [env:itead-sonoff-t1-3ch-ota]
  471. platform = ${common.platform}
  472. framework = arduino
  473. board = esp01_1m
  474. board_flash_mode = dout
  475. lib_deps = ${common.lib_deps}
  476. lib_ignore = ${common.lib_ignore}
  477. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
  478. upload_speed = 115200
  479. upload_port = "192.168.4.1"
  480. upload_flags = --auth=fibonacci --port 8266
  481. monitor_baud = 115200
  482. extra_scripts = ${common.extra_scripts}
  483. [env:itead-sonoff-led]
  484. platform = ${common.platform}
  485. framework = arduino
  486. board = esp01_1m
  487. board_flash_mode = dout
  488. lib_deps = ${common.lib_deps}
  489. lib_ignore = ${common.lib_ignore}
  490. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
  491. monitor_baud = 115200
  492. extra_scripts = ${common.extra_scripts}
  493. [env:itead-sonoff-led-ota]
  494. platform = ${common.platform}
  495. framework = arduino
  496. board = esp01_1m
  497. board_flash_mode = dout
  498. lib_deps = ${common.lib_deps}
  499. lib_ignore = ${common.lib_ignore}
  500. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
  501. upload_speed = 115200
  502. upload_port = "192.168.4.1"
  503. upload_flags = --auth=fibonacci --port 8266
  504. monitor_baud = 115200
  505. extra_scripts = ${common.extra_scripts}
  506. [env:itead-sonoff-rfbridge]
  507. platform = ${common.platform}
  508. framework = arduino
  509. board = esp01_1m
  510. board_flash_mode = dout
  511. lib_deps = ${common.lib_deps}
  512. lib_ignore = ${common.lib_ignore}
  513. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  514. monitor_baud = 19200
  515. extra_scripts = ${common.extra_scripts}
  516. [env:itead-sonoff-rfbridge-ota]
  517. platform = ${common.platform}
  518. framework = arduino
  519. board = esp01_1m
  520. board_flash_mode = dout
  521. lib_deps = ${common.lib_deps}
  522. lib_ignore = ${common.lib_ignore}
  523. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  524. upload_speed = 115200
  525. upload_port = "192.168.4.1"
  526. upload_flags = --auth=Algernon1 --port 8266
  527. monitor_baud = 19200
  528. extra_scripts = ${common.extra_scripts}
  529. # ------------------------------------------------------------------------------
  530. [env:itead-slampher]
  531. platform = ${common.platform}
  532. framework = arduino
  533. board = esp01_1m
  534. board_flash_mode = dout
  535. lib_deps = ${common.lib_deps}
  536. lib_ignore = ${common.lib_ignore}
  537. build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
  538. monitor_baud = 115200
  539. extra_scripts = ${common.extra_scripts}
  540. [env:itead-slampher-ota]
  541. platform = ${common.platform}
  542. framework = arduino
  543. board = esp01_1m
  544. board_flash_mode = dout
  545. lib_deps = ${common.lib_deps}
  546. lib_ignore = ${common.lib_ignore}
  547. build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
  548. upload_speed = 115200
  549. upload_port = "192.168.4.1"
  550. upload_flags = --auth=fibonacci --port 8266
  551. monitor_baud = 115200
  552. extra_scripts = ${common.extra_scripts}
  553. [env:itead-s20]
  554. platform = ${common.platform}
  555. framework = arduino
  556. board = esp01_1m
  557. board_flash_mode = dout
  558. lib_deps = ${common.lib_deps}
  559. lib_ignore = ${common.lib_ignore}
  560. build_flags = ${common.build_flags_1m} -DITEAD_S20
  561. monitor_baud = 115200
  562. extra_scripts = ${common.extra_scripts}
  563. [env:itead-s20-ota]
  564. platform = ${common.platform}
  565. framework = arduino
  566. board = esp01_1m
  567. board_flash_mode = dout
  568. lib_deps = ${common.lib_deps}
  569. lib_ignore = ${common.lib_ignore}
  570. build_flags = ${common.build_flags_1m} -DITEAD_S20
  571. upload_speed = 115200
  572. upload_port = "192.168.4.1"
  573. upload_flags = --auth=fibonacci --port 8266
  574. monitor_baud = 115200
  575. extra_scripts = ${common.extra_scripts}
  576. [env:itead-1ch-inching]
  577. platform = ${common.platform}
  578. framework = arduino
  579. board = esp01_1m
  580. board_flash_mode = dout
  581. lib_deps = ${common.lib_deps}
  582. lib_ignore = ${common.lib_ignore}
  583. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  584. monitor_baud = 115200
  585. extra_scripts = ${common.extra_scripts}
  586. [env:itead-1ch-inching-ota]
  587. platform = ${common.platform}
  588. framework = arduino
  589. board = esp01_1m
  590. board_flash_mode = dout
  591. lib_deps = ${common.lib_deps}
  592. lib_ignore = ${common.lib_ignore}
  593. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  594. upload_speed = 115200
  595. upload_port = "192.168.4.1"
  596. upload_flags = --auth=fibonacci --port 8266
  597. monitor_baud = 115200
  598. extra_scripts = ${common.extra_scripts}
  599. [env:itead-motor]
  600. platform = ${common.platform}
  601. framework = arduino
  602. board = esp01_1m
  603. board_flash_mode = dout
  604. lib_deps = ${common.lib_deps}
  605. lib_ignore = ${common.lib_ignore}
  606. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  607. monitor_baud = 115200
  608. extra_scripts = ${common.extra_scripts}
  609. [env:itead-motor-ota]
  610. platform = ${common.platform}
  611. framework = arduino
  612. board = esp01_1m
  613. board_flash_mode = dout
  614. lib_deps = ${common.lib_deps}
  615. lib_ignore = ${common.lib_ignore}
  616. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  617. upload_speed = 115200
  618. upload_port = "192.168.4.1"
  619. upload_flags = --auth=fibonacci --port 8266
  620. monitor_baud = 115200
  621. extra_scripts = ${common.extra_scripts}
  622. # ------------------------------------------------------------------------------
  623. [env:electrodragon-wifi-iot]
  624. platform = ${common.platform}
  625. framework = arduino
  626. board = esp12e
  627. lib_deps = ${common.lib_deps}
  628. lib_ignore = ${common.lib_ignore}
  629. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  630. monitor_baud = 115200
  631. extra_scripts = ${common.extra_scripts}
  632. [env:electrodragon-wifi-iot-ota]
  633. platform = ${common.platform}
  634. framework = arduino
  635. board = esp12e
  636. lib_deps = ${common.lib_deps}
  637. lib_ignore = ${common.lib_ignore}
  638. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  639. upload_speed = 115200
  640. upload_port = "192.168.4.1"
  641. upload_flags = --auth=fibonacci --port 8266
  642. monitor_baud = 115200
  643. extra_scripts = ${common.extra_scripts}
  644. [env:workchoice-ecoplug]
  645. platform = ${common.platform}
  646. framework = arduino
  647. board = esp01_1m
  648. board_flash_mode = dout
  649. lib_deps = ${common.lib_deps}
  650. lib_ignore = ${common.lib_ignore}
  651. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  652. monitor_baud = 115200
  653. extra_scripts = ${common.extra_scripts}
  654. [env:workchoice-ecoplug-ota]
  655. platform = ${common.platform}
  656. framework = arduino
  657. board = esp01_1m
  658. board_flash_mode = dout
  659. lib_deps = ${common.lib_deps}
  660. lib_ignore = ${common.lib_ignore}
  661. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  662. upload_speed = 115200
  663. upload_port = "192.168.4.1"
  664. upload_flags = --auth=fibonacci --port 8266
  665. monitor_baud = 115200
  666. extra_scripts = ${common.extra_scripts}
  667. [env:jangoe-wifi-relay]
  668. platform = ${common.platform}
  669. framework = arduino
  670. board = esp12e
  671. lib_deps = ${common.lib_deps}
  672. lib_ignore = ${common.lib_ignore}
  673. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  674. monitor_baud = 115200
  675. extra_scripts = ${common.extra_scripts}
  676. [env:jangoe-wifi-relay-ota]
  677. platform = ${common.platform}
  678. framework = arduino
  679. board = esp12e
  680. lib_deps = ${common.lib_deps}
  681. lib_ignore = ${common.lib_ignore}
  682. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  683. upload_speed = 115200
  684. upload_port = "192.168.4.1"
  685. upload_flags = --auth=fibonacci --port 8266
  686. monitor_baud = 115200
  687. extra_scripts = ${common.extra_scripts}
  688. [env:openenergymonitor-mqtt-relay]
  689. platform = ${common.platform}
  690. framework = arduino
  691. board = esp_wroom_02
  692. lib_deps = ${common.lib_deps}
  693. lib_ignore = ${common.lib_ignore}
  694. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  695. monitor_baud = 115200
  696. extra_scripts = ${common.extra_scripts}
  697. [env:openenergymonitor-mqtt-relay-ota]
  698. platform = ${common.platform}
  699. framework = arduino
  700. board = esp_wroom_02
  701. lib_deps = ${common.lib_deps}
  702. lib_ignore = ${common.lib_ignore}
  703. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  704. upload_speed = 115200
  705. upload_port = "192.168.4.1"
  706. upload_flags = --auth=fibonacci --port 8266
  707. monitor_baud = 115200
  708. extra_scripts = ${common.extra_scripts}
  709. [env:jorgegarcia-wifi-relays]
  710. platform = ${common.platform}
  711. framework = arduino
  712. board = esp01_1m
  713. lib_deps = ${common.lib_deps}
  714. lib_ignore = ${common.lib_ignore}
  715. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  716. monitor_baud = 115200
  717. extra_scripts = ${common.extra_scripts}
  718. [env:jorgegarcia-wifi-relays-ota]
  719. platform = ${common.platform}
  720. framework = arduino
  721. board = esp01_1m
  722. lib_deps = ${common.lib_deps}
  723. lib_ignore = ${common.lib_ignore}
  724. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  725. upload_speed = 115200
  726. upload_port = "192.168.4.1"
  727. upload_flags = --auth=fibonacci --port 8266
  728. monitor_baud = 115200
  729. extra_scripts = ${common.extra_scripts}
  730. [env:aithinker-ai-light]
  731. platform = ${common.platform}
  732. framework = arduino
  733. board = esp01_1m
  734. board_flash_mode = dout
  735. lib_deps = ${common.lib_deps}
  736. lib_ignore = ${common.lib_ignore}
  737. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  738. monitor_baud = 115200
  739. extra_scripts = ${common.extra_scripts}
  740. [env:aithinker-ai-light-ota]
  741. platform = ${common.platform}
  742. framework = arduino
  743. board = esp01_1m
  744. board_flash_mode = dout
  745. lib_deps = ${common.lib_deps}
  746. lib_ignore = ${common.lib_ignore}
  747. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  748. upload_speed = 115200
  749. upload_port = "192.168.4.1"
  750. upload_flags = --auth=fibonacci --port 8266
  751. monitor_baud = 115200
  752. extra_scripts = ${common.extra_scripts}
  753. [env:magichome-led-controller]
  754. platform = ${common.platform}
  755. framework = arduino
  756. board = esp01_1m
  757. board_flash_mode = dout
  758. lib_deps = ${common.lib_deps}
  759. lib_ignore = ${common.lib_ignore}
  760. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  761. monitor_baud = 115200
  762. extra_scripts = ${common.extra_scripts}
  763. [env:magichome-led-controller-ota]
  764. platform = ${common.platform}
  765. framework = arduino
  766. board = esp01_1m
  767. board_flash_mode = dout
  768. lib_deps = ${common.lib_deps}
  769. lib_ignore = ${common.lib_ignore}
  770. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  771. upload_speed = 115200
  772. upload_port = "192.168.4.1"
  773. upload_flags = --auth=fibonacci --port 8266
  774. monitor_baud = 115200
  775. extra_scripts = ${common.extra_scripts}
  776. [env:magichome-led-controller-20]
  777. platform = ${common.platform}
  778. framework = arduino
  779. board = esp01_1m
  780. board_flash_mode = dout
  781. lib_deps = ${common.lib_deps}
  782. lib_ignore = ${common.lib_ignore}
  783. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  784. monitor_baud = 115200
  785. extra_scripts = ${common.extra_scripts}
  786. [env:magichome-led-controller-20-ota]
  787. platform = ${common.platform}
  788. framework = arduino
  789. board = esp01_1m
  790. board_flash_mode = dout
  791. lib_deps = ${common.lib_deps}
  792. lib_ignore = ${common.lib_ignore}
  793. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  794. upload_port = "192.168.4.1"
  795. upload_flags = --auth=fibonacci --port 8266
  796. monitor_baud = 115200
  797. extra_scripts = ${common.extra_scripts}
  798. [env:huacanxing-h801]
  799. platform = ${common.platform}
  800. framework = arduino
  801. board = esp01_1m
  802. board_flash_mode = dout
  803. lib_deps = ${common.lib_deps}
  804. lib_ignore = ${common.lib_ignore}
  805. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  806. monitor_baud = 115200
  807. extra_scripts = ${common.extra_scripts}
  808. [env:huacanxing-h801-ota]
  809. platform = ${common.platform}
  810. framework = arduino
  811. board = esp01_1m
  812. board_flash_mode = dout
  813. lib_deps = ${common.lib_deps}
  814. lib_ignore = ${common.lib_ignore}
  815. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  816. upload_speed = 115200
  817. upload_port = "192.168.4.1"
  818. upload_flags = --auth=fibonacci --port 8266
  819. monitor_baud = 115200
  820. extra_scripts = ${common.extra_scripts}
  821. [env:huacanxing-h802]
  822. platform = ${common.platform}
  823. framework = arduino
  824. board = esp01_1m
  825. board_flash_mode = dout
  826. lib_deps = ${common.lib_deps}
  827. lib_ignore = ${common.lib_ignore}
  828. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  829. monitor_baud = 115200
  830. extra_scripts = ${common.extra_scripts}
  831. [env:huacanxing-h802-ota]
  832. platform = ${common.platform}
  833. framework = arduino
  834. board = esp01_1m
  835. board_flash_mode = dout
  836. lib_deps = ${common.lib_deps}
  837. lib_ignore = ${common.lib_ignore}
  838. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  839. upload_speed = 115200
  840. upload_port = "192.168.4.1"
  841. upload_flags = --auth=fibonacci --port 8266
  842. monitor_baud = 115200
  843. extra_scripts = ${common.extra_scripts}
  844. [env:arilux-al-lc01]
  845. platform = ${common.platform}
  846. framework = arduino
  847. board = esp01_1m
  848. board_flash_mode = dout
  849. lib_deps = ${common.lib_deps}
  850. lib_ignore = ${common.lib_ignore}
  851. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  852. monitor_baud = 115200
  853. extra_scripts = ${common.extra_scripts}
  854. [env:arilux-al-lc01-ota]
  855. platform = ${common.platform}
  856. framework = arduino
  857. board = esp01_1m
  858. board_flash_mode = dout
  859. lib_deps = ${common.lib_deps}
  860. lib_ignore = ${common.lib_ignore}
  861. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  862. upload_speed = 115200
  863. upload_port = "192.168.4.1"
  864. upload_flags = --auth=fibonacci --port 8266
  865. monitor_baud = 115200
  866. extra_scripts = ${common.extra_scripts}
  867. [env:arilux-al-lc02]
  868. platform = ${common.platform}
  869. framework = arduino
  870. board = esp01_1m
  871. board_flash_mode = dout
  872. lib_deps = ${common.lib_deps}
  873. lib_ignore = ${common.lib_ignore}
  874. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  875. monitor_baud = 115200
  876. extra_scripts = ${common.extra_scripts}
  877. [env:arilux-al-lc02-ota]
  878. platform = ${common.platform}
  879. framework = arduino
  880. board = esp01_1m
  881. board_flash_mode = dout
  882. lib_deps = ${common.lib_deps}
  883. lib_ignore = ${common.lib_ignore}
  884. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  885. upload_speed = 115200
  886. upload_port = "192.168.4.1"
  887. upload_flags = --auth=fibonacci --port 8266
  888. monitor_baud = 115200
  889. extra_scripts = ${common.extra_scripts}
  890. [env:arilux-al-lc06]
  891. platform = ${common.platform}
  892. framework = arduino
  893. board = esp01_1m
  894. board_flash_mode = dout
  895. lib_deps = ${common.lib_deps}
  896. lib_ignore = ${common.lib_ignore}
  897. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  898. monitor_baud = 115200
  899. extra_scripts = ${common.extra_scripts}
  900. [env:arilux-al-lc06-ota]
  901. platform = ${common.platform}
  902. framework = arduino
  903. board = esp01_1m
  904. board_flash_mode = dout
  905. lib_deps = ${common.lib_deps}
  906. lib_ignore = ${common.lib_ignore}
  907. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  908. upload_speed = 115200
  909. upload_port = "192.168.4.1"
  910. upload_flags = --auth=fibonacci --port 8266
  911. monitor_baud = 115200
  912. extra_scripts = ${common.extra_scripts}
  913. [env:arilux-al-lc11]
  914. platform = ${common.platform}
  915. framework = arduino
  916. board = esp01_1m
  917. board_flash_mode = dout
  918. lib_deps = ${common.lib_deps}
  919. lib_ignore = ${common.lib_ignore}
  920. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  921. monitor_baud = 115200
  922. extra_scripts = ${common.extra_scripts}
  923. [env:arilux-al-lc11-ota]
  924. platform = ${common.platform}
  925. framework = arduino
  926. board = esp01_1m
  927. board_flash_mode = dout
  928. lib_deps = ${common.lib_deps}
  929. lib_ignore = ${common.lib_ignore}
  930. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  931. upload_speed = 115200
  932. upload_port = "192.168.4.1"
  933. upload_flags = --auth=fibonacci --port 8266
  934. monitor_baud = 115200
  935. extra_scripts = ${common.extra_scripts}
  936. [env:arilux-e27]
  937. platform = ${common.platform}
  938. framework = arduino
  939. board = esp01_1m
  940. board_flash_mode = dout
  941. lib_deps = ${common.lib_deps}
  942. lib_ignore = ${common.lib_ignore}
  943. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  944. monitor_baud = 115200
  945. extra_scripts = ${common.extra_scripts}
  946. [env:arilux-e27-ota]
  947. platform = ${common.platform}
  948. framework = arduino
  949. board = esp01_1m
  950. board_flash_mode = dout
  951. lib_deps = ${common.lib_deps}
  952. lib_ignore = ${common.lib_ignore}
  953. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  954. upload_speed = 115200
  955. upload_port = "192.168.4.1"
  956. upload_flags = --auth=fibonacci --port 8266
  957. monitor_baud = 115200
  958. extra_scripts = ${common.extra_scripts}
  959. [env:itead-bnsz01]
  960. platform = ${common.platform}
  961. framework = arduino
  962. board = esp01_1m
  963. board_flash_mode = dout
  964. lib_deps = ${common.lib_deps}
  965. lib_ignore = ${common.lib_ignore}
  966. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  967. monitor_baud = 115200
  968. extra_scripts = ${common.extra_scripts}
  969. [env:itead-bnsz01-ota]
  970. platform = ${common.platform}
  971. framework = arduino
  972. board = esp01_1m
  973. board_flash_mode = dout
  974. lib_deps = ${common.lib_deps}
  975. lib_ignore = ${common.lib_ignore}
  976. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  977. upload_speed = 115200
  978. upload_port = "192.168.4.1"
  979. upload_flags = --auth=fibonacci --port 8266
  980. monitor_baud = 115200
  981. extra_scripts = ${common.extra_scripts}
  982. [env:wion-50055]
  983. platform = ${common.platform}
  984. framework = arduino
  985. board = esp01_1m
  986. board_flash_mode = dout
  987. lib_deps = ${common.lib_deps}
  988. lib_ignore = ${common.lib_ignore}
  989. build_flags = ${common.build_flags_1m} -DWION_50055
  990. monitor_baud = 115200
  991. extra_scripts = ${common.extra_scripts}
  992. [env:wion-50055-ota]
  993. platform = ${common.platform}
  994. framework = arduino
  995. board = esp01_1m
  996. board_flash_mode = dout
  997. lib_deps = ${common.lib_deps}
  998. lib_ignore = ${common.lib_ignore}
  999. build_flags = ${common.build_flags_1m} -DWION_50055
  1000. upload_speed = 115200
  1001. upload_port = "192.168.4.1"
  1002. upload_flags = --auth=fibonacci --port 8266
  1003. monitor_baud = 115200
  1004. extra_scripts = ${common.extra_scripts}
  1005. [env:exs-wifi-relay-v31]
  1006. platform = ${common.platform}
  1007. framework = arduino
  1008. board = esp07
  1009. board_flash_mode = dout
  1010. lib_deps = ${common.lib_deps}
  1011. lib_ignore = ${common.lib_ignore}
  1012. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1013. monitor_baud = 115200
  1014. extra_scripts = ${common.extra_scripts}
  1015. [env:exs-wifi-relay-v31-ota]
  1016. platform = ${common.platform}
  1017. framework = arduino
  1018. board = esp07
  1019. board_flash_mode = dout
  1020. lib_deps = ${common.lib_deps}
  1021. lib_ignore = ${common.lib_ignore}
  1022. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1023. upload_speed = 115200
  1024. upload_port = "192.168.4.1"
  1025. upload_flags = --auth=fibonacci --port 8266
  1026. monitor_baud = 115200
  1027. extra_scripts = ${common.extra_scripts}
  1028. [env:wemos-v9261f]
  1029. platform = ${common.platform}
  1030. framework = arduino
  1031. board = d1_mini
  1032. lib_deps = ${common.lib_deps}
  1033. lib_ignore = ${common.lib_ignore}
  1034. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1035. upload_speed = 460800
  1036. monitor_baud = 115200
  1037. extra_scripts = ${common.extra_scripts}
  1038. [env:wemos-v9261f-ota]
  1039. platform = ${common.platform}
  1040. framework = arduino
  1041. board = d1_mini
  1042. lib_deps = ${common.lib_deps}
  1043. lib_ignore = ${common.lib_ignore}
  1044. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1045. upload_speed = 115200
  1046. upload_port = "192.168.4.1"
  1047. upload_flags = --auth=fibonacci --port 8266
  1048. monitor_baud = 115200
  1049. extra_scripts = ${common.extra_scripts}
  1050. [env:esp01-v9261f]
  1051. platform = ${common.platform}
  1052. framework = arduino
  1053. board = esp01_1m
  1054. board_flash_mode = dout
  1055. lib_deps = ${common.lib_deps}
  1056. lib_ignore = ${common.lib_ignore}
  1057. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1058. monitor_baud = 115200
  1059. extra_scripts = ${common.extra_scripts}
  1060. [env:esp01-v9261f-ota]
  1061. platform = ${common.platform}
  1062. framework = arduino
  1063. board = esp01_1m
  1064. board_flash_mode = dout
  1065. lib_deps = ${common.lib_deps}
  1066. lib_ignore = ${common.lib_ignore}
  1067. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1068. upload_speed = 115200
  1069. upload_port = "192.168.4.1"
  1070. upload_flags = --auth=fibonacci --port 8266
  1071. monitor_baud = 115200
  1072. extra_scripts = ${common.extra_scripts}
  1073. [env:wemos-ech1560]
  1074. platform = ${common.platform}
  1075. framework = arduino
  1076. board = d1_mini
  1077. lib_deps = ${common.lib_deps}
  1078. lib_ignore = ${common.lib_ignore}
  1079. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1080. upload_speed = 460800
  1081. monitor_baud = 115200
  1082. extra_scripts = ${common.extra_scripts}
  1083. [env:wemos-ech1560-ota]
  1084. platform = ${common.platform}
  1085. framework = arduino
  1086. board = d1_mini
  1087. lib_deps = ${common.lib_deps}
  1088. lib_ignore = ${common.lib_ignore}
  1089. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1090. upload_speed = 115200
  1091. upload_port = "192.168.4.1"
  1092. upload_flags = --auth=fibonacci --port 8266
  1093. monitor_baud = 115200
  1094. extra_scripts = ${common.extra_scripts}
  1095. [env:esp01-ech1560]
  1096. platform = ${common.platform}
  1097. framework = arduino
  1098. board = esp01_1m
  1099. board_flash_mode = dout
  1100. lib_deps = ${common.lib_deps}
  1101. lib_ignore = ${common.lib_ignore}
  1102. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1103. monitor_baud = 115200
  1104. extra_scripts = ${common.extra_scripts}
  1105. [env:esp01-ech1560-ota]
  1106. platform = ${common.platform}
  1107. framework = arduino
  1108. board = esp01_1m
  1109. board_flash_mode = dout
  1110. lib_deps = ${common.lib_deps}
  1111. lib_ignore = ${common.lib_ignore}
  1112. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1113. upload_speed = 115200
  1114. upload_port = "192.168.4.1"
  1115. upload_flags = --auth=fibonacci --port 8266
  1116. monitor_baud = 115200
  1117. extra_scripts = ${common.extra_scripts}
  1118. [env:mancavemade-esplive]
  1119. platform = ${common.platform}
  1120. framework = arduino
  1121. board = d1_mini
  1122. lib_deps = ${common.lib_deps}
  1123. lib_ignore = ${common.lib_ignore}
  1124. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1125. upload_speed = 460800
  1126. monitor_baud = 115200
  1127. extra_scripts = ${common.extra_scripts}
  1128. [env:mancavemade-esplive-ota]
  1129. platform = ${common.platform}
  1130. framework = arduino
  1131. board = d1_mini
  1132. lib_deps = ${common.lib_deps}
  1133. lib_ignore = ${common.lib_ignore}
  1134. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1135. upload_speed = 460800
  1136. upload_port = "192.168.4.1"
  1137. upload_flags = --auth=fibonacci --port 8266
  1138. monitor_baud = 115200
  1139. extra_scripts = ${common.extra_scripts}
  1140. [env:intermittech-quinled]
  1141. platform = ${common.platform}
  1142. framework = arduino
  1143. board = esp01_1m
  1144. board_flash_mode = dout
  1145. lib_deps = ${common.lib_deps}
  1146. lib_ignore = ${common.lib_ignore}
  1147. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1148. monitor_baud = 115200
  1149. extra_scripts = ${common.extra_scripts}
  1150. [env:intermittech-quinled-ota]
  1151. platform = ${common.platform}
  1152. framework = arduino
  1153. board = esp01_1m
  1154. board_flash_mode = dout
  1155. lib_deps = ${common.lib_deps}
  1156. lib_ignore = ${common.lib_ignore}
  1157. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1158. upload_speed = 115200
  1159. upload_port = "192.168.4.1"
  1160. upload_flags = --auth=fibonacci --port 8266
  1161. monitor_baud = 115200
  1162. extra_scripts = ${common.extra_scripts}
  1163. [env:xenon-sm-pw702u]
  1164. platform = ${common.platform}
  1165. framework = arduino
  1166. board = esp12e
  1167. board_flash_mode = dout
  1168. lib_deps = ${common.lib_deps}
  1169. lib_ignore = ${common.lib_ignore}
  1170. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1171. monitor_baud = 115200
  1172. extra_scripts = ${common.extra_scripts}
  1173. [env:xenon-sm-pw702u-ota]
  1174. platform = ${common.platform}
  1175. framework = arduino
  1176. board = esp12e
  1177. board_flash_mode = dout
  1178. lib_deps = ${common.lib_deps}
  1179. lib_ignore = ${common.lib_ignore}
  1180. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1181. upload_speed = 115200
  1182. upload_port = "192.168.4.1"
  1183. upload_flags = --auth=fibonacci --port 8266
  1184. monitor_baud = 115200
  1185. extra_scripts = ${common.extra_scripts}
  1186. [env:authometion-lyt8266]
  1187. platform = ${common.platform}
  1188. framework = arduino
  1189. board = esp01_1m
  1190. board_flash_mode = dout
  1191. lib_deps = ${common.lib_deps}
  1192. lib_ignore = ${common.lib_ignore}
  1193. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1194. monitor_baud = 115200
  1195. extra_scripts = ${common.extra_scripts}
  1196. [env:authometion-lyt8266-ota]
  1197. platform = ${common.platform}
  1198. framework = arduino
  1199. board = esp01_1m
  1200. board_flash_mode = dout
  1201. lib_deps = ${common.lib_deps}
  1202. lib_ignore = ${common.lib_ignore}
  1203. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1204. upload_speed = 115200
  1205. upload_port = "192.168.4.1"
  1206. upload_flags = --auth=fibonacci --port 8266
  1207. monitor_baud = 115200
  1208. extra_scripts = ${common.extra_scripts}
  1209. [env:yjzk-switch-2ch]
  1210. platform = ${common.platform}
  1211. framework = arduino
  1212. board = esp01_1m
  1213. board_flash_mode = dout
  1214. lib_deps = ${common.lib_deps}
  1215. lib_ignore = ${common.lib_ignore}
  1216. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1217. monitor_baud = 115200
  1218. extra_scripts = ${common.extra_scripts}
  1219. [env:yjzk-switch-2ch-ota]
  1220. platform = ${common.platform}
  1221. framework = arduino
  1222. board = esp01_1m
  1223. board_flash_mode = dout
  1224. lib_deps = ${common.lib_deps}
  1225. lib_ignore = ${common.lib_ignore}
  1226. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1227. upload_speed = 115200
  1228. upload_port = "192.168.4.1"
  1229. upload_flags = --auth=fibonacci --port 8266
  1230. monitor_baud = 115200
  1231. extra_scripts = ${common.extra_scripts}
  1232. [env:generic-8ch]
  1233. platform = ${common.platform}
  1234. framework = arduino
  1235. board = d1_mini
  1236. lib_deps = ${common.lib_deps}
  1237. lib_ignore = ${common.lib_ignore}
  1238. build_flags = ${common.build_flags} -DGENERIC_8CH
  1239. upload_speed = 460800
  1240. monitor_baud = 115200
  1241. extra_scripts = ${common.extra_scripts}
  1242. # ------------------------------------------------------------------------------
  1243. # GENERIC OTA ENVIRONMENTS
  1244. # ------------------------------------------------------------------------------
  1245. [env:esp8266-1m-ota]
  1246. platform = ${common.platform}
  1247. framework = arduino
  1248. board = esp01_1m
  1249. board_flash_mode = dout
  1250. lib_deps = ${common.lib_deps}
  1251. lib_ignore = ${common.lib_ignore}
  1252. build_flags = ${common.build_flags_1m} -D${env.ESPURNA_BOARD}
  1253. upload_speed = 115200
  1254. upload_port = "${env.ESPURNA_IP}"
  1255. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1256. extra_scripts = ${common.extra_scripts}
  1257. [env:esp8266-4m-ota]
  1258. platform = ${common.platform}
  1259. framework = arduino
  1260. board = esp12e
  1261. board_flash_mode = dout
  1262. lib_deps = ${common.lib_deps}
  1263. lib_ignore = ${common.lib_ignore}
  1264. build_flags = ${common.build_flags} -D${env.ESPURNA_BOARD}
  1265. upload_speed = 115200
  1266. upload_port = "${env.ESPURNA_IP}"
  1267. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1268. extra_scripts = ${common.extra_scripts}