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.

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