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.

1395 lines
39 KiB

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