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.

1455 lines
41 KiB

7 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/krosk93/espsoftwareserial#a770677
  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]
  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-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:openenergymonitor-mqtt-relay]
  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. monitor_baud = 115200
  715. extra_scripts = ${common.extra_scripts}
  716. [env:openenergymonitor-mqtt-relay-ota]
  717. platform = ${common.platform}
  718. framework = arduino
  719. board = esp_wroom_02
  720. lib_deps = ${common.lib_deps}
  721. lib_ignore = ${common.lib_ignore}
  722. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  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:jorgegarcia-wifi-relays]
  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. monitor_baud = 115200
  736. extra_scripts = ${common.extra_scripts}
  737. [env:jorgegarcia-wifi-relays-ota]
  738. platform = ${common.platform}
  739. framework = arduino
  740. board = esp01_1m
  741. lib_deps = ${common.lib_deps}
  742. lib_ignore = ${common.lib_ignore}
  743. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  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:aithinker-ai-light]
  750. platform = ${common.platform}
  751. framework = arduino
  752. board = esp01_1m
  753. board_flash_mode = dout
  754. lib_deps = ${common.lib_deps}
  755. lib_ignore = ${common.lib_ignore}
  756. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  757. monitor_baud = 115200
  758. extra_scripts = ${common.extra_scripts}
  759. [env:aithinker-ai-light-ota]
  760. platform = ${common.platform}
  761. framework = arduino
  762. board = esp01_1m
  763. board_flash_mode = dout
  764. lib_deps = ${common.lib_deps}
  765. lib_ignore = ${common.lib_ignore}
  766. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  767. upload_speed = 115200
  768. upload_port = "192.168.4.1"
  769. upload_flags = --auth=fibonacci --port 8266
  770. monitor_baud = 115200
  771. extra_scripts = ${common.extra_scripts}
  772. [env:magichome-led-controller]
  773. platform = ${common.platform}
  774. framework = arduino
  775. board = esp01_1m
  776. board_flash_mode = dout
  777. lib_deps = ${common.lib_deps}
  778. lib_ignore = ${common.lib_ignore}
  779. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  780. monitor_baud = 115200
  781. extra_scripts = ${common.extra_scripts}
  782. [env:magichome-led-controller-ota]
  783. platform = ${common.platform}
  784. framework = arduino
  785. board = esp01_1m
  786. board_flash_mode = dout
  787. lib_deps = ${common.lib_deps}
  788. lib_ignore = ${common.lib_ignore}
  789. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  790. upload_speed = 115200
  791. upload_port = "192.168.4.1"
  792. upload_flags = --auth=fibonacci --port 8266
  793. monitor_baud = 115200
  794. extra_scripts = ${common.extra_scripts}
  795. [env:magichome-led-controller-20]
  796. platform = ${common.platform}
  797. framework = arduino
  798. board = esp01_1m
  799. board_flash_mode = dout
  800. lib_deps = ${common.lib_deps}
  801. lib_ignore = ${common.lib_ignore}
  802. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  803. monitor_baud = 115200
  804. extra_scripts = ${common.extra_scripts}
  805. [env:magichome-led-controller-20-ota]
  806. platform = ${common.platform}
  807. framework = arduino
  808. board = esp01_1m
  809. board_flash_mode = dout
  810. lib_deps = ${common.lib_deps}
  811. lib_ignore = ${common.lib_ignore}
  812. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  813. upload_port = "192.168.4.1"
  814. upload_flags = --auth=fibonacci --port 8266
  815. monitor_baud = 115200
  816. extra_scripts = ${common.extra_scripts}
  817. [env:magichome-led-controller-23]
  818. platform = ${common.platform}
  819. framework = arduino
  820. board = esp01_1m
  821. board_flash_mode = dout
  822. lib_deps = ${common.lib_deps}
  823. lib_ignore = ${common.lib_ignore}
  824. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_23
  825. monitor_baud = 115200
  826. extra_scripts = ${common.extra_scripts}
  827. [env:magichome-led-controller-23-ota]
  828. platform = ${common.platform}
  829. framework = arduino
  830. board = esp01_1m
  831. board_flash_mode = dout
  832. lib_deps = ${common.lib_deps}
  833. lib_ignore = ${common.lib_ignore}
  834. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_23
  835. upload_port = "192.168.4.1"
  836. upload_flags = --auth=fibonacci --port 8266
  837. monitor_baud = 115200
  838. extra_scripts = ${common.extra_scripts}
  839. [env:huacanxing-h801]
  840. platform = ${common.platform}
  841. framework = arduino
  842. board = esp01_1m
  843. board_flash_mode = dout
  844. lib_deps = ${common.lib_deps}
  845. lib_ignore = ${common.lib_ignore}
  846. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  847. monitor_baud = 115200
  848. extra_scripts = ${common.extra_scripts}
  849. [env:huacanxing-h801-ota]
  850. platform = ${common.platform}
  851. framework = arduino
  852. board = esp01_1m
  853. board_flash_mode = dout
  854. lib_deps = ${common.lib_deps}
  855. lib_ignore = ${common.lib_ignore}
  856. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  857. upload_speed = 115200
  858. upload_port = "192.168.4.1"
  859. upload_flags = --auth=fibonacci --port 8266
  860. monitor_baud = 115200
  861. extra_scripts = ${common.extra_scripts}
  862. [env:huacanxing-h802]
  863. platform = ${common.platform}
  864. framework = arduino
  865. board = esp01_1m
  866. board_flash_mode = dout
  867. lib_deps = ${common.lib_deps}
  868. lib_ignore = ${common.lib_ignore}
  869. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  870. monitor_baud = 115200
  871. extra_scripts = ${common.extra_scripts}
  872. [env:huacanxing-h802-ota]
  873. platform = ${common.platform}
  874. framework = arduino
  875. board = esp01_1m
  876. board_flash_mode = dout
  877. lib_deps = ${common.lib_deps}
  878. lib_ignore = ${common.lib_ignore}
  879. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  880. upload_speed = 115200
  881. upload_port = "192.168.4.1"
  882. upload_flags = --auth=fibonacci --port 8266
  883. monitor_baud = 115200
  884. extra_scripts = ${common.extra_scripts}
  885. [env:arilux-al-lc01]
  886. platform = ${common.platform}
  887. framework = arduino
  888. board = esp01_1m
  889. board_flash_mode = dout
  890. lib_deps = ${common.lib_deps}
  891. lib_ignore = ${common.lib_ignore}
  892. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  893. monitor_baud = 115200
  894. extra_scripts = ${common.extra_scripts}
  895. [env:arilux-al-lc01-ota]
  896. platform = ${common.platform}
  897. framework = arduino
  898. board = esp01_1m
  899. board_flash_mode = dout
  900. lib_deps = ${common.lib_deps}
  901. lib_ignore = ${common.lib_ignore}
  902. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  903. upload_speed = 115200
  904. upload_port = "192.168.4.1"
  905. upload_flags = --auth=fibonacci --port 8266
  906. monitor_baud = 115200
  907. extra_scripts = ${common.extra_scripts}
  908. [env:arilux-al-lc02]
  909. platform = ${common.platform}
  910. framework = arduino
  911. board = esp01_1m
  912. board_flash_mode = dout
  913. lib_deps = ${common.lib_deps}
  914. lib_ignore = ${common.lib_ignore}
  915. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  916. monitor_baud = 115200
  917. extra_scripts = ${common.extra_scripts}
  918. [env:arilux-al-lc02-ota]
  919. platform = ${common.platform}
  920. framework = arduino
  921. board = esp01_1m
  922. board_flash_mode = dout
  923. lib_deps = ${common.lib_deps}
  924. lib_ignore = ${common.lib_ignore}
  925. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  926. upload_speed = 115200
  927. upload_port = "192.168.4.1"
  928. upload_flags = --auth=fibonacci --port 8266
  929. monitor_baud = 115200
  930. extra_scripts = ${common.extra_scripts}
  931. [env:arilux-al-lc06]
  932. platform = ${common.platform}
  933. framework = arduino
  934. board = esp01_1m
  935. board_flash_mode = dout
  936. lib_deps = ${common.lib_deps}
  937. lib_ignore = ${common.lib_ignore}
  938. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  939. monitor_baud = 115200
  940. extra_scripts = ${common.extra_scripts}
  941. [env:arilux-al-lc06-ota]
  942. platform = ${common.platform}
  943. framework = arduino
  944. board = esp01_1m
  945. board_flash_mode = dout
  946. lib_deps = ${common.lib_deps}
  947. lib_ignore = ${common.lib_ignore}
  948. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  949. upload_speed = 115200
  950. upload_port = "192.168.4.1"
  951. upload_flags = --auth=fibonacci --port 8266
  952. monitor_baud = 115200
  953. extra_scripts = ${common.extra_scripts}
  954. [env:arilux-al-lc11]
  955. platform = ${common.platform}
  956. framework = arduino
  957. board = esp01_1m
  958. board_flash_mode = dout
  959. lib_deps = ${common.lib_deps}
  960. lib_ignore = ${common.lib_ignore}
  961. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  962. monitor_baud = 115200
  963. extra_scripts = ${common.extra_scripts}
  964. [env:arilux-al-lc11-ota]
  965. platform = ${common.platform}
  966. framework = arduino
  967. board = esp01_1m
  968. board_flash_mode = dout
  969. lib_deps = ${common.lib_deps}
  970. lib_ignore = ${common.lib_ignore}
  971. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  972. upload_speed = 115200
  973. upload_port = "192.168.4.1"
  974. upload_flags = --auth=fibonacci --port 8266
  975. monitor_baud = 115200
  976. extra_scripts = ${common.extra_scripts}
  977. [env:arilux-e27]
  978. platform = ${common.platform}
  979. framework = arduino
  980. board = esp01_1m
  981. board_flash_mode = dout
  982. lib_deps = ${common.lib_deps}
  983. lib_ignore = ${common.lib_ignore}
  984. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  985. monitor_baud = 115200
  986. extra_scripts = ${common.extra_scripts}
  987. [env:arilux-e27-ota]
  988. platform = ${common.platform}
  989. framework = arduino
  990. board = esp01_1m
  991. board_flash_mode = dout
  992. lib_deps = ${common.lib_deps}
  993. lib_ignore = ${common.lib_ignore}
  994. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  995. upload_speed = 115200
  996. upload_port = "192.168.4.1"
  997. upload_flags = --auth=fibonacci --port 8266
  998. monitor_baud = 115200
  999. extra_scripts = ${common.extra_scripts}
  1000. [env:itead-bnsz01]
  1001. platform = ${common.platform}
  1002. framework = arduino
  1003. board = esp01_1m
  1004. board_flash_mode = dout
  1005. lib_deps = ${common.lib_deps}
  1006. lib_ignore = ${common.lib_ignore}
  1007. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1008. monitor_baud = 115200
  1009. extra_scripts = ${common.extra_scripts}
  1010. [env:itead-bnsz01-ota]
  1011. platform = ${common.platform}
  1012. framework = arduino
  1013. board = esp01_1m
  1014. board_flash_mode = dout
  1015. lib_deps = ${common.lib_deps}
  1016. lib_ignore = ${common.lib_ignore}
  1017. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1018. upload_speed = 115200
  1019. upload_port = "192.168.4.1"
  1020. upload_flags = --auth=fibonacci --port 8266
  1021. monitor_baud = 115200
  1022. extra_scripts = ${common.extra_scripts}
  1023. [env:wion-50055]
  1024. platform = ${common.platform}
  1025. framework = arduino
  1026. board = esp01_1m
  1027. board_flash_mode = dout
  1028. lib_deps = ${common.lib_deps}
  1029. lib_ignore = ${common.lib_ignore}
  1030. build_flags = ${common.build_flags_1m} -DWION_50055
  1031. monitor_baud = 115200
  1032. extra_scripts = ${common.extra_scripts}
  1033. [env:wion-50055-ota]
  1034. platform = ${common.platform}
  1035. framework = arduino
  1036. board = esp01_1m
  1037. board_flash_mode = dout
  1038. lib_deps = ${common.lib_deps}
  1039. lib_ignore = ${common.lib_ignore}
  1040. build_flags = ${common.build_flags_1m} -DWION_50055
  1041. upload_speed = 115200
  1042. upload_port = "192.168.4.1"
  1043. upload_flags = --auth=fibonacci --port 8266
  1044. monitor_baud = 115200
  1045. extra_scripts = ${common.extra_scripts}
  1046. [env:exs-wifi-relay-v31]
  1047. platform = ${common.platform}
  1048. framework = arduino
  1049. board = esp07
  1050. board_flash_mode = dout
  1051. lib_deps = ${common.lib_deps}
  1052. lib_ignore = ${common.lib_ignore}
  1053. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1054. monitor_baud = 115200
  1055. extra_scripts = ${common.extra_scripts}
  1056. [env:exs-wifi-relay-v31-ota]
  1057. platform = ${common.platform}
  1058. framework = arduino
  1059. board = esp07
  1060. board_flash_mode = dout
  1061. lib_deps = ${common.lib_deps}
  1062. lib_ignore = ${common.lib_ignore}
  1063. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1064. upload_speed = 115200
  1065. upload_port = "192.168.4.1"
  1066. upload_flags = --auth=fibonacci --port 8266
  1067. monitor_baud = 115200
  1068. extra_scripts = ${common.extra_scripts}
  1069. [env:wemos-v9261f]
  1070. platform = ${common.platform}
  1071. framework = arduino
  1072. board = d1_mini
  1073. lib_deps = ${common.lib_deps}
  1074. lib_ignore = ${common.lib_ignore}
  1075. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1076. upload_speed = 460800
  1077. monitor_baud = 115200
  1078. extra_scripts = ${common.extra_scripts}
  1079. [env:wemos-v9261f-ota]
  1080. platform = ${common.platform}
  1081. framework = arduino
  1082. board = d1_mini
  1083. lib_deps = ${common.lib_deps}
  1084. lib_ignore = ${common.lib_ignore}
  1085. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1086. upload_speed = 115200
  1087. upload_port = "192.168.4.1"
  1088. upload_flags = --auth=fibonacci --port 8266
  1089. monitor_baud = 115200
  1090. extra_scripts = ${common.extra_scripts}
  1091. [env:esp01-v9261f]
  1092. platform = ${common.platform}
  1093. framework = arduino
  1094. board = esp01_1m
  1095. board_flash_mode = dout
  1096. lib_deps = ${common.lib_deps}
  1097. lib_ignore = ${common.lib_ignore}
  1098. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1099. monitor_baud = 115200
  1100. extra_scripts = ${common.extra_scripts}
  1101. [env:esp01-v9261f-ota]
  1102. platform = ${common.platform}
  1103. framework = arduino
  1104. board = esp01_1m
  1105. board_flash_mode = dout
  1106. lib_deps = ${common.lib_deps}
  1107. lib_ignore = ${common.lib_ignore}
  1108. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1109. upload_speed = 115200
  1110. upload_port = "192.168.4.1"
  1111. upload_flags = --auth=fibonacci --port 8266
  1112. monitor_baud = 115200
  1113. extra_scripts = ${common.extra_scripts}
  1114. [env:wemos-ech1560]
  1115. platform = ${common.platform}
  1116. framework = arduino
  1117. board = d1_mini
  1118. lib_deps = ${common.lib_deps}
  1119. lib_ignore = ${common.lib_ignore}
  1120. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1121. upload_speed = 460800
  1122. monitor_baud = 115200
  1123. extra_scripts = ${common.extra_scripts}
  1124. [env:wemos-ech1560-ota]
  1125. platform = ${common.platform}
  1126. framework = arduino
  1127. board = d1_mini
  1128. lib_deps = ${common.lib_deps}
  1129. lib_ignore = ${common.lib_ignore}
  1130. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1131. upload_speed = 115200
  1132. upload_port = "192.168.4.1"
  1133. upload_flags = --auth=fibonacci --port 8266
  1134. monitor_baud = 115200
  1135. extra_scripts = ${common.extra_scripts}
  1136. [env:esp01-ech1560]
  1137. platform = ${common.platform}
  1138. framework = arduino
  1139. board = esp01_1m
  1140. board_flash_mode = dout
  1141. lib_deps = ${common.lib_deps}
  1142. lib_ignore = ${common.lib_ignore}
  1143. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1144. monitor_baud = 115200
  1145. extra_scripts = ${common.extra_scripts}
  1146. [env:esp01-ech1560-ota]
  1147. platform = ${common.platform}
  1148. framework = arduino
  1149. board = esp01_1m
  1150. board_flash_mode = dout
  1151. lib_deps = ${common.lib_deps}
  1152. lib_ignore = ${common.lib_ignore}
  1153. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1154. upload_speed = 115200
  1155. upload_port = "192.168.4.1"
  1156. upload_flags = --auth=fibonacci --port 8266
  1157. monitor_baud = 115200
  1158. extra_scripts = ${common.extra_scripts}
  1159. [env:mancavemade-esplive]
  1160. platform = ${common.platform}
  1161. framework = arduino
  1162. board = d1_mini
  1163. lib_deps = ${common.lib_deps}
  1164. lib_ignore = ${common.lib_ignore}
  1165. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1166. upload_speed = 460800
  1167. monitor_baud = 115200
  1168. extra_scripts = ${common.extra_scripts}
  1169. [env:mancavemade-esplive-ota]
  1170. platform = ${common.platform}
  1171. framework = arduino
  1172. board = d1_mini
  1173. lib_deps = ${common.lib_deps}
  1174. lib_ignore = ${common.lib_ignore}
  1175. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1176. upload_speed = 460800
  1177. upload_port = "192.168.4.1"
  1178. upload_flags = --auth=fibonacci --port 8266
  1179. monitor_baud = 115200
  1180. extra_scripts = ${common.extra_scripts}
  1181. [env:intermittech-quinled]
  1182. platform = ${common.platform}
  1183. framework = arduino
  1184. board = esp01_1m
  1185. board_flash_mode = dout
  1186. lib_deps = ${common.lib_deps}
  1187. lib_ignore = ${common.lib_ignore}
  1188. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1189. monitor_baud = 115200
  1190. extra_scripts = ${common.extra_scripts}
  1191. [env:intermittech-quinled-ota]
  1192. platform = ${common.platform}
  1193. framework = arduino
  1194. board = esp01_1m
  1195. board_flash_mode = dout
  1196. lib_deps = ${common.lib_deps}
  1197. lib_ignore = ${common.lib_ignore}
  1198. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1199. upload_speed = 115200
  1200. upload_port = "192.168.4.1"
  1201. upload_flags = --auth=fibonacci --port 8266
  1202. monitor_baud = 115200
  1203. extra_scripts = ${common.extra_scripts}
  1204. [env:xenon-sm-pw702u]
  1205. platform = ${common.platform}
  1206. framework = arduino
  1207. board = esp12e
  1208. board_flash_mode = dout
  1209. lib_deps = ${common.lib_deps}
  1210. lib_ignore = ${common.lib_ignore}
  1211. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1212. monitor_baud = 115200
  1213. extra_scripts = ${common.extra_scripts}
  1214. [env:xenon-sm-pw702u-ota]
  1215. platform = ${common.platform}
  1216. framework = arduino
  1217. board = esp12e
  1218. board_flash_mode = dout
  1219. lib_deps = ${common.lib_deps}
  1220. lib_ignore = ${common.lib_ignore}
  1221. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1222. upload_speed = 115200
  1223. upload_port = "192.168.4.1"
  1224. upload_flags = --auth=fibonacci --port 8266
  1225. monitor_baud = 115200
  1226. extra_scripts = ${common.extra_scripts}
  1227. [env:authometion-lyt8266]
  1228. platform = ${common.platform}
  1229. framework = arduino
  1230. board = esp01_1m
  1231. board_flash_mode = dout
  1232. lib_deps = ${common.lib_deps}
  1233. lib_ignore = ${common.lib_ignore}
  1234. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1235. monitor_baud = 115200
  1236. extra_scripts = ${common.extra_scripts}
  1237. [env:authometion-lyt8266-ota]
  1238. platform = ${common.platform}
  1239. framework = arduino
  1240. board = esp01_1m
  1241. board_flash_mode = dout
  1242. lib_deps = ${common.lib_deps}
  1243. lib_ignore = ${common.lib_ignore}
  1244. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1245. upload_speed = 115200
  1246. upload_port = "192.168.4.1"
  1247. upload_flags = --auth=fibonacci --port 8266
  1248. monitor_baud = 115200
  1249. extra_scripts = ${common.extra_scripts}
  1250. [env:yjzk-switch-2ch]
  1251. platform = ${common.platform}
  1252. framework = arduino
  1253. board = esp01_1m
  1254. board_flash_mode = dout
  1255. lib_deps = ${common.lib_deps}
  1256. lib_ignore = ${common.lib_ignore}
  1257. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1258. monitor_baud = 115200
  1259. extra_scripts = ${common.extra_scripts}
  1260. [env:yjzk-switch-2ch-ota]
  1261. platform = ${common.platform}
  1262. framework = arduino
  1263. board = esp01_1m
  1264. board_flash_mode = dout
  1265. lib_deps = ${common.lib_deps}
  1266. lib_ignore = ${common.lib_ignore}
  1267. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1268. upload_speed = 115200
  1269. upload_port = "192.168.4.1"
  1270. upload_flags = --auth=fibonacci --port 8266
  1271. monitor_baud = 115200
  1272. extra_scripts = ${common.extra_scripts}
  1273. [env:generic-8ch]
  1274. platform = ${common.platform}
  1275. framework = arduino
  1276. board = d1_mini
  1277. lib_deps = ${common.lib_deps}
  1278. lib_ignore = ${common.lib_ignore}
  1279. build_flags = ${common.build_flags} -DGENERIC_8CH
  1280. upload_speed = 460800
  1281. monitor_baud = 115200
  1282. extra_scripts = ${common.extra_scripts}
  1283. [env:stm-relay-ota]
  1284. platform = ${common.platform}
  1285. framework = arduino
  1286. board = esp01_1m
  1287. board_flash_mode = dout
  1288. lib_deps = ${common.lib_deps}
  1289. lib_ignore = ${common.lib_ignore}
  1290. build_flags = ${common.build_flags_1m} -DSTM_RELAY
  1291. monitor_baud = 115200
  1292. extra_scripts = ${common.extra_scripts}
  1293. [env:stm-relay-ota]
  1294. platform = ${common.platform}
  1295. framework = arduino
  1296. board = esp01_1m
  1297. board_flash_mode = dout
  1298. lib_deps = ${common.lib_deps}
  1299. lib_ignore = ${common.lib_ignore}
  1300. build_flags = ${common.build_flags_1m} -DSTM_RELAY
  1301. upload_speed = 115200
  1302. upload_port = "192.168.4.1"
  1303. upload_flags = --auth=fibonacci --port 8266
  1304. monitor_baud = 115200
  1305. extra_scripts = ${common.extra_scripts}
  1306. # ------------------------------------------------------------------------------
  1307. # GENERIC OTA ENVIRONMENTS
  1308. # ------------------------------------------------------------------------------
  1309. [env:esp8266-1m-ota]
  1310. platform = ${common.platform}
  1311. framework = arduino
  1312. board = esp01_1m
  1313. board_flash_mode = dout
  1314. lib_deps = ${common.lib_deps}
  1315. lib_ignore = ${common.lib_ignore}
  1316. build_flags = ${common.build_flags_1m} -D${env.ESPURNA_BOARD}
  1317. upload_speed = 115200
  1318. upload_port = "${env.ESPURNA_IP}"
  1319. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1320. extra_scripts = ${common.extra_scripts}
  1321. [env:esp8266-4m-ota]
  1322. platform = ${common.platform}
  1323. framework = arduino
  1324. board = esp12e
  1325. board_flash_mode = dout
  1326. lib_deps = ${common.lib_deps}
  1327. lib_ignore = ${common.lib_ignore}
  1328. build_flags = ${common.build_flags} -D${env.ESPURNA_BOARD}
  1329. upload_speed = 115200
  1330. upload_port = "${env.ESPURNA_IP}"
  1331. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1332. extra_scripts = ${common.extra_scripts}