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.

1244 lines
34 KiB

  1. [platformio]
  2. env_default = wemos-d1mini-relayshield
  3. src_dir = espurna
  4. data_dir = espurna/data
  5. [common]
  6. platform = espressif8266
  7. #platform = espressif8266_stage
  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. FastLED
  27. https://bitbucket.org/xoseperez/justwifi.git#1.1.4
  28. https://bitbucket.org/xoseperez/hlw8012.git#1.1.0
  29. https://bitbucket.org/xoseperez/fauxmoesp.git#2.3.0
  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 = post:core_version.py
  37. extra_scripts =
  38. # ------------------------------------------------------------------------------
  39. [env:wemos-d1mini-relayshield]
  40. platform = ${common.platform}
  41. framework = arduino
  42. board = d1_mini
  43. lib_deps = ${common.lib_deps}
  44. lib_ignore = ${common.lib_ignore}
  45. build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  46. upload_speed = 460800
  47. monitor_baud = 115200
  48. extra_scripts = ${common.extra_scripts}
  49. [env:wemos-d1mini-relayshield-ssl]
  50. platform = espressif8266_stage
  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 -DASYNC_TCP_SSL_ENABLED=1
  56. upload_speed = 460800
  57. monitor_baud = 115200
  58. [env:wemos-d1mini-relayshield-ota]
  59. platform = ${common.platform}
  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
  65. upload_speed = 115200
  66. upload_port = "192.168.4.1"
  67. upload_flags = --auth=fibonacci --port 8266
  68. [env:nodemcu-lolin]
  69. platform = ${common.platform}
  70. framework = arduino
  71. board = nodemcuv2
  72. lib_deps = ${common.lib_deps}
  73. lib_ignore = ${common.lib_ignore}
  74. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  75. upload_speed = 460800
  76. monitor_baud = 115200
  77. [env:nodemcu-lolin-ssl]
  78. platform = espressif8266_stage
  79. framework = arduino
  80. board = nodemcuv2
  81. lib_deps = ${common.lib_deps}
  82. lib_ignore = ${common.lib_ignore}
  83. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  84. upload_speed = 460800
  85. monitor_baud = 115200
  86. [env:nodemcu-lolin-ota]
  87. platform = ${common.platform}
  88. framework = arduino
  89. board = nodemcuv2
  90. lib_deps = ${common.lib_deps}
  91. lib_ignore = ${common.lib_ignore}
  92. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  93. upload_speed = 115200
  94. upload_port = "192.168.4.1"
  95. upload_flags = --auth=fibonacci --port 8266
  96. monitor_baud = 115200
  97. # ------------------------------------------------------------------------------
  98. [env:tinkerman-espurna-h06]
  99. platform = ${common.platform}
  100. framework = arduino
  101. board = esp12e
  102. lib_deps = ${common.lib_deps}
  103. lib_ignore = ${common.lib_ignore}
  104. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H06
  105. monitor_baud = 115200
  106. [env:tinkerman-espurna-h06-ota]
  107. platform = ${common.platform}
  108. framework = arduino
  109. board = esp12e
  110. lib_deps = ${common.lib_deps}
  111. lib_ignore = ${common.lib_ignore}
  112. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H06
  113. upload_speed = 115200
  114. upload_port = "192.168.4.1"
  115. upload_flags = --auth=fibonacci --port 8266
  116. monitor_baud = 115200
  117. [env:tinkerman-espurna-h08]
  118. platform = ${common.platform}
  119. framework = arduino
  120. board = esp12e
  121. lib_deps = ${common.lib_deps}
  122. lib_ignore = ${common.lib_ignore}
  123. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H08
  124. monitor_baud = 115200
  125. [env:tinkerman-espurna-h08-ota]
  126. platform = ${common.platform}
  127. framework = arduino
  128. board = esp12e
  129. lib_deps = ${common.lib_deps}
  130. lib_ignore = ${common.lib_ignore}
  131. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H08
  132. upload_speed = 115200
  133. upload_port = "192.168.4.1"
  134. upload_flags = --auth=fibonacci --port 8266
  135. monitor_baud = 115200
  136. # ------------------------------------------------------------------------------
  137. [env:itead-sonoff-basic]
  138. platform = ${common.platform}
  139. framework = arduino
  140. board = esp01_1m
  141. board_flash_mode = dout
  142. lib_deps = ${common.lib_deps}
  143. lib_ignore = ${common.lib_ignore}
  144. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
  145. monitor_baud = 115200
  146. [env:itead-sonoff-basic-ota]
  147. platform = ${common.platform}
  148. framework = arduino
  149. board = esp01_1m
  150. board_flash_mode = dout
  151. lib_deps = ${common.lib_deps}
  152. lib_ignore = ${common.lib_ignore}
  153. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
  154. upload_speed = 115200
  155. upload_port = "192.168.4.1"
  156. upload_flags = --auth=fibonacci --port 8266
  157. monitor_baud = 115200
  158. [env:itead-sonoff-basic-dht]
  159. platform = ${common.platform}
  160. framework = arduino
  161. board = esp01_1m
  162. board_flash_mode = dout
  163. lib_deps = ${common.lib_deps}
  164. lib_ignore = ${common.lib_ignore}
  165. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  166. monitor_baud = 115200
  167. [env:itead-sonoff-basic-dht-ota]
  168. platform = ${common.platform}
  169. framework = arduino
  170. board = esp01_1m
  171. board_flash_mode = dout
  172. lib_deps = ${common.lib_deps}
  173. lib_ignore = ${common.lib_ignore}
  174. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  175. upload_speed = 115200
  176. upload_port = "192.168.4.1"
  177. upload_flags = --auth=fibonacci --port 8266
  178. monitor_baud = 115200
  179. [env:itead-sonoff-basic-dallas]
  180. platform = ${common.platform}
  181. framework = arduino
  182. board = esp01_1m
  183. board_flash_mode = dout
  184. lib_deps = ${common.lib_deps}
  185. lib_ignore = ${common.lib_ignore}
  186. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1
  187. monitor_baud = 115200
  188. [env:itead-sonoff-rf]
  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_RF
  196. monitor_baud = 115200
  197. [env:itead-sonoff-rf-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_RF
  205. upload_speed = 115200
  206. upload_port = "192.168.4.1"
  207. upload_flags = --auth=fibonacci --port 8266
  208. monitor_baud = 115200
  209. [env:itead-sonoff-th]
  210. platform = ${common.platform}
  211. framework = arduino
  212. board = esp01_1m
  213. board_flash_mode = dout
  214. lib_deps = ${common.lib_deps}
  215. lib_ignore = ${common.lib_ignore}
  216. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TH
  217. monitor_baud = 115200
  218. [env:itead-sonoff-th-ota]
  219. platform = ${common.platform}
  220. framework = arduino
  221. board = esp01_1m
  222. board_flash_mode = dout
  223. lib_deps = ${common.lib_deps}
  224. lib_ignore = ${common.lib_ignore}
  225. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TH
  226. upload_speed = 115200
  227. upload_port = "192.168.4.1"
  228. upload_flags = --auth=fibonacci --port 8266
  229. monitor_baud = 115200
  230. [env:itead-sonoff-pow]
  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_POW
  238. monitor_baud = 115200
  239. [env:itead-sonoff-pow-ota]
  240. platform = ${common.platform}
  241. framework = arduino
  242. board = esp01_1m
  243. board_flash_mode = dout
  244. lib_deps = ${common.lib_deps}
  245. lib_ignore = ${common.lib_ignore}
  246. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW
  247. upload_speed = 115200
  248. upload_port = "192.168.4.1"
  249. upload_flags = --auth=fibonacci --port 8266
  250. monitor_baud = 115200
  251. [env:itead-sonoff-dual]
  252. platform = ${common.platform}
  253. framework = arduino
  254. board = esp01_1m
  255. board_flash_mode = dout
  256. lib_deps = ${common.lib_deps}
  257. lib_ignore = ${common.lib_ignore}
  258. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  259. [env:itead-sonoff-dual-ota]
  260. platform = ${common.platform}
  261. framework = arduino
  262. board = esp01_1m
  263. board_flash_mode = dout
  264. lib_deps = ${common.lib_deps}
  265. lib_ignore = ${common.lib_ignore}
  266. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  267. upload_speed = 115200
  268. upload_port = "192.168.4.1"
  269. upload_flags = --auth=fibonacci --port 8266
  270. [env:itead-sonoff-dual-r2]
  271. platform = ${common.platform}
  272. framework = arduino
  273. board = esp01_1m
  274. board_flash_mode = dout
  275. lib_deps = ${common.lib_deps}
  276. lib_ignore = ${common.lib_ignore}
  277. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL_R2
  278. [env:itead-sonoff-dual-ota-r2]
  279. platform = ${common.platform}
  280. framework = arduino
  281. board = esp01_1m
  282. board_flash_mode = dout
  283. lib_deps = ${common.lib_deps}
  284. lib_ignore = ${common.lib_ignore}
  285. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL_R2
  286. upload_speed = 115200
  287. upload_port = "192.168.4.1"
  288. upload_flags = --auth=fibonacci --port 8266
  289. [env:itead-sonoff-4ch]
  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_4CH
  297. monitor_baud = 115200
  298. [env:itead-sonoff-4ch-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_4CH
  306. upload_speed = 115200
  307. upload_port = "192.168.4.1"
  308. upload_flags = --auth=fibonacci --port 8266
  309. monitor_baud = 115200
  310. [env:itead-sonoff-4ch-pro]
  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_4CH_PRO
  318. monitor_baud = 115200
  319. [env:itead-sonoff-4ch-pro-ota]
  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_4CH_PRO
  327. upload_speed = 115200
  328. upload_port = "192.168.4.1"
  329. upload_flags = --auth=fibonacci --port 8266
  330. monitor_baud = 115200
  331. [env:itead-sonoff-touch]
  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_TOUCH
  339. monitor_baud = 115200
  340. [env:itead-sonoff-touch-ota]
  341. platform = ${common.platform}
  342. framework = arduino
  343. board = esp01_1m
  344. board_flash_mode = dout
  345. lib_deps = ${common.lib_deps}
  346. lib_ignore = ${common.lib_ignore}
  347. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH
  348. upload_speed = 115200
  349. upload_port = "192.168.4.1"
  350. upload_flags = --auth=fibonacci --port 8266
  351. monitor_baud = 115200
  352. [env:itead-sonoff-b1]
  353. platform = ${common.platform}
  354. framework = arduino
  355. board = esp01_1m
  356. board_flash_mode = dout
  357. lib_deps = ${common.lib_deps}
  358. lib_ignore = ${common.lib_ignore}
  359. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
  360. monitor_baud = 115200
  361. [env:itead-sonoff-b1-ota]
  362. platform = ${common.platform}
  363. framework = arduino
  364. board = esp01_1m
  365. board_flash_mode = dout
  366. lib_deps = ${common.lib_deps}
  367. lib_ignore = ${common.lib_ignore}
  368. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
  369. upload_speed = 115200
  370. upload_port = "192.168.4.1"
  371. upload_flags = --auth=fibonacci --port 8266
  372. monitor_baud = 115200
  373. [env:itead-sonoff-t1-1ch]
  374. platform = ${common.platform}
  375. framework = arduino
  376. board = esp01_1m
  377. board_flash_mode = dout
  378. lib_deps = ${common.lib_deps}
  379. lib_ignore = ${common.lib_ignore}
  380. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH
  381. monitor_baud = 115200
  382. [env:itead-sonoff-t1-1ch-ota]
  383. platform = ${common.platform}
  384. framework = arduino
  385. board = esp01_1m
  386. board_flash_mode = dout
  387. lib_deps = ${common.lib_deps}
  388. lib_ignore = ${common.lib_ignore}
  389. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH
  390. upload_speed = 115200
  391. upload_port = "192.168.4.1"
  392. upload_flags = --auth=fibonacci --port 8266
  393. monitor_baud = 115200
  394. [env:itead-sonoff-t1-2ch]
  395. platform = ${common.platform}
  396. framework = arduino
  397. board = esp01_1m
  398. board_flash_mode = dout
  399. lib_deps = ${common.lib_deps}
  400. lib_ignore = ${common.lib_ignore}
  401. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
  402. monitor_baud = 115200
  403. [env:itead-sonoff-t1-2ch-ota]
  404. platform = ${common.platform}
  405. framework = arduino
  406. board = esp01_1m
  407. board_flash_mode = dout
  408. lib_deps = ${common.lib_deps}
  409. lib_ignore = ${common.lib_ignore}
  410. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
  411. upload_speed = 115200
  412. upload_port = "192.168.4.1"
  413. upload_flags = --auth=fibonacci --port 8266
  414. monitor_baud = 115200
  415. [env:itead-sonoff-t1-3ch]
  416. platform = ${common.platform}
  417. framework = arduino
  418. board = esp01_1m
  419. board_flash_mode = dout
  420. lib_deps = ${common.lib_deps}
  421. lib_ignore = ${common.lib_ignore}
  422. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
  423. monitor_baud = 115200
  424. [env:itead-sonoff-t1-3ch-ota]
  425. platform = ${common.platform}
  426. framework = arduino
  427. board = esp01_1m
  428. board_flash_mode = dout
  429. lib_deps = ${common.lib_deps}
  430. lib_ignore = ${common.lib_ignore}
  431. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
  432. upload_speed = 115200
  433. upload_port = "192.168.4.1"
  434. upload_flags = --auth=fibonacci --port 8266
  435. monitor_baud = 115200
  436. [env:itead-sonoff-led]
  437. platform = ${common.platform}
  438. framework = arduino
  439. board = esp01_1m
  440. board_flash_mode = dout
  441. lib_deps = ${common.lib_deps}
  442. lib_ignore = ${common.lib_ignore}
  443. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
  444. monitor_baud = 115200
  445. [env:itead-sonoff-led-ota]
  446. platform = ${common.platform}
  447. framework = arduino
  448. board = esp01_1m
  449. board_flash_mode = dout
  450. lib_deps = ${common.lib_deps}
  451. lib_ignore = ${common.lib_ignore}
  452. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
  453. upload_speed = 115200
  454. upload_port = "192.168.4.1"
  455. upload_flags = --auth=fibonacci --port 8266
  456. monitor_baud = 115200
  457. [env:itead-sonoff-rfbridge]
  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_RFBRIDGE
  465. monitor_baud = 19200
  466. [env:itead-sonoff-rfbridge-ota]
  467. platform = ${common.platform}
  468. framework = arduino
  469. board = esp01_1m
  470. board_flash_mode = dout
  471. lib_deps = ${common.lib_deps}
  472. lib_ignore = ${common.lib_ignore}
  473. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  474. upload_speed = 115200
  475. upload_port = "192.168.4.1"
  476. upload_flags = --auth=Algernon1 --port 8266
  477. monitor_baud = 19200
  478. # ------------------------------------------------------------------------------
  479. [env:itead-slampher]
  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_SLAMPHER
  487. monitor_baud = 115200
  488. [env:itead-slampher-ota]
  489. platform = ${common.platform}
  490. framework = arduino
  491. board = esp01_1m
  492. board_flash_mode = dout
  493. lib_deps = ${common.lib_deps}
  494. lib_ignore = ${common.lib_ignore}
  495. build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
  496. upload_speed = 115200
  497. upload_port = "192.168.4.1"
  498. upload_flags = --auth=fibonacci --port 8266
  499. monitor_baud = 115200
  500. [env:itead-s20]
  501. platform = ${common.platform}
  502. framework = arduino
  503. board = esp01_1m
  504. board_flash_mode = dout
  505. lib_deps = ${common.lib_deps}
  506. lib_ignore = ${common.lib_ignore}
  507. build_flags = ${common.build_flags_1m} -DITEAD_S20
  508. monitor_baud = 115200
  509. [env:itead-s20-ota]
  510. platform = ${common.platform}
  511. framework = arduino
  512. board = esp01_1m
  513. board_flash_mode = dout
  514. lib_deps = ${common.lib_deps}
  515. lib_ignore = ${common.lib_ignore}
  516. build_flags = ${common.build_flags_1m} -DITEAD_S20
  517. upload_speed = 115200
  518. upload_port = "192.168.4.1"
  519. upload_flags = --auth=fibonacci --port 8266
  520. monitor_baud = 115200
  521. [env:itead-1ch-inching]
  522. platform = ${common.platform}
  523. framework = arduino
  524. board = esp01_1m
  525. board_flash_mode = dout
  526. lib_deps = ${common.lib_deps}
  527. lib_ignore = ${common.lib_ignore}
  528. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  529. monitor_baud = 115200
  530. [env:itead-1ch-inching-ota]
  531. platform = ${common.platform}
  532. framework = arduino
  533. board = esp01_1m
  534. board_flash_mode = dout
  535. lib_deps = ${common.lib_deps}
  536. lib_ignore = ${common.lib_ignore}
  537. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  538. upload_speed = 115200
  539. upload_port = "192.168.4.1"
  540. upload_flags = --auth=fibonacci --port 8266
  541. monitor_baud = 115200
  542. [env:itead-motor]
  543. platform = ${common.platform}
  544. framework = arduino
  545. board = esp01_1m
  546. board_flash_mode = dout
  547. lib_deps = ${common.lib_deps}
  548. lib_ignore = ${common.lib_ignore}
  549. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  550. monitor_baud = 115200
  551. [env:itead-motor-ota]
  552. platform = ${common.platform}
  553. framework = arduino
  554. board = esp01_1m
  555. board_flash_mode = dout
  556. lib_deps = ${common.lib_deps}
  557. lib_ignore = ${common.lib_ignore}
  558. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  559. upload_speed = 115200
  560. upload_port = "192.168.4.1"
  561. upload_flags = --auth=fibonacci --port 8266
  562. monitor_baud = 115200
  563. # ------------------------------------------------------------------------------
  564. [env:electrodragon-wifi-iot]
  565. platform = ${common.platform}
  566. framework = arduino
  567. board = esp12e
  568. lib_deps = ${common.lib_deps}
  569. lib_ignore = ${common.lib_ignore}
  570. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  571. monitor_baud = 115200
  572. [env:electrodragon-wifi-iot-ota]
  573. platform = ${common.platform}
  574. framework = arduino
  575. board = esp12e
  576. lib_deps = ${common.lib_deps}
  577. lib_ignore = ${common.lib_ignore}
  578. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  579. upload_speed = 115200
  580. upload_port = "192.168.4.1"
  581. upload_flags = --auth=fibonacci --port 8266
  582. monitor_baud = 115200
  583. [env:workchoice-ecoplug]
  584. platform = ${common.platform}
  585. framework = arduino
  586. board = esp01_1m
  587. board_flash_mode = dout
  588. lib_deps = ${common.lib_deps}
  589. lib_ignore = ${common.lib_ignore}
  590. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  591. monitor_baud = 115200
  592. [env:workchoice-ecoplug-ota]
  593. platform = ${common.platform}
  594. framework = arduino
  595. board = esp01_1m
  596. board_flash_mode = dout
  597. lib_deps = ${common.lib_deps}
  598. lib_ignore = ${common.lib_ignore}
  599. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  600. upload_speed = 115200
  601. upload_port = "192.168.4.1"
  602. upload_flags = --auth=fibonacci --port 8266
  603. monitor_baud = 115200
  604. [env:jangoe-wifi-relay]
  605. platform = ${common.platform}
  606. framework = arduino
  607. board = esp12e
  608. lib_deps = ${common.lib_deps}
  609. lib_ignore = ${common.lib_ignore}
  610. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  611. monitor_baud = 115200
  612. [env:jangoe-wifi-relay-ota]
  613. platform = ${common.platform}
  614. framework = arduino
  615. board = esp12e
  616. lib_deps = ${common.lib_deps}
  617. lib_ignore = ${common.lib_ignore}
  618. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  619. upload_speed = 115200
  620. upload_port = "192.168.4.1"
  621. upload_flags = --auth=fibonacci --port 8266
  622. monitor_baud = 115200
  623. [env:openenergymonitor-mqtt-relay]
  624. platform = ${common.platform}
  625. framework = arduino
  626. board = esp_wroom_02
  627. lib_deps = ${common.lib_deps}
  628. lib_ignore = ${common.lib_ignore}
  629. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  630. monitor_baud = 115200
  631. [env:openenergymonitor-mqtt-relay-ota]
  632. platform = ${common.platform}
  633. framework = arduino
  634. board = esp_wroom_02
  635. lib_deps = ${common.lib_deps}
  636. lib_ignore = ${common.lib_ignore}
  637. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  638. upload_speed = 115200
  639. upload_port = "192.168.4.1"
  640. upload_flags = --auth=fibonacci --port 8266
  641. monitor_baud = 115200
  642. [env:jorgegarcia-wifi-relays]
  643. platform = ${common.platform}
  644. framework = arduino
  645. board = esp01_1m
  646. lib_deps = ${common.lib_deps}
  647. lib_ignore = ${common.lib_ignore}
  648. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  649. monitor_baud = 115200
  650. [env:jorgegarcia-wifi-relays-ota]
  651. platform = ${common.platform}
  652. framework = arduino
  653. board = esp01_1m
  654. lib_deps = ${common.lib_deps}
  655. lib_ignore = ${common.lib_ignore}
  656. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  657. upload_speed = 115200
  658. upload_port = "192.168.4.1"
  659. upload_flags = --auth=fibonacci --port 8266
  660. monitor_baud = 115200
  661. [env:aithinker-ai-light]
  662. platform = ${common.platform}
  663. framework = arduino
  664. board = esp01_1m
  665. board_flash_mode = dout
  666. lib_deps = ${common.lib_deps}
  667. lib_ignore = ${common.lib_ignore}
  668. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  669. monitor_baud = 115200
  670. [env:aithinker-ai-light-ota]
  671. platform = ${common.platform}
  672. framework = arduino
  673. board = esp01_1m
  674. board_flash_mode = dout
  675. lib_deps = ${common.lib_deps}
  676. lib_ignore = ${common.lib_ignore}
  677. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  678. upload_speed = 115200
  679. upload_port = "192.168.4.1"
  680. upload_flags = --auth=fibonacci --port 8266
  681. monitor_baud = 115200
  682. [env:magichome-led-controller]
  683. platform = ${common.platform}
  684. framework = arduino
  685. board = esp01_1m
  686. board_flash_mode = dout
  687. lib_deps = ${common.lib_deps}
  688. lib_ignore = ${common.lib_ignore}
  689. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  690. monitor_baud = 115200
  691. [env:magichome-led-controller-ota]
  692. platform = ${common.platform}
  693. framework = arduino
  694. board = esp01_1m
  695. board_flash_mode = dout
  696. lib_deps = ${common.lib_deps}
  697. lib_ignore = ${common.lib_ignore}
  698. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  699. upload_speed = 115200
  700. upload_port = "192.168.4.1"
  701. upload_flags = --auth=fibonacci --port 8266
  702. monitor_baud = 115200
  703. [env:magichome-led-controller-20]
  704. platform = ${common.platform}
  705. framework = arduino
  706. board = esp01_1m
  707. board_flash_mode = dout
  708. lib_deps = ${common.lib_deps}
  709. lib_ignore = ${common.lib_ignore}
  710. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  711. monitor_baud = 115200
  712. [env:magichome-led-controller-20-ota]
  713. platform = ${common.platform}
  714. framework = arduino
  715. board = esp01_1m
  716. board_flash_mode = dout
  717. lib_deps = ${common.lib_deps}
  718. lib_ignore = ${common.lib_ignore}
  719. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  720. upload_port = "192.168.4.1"
  721. upload_flags = --auth=fibonacci --port 8266
  722. monitor_baud = 115200
  723. [env:huacanxing-h801]
  724. platform = ${common.platform}
  725. framework = arduino
  726. board = esp01_1m
  727. board_flash_mode = dout
  728. lib_deps = ${common.lib_deps}
  729. lib_ignore = ${common.lib_ignore}
  730. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  731. monitor_baud = 115200
  732. [env:huacanxing-h801-ota]
  733. platform = ${common.platform}
  734. framework = arduino
  735. board = esp01_1m
  736. board_flash_mode = dout
  737. lib_deps = ${common.lib_deps}
  738. lib_ignore = ${common.lib_ignore}
  739. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  740. upload_speed = 115200
  741. upload_port = "192.168.4.1"
  742. upload_flags = --auth=fibonacci --port 8266
  743. monitor_baud = 115200
  744. [env:huacanxing-h802]
  745. platform = ${common.platform}
  746. framework = arduino
  747. board = esp01_1m
  748. board_flash_mode = dout
  749. lib_deps = ${common.lib_deps}
  750. lib_ignore = ${common.lib_ignore}
  751. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  752. monitor_baud = 115200
  753. [env:huacanxing-h802-ota]
  754. platform = ${common.platform}
  755. framework = arduino
  756. board = esp01_1m
  757. board_flash_mode = dout
  758. lib_deps = ${common.lib_deps}
  759. lib_ignore = ${common.lib_ignore}
  760. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  761. upload_speed = 115200
  762. upload_port = "192.168.4.1"
  763. upload_flags = --auth=fibonacci --port 8266
  764. monitor_baud = 115200
  765. [env:arilux-al-lc01]
  766. platform = ${common.platform}
  767. framework = arduino
  768. board = esp01_1m
  769. board_flash_mode = dout
  770. lib_deps = ${common.lib_deps}
  771. lib_ignore = ${common.lib_ignore}
  772. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  773. monitor_baud = 115200
  774. [env:arilux-al-lc01-ota]
  775. platform = ${common.platform}
  776. framework = arduino
  777. board = esp01_1m
  778. board_flash_mode = dout
  779. lib_deps = ${common.lib_deps}
  780. lib_ignore = ${common.lib_ignore}
  781. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  782. upload_speed = 115200
  783. upload_port = "192.168.4.1"
  784. upload_flags = --auth=fibonacci --port 8266
  785. monitor_baud = 115200
  786. [env:arilux-al-lc06]
  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 = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  794. monitor_baud = 115200
  795. [env:arilux-al-lc06-ota]
  796. platform = ${common.platform}
  797. framework = arduino
  798. board = esp01_1m
  799. board_flash_mode = dout
  800. lib_deps = ${common.lib_deps}
  801. lib_ignore = ${common.lib_ignore}
  802. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  803. upload_speed = 115200
  804. upload_port = "192.168.4.1"
  805. upload_flags = --auth=fibonacci --port 8266
  806. monitor_baud = 115200
  807. [env:arilux-al-lc11]
  808. platform = ${common.platform}
  809. framework = arduino
  810. board = esp01_1m
  811. board_flash_mode = dout
  812. lib_deps = ${common.lib_deps}
  813. lib_ignore = ${common.lib_ignore}
  814. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  815. monitor_baud = 115200
  816. [env:arilux-al-lc11-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 = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  824. upload_speed = 115200
  825. upload_port = "192.168.4.1"
  826. upload_flags = --auth=fibonacci --port 8266
  827. monitor_baud = 115200
  828. [env:arilux-e27]
  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 = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  836. monitor_baud = 115200
  837. [env:arilux-e27-ota]
  838. platform = ${common.platform}
  839. framework = arduino
  840. board = esp01_1m
  841. board_flash_mode = dout
  842. lib_deps = ${common.lib_deps}
  843. lib_ignore = ${common.lib_ignore}
  844. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  845. upload_speed = 115200
  846. upload_port = "192.168.4.1"
  847. upload_flags = --auth=fibonacci --port 8266
  848. monitor_baud = 115200
  849. [env:itead-bnsz01]
  850. platform = ${common.platform}
  851. framework = arduino
  852. board = esp01_1m
  853. board_flash_mode = dout
  854. lib_deps = ${common.lib_deps}
  855. lib_ignore = ${common.lib_ignore}
  856. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  857. monitor_baud = 115200
  858. [env:itead-bnsz01-ota]
  859. platform = ${common.platform}
  860. framework = arduino
  861. board = esp01_1m
  862. board_flash_mode = dout
  863. lib_deps = ${common.lib_deps}
  864. lib_ignore = ${common.lib_ignore}
  865. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  866. upload_speed = 115200
  867. upload_port = "192.168.4.1"
  868. upload_flags = --auth=fibonacci --port 8266
  869. monitor_baud = 115200
  870. [env:wion-50055]
  871. platform = ${common.platform}
  872. framework = arduino
  873. board = esp01_1m
  874. board_flash_mode = dout
  875. lib_deps = ${common.lib_deps}
  876. lib_ignore = ${common.lib_ignore}
  877. build_flags = ${common.build_flags_1m} -DWION_50055
  878. monitor_baud = 115200
  879. [env:wion-50055-ota]
  880. platform = ${common.platform}
  881. framework = arduino
  882. board = esp01_1m
  883. board_flash_mode = dout
  884. lib_deps = ${common.lib_deps}
  885. lib_ignore = ${common.lib_ignore}
  886. build_flags = ${common.build_flags_1m} -DWION_50055
  887. upload_speed = 115200
  888. upload_port = "192.168.4.1"
  889. upload_flags = --auth=fibonacci --port 8266
  890. monitor_baud = 115200
  891. [env:exs-wifi-relay-v31]
  892. platform = ${common.platform}
  893. framework = arduino
  894. board = esp07
  895. board_flash_mode = dout
  896. lib_deps = ${common.lib_deps}
  897. lib_ignore = ${common.lib_ignore}
  898. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  899. monitor_baud = 115200
  900. [env:exs-wifi-relay-v31-ota]
  901. platform = ${common.platform}
  902. framework = arduino
  903. board = esp07
  904. board_flash_mode = dout
  905. lib_deps = ${common.lib_deps}
  906. lib_ignore = ${common.lib_ignore}
  907. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  908. upload_speed = 115200
  909. upload_port = "192.168.4.1"
  910. upload_flags = --auth=fibonacci --port 8266
  911. monitor_baud = 115200
  912. [env:wemos-v9261f]
  913. platform = ${common.platform}
  914. framework = arduino
  915. board = d1_mini
  916. lib_deps = ${common.lib_deps}
  917. lib_ignore = ${common.lib_ignore}
  918. build_flags = ${common.build_flags} -DGENERIC_V9261F
  919. upload_speed = 460800
  920. monitor_baud = 115200
  921. [env:wemos-v9261f-ota]
  922. platform = ${common.platform}
  923. framework = arduino
  924. board = d1_mini
  925. lib_deps = ${common.lib_deps}
  926. lib_ignore = ${common.lib_ignore}
  927. build_flags = ${common.build_flags} -DGENERIC_V9261F
  928. upload_speed = 115200
  929. upload_port = "192.168.4.1"
  930. upload_flags = --auth=fibonacci --port 8266
  931. monitor_baud = 115200
  932. [env:esp01-v9261f]
  933. platform = ${common.platform}
  934. framework = arduino
  935. board = esp01_1m
  936. board_flash_mode = dout
  937. lib_deps = ${common.lib_deps}
  938. lib_ignore = ${common.lib_ignore}
  939. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  940. monitor_baud = 115200
  941. [env:esp01-v9261f-ota]
  942. platform = ${common.platform}
  943. framework = arduino
  944. board = esp01_1m
  945. board_flash_mode = dout
  946. lib_deps = ${common.lib_deps}
  947. lib_ignore = ${common.lib_ignore}
  948. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  949. upload_speed = 115200
  950. upload_port = "192.168.4.1"
  951. upload_flags = --auth=fibonacci --port 8266
  952. monitor_baud = 115200
  953. [env:wemos-ech1560]
  954. platform = ${common.platform}
  955. framework = arduino
  956. board = d1_mini
  957. lib_deps = ${common.lib_deps}
  958. lib_ignore = ${common.lib_ignore}
  959. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  960. upload_speed = 460800
  961. monitor_baud = 115200
  962. [env:wemos-ech1560-ota]
  963. platform = ${common.platform}
  964. framework = arduino
  965. board = d1_mini
  966. lib_deps = ${common.lib_deps}
  967. lib_ignore = ${common.lib_ignore}
  968. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  969. upload_speed = 115200
  970. upload_port = "192.168.4.1"
  971. upload_flags = --auth=fibonacci --port 8266
  972. monitor_baud = 115200
  973. [env:esp01-ech1560]
  974. platform = ${common.platform}
  975. framework = arduino
  976. board = esp01_1m
  977. board_flash_mode = dout
  978. lib_deps = ${common.lib_deps}
  979. lib_ignore = ${common.lib_ignore}
  980. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  981. monitor_baud = 115200
  982. [env:esp01-ech1560-ota]
  983. platform = ${common.platform}
  984. framework = arduino
  985. board = esp01_1m
  986. board_flash_mode = dout
  987. lib_deps = ${common.lib_deps}
  988. lib_ignore = ${common.lib_ignore}
  989. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  990. upload_speed = 115200
  991. upload_port = "192.168.4.1"
  992. upload_flags = --auth=fibonacci --port 8266
  993. monitor_baud = 115200
  994. [env:mancavemade-esplive]
  995. platform = ${common.platform}
  996. framework = arduino
  997. board = d1_mini
  998. lib_deps = ${common.lib_deps}
  999. lib_ignore = ${common.lib_ignore}
  1000. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1001. upload_speed = 460800
  1002. monitor_baud = 115200
  1003. [env:mancavemade-esplive-ota]
  1004. platform = ${common.platform}
  1005. framework = arduino
  1006. board = d1_mini
  1007. lib_deps = ${common.lib_deps}
  1008. lib_ignore = ${common.lib_ignore}
  1009. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1010. upload_speed = 460800
  1011. upload_port = "192.168.4.1"
  1012. upload_flags = --auth=fibonacci --port 8266
  1013. monitor_baud = 115200
  1014. [env:intermittech-quinled]
  1015. platform = ${common.platform}
  1016. framework = arduino
  1017. board = esp01_1m
  1018. board_flash_mode = dout
  1019. lib_deps = ${common.lib_deps}
  1020. lib_ignore = ${common.lib_ignore}
  1021. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1022. monitor_baud = 115200
  1023. [env:intermittech-quinled-ota]
  1024. platform = ${common.platform}
  1025. framework = arduino
  1026. board = esp01_1m
  1027. board_flash_mode = dout
  1028. lib_deps = ${common.lib_deps}
  1029. lib_ignore = ${common.lib_ignore}
  1030. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1031. upload_speed = 115200
  1032. upload_port = "192.168.4.1"
  1033. upload_flags = --auth=fibonacci --port 8266
  1034. monitor_baud = 115200
  1035. [env:xenon-sm-pw702u]
  1036. platform = ${common.platform}
  1037. framework = arduino
  1038. board = esp12e
  1039. board_flash_mode = dout
  1040. lib_deps = ${common.lib_deps}
  1041. lib_ignore = ${common.lib_ignore}
  1042. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1043. monitor_baud = 115200
  1044. [env:xenon-sm-pw702u-ota]
  1045. platform = ${common.platform}
  1046. framework = arduino
  1047. board = esp12e
  1048. board_flash_mode = dout
  1049. lib_deps = ${common.lib_deps}
  1050. lib_ignore = ${common.lib_ignore}
  1051. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1052. upload_speed = 115200
  1053. upload_port = "192.168.4.1"
  1054. upload_flags = --auth=fibonacci --port 8266
  1055. monitor_baud = 115200
  1056. [env:authometion-lyt8266]
  1057. platform = ${common.platform}
  1058. framework = arduino
  1059. board = esp01_1m
  1060. board_flash_mode = dout
  1061. lib_deps = ${common.lib_deps}
  1062. lib_ignore = ${common.lib_ignore}
  1063. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1064. monitor_baud = 115200
  1065. [env:authometion-lyt8266-ota]
  1066. platform = ${common.platform}
  1067. framework = arduino
  1068. board = esp01_1m
  1069. board_flash_mode = dout
  1070. lib_deps = ${common.lib_deps}
  1071. lib_ignore = ${common.lib_ignore}
  1072. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1073. upload_speed = 115200
  1074. upload_port = "192.168.4.1"
  1075. upload_flags = --auth=fibonacci --port 8266
  1076. monitor_baud = 115200
  1077. [env:yjzk-switch-2ch]
  1078. platform = ${common.platform}
  1079. framework = arduino
  1080. board = esp01_1m
  1081. board_flash_mode = dout
  1082. lib_deps = ${common.lib_deps}
  1083. lib_ignore = ${common.lib_ignore}
  1084. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1085. monitor_baud = 115200
  1086. [env:yjzk-switch-2ch-ota]
  1087. platform = ${common.platform}
  1088. framework = arduino
  1089. board = esp01_1m
  1090. board_flash_mode = dout
  1091. lib_deps = ${common.lib_deps}
  1092. lib_ignore = ${common.lib_ignore}
  1093. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1094. upload_speed = 115200
  1095. upload_port = "192.168.4.1"
  1096. upload_flags = --auth=fibonacci --port 8266
  1097. monitor_baud = 115200
  1098. [env:generic-8ch]
  1099. platform = ${common.platform}
  1100. framework = arduino
  1101. board = d1_mini
  1102. lib_deps = ${common.lib_deps}
  1103. lib_ignore = ${common.lib_ignore}
  1104. build_flags = ${common.build_flags} -DGENERIC_8CH
  1105. upload_speed = 460800
  1106. monitor_baud = 115200
  1107. # ------------------------------------------------------------------------------
  1108. # GENERIC OTA ENVIRONMENTS
  1109. # ------------------------------------------------------------------------------
  1110. [env:esp8266-1m-ota]
  1111. platform = ${common.platform}
  1112. framework = arduino
  1113. board = esp01_1m
  1114. board_flash_mode = dout
  1115. lib_deps = ${common.lib_deps}
  1116. lib_ignore = ${common.lib_ignore}
  1117. build_flags = ${common.build_flags_1m} -D${env.ESPURNA_BOARD}
  1118. upload_speed = 115200
  1119. upload_port = "${env.ESPURNA_IP}"
  1120. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1121. [env:esp8266-4m-ota]
  1122. platform = ${common.platform}
  1123. framework = arduino
  1124. board = esp12e
  1125. board_flash_mode = dout
  1126. lib_deps = ${common.lib_deps}
  1127. lib_ignore = ${common.lib_ignore}
  1128. build_flags = ${common.build_flags} -D${env.ESPURNA_BOARD}
  1129. upload_speed = 115200
  1130. upload_port = "${env.ESPURNA_IP}"
  1131. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266