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.

1442 lines
41 KiB

6 years ago
  1. [platformio]
  2. env_default = wemos-d1mini-relayshield
  3. src_dir = espurna
  4. data_dir = espurna/data
  5. [common]
  6. #platform = espressif8266
  7. platform = https://github.com/platformio/platform-espressif8266.git#v1.5.0
  8. build_flags = -g -DMQTT_MAX_PACKET_SIZE=400 ${env.ESPURNA_FLAGS}
  9. debug_flags = -DDEBUG_ESP_CORE -DDEBUG_ESP_SSL -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_HTTP_SERVER -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_TLS_MEM
  10. build_flags_512k = ${common.build_flags} -Wl,-Tesp8266.flash.512k0.ld
  11. build_flags_1m = ${common.build_flags} -Wl,-Tesp8266.flash.1m0.ld
  12. lib_deps =
  13. ArduinoJson
  14. https://github.com/marvinroger/async-mqtt-client#v0.8.1
  15. Brzo I2C
  16. https://bitbucket.org/xoseperez/debounceevent.git#2.0.1
  17. Embedis
  18. https://github.com/krosk93/espsoftwareserial#a770677
  19. https://github.com/me-no-dev/ESPAsyncTCP#a57560d
  20. https://github.com/me-no-dev/ESPAsyncWebServer#313f337
  21. https://bitbucket.org/xoseperez/fauxmoesp.git#2.4.2
  22. https://bitbucket.org/xoseperez/hlw8012.git#1.1.0
  23. https://github.com/markszabo/IRremoteESP8266#v2.2.0
  24. https://bitbucket.org/xoseperez/justwifi.git#1.1.6
  25. https://github.com/madpilot/mDNSResolver#4cfcda1
  26. https://github.com/xoseperez/my92xx#3.0.0
  27. https://bitbucket.org/xoseperez/nofuss.git#0.2.5
  28. https://github.com/xoseperez/NtpClient.git#b35e249
  29. OneWire
  30. PMS Library
  31. PubSubClient
  32. https://github.com/xoseperez/RemoteSwitch-arduino-library.git
  33. https://github.com/xoseperez/Time
  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-nc]
  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-nc-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:jangoe-wifi-relay-no]
  698. platform = ${common.platform}
  699. framework = arduino
  700. board = esp12e
  701. lib_deps = ${common.lib_deps}
  702. lib_ignore = ${common.lib_ignore}
  703. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  704. monitor_baud = 115200
  705. extra_scripts = ${common.extra_scripts}
  706. [env:jangoe-wifi-relay-no-ota]
  707. platform = ${common.platform}
  708. framework = arduino
  709. board = esp12e
  710. lib_deps = ${common.lib_deps}
  711. lib_ignore = ${common.lib_ignore}
  712. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  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:openenergymonitor-mqtt-relay]
  719. platform = ${common.platform}
  720. framework = arduino
  721. board = esp_wroom_02
  722. lib_deps = ${common.lib_deps}
  723. lib_ignore = ${common.lib_ignore}
  724. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  725. monitor_baud = 115200
  726. extra_scripts = ${common.extra_scripts}
  727. [env:openenergymonitor-mqtt-relay-ota]
  728. platform = ${common.platform}
  729. framework = arduino
  730. board = esp_wroom_02
  731. lib_deps = ${common.lib_deps}
  732. lib_ignore = ${common.lib_ignore}
  733. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  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:jorgegarcia-wifi-relays]
  740. platform = ${common.platform}
  741. framework = arduino
  742. board = esp01_1m
  743. lib_deps = ${common.lib_deps}
  744. lib_ignore = ${common.lib_ignore}
  745. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  746. monitor_baud = 115200
  747. extra_scripts = ${common.extra_scripts}
  748. [env:jorgegarcia-wifi-relays-ota]
  749. platform = ${common.platform}
  750. framework = arduino
  751. board = esp01_1m
  752. lib_deps = ${common.lib_deps}
  753. lib_ignore = ${common.lib_ignore}
  754. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  755. upload_speed = 115200
  756. upload_port = "192.168.4.1"
  757. upload_flags = --auth=fibonacci --port 8266
  758. monitor_baud = 115200
  759. extra_scripts = ${common.extra_scripts}
  760. [env:aithinker-ai-light]
  761. platform = ${common.platform}
  762. framework = arduino
  763. board = esp01_1m
  764. board_flash_mode = dout
  765. lib_deps = ${common.lib_deps}
  766. lib_ignore = ${common.lib_ignore}
  767. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  768. monitor_baud = 115200
  769. extra_scripts = ${common.extra_scripts}
  770. [env:aithinker-ai-light-ota]
  771. platform = ${common.platform}
  772. framework = arduino
  773. board = esp01_1m
  774. board_flash_mode = dout
  775. lib_deps = ${common.lib_deps}
  776. lib_ignore = ${common.lib_ignore}
  777. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  778. upload_speed = 115200
  779. upload_port = "192.168.4.1"
  780. upload_flags = --auth=fibonacci --port 8266
  781. monitor_baud = 115200
  782. extra_scripts = ${common.extra_scripts}
  783. [env:magichome-led-controller]
  784. platform = ${common.platform}
  785. framework = arduino
  786. board = esp01_1m
  787. board_flash_mode = dout
  788. lib_deps = ${common.lib_deps}
  789. lib_ignore = ${common.lib_ignore}
  790. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  791. monitor_baud = 115200
  792. extra_scripts = ${common.extra_scripts}
  793. [env:magichome-led-controller-ota]
  794. platform = ${common.platform}
  795. framework = arduino
  796. board = esp01_1m
  797. board_flash_mode = dout
  798. lib_deps = ${common.lib_deps}
  799. lib_ignore = ${common.lib_ignore}
  800. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  801. upload_speed = 115200
  802. upload_port = "192.168.4.1"
  803. upload_flags = --auth=fibonacci --port 8266
  804. monitor_baud = 115200
  805. extra_scripts = ${common.extra_scripts}
  806. [env:magichome-led-controller-20]
  807. platform = ${common.platform}
  808. framework = arduino
  809. board = esp01_1m
  810. board_flash_mode = dout
  811. lib_deps = ${common.lib_deps}
  812. lib_ignore = ${common.lib_ignore}
  813. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  814. monitor_baud = 115200
  815. extra_scripts = ${common.extra_scripts}
  816. [env:magichome-led-controller-20-ota]
  817. platform = ${common.platform}
  818. framework = arduino
  819. board = esp01_1m
  820. board_flash_mode = dout
  821. lib_deps = ${common.lib_deps}
  822. lib_ignore = ${common.lib_ignore}
  823. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  824. upload_port = "192.168.4.1"
  825. upload_flags = --auth=fibonacci --port 8266
  826. monitor_baud = 115200
  827. extra_scripts = ${common.extra_scripts}
  828. [env:magichome-led-controller-23]
  829. platform = ${common.platform}
  830. framework = arduino
  831. board = esp01_1m
  832. board_flash_mode = dout
  833. lib_deps = ${common.lib_deps}
  834. lib_ignore = ${common.lib_ignore}
  835. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_23
  836. monitor_baud = 115200
  837. extra_scripts = ${common.extra_scripts}
  838. [env:magichome-led-controller-23-ota]
  839. platform = ${common.platform}
  840. framework = arduino
  841. board = esp01_1m
  842. board_flash_mode = dout
  843. lib_deps = ${common.lib_deps}
  844. lib_ignore = ${common.lib_ignore}
  845. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_23
  846. upload_port = "192.168.4.1"
  847. upload_flags = --auth=fibonacci --port 8266
  848. monitor_baud = 115200
  849. extra_scripts = ${common.extra_scripts}
  850. [env:huacanxing-h801]
  851. platform = ${common.platform}
  852. framework = arduino
  853. board = esp01_1m
  854. board_flash_mode = dout
  855. lib_deps = ${common.lib_deps}
  856. lib_ignore = ${common.lib_ignore}
  857. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  858. monitor_baud = 115200
  859. extra_scripts = ${common.extra_scripts}
  860. [env:huacanxing-h801-ota]
  861. platform = ${common.platform}
  862. framework = arduino
  863. board = esp01_1m
  864. board_flash_mode = dout
  865. lib_deps = ${common.lib_deps}
  866. lib_ignore = ${common.lib_ignore}
  867. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  868. upload_speed = 115200
  869. upload_port = "192.168.4.1"
  870. upload_flags = --auth=fibonacci --port 8266
  871. monitor_baud = 115200
  872. extra_scripts = ${common.extra_scripts}
  873. [env:huacanxing-h802]
  874. platform = ${common.platform}
  875. framework = arduino
  876. board = esp01_1m
  877. board_flash_mode = dout
  878. lib_deps = ${common.lib_deps}
  879. lib_ignore = ${common.lib_ignore}
  880. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  881. monitor_baud = 115200
  882. extra_scripts = ${common.extra_scripts}
  883. [env:huacanxing-h802-ota]
  884. platform = ${common.platform}
  885. framework = arduino
  886. board = esp01_1m
  887. board_flash_mode = dout
  888. lib_deps = ${common.lib_deps}
  889. lib_ignore = ${common.lib_ignore}
  890. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  891. upload_speed = 115200
  892. upload_port = "192.168.4.1"
  893. upload_flags = --auth=fibonacci --port 8266
  894. monitor_baud = 115200
  895. extra_scripts = ${common.extra_scripts}
  896. [env:arilux-al-lc01]
  897. platform = ${common.platform}
  898. framework = arduino
  899. board = esp01_1m
  900. board_flash_mode = dout
  901. lib_deps = ${common.lib_deps}
  902. lib_ignore = ${common.lib_ignore}
  903. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  904. monitor_baud = 115200
  905. extra_scripts = ${common.extra_scripts}
  906. [env:arilux-al-lc01-ota]
  907. platform = ${common.platform}
  908. framework = arduino
  909. board = esp01_1m
  910. board_flash_mode = dout
  911. lib_deps = ${common.lib_deps}
  912. lib_ignore = ${common.lib_ignore}
  913. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  914. upload_speed = 115200
  915. upload_port = "192.168.4.1"
  916. upload_flags = --auth=fibonacci --port 8266
  917. monitor_baud = 115200
  918. extra_scripts = ${common.extra_scripts}
  919. [env:arilux-al-lc02]
  920. platform = ${common.platform}
  921. framework = arduino
  922. board = esp01_1m
  923. board_flash_mode = dout
  924. lib_deps = ${common.lib_deps}
  925. lib_ignore = ${common.lib_ignore}
  926. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  927. monitor_baud = 115200
  928. extra_scripts = ${common.extra_scripts}
  929. [env:arilux-al-lc02-ota]
  930. platform = ${common.platform}
  931. framework = arduino
  932. board = esp01_1m
  933. board_flash_mode = dout
  934. lib_deps = ${common.lib_deps}
  935. lib_ignore = ${common.lib_ignore}
  936. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  937. upload_speed = 115200
  938. upload_port = "192.168.4.1"
  939. upload_flags = --auth=fibonacci --port 8266
  940. monitor_baud = 115200
  941. extra_scripts = ${common.extra_scripts}
  942. [env:arilux-al-lc06]
  943. platform = ${common.platform}
  944. framework = arduino
  945. board = esp01_1m
  946. board_flash_mode = dout
  947. lib_deps = ${common.lib_deps}
  948. lib_ignore = ${common.lib_ignore}
  949. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  950. monitor_baud = 115200
  951. extra_scripts = ${common.extra_scripts}
  952. [env:arilux-al-lc06-ota]
  953. platform = ${common.platform}
  954. framework = arduino
  955. board = esp01_1m
  956. board_flash_mode = dout
  957. lib_deps = ${common.lib_deps}
  958. lib_ignore = ${common.lib_ignore}
  959. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  960. upload_speed = 115200
  961. upload_port = "192.168.4.1"
  962. upload_flags = --auth=fibonacci --port 8266
  963. monitor_baud = 115200
  964. extra_scripts = ${common.extra_scripts}
  965. [env:arilux-al-lc11]
  966. platform = ${common.platform}
  967. framework = arduino
  968. board = esp01_1m
  969. board_flash_mode = dout
  970. lib_deps = ${common.lib_deps}
  971. lib_ignore = ${common.lib_ignore}
  972. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  973. monitor_baud = 115200
  974. extra_scripts = ${common.extra_scripts}
  975. [env:arilux-al-lc11-ota]
  976. platform = ${common.platform}
  977. framework = arduino
  978. board = esp01_1m
  979. board_flash_mode = dout
  980. lib_deps = ${common.lib_deps}
  981. lib_ignore = ${common.lib_ignore}
  982. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  983. upload_speed = 115200
  984. upload_port = "192.168.4.1"
  985. upload_flags = --auth=fibonacci --port 8266
  986. monitor_baud = 115200
  987. extra_scripts = ${common.extra_scripts}
  988. [env:arilux-e27]
  989. platform = ${common.platform}
  990. framework = arduino
  991. board = esp01_1m
  992. board_flash_mode = dout
  993. lib_deps = ${common.lib_deps}
  994. lib_ignore = ${common.lib_ignore}
  995. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  996. monitor_baud = 115200
  997. extra_scripts = ${common.extra_scripts}
  998. [env:arilux-e27-ota]
  999. platform = ${common.platform}
  1000. framework = arduino
  1001. board = esp01_1m
  1002. board_flash_mode = dout
  1003. lib_deps = ${common.lib_deps}
  1004. lib_ignore = ${common.lib_ignore}
  1005. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  1006. upload_speed = 115200
  1007. upload_port = "192.168.4.1"
  1008. upload_flags = --auth=fibonacci --port 8266
  1009. monitor_baud = 115200
  1010. extra_scripts = ${common.extra_scripts}
  1011. [env:itead-bnsz01]
  1012. platform = ${common.platform}
  1013. framework = arduino
  1014. board = esp01_1m
  1015. board_flash_mode = dout
  1016. lib_deps = ${common.lib_deps}
  1017. lib_ignore = ${common.lib_ignore}
  1018. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1019. monitor_baud = 115200
  1020. extra_scripts = ${common.extra_scripts}
  1021. [env:itead-bnsz01-ota]
  1022. platform = ${common.platform}
  1023. framework = arduino
  1024. board = esp01_1m
  1025. board_flash_mode = dout
  1026. lib_deps = ${common.lib_deps}
  1027. lib_ignore = ${common.lib_ignore}
  1028. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1029. upload_speed = 115200
  1030. upload_port = "192.168.4.1"
  1031. upload_flags = --auth=fibonacci --port 8266
  1032. monitor_baud = 115200
  1033. extra_scripts = ${common.extra_scripts}
  1034. [env:wion-50055]
  1035. platform = ${common.platform}
  1036. framework = arduino
  1037. board = esp01_1m
  1038. board_flash_mode = dout
  1039. lib_deps = ${common.lib_deps}
  1040. lib_ignore = ${common.lib_ignore}
  1041. build_flags = ${common.build_flags_1m} -DWION_50055
  1042. monitor_baud = 115200
  1043. extra_scripts = ${common.extra_scripts}
  1044. [env:wion-50055-ota]
  1045. platform = ${common.platform}
  1046. framework = arduino
  1047. board = esp01_1m
  1048. board_flash_mode = dout
  1049. lib_deps = ${common.lib_deps}
  1050. lib_ignore = ${common.lib_ignore}
  1051. build_flags = ${common.build_flags_1m} -DWION_50055
  1052. upload_speed = 115200
  1053. upload_port = "192.168.4.1"
  1054. upload_flags = --auth=fibonacci --port 8266
  1055. monitor_baud = 115200
  1056. extra_scripts = ${common.extra_scripts}
  1057. [env:exs-wifi-relay-v31]
  1058. platform = ${common.platform}
  1059. framework = arduino
  1060. board = esp07
  1061. board_flash_mode = dout
  1062. lib_deps = ${common.lib_deps}
  1063. lib_ignore = ${common.lib_ignore}
  1064. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1065. monitor_baud = 115200
  1066. extra_scripts = ${common.extra_scripts}
  1067. [env:exs-wifi-relay-v31-ota]
  1068. platform = ${common.platform}
  1069. framework = arduino
  1070. board = esp07
  1071. board_flash_mode = dout
  1072. lib_deps = ${common.lib_deps}
  1073. lib_ignore = ${common.lib_ignore}
  1074. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1075. upload_speed = 115200
  1076. upload_port = "192.168.4.1"
  1077. upload_flags = --auth=fibonacci --port 8266
  1078. monitor_baud = 115200
  1079. extra_scripts = ${common.extra_scripts}
  1080. [env:wemos-v9261f]
  1081. platform = ${common.platform}
  1082. framework = arduino
  1083. board = d1_mini
  1084. lib_deps = ${common.lib_deps}
  1085. lib_ignore = ${common.lib_ignore}
  1086. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1087. upload_speed = 460800
  1088. monitor_baud = 115200
  1089. extra_scripts = ${common.extra_scripts}
  1090. [env:wemos-v9261f-ota]
  1091. platform = ${common.platform}
  1092. framework = arduino
  1093. board = d1_mini
  1094. lib_deps = ${common.lib_deps}
  1095. lib_ignore = ${common.lib_ignore}
  1096. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1097. upload_speed = 115200
  1098. upload_port = "192.168.4.1"
  1099. upload_flags = --auth=fibonacci --port 8266
  1100. monitor_baud = 115200
  1101. extra_scripts = ${common.extra_scripts}
  1102. [env:esp01-v9261f]
  1103. platform = ${common.platform}
  1104. framework = arduino
  1105. board = esp01_1m
  1106. board_flash_mode = dout
  1107. lib_deps = ${common.lib_deps}
  1108. lib_ignore = ${common.lib_ignore}
  1109. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1110. monitor_baud = 115200
  1111. extra_scripts = ${common.extra_scripts}
  1112. [env:esp01-v9261f-ota]
  1113. platform = ${common.platform}
  1114. framework = arduino
  1115. board = esp01_1m
  1116. board_flash_mode = dout
  1117. lib_deps = ${common.lib_deps}
  1118. lib_ignore = ${common.lib_ignore}
  1119. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1120. upload_speed = 115200
  1121. upload_port = "192.168.4.1"
  1122. upload_flags = --auth=fibonacci --port 8266
  1123. monitor_baud = 115200
  1124. extra_scripts = ${common.extra_scripts}
  1125. [env:wemos-ech1560]
  1126. platform = ${common.platform}
  1127. framework = arduino
  1128. board = d1_mini
  1129. lib_deps = ${common.lib_deps}
  1130. lib_ignore = ${common.lib_ignore}
  1131. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1132. upload_speed = 460800
  1133. monitor_baud = 115200
  1134. extra_scripts = ${common.extra_scripts}
  1135. [env:wemos-ech1560-ota]
  1136. platform = ${common.platform}
  1137. framework = arduino
  1138. board = d1_mini
  1139. lib_deps = ${common.lib_deps}
  1140. lib_ignore = ${common.lib_ignore}
  1141. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1142. upload_speed = 115200
  1143. upload_port = "192.168.4.1"
  1144. upload_flags = --auth=fibonacci --port 8266
  1145. monitor_baud = 115200
  1146. extra_scripts = ${common.extra_scripts}
  1147. [env:esp01-ech1560]
  1148. platform = ${common.platform}
  1149. framework = arduino
  1150. board = esp01_1m
  1151. board_flash_mode = dout
  1152. lib_deps = ${common.lib_deps}
  1153. lib_ignore = ${common.lib_ignore}
  1154. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1155. monitor_baud = 115200
  1156. extra_scripts = ${common.extra_scripts}
  1157. [env:esp01-ech1560-ota]
  1158. platform = ${common.platform}
  1159. framework = arduino
  1160. board = esp01_1m
  1161. board_flash_mode = dout
  1162. lib_deps = ${common.lib_deps}
  1163. lib_ignore = ${common.lib_ignore}
  1164. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1165. upload_speed = 115200
  1166. upload_port = "192.168.4.1"
  1167. upload_flags = --auth=fibonacci --port 8266
  1168. monitor_baud = 115200
  1169. extra_scripts = ${common.extra_scripts}
  1170. [env:mancavemade-esplive]
  1171. platform = ${common.platform}
  1172. framework = arduino
  1173. board = d1_mini
  1174. lib_deps = ${common.lib_deps}
  1175. lib_ignore = ${common.lib_ignore}
  1176. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1177. upload_speed = 460800
  1178. monitor_baud = 115200
  1179. extra_scripts = ${common.extra_scripts}
  1180. [env:mancavemade-esplive-ota]
  1181. platform = ${common.platform}
  1182. framework = arduino
  1183. board = d1_mini
  1184. lib_deps = ${common.lib_deps}
  1185. lib_ignore = ${common.lib_ignore}
  1186. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1187. upload_speed = 460800
  1188. upload_port = "192.168.4.1"
  1189. upload_flags = --auth=fibonacci --port 8266
  1190. monitor_baud = 115200
  1191. extra_scripts = ${common.extra_scripts}
  1192. [env:intermittech-quinled]
  1193. platform = ${common.platform}
  1194. framework = arduino
  1195. board = esp01_1m
  1196. board_flash_mode = dout
  1197. lib_deps = ${common.lib_deps}
  1198. lib_ignore = ${common.lib_ignore}
  1199. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1200. monitor_baud = 115200
  1201. extra_scripts = ${common.extra_scripts}
  1202. [env:intermittech-quinled-ota]
  1203. platform = ${common.platform}
  1204. framework = arduino
  1205. board = esp01_1m
  1206. board_flash_mode = dout
  1207. lib_deps = ${common.lib_deps}
  1208. lib_ignore = ${common.lib_ignore}
  1209. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1210. upload_speed = 115200
  1211. upload_port = "192.168.4.1"
  1212. upload_flags = --auth=fibonacci --port 8266
  1213. monitor_baud = 115200
  1214. extra_scripts = ${common.extra_scripts}
  1215. [env:xenon-sm-pw702u]
  1216. platform = ${common.platform}
  1217. framework = arduino
  1218. board = esp12e
  1219. board_flash_mode = dout
  1220. lib_deps = ${common.lib_deps}
  1221. lib_ignore = ${common.lib_ignore}
  1222. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1223. monitor_baud = 115200
  1224. extra_scripts = ${common.extra_scripts}
  1225. [env:xenon-sm-pw702u-ota]
  1226. platform = ${common.platform}
  1227. framework = arduino
  1228. board = esp12e
  1229. board_flash_mode = dout
  1230. lib_deps = ${common.lib_deps}
  1231. lib_ignore = ${common.lib_ignore}
  1232. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1233. upload_speed = 115200
  1234. upload_port = "192.168.4.1"
  1235. upload_flags = --auth=fibonacci --port 8266
  1236. monitor_baud = 115200
  1237. extra_scripts = ${common.extra_scripts}
  1238. [env:authometion-lyt8266]
  1239. platform = ${common.platform}
  1240. framework = arduino
  1241. board = esp01_1m
  1242. board_flash_mode = dout
  1243. lib_deps = ${common.lib_deps}
  1244. lib_ignore = ${common.lib_ignore}
  1245. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1246. monitor_baud = 115200
  1247. extra_scripts = ${common.extra_scripts}
  1248. [env:authometion-lyt8266-ota]
  1249. platform = ${common.platform}
  1250. framework = arduino
  1251. board = esp01_1m
  1252. board_flash_mode = dout
  1253. lib_deps = ${common.lib_deps}
  1254. lib_ignore = ${common.lib_ignore}
  1255. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1256. upload_speed = 115200
  1257. upload_port = "192.168.4.1"
  1258. upload_flags = --auth=fibonacci --port 8266
  1259. monitor_baud = 115200
  1260. extra_scripts = ${common.extra_scripts}
  1261. [env:yjzk-switch-2ch]
  1262. platform = ${common.platform}
  1263. framework = arduino
  1264. board = esp01_1m
  1265. board_flash_mode = dout
  1266. lib_deps = ${common.lib_deps}
  1267. lib_ignore = ${common.lib_ignore}
  1268. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1269. monitor_baud = 115200
  1270. extra_scripts = ${common.extra_scripts}
  1271. [env:yjzk-switch-2ch-ota]
  1272. platform = ${common.platform}
  1273. framework = arduino
  1274. board = esp01_1m
  1275. board_flash_mode = dout
  1276. lib_deps = ${common.lib_deps}
  1277. lib_ignore = ${common.lib_ignore}
  1278. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1279. upload_speed = 115200
  1280. upload_port = "192.168.4.1"
  1281. upload_flags = --auth=fibonacci --port 8266
  1282. monitor_baud = 115200
  1283. extra_scripts = ${common.extra_scripts}
  1284. [env:generic-8ch]
  1285. platform = ${common.platform}
  1286. framework = arduino
  1287. board = d1_mini
  1288. lib_deps = ${common.lib_deps}
  1289. lib_ignore = ${common.lib_ignore}
  1290. build_flags = ${common.build_flags} -DGENERIC_8CH
  1291. upload_speed = 460800
  1292. monitor_baud = 115200
  1293. extra_scripts = ${common.extra_scripts}
  1294. # ------------------------------------------------------------------------------
  1295. # GENERIC OTA ENVIRONMENTS
  1296. # ------------------------------------------------------------------------------
  1297. [env:esp8266-1m-ota]
  1298. platform = ${common.platform}
  1299. framework = arduino
  1300. board = esp01_1m
  1301. board_flash_mode = dout
  1302. lib_deps = ${common.lib_deps}
  1303. lib_ignore = ${common.lib_ignore}
  1304. build_flags = ${common.build_flags_1m} -D${env.ESPURNA_BOARD}
  1305. upload_speed = 115200
  1306. upload_port = "${env.ESPURNA_IP}"
  1307. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1308. extra_scripts = ${common.extra_scripts}
  1309. [env:esp8266-4m-ota]
  1310. platform = ${common.platform}
  1311. framework = arduino
  1312. board = esp12e
  1313. board_flash_mode = dout
  1314. lib_deps = ${common.lib_deps}
  1315. lib_ignore = ${common.lib_ignore}
  1316. build_flags = ${common.build_flags} -D${env.ESPURNA_BOARD}
  1317. upload_speed = 115200
  1318. upload_port = "${env.ESPURNA_IP}"
  1319. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1320. extra_scripts = ${common.extra_scripts}