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.

1419 lines
40 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. 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. https://github.com/xoseperez/NtpClient.git#b35e249
  21. OneWire
  22. Brzo I2C
  23. https://github.com/krosk93/espsoftwareserial#a770677
  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:magichome-led-controller-23]
  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 = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_23
  815. monitor_baud = 115200
  816. extra_scripts = ${common.extra_scripts}
  817. [env:magichome-led-controller-23-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 = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_23
  825. upload_port = "192.168.4.1"
  826. upload_flags = --auth=fibonacci --port 8266
  827. monitor_baud = 115200
  828. extra_scripts = ${common.extra_scripts}
  829. [env:huacanxing-h801]
  830. platform = ${common.platform}
  831. framework = arduino
  832. board = esp01_1m
  833. board_flash_mode = dout
  834. lib_deps = ${common.lib_deps}
  835. lib_ignore = ${common.lib_ignore}
  836. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  837. monitor_baud = 115200
  838. extra_scripts = ${common.extra_scripts}
  839. [env:huacanxing-h801-ota]
  840. platform = ${common.platform}
  841. framework = arduino
  842. board = esp01_1m
  843. board_flash_mode = dout
  844. lib_deps = ${common.lib_deps}
  845. lib_ignore = ${common.lib_ignore}
  846. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  847. upload_speed = 115200
  848. upload_port = "192.168.4.1"
  849. upload_flags = --auth=fibonacci --port 8266
  850. monitor_baud = 115200
  851. extra_scripts = ${common.extra_scripts}
  852. [env:huacanxing-h802]
  853. platform = ${common.platform}
  854. framework = arduino
  855. board = esp01_1m
  856. board_flash_mode = dout
  857. lib_deps = ${common.lib_deps}
  858. lib_ignore = ${common.lib_ignore}
  859. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  860. monitor_baud = 115200
  861. extra_scripts = ${common.extra_scripts}
  862. [env:huacanxing-h802-ota]
  863. platform = ${common.platform}
  864. framework = arduino
  865. board = esp01_1m
  866. board_flash_mode = dout
  867. lib_deps = ${common.lib_deps}
  868. lib_ignore = ${common.lib_ignore}
  869. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  870. upload_speed = 115200
  871. upload_port = "192.168.4.1"
  872. upload_flags = --auth=fibonacci --port 8266
  873. monitor_baud = 115200
  874. extra_scripts = ${common.extra_scripts}
  875. [env:arilux-al-lc01]
  876. platform = ${common.platform}
  877. framework = arduino
  878. board = esp01_1m
  879. board_flash_mode = dout
  880. lib_deps = ${common.lib_deps}
  881. lib_ignore = ${common.lib_ignore}
  882. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  883. monitor_baud = 115200
  884. extra_scripts = ${common.extra_scripts}
  885. [env:arilux-al-lc01-ota]
  886. platform = ${common.platform}
  887. framework = arduino
  888. board = esp01_1m
  889. board_flash_mode = dout
  890. lib_deps = ${common.lib_deps}
  891. lib_ignore = ${common.lib_ignore}
  892. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  893. upload_speed = 115200
  894. upload_port = "192.168.4.1"
  895. upload_flags = --auth=fibonacci --port 8266
  896. monitor_baud = 115200
  897. extra_scripts = ${common.extra_scripts}
  898. [env:arilux-al-lc02]
  899. platform = ${common.platform}
  900. framework = arduino
  901. board = esp01_1m
  902. board_flash_mode = dout
  903. lib_deps = ${common.lib_deps}
  904. lib_ignore = ${common.lib_ignore}
  905. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  906. monitor_baud = 115200
  907. extra_scripts = ${common.extra_scripts}
  908. [env:arilux-al-lc02-ota]
  909. platform = ${common.platform}
  910. framework = arduino
  911. board = esp01_1m
  912. board_flash_mode = dout
  913. lib_deps = ${common.lib_deps}
  914. lib_ignore = ${common.lib_ignore}
  915. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  916. upload_speed = 115200
  917. upload_port = "192.168.4.1"
  918. upload_flags = --auth=fibonacci --port 8266
  919. monitor_baud = 115200
  920. extra_scripts = ${common.extra_scripts}
  921. [env:arilux-al-lc06]
  922. platform = ${common.platform}
  923. framework = arduino
  924. board = esp01_1m
  925. board_flash_mode = dout
  926. lib_deps = ${common.lib_deps}
  927. lib_ignore = ${common.lib_ignore}
  928. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  929. monitor_baud = 115200
  930. extra_scripts = ${common.extra_scripts}
  931. [env:arilux-al-lc06-ota]
  932. platform = ${common.platform}
  933. framework = arduino
  934. board = esp01_1m
  935. board_flash_mode = dout
  936. lib_deps = ${common.lib_deps}
  937. lib_ignore = ${common.lib_ignore}
  938. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  939. upload_speed = 115200
  940. upload_port = "192.168.4.1"
  941. upload_flags = --auth=fibonacci --port 8266
  942. monitor_baud = 115200
  943. extra_scripts = ${common.extra_scripts}
  944. [env:arilux-al-lc11]
  945. platform = ${common.platform}
  946. framework = arduino
  947. board = esp01_1m
  948. board_flash_mode = dout
  949. lib_deps = ${common.lib_deps}
  950. lib_ignore = ${common.lib_ignore}
  951. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  952. monitor_baud = 115200
  953. extra_scripts = ${common.extra_scripts}
  954. [env:arilux-al-lc11-ota]
  955. platform = ${common.platform}
  956. framework = arduino
  957. board = esp01_1m
  958. board_flash_mode = dout
  959. lib_deps = ${common.lib_deps}
  960. lib_ignore = ${common.lib_ignore}
  961. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  962. upload_speed = 115200
  963. upload_port = "192.168.4.1"
  964. upload_flags = --auth=fibonacci --port 8266
  965. monitor_baud = 115200
  966. extra_scripts = ${common.extra_scripts}
  967. [env:arilux-e27]
  968. platform = ${common.platform}
  969. framework = arduino
  970. board = esp01_1m
  971. board_flash_mode = dout
  972. lib_deps = ${common.lib_deps}
  973. lib_ignore = ${common.lib_ignore}
  974. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  975. monitor_baud = 115200
  976. extra_scripts = ${common.extra_scripts}
  977. [env:arilux-e27-ota]
  978. platform = ${common.platform}
  979. framework = arduino
  980. board = esp01_1m
  981. board_flash_mode = dout
  982. lib_deps = ${common.lib_deps}
  983. lib_ignore = ${common.lib_ignore}
  984. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  985. upload_speed = 115200
  986. upload_port = "192.168.4.1"
  987. upload_flags = --auth=fibonacci --port 8266
  988. monitor_baud = 115200
  989. extra_scripts = ${common.extra_scripts}
  990. [env:itead-bnsz01]
  991. platform = ${common.platform}
  992. framework = arduino
  993. board = esp01_1m
  994. board_flash_mode = dout
  995. lib_deps = ${common.lib_deps}
  996. lib_ignore = ${common.lib_ignore}
  997. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  998. monitor_baud = 115200
  999. extra_scripts = ${common.extra_scripts}
  1000. [env:itead-bnsz01-ota]
  1001. platform = ${common.platform}
  1002. framework = arduino
  1003. board = esp01_1m
  1004. board_flash_mode = dout
  1005. lib_deps = ${common.lib_deps}
  1006. lib_ignore = ${common.lib_ignore}
  1007. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1008. upload_speed = 115200
  1009. upload_port = "192.168.4.1"
  1010. upload_flags = --auth=fibonacci --port 8266
  1011. monitor_baud = 115200
  1012. extra_scripts = ${common.extra_scripts}
  1013. [env:wion-50055]
  1014. platform = ${common.platform}
  1015. framework = arduino
  1016. board = esp01_1m
  1017. board_flash_mode = dout
  1018. lib_deps = ${common.lib_deps}
  1019. lib_ignore = ${common.lib_ignore}
  1020. build_flags = ${common.build_flags_1m} -DWION_50055
  1021. monitor_baud = 115200
  1022. extra_scripts = ${common.extra_scripts}
  1023. [env:wion-50055-ota]
  1024. platform = ${common.platform}
  1025. framework = arduino
  1026. board = esp01_1m
  1027. board_flash_mode = dout
  1028. lib_deps = ${common.lib_deps}
  1029. lib_ignore = ${common.lib_ignore}
  1030. build_flags = ${common.build_flags_1m} -DWION_50055
  1031. upload_speed = 115200
  1032. upload_port = "192.168.4.1"
  1033. upload_flags = --auth=fibonacci --port 8266
  1034. monitor_baud = 115200
  1035. extra_scripts = ${common.extra_scripts}
  1036. [env:exs-wifi-relay-v31]
  1037. platform = ${common.platform}
  1038. framework = arduino
  1039. board = esp07
  1040. board_flash_mode = dout
  1041. lib_deps = ${common.lib_deps}
  1042. lib_ignore = ${common.lib_ignore}
  1043. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1044. monitor_baud = 115200
  1045. extra_scripts = ${common.extra_scripts}
  1046. [env:exs-wifi-relay-v31-ota]
  1047. platform = ${common.platform}
  1048. framework = arduino
  1049. board = esp07
  1050. board_flash_mode = dout
  1051. lib_deps = ${common.lib_deps}
  1052. lib_ignore = ${common.lib_ignore}
  1053. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  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:wemos-v9261f]
  1060. platform = ${common.platform}
  1061. framework = arduino
  1062. board = d1_mini
  1063. lib_deps = ${common.lib_deps}
  1064. lib_ignore = ${common.lib_ignore}
  1065. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1066. upload_speed = 460800
  1067. monitor_baud = 115200
  1068. extra_scripts = ${common.extra_scripts}
  1069. [env:wemos-v9261f-ota]
  1070. platform = ${common.platform}
  1071. framework = arduino
  1072. board = d1_mini
  1073. lib_deps = ${common.lib_deps}
  1074. lib_ignore = ${common.lib_ignore}
  1075. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1076. upload_speed = 115200
  1077. upload_port = "192.168.4.1"
  1078. upload_flags = --auth=fibonacci --port 8266
  1079. monitor_baud = 115200
  1080. extra_scripts = ${common.extra_scripts}
  1081. [env:esp01-v9261f]
  1082. platform = ${common.platform}
  1083. framework = arduino
  1084. board = esp01_1m
  1085. board_flash_mode = dout
  1086. lib_deps = ${common.lib_deps}
  1087. lib_ignore = ${common.lib_ignore}
  1088. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1089. monitor_baud = 115200
  1090. extra_scripts = ${common.extra_scripts}
  1091. [env:esp01-v9261f-ota]
  1092. platform = ${common.platform}
  1093. framework = arduino
  1094. board = esp01_1m
  1095. board_flash_mode = dout
  1096. lib_deps = ${common.lib_deps}
  1097. lib_ignore = ${common.lib_ignore}
  1098. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  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:wemos-ech1560]
  1105. platform = ${common.platform}
  1106. framework = arduino
  1107. board = d1_mini
  1108. lib_deps = ${common.lib_deps}
  1109. lib_ignore = ${common.lib_ignore}
  1110. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1111. upload_speed = 460800
  1112. monitor_baud = 115200
  1113. extra_scripts = ${common.extra_scripts}
  1114. [env:wemos-ech1560-ota]
  1115. platform = ${common.platform}
  1116. framework = arduino
  1117. board = d1_mini
  1118. lib_deps = ${common.lib_deps}
  1119. lib_ignore = ${common.lib_ignore}
  1120. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1121. upload_speed = 115200
  1122. upload_port = "192.168.4.1"
  1123. upload_flags = --auth=fibonacci --port 8266
  1124. monitor_baud = 115200
  1125. extra_scripts = ${common.extra_scripts}
  1126. [env:esp01-ech1560]
  1127. platform = ${common.platform}
  1128. framework = arduino
  1129. board = esp01_1m
  1130. board_flash_mode = dout
  1131. lib_deps = ${common.lib_deps}
  1132. lib_ignore = ${common.lib_ignore}
  1133. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1134. monitor_baud = 115200
  1135. extra_scripts = ${common.extra_scripts}
  1136. [env:esp01-ech1560-ota]
  1137. platform = ${common.platform}
  1138. framework = arduino
  1139. board = esp01_1m
  1140. board_flash_mode = dout
  1141. lib_deps = ${common.lib_deps}
  1142. lib_ignore = ${common.lib_ignore}
  1143. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1144. upload_speed = 115200
  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:mancavemade-esplive]
  1150. platform = ${common.platform}
  1151. framework = arduino
  1152. board = d1_mini
  1153. lib_deps = ${common.lib_deps}
  1154. lib_ignore = ${common.lib_ignore}
  1155. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1156. upload_speed = 460800
  1157. monitor_baud = 115200
  1158. extra_scripts = ${common.extra_scripts}
  1159. [env:mancavemade-esplive-ota]
  1160. platform = ${common.platform}
  1161. framework = arduino
  1162. board = d1_mini
  1163. lib_deps = ${common.lib_deps}
  1164. lib_ignore = ${common.lib_ignore}
  1165. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1166. upload_speed = 460800
  1167. upload_port = "192.168.4.1"
  1168. upload_flags = --auth=fibonacci --port 8266
  1169. monitor_baud = 115200
  1170. extra_scripts = ${common.extra_scripts}
  1171. [env:intermittech-quinled]
  1172. platform = ${common.platform}
  1173. framework = arduino
  1174. board = esp01_1m
  1175. board_flash_mode = dout
  1176. lib_deps = ${common.lib_deps}
  1177. lib_ignore = ${common.lib_ignore}
  1178. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1179. monitor_baud = 115200
  1180. extra_scripts = ${common.extra_scripts}
  1181. [env:intermittech-quinled-ota]
  1182. platform = ${common.platform}
  1183. framework = arduino
  1184. board = esp01_1m
  1185. board_flash_mode = dout
  1186. lib_deps = ${common.lib_deps}
  1187. lib_ignore = ${common.lib_ignore}
  1188. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1189. upload_speed = 115200
  1190. upload_port = "192.168.4.1"
  1191. upload_flags = --auth=fibonacci --port 8266
  1192. monitor_baud = 115200
  1193. extra_scripts = ${common.extra_scripts}
  1194. [env:xenon-sm-pw702u]
  1195. platform = ${common.platform}
  1196. framework = arduino
  1197. board = esp12e
  1198. board_flash_mode = dout
  1199. lib_deps = ${common.lib_deps}
  1200. lib_ignore = ${common.lib_ignore}
  1201. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1202. monitor_baud = 115200
  1203. extra_scripts = ${common.extra_scripts}
  1204. [env:xenon-sm-pw702u-ota]
  1205. platform = ${common.platform}
  1206. framework = arduino
  1207. board = esp12e
  1208. board_flash_mode = dout
  1209. lib_deps = ${common.lib_deps}
  1210. lib_ignore = ${common.lib_ignore}
  1211. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1212. upload_speed = 115200
  1213. upload_port = "192.168.4.1"
  1214. upload_flags = --auth=fibonacci --port 8266
  1215. monitor_baud = 115200
  1216. extra_scripts = ${common.extra_scripts}
  1217. [env:authometion-lyt8266]
  1218. platform = ${common.platform}
  1219. framework = arduino
  1220. board = esp01_1m
  1221. board_flash_mode = dout
  1222. lib_deps = ${common.lib_deps}
  1223. lib_ignore = ${common.lib_ignore}
  1224. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1225. monitor_baud = 115200
  1226. extra_scripts = ${common.extra_scripts}
  1227. [env:authometion-lyt8266-ota]
  1228. platform = ${common.platform}
  1229. framework = arduino
  1230. board = esp01_1m
  1231. board_flash_mode = dout
  1232. lib_deps = ${common.lib_deps}
  1233. lib_ignore = ${common.lib_ignore}
  1234. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1235. upload_speed = 115200
  1236. upload_port = "192.168.4.1"
  1237. upload_flags = --auth=fibonacci --port 8266
  1238. monitor_baud = 115200
  1239. extra_scripts = ${common.extra_scripts}
  1240. [env:yjzk-switch-2ch]
  1241. platform = ${common.platform}
  1242. framework = arduino
  1243. board = esp01_1m
  1244. board_flash_mode = dout
  1245. lib_deps = ${common.lib_deps}
  1246. lib_ignore = ${common.lib_ignore}
  1247. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1248. monitor_baud = 115200
  1249. extra_scripts = ${common.extra_scripts}
  1250. [env:yjzk-switch-2ch-ota]
  1251. platform = ${common.platform}
  1252. framework = arduino
  1253. board = esp01_1m
  1254. board_flash_mode = dout
  1255. lib_deps = ${common.lib_deps}
  1256. lib_ignore = ${common.lib_ignore}
  1257. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1258. upload_speed = 115200
  1259. upload_port = "192.168.4.1"
  1260. upload_flags = --auth=fibonacci --port 8266
  1261. monitor_baud = 115200
  1262. extra_scripts = ${common.extra_scripts}
  1263. [env:generic-8ch]
  1264. platform = ${common.platform}
  1265. framework = arduino
  1266. board = d1_mini
  1267. lib_deps = ${common.lib_deps}
  1268. lib_ignore = ${common.lib_ignore}
  1269. build_flags = ${common.build_flags} -DGENERIC_8CH
  1270. upload_speed = 460800
  1271. monitor_baud = 115200
  1272. extra_scripts = ${common.extra_scripts}
  1273. # ------------------------------------------------------------------------------
  1274. # GENERIC OTA ENVIRONMENTS
  1275. # ------------------------------------------------------------------------------
  1276. [env:esp8266-1m-ota]
  1277. platform = ${common.platform}
  1278. framework = arduino
  1279. board = esp01_1m
  1280. board_flash_mode = dout
  1281. lib_deps = ${common.lib_deps}
  1282. lib_ignore = ${common.lib_ignore}
  1283. build_flags = ${common.build_flags_1m} -D${env.ESPURNA_BOARD}
  1284. upload_speed = 115200
  1285. upload_port = "${env.ESPURNA_IP}"
  1286. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1287. extra_scripts = ${common.extra_scripts}
  1288. [env:esp8266-4m-ota]
  1289. platform = ${common.platform}
  1290. framework = arduino
  1291. board = esp12e
  1292. board_flash_mode = dout
  1293. lib_deps = ${common.lib_deps}
  1294. lib_ignore = ${common.lib_ignore}
  1295. build_flags = ${common.build_flags} -D${env.ESPURNA_BOARD}
  1296. upload_speed = 115200
  1297. upload_port = "${env.ESPURNA_IP}"
  1298. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1299. extra_scripts = ${common.extra_scripts}