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.

1372 lines
39 KiB

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