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.

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