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.

1396 lines
39 KiB

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