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.

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