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.

1653 lines
46 KiB

6 years ago
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@1.6.0
  7. platform = espressif8266@1.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#55cd520
  20. https://github.com/me-no-dev/ESPAsyncWebServer#232b87a
  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.1
  27. https://bitbucket.org/xoseperez/nofuss.git#0.2.5
  28. https://github.com/gmag11/NtpClient.git#28af3a5
  29. OneWire
  30. PMS Library
  31. PZEM004T
  32. PubSubClient
  33. rc-switch
  34. https://github.com/xoseperez/Time
  35. lib_ignore =
  36. extra_scripts = extra_scripts.py
  37. # ------------------------------------------------------------------------------
  38. [env:espurna-core-1MB]
  39. platform = ${common.platform}
  40. framework = arduino
  41. board = esp01_1m
  42. board_flash_mode = dout
  43. lib_deps = ${common.lib_deps}
  44. lib_ignore = ${common.lib_ignore}
  45. build_flags = ${common.build_flags_1m} -DESPURNA_CORE
  46. monitor_baud = 115200
  47. extra_scripts = ${common.extra_scripts}
  48. [env:espurna-core-4MB]
  49. platform = ${common.platform}
  50. framework = arduino
  51. board = d1_mini
  52. board_flash_mode = dout
  53. lib_deps = ${common.lib_deps}
  54. lib_ignore = ${common.lib_ignore}
  55. build_flags = ${common.build_flags} -DESPURNA_CORE
  56. monitor_baud = 115200
  57. extra_scripts = ${common.extra_scripts}
  58. # ------------------------------------------------------------------------------
  59. [env:wemos-d1mini-relayshield]
  60. platform = ${common.platform}
  61. framework = arduino
  62. board = d1_mini
  63. lib_deps = ${common.lib_deps}
  64. lib_ignore = ${common.lib_ignore}
  65. build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  66. upload_speed = 460800
  67. monitor_baud = 115200
  68. extra_scripts = ${common.extra_scripts}
  69. [env:wemos-d1mini-relayshield-ssl]
  70. platform = espressif8266@1.6.0
  71. framework = arduino
  72. board = d1_mini
  73. lib_deps = ${common.lib_deps}
  74. lib_ignore = ${common.lib_ignore}
  75. build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  76. upload_speed = 460800
  77. monitor_baud = 115200
  78. extra_scripts = ${common.extra_scripts}
  79. [env:wemos-d1mini-relayshield-ota]
  80. platform = ${common.platform}
  81. framework = arduino
  82. board = d1_mini
  83. lib_deps = ${common.lib_deps}
  84. lib_ignore = ${common.lib_ignore}
  85. build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  86. upload_speed = 115200
  87. upload_port = "192.168.4.1"
  88. upload_flags = --auth=fibonacci --port 8266
  89. extra_scripts = ${common.extra_scripts}
  90. [env:nodemcu-lolin]
  91. platform = ${common.platform}
  92. framework = arduino
  93. board = nodemcuv2
  94. lib_deps = ${common.lib_deps}
  95. lib_ignore = ${common.lib_ignore}
  96. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  97. upload_speed = 460800
  98. monitor_baud = 115200
  99. extra_scripts = ${common.extra_scripts}
  100. [env:nodemcu-lolin-ssl]
  101. platform = espressif8266@1.6.0
  102. framework = arduino
  103. board = nodemcuv2
  104. lib_deps = ${common.lib_deps}
  105. lib_ignore = ${common.lib_ignore}
  106. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  107. upload_speed = 460800
  108. monitor_baud = 115200
  109. extra_scripts = ${common.extra_scripts}
  110. [env:nodemcu-lolin-ota]
  111. platform = ${common.platform}
  112. framework = arduino
  113. board = nodemcuv2
  114. lib_deps = ${common.lib_deps}
  115. lib_ignore = ${common.lib_ignore}
  116. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  117. upload_speed = 115200
  118. upload_port = "192.168.4.1"
  119. upload_flags = --auth=fibonacci --port 8266
  120. monitor_baud = 115200
  121. extra_scripts = ${common.extra_scripts}
  122. # ------------------------------------------------------------------------------
  123. [env:tinkerman-espurna-h06]
  124. platform = ${common.platform}
  125. framework = arduino
  126. board = esp12e
  127. lib_deps = ${common.lib_deps}
  128. lib_ignore = ${common.lib_ignore}
  129. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H06
  130. monitor_baud = 115200
  131. extra_scripts = ${common.extra_scripts}
  132. [env:tinkerman-espurna-h06-ota]
  133. platform = ${common.platform}
  134. framework = arduino
  135. board = esp12e
  136. lib_deps = ${common.lib_deps}
  137. lib_ignore = ${common.lib_ignore}
  138. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H06
  139. upload_speed = 115200
  140. upload_port = "192.168.4.1"
  141. upload_flags = --auth=fibonacci --port 8266
  142. monitor_baud = 115200
  143. extra_scripts = ${common.extra_scripts}
  144. [env:tinkerman-espurna-h08]
  145. platform = ${common.platform}
  146. framework = arduino
  147. board = esp12e
  148. lib_deps = ${common.lib_deps}
  149. lib_ignore = ${common.lib_ignore}
  150. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H08
  151. monitor_baud = 115200
  152. extra_scripts = ${common.extra_scripts}
  153. [env:tinkerman-espurna-h08-ota]
  154. platform = ${common.platform}
  155. framework = arduino
  156. board = esp12e
  157. lib_deps = ${common.lib_deps}
  158. lib_ignore = ${common.lib_ignore}
  159. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H08
  160. upload_speed = 115200
  161. upload_port = "192.168.4.1"
  162. upload_flags = --auth=fibonacci --port 8266
  163. monitor_baud = 115200
  164. extra_scripts = ${common.extra_scripts}
  165. [env:tinkerman-espurna-switch]
  166. platform = ${common.platform}
  167. framework = arduino
  168. board = esp12e
  169. lib_deps = ${common.lib_deps}
  170. lib_ignore = ${common.lib_ignore}
  171. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_SWITCH
  172. monitor_baud = 115200
  173. extra_scripts = ${common.extra_scripts}
  174. [env:wemos-d1-tarpunashield]
  175. platform = ${common.platform}
  176. framework = arduino
  177. board = esp12e
  178. lib_deps = ${common.lib_deps}
  179. lib_ignore = ${common.lib_ignore}
  180. build_flags = ${common.build_flags} -DWEMOS_D1_TARPUNA_SHIELD
  181. monitor_baud = 115200
  182. extra_scripts = ${common.extra_scripts}
  183. # ------------------------------------------------------------------------------
  184. [env:itead-sonoff-basic]
  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. monitor_baud = 115200
  193. extra_scripts = ${common.extra_scripts}
  194. [env:itead-sonoff-basic-ota]
  195. platform = ${common.platform}
  196. framework = arduino
  197. board = esp01_1m
  198. board_flash_mode = dout
  199. lib_deps = ${common.lib_deps}
  200. lib_ignore = ${common.lib_ignore}
  201. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
  202. upload_speed = 115200
  203. upload_port = "192.168.4.1"
  204. upload_flags = --auth=fibonacci --port 8266
  205. monitor_baud = 115200
  206. extra_scripts = ${common.extra_scripts}
  207. [env:itead-sonoff-basic-dht]
  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. monitor_baud = 115200
  216. extra_scripts = ${common.extra_scripts}
  217. [env:itead-sonoff-basic-dht-ota]
  218. platform = ${common.platform}
  219. framework = arduino
  220. board = esp01_1m
  221. board_flash_mode = dout
  222. lib_deps = ${common.lib_deps}
  223. lib_ignore = ${common.lib_ignore}
  224. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  225. upload_speed = 115200
  226. upload_port = "192.168.4.1"
  227. upload_flags = --auth=fibonacci --port 8266
  228. monitor_baud = 115200
  229. extra_scripts = ${common.extra_scripts}
  230. [env:itead-sonoff-basic-dallas]
  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_BASIC -DDALLAS_SUPPORT=1
  238. monitor_baud = 115200
  239. extra_scripts = ${common.extra_scripts}
  240. [env:itead-sonoff-rf]
  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. monitor_baud = 115200
  249. extra_scripts = ${common.extra_scripts}
  250. [env:itead-sonoff-rf-ota]
  251. platform = ${common.platform}
  252. framework = arduino
  253. board = esp01_1m
  254. board_flash_mode = dout
  255. lib_deps = ${common.lib_deps}
  256. lib_ignore = ${common.lib_ignore}
  257. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RF
  258. upload_speed = 115200
  259. upload_port = "192.168.4.1"
  260. upload_flags = --auth=fibonacci --port 8266
  261. monitor_baud = 115200
  262. extra_scripts = ${common.extra_scripts}
  263. [env:itead-sonoff-th]
  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. monitor_baud = 115200
  272. extra_scripts = ${common.extra_scripts}
  273. [env:itead-sonoff-th-ota]
  274. platform = ${common.platform}
  275. framework = arduino
  276. board = esp01_1m
  277. board_flash_mode = dout
  278. lib_deps = ${common.lib_deps}
  279. lib_ignore = ${common.lib_ignore}
  280. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TH
  281. upload_speed = 115200
  282. upload_port = "192.168.4.1"
  283. upload_flags = --auth=fibonacci --port 8266
  284. monitor_baud = 115200
  285. extra_scripts = ${common.extra_scripts}
  286. [env:itead-sonoff-pow]
  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. monitor_baud = 115200
  295. extra_scripts = ${common.extra_scripts}
  296. [env:itead-sonoff-pow-ota]
  297. platform = ${common.platform}
  298. framework = arduino
  299. board = esp01_1m
  300. board_flash_mode = dout
  301. lib_deps = ${common.lib_deps}
  302. lib_ignore = ${common.lib_ignore}
  303. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW
  304. upload_speed = 115200
  305. upload_port = "192.168.4.1"
  306. upload_flags = --auth=fibonacci --port 8266
  307. monitor_baud = 115200
  308. extra_scripts = ${common.extra_scripts}
  309. [env:itead-sonoff-dual]
  310. platform = ${common.platform}
  311. framework = arduino
  312. board = esp01_1m
  313. board_flash_mode = dout
  314. lib_deps = ${common.lib_deps}
  315. lib_ignore = ${common.lib_ignore}
  316. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  317. extra_scripts = ${common.extra_scripts}
  318. [env:itead-sonoff-dual-ota]
  319. platform = ${common.platform}
  320. framework = arduino
  321. board = esp01_1m
  322. board_flash_mode = dout
  323. lib_deps = ${common.lib_deps}
  324. lib_ignore = ${common.lib_ignore}
  325. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  326. upload_speed = 115200
  327. upload_port = "192.168.4.1"
  328. upload_flags = --auth=fibonacci --port 8266
  329. extra_scripts = ${common.extra_scripts}
  330. [env:itead-sonoff-dual-r2]
  331. platform = ${common.platform}
  332. framework = arduino
  333. board = esp01_1m
  334. board_flash_mode = dout
  335. lib_deps = ${common.lib_deps}
  336. lib_ignore = ${common.lib_ignore}
  337. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL_R2
  338. extra_scripts = ${common.extra_scripts}
  339. [env:itead-sonoff-dual-ota-r2]
  340. platform = ${common.platform}
  341. framework = arduino
  342. board = esp01_1m
  343. board_flash_mode = dout
  344. lib_deps = ${common.lib_deps}
  345. lib_ignore = ${common.lib_ignore}
  346. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL_R2
  347. upload_speed = 115200
  348. upload_port = "192.168.4.1"
  349. upload_flags = --auth=fibonacci --port 8266
  350. extra_scripts = ${common.extra_scripts}
  351. [env:itead-sonoff-4ch]
  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. monitor_baud = 115200
  360. extra_scripts = ${common.extra_scripts}
  361. [env:itead-sonoff-4ch-ota]
  362. platform = ${common.platform}
  363. framework = arduino
  364. board = esp01_1m
  365. board_flash_mode = dout
  366. lib_deps = ${common.lib_deps}
  367. lib_ignore = ${common.lib_ignore}
  368. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH
  369. upload_speed = 115200
  370. upload_port = "192.168.4.1"
  371. upload_flags = --auth=fibonacci --port 8266
  372. monitor_baud = 115200
  373. extra_scripts = ${common.extra_scripts}
  374. [env:itead-sonoff-4ch-pro]
  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. monitor_baud = 115200
  383. extra_scripts = ${common.extra_scripts}
  384. [env:itead-sonoff-4ch-pro-ota]
  385. platform = ${common.platform}
  386. framework = arduino
  387. board = esp01_1m
  388. board_flash_mode = dout
  389. lib_deps = ${common.lib_deps}
  390. lib_ignore = ${common.lib_ignore}
  391. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO
  392. upload_speed = 115200
  393. upload_port = "192.168.4.1"
  394. upload_flags = --auth=fibonacci --port 8266
  395. monitor_baud = 115200
  396. extra_scripts = ${common.extra_scripts}
  397. [env:itead-sonoff-touch]
  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. monitor_baud = 115200
  406. extra_scripts = ${common.extra_scripts}
  407. [env:itead-sonoff-touch-ota]
  408. platform = ${common.platform}
  409. framework = arduino
  410. board = esp01_1m
  411. board_flash_mode = dout
  412. lib_deps = ${common.lib_deps}
  413. lib_ignore = ${common.lib_ignore}
  414. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH
  415. upload_speed = 115200
  416. upload_port = "192.168.4.1"
  417. upload_flags = --auth=fibonacci --port 8266
  418. monitor_baud = 115200
  419. extra_scripts = ${common.extra_scripts}
  420. [env:itead-sonoff-b1]
  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. monitor_baud = 115200
  429. extra_scripts = ${common.extra_scripts}
  430. [env:itead-sonoff-b1-ota]
  431. platform = ${common.platform}
  432. framework = arduino
  433. board = esp01_1m
  434. board_flash_mode = dout
  435. lib_deps = ${common.lib_deps}
  436. lib_ignore = ${common.lib_ignore}
  437. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
  438. upload_speed = 115200
  439. upload_port = "192.168.4.1"
  440. upload_flags = --auth=fibonacci --port 8266
  441. monitor_baud = 115200
  442. extra_scripts = ${common.extra_scripts}
  443. [env:itead-sonoff-t1-1ch]
  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. monitor_baud = 115200
  452. extra_scripts = ${common.extra_scripts}
  453. [env:itead-sonoff-t1-1ch-ota]
  454. platform = ${common.platform}
  455. framework = arduino
  456. board = esp01_1m
  457. board_flash_mode = dout
  458. lib_deps = ${common.lib_deps}
  459. lib_ignore = ${common.lib_ignore}
  460. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH
  461. upload_speed = 115200
  462. upload_port = "192.168.4.1"
  463. upload_flags = --auth=fibonacci --port 8266
  464. monitor_baud = 115200
  465. extra_scripts = ${common.extra_scripts}
  466. [env:itead-sonoff-t1-2ch]
  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. monitor_baud = 115200
  475. extra_scripts = ${common.extra_scripts}
  476. [env:itead-sonoff-t1-2ch-ota]
  477. platform = ${common.platform}
  478. framework = arduino
  479. board = esp01_1m
  480. board_flash_mode = dout
  481. lib_deps = ${common.lib_deps}
  482. lib_ignore = ${common.lib_ignore}
  483. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
  484. upload_speed = 115200
  485. upload_port = "192.168.4.1"
  486. upload_flags = --auth=fibonacci --port 8266
  487. monitor_baud = 115200
  488. extra_scripts = ${common.extra_scripts}
  489. [env:itead-sonoff-t1-3ch]
  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. monitor_baud = 115200
  498. extra_scripts = ${common.extra_scripts}
  499. [env:itead-sonoff-t1-3ch-ota]
  500. platform = ${common.platform}
  501. framework = arduino
  502. board = esp01_1m
  503. board_flash_mode = dout
  504. lib_deps = ${common.lib_deps}
  505. lib_ignore = ${common.lib_ignore}
  506. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
  507. upload_speed = 115200
  508. upload_port = "192.168.4.1"
  509. upload_flags = --auth=fibonacci --port 8266
  510. monitor_baud = 115200
  511. extra_scripts = ${common.extra_scripts}
  512. [env:itead-sonoff-led]
  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. monitor_baud = 115200
  521. extra_scripts = ${common.extra_scripts}
  522. [env:itead-sonoff-led-ota]
  523. platform = ${common.platform}
  524. framework = arduino
  525. board = esp01_1m
  526. board_flash_mode = dout
  527. lib_deps = ${common.lib_deps}
  528. lib_ignore = ${common.lib_ignore}
  529. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
  530. upload_speed = 115200
  531. upload_port = "192.168.4.1"
  532. upload_flags = --auth=fibonacci --port 8266
  533. monitor_baud = 115200
  534. extra_scripts = ${common.extra_scripts}
  535. [env:itead-sonoff-rfbridge]
  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. monitor_baud = 19200
  544. extra_scripts = ${common.extra_scripts}
  545. [env:itead-sonoff-rfbridge-ota]
  546. platform = ${common.platform}
  547. framework = arduino
  548. board = esp01_1m
  549. board_flash_mode = dout
  550. lib_deps = ${common.lib_deps}
  551. lib_ignore = ${common.lib_ignore}
  552. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  553. upload_speed = 115200
  554. upload_port = "192.168.4.1"
  555. upload_flags = --auth=fibonacci --port 8266
  556. monitor_baud = 19200
  557. extra_scripts = ${common.extra_scripts}
  558. # ------------------------------------------------------------------------------
  559. [env:itead-slampher]
  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. monitor_baud = 115200
  568. extra_scripts = ${common.extra_scripts}
  569. [env:itead-slampher-ota]
  570. platform = ${common.platform}
  571. framework = arduino
  572. board = esp01_1m
  573. board_flash_mode = dout
  574. lib_deps = ${common.lib_deps}
  575. lib_ignore = ${common.lib_ignore}
  576. build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
  577. upload_speed = 115200
  578. upload_port = "192.168.4.1"
  579. upload_flags = --auth=fibonacci --port 8266
  580. monitor_baud = 115200
  581. extra_scripts = ${common.extra_scripts}
  582. [env:itead-s20]
  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. monitor_baud = 115200
  591. extra_scripts = ${common.extra_scripts}
  592. [env:itead-s20-ota]
  593. platform = ${common.platform}
  594. framework = arduino
  595. board = esp01_1m
  596. board_flash_mode = dout
  597. lib_deps = ${common.lib_deps}
  598. lib_ignore = ${common.lib_ignore}
  599. build_flags = ${common.build_flags_1m} -DITEAD_S20
  600. upload_speed = 115200
  601. upload_port = "192.168.4.1"
  602. upload_flags = --auth=fibonacci --port 8266
  603. monitor_baud = 115200
  604. extra_scripts = ${common.extra_scripts}
  605. [env:itead-1ch-inching]
  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. monitor_baud = 115200
  614. extra_scripts = ${common.extra_scripts}
  615. [env:itead-1ch-inching-ota]
  616. platform = ${common.platform}
  617. framework = arduino
  618. board = esp01_1m
  619. board_flash_mode = dout
  620. lib_deps = ${common.lib_deps}
  621. lib_ignore = ${common.lib_ignore}
  622. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  623. upload_speed = 115200
  624. upload_port = "192.168.4.1"
  625. upload_flags = --auth=fibonacci --port 8266
  626. monitor_baud = 115200
  627. extra_scripts = ${common.extra_scripts}
  628. [env:itead-motor]
  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. monitor_baud = 115200
  637. extra_scripts = ${common.extra_scripts}
  638. [env:itead-motor-ota]
  639. platform = ${common.platform}
  640. framework = arduino
  641. board = esp01_1m
  642. board_flash_mode = dout
  643. lib_deps = ${common.lib_deps}
  644. lib_ignore = ${common.lib_ignore}
  645. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  646. upload_speed = 115200
  647. upload_port = "192.168.4.1"
  648. upload_flags = --auth=fibonacci --port 8266
  649. monitor_baud = 115200
  650. extra_scripts = ${common.extra_scripts}
  651. # ------------------------------------------------------------------------------
  652. [env:electrodragon-wifi-iot]
  653. platform = ${common.platform}
  654. framework = arduino
  655. board = esp12e
  656. lib_deps = ${common.lib_deps}
  657. lib_ignore = ${common.lib_ignore}
  658. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  659. monitor_baud = 115200
  660. extra_scripts = ${common.extra_scripts}
  661. [env:electrodragon-wifi-iot-ota]
  662. platform = ${common.platform}
  663. framework = arduino
  664. board = esp12e
  665. lib_deps = ${common.lib_deps}
  666. lib_ignore = ${common.lib_ignore}
  667. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  668. upload_speed = 115200
  669. upload_port = "192.168.4.1"
  670. upload_flags = --auth=fibonacci --port 8266
  671. monitor_baud = 115200
  672. extra_scripts = ${common.extra_scripts}
  673. [env:workchoice-ecoplug]
  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. monitor_baud = 115200
  682. extra_scripts = ${common.extra_scripts}
  683. [env:workchoice-ecoplug-ota]
  684. platform = ${common.platform}
  685. framework = arduino
  686. board = esp01_1m
  687. board_flash_mode = dout
  688. lib_deps = ${common.lib_deps}
  689. lib_ignore = ${common.lib_ignore}
  690. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  691. upload_speed = 115200
  692. upload_port = "192.168.4.1"
  693. upload_flags = --auth=fibonacci --port 8266
  694. monitor_baud = 115200
  695. extra_scripts = ${common.extra_scripts}
  696. [env:jangoe-wifi-relay-nc]
  697. platform = ${common.platform}
  698. framework = arduino
  699. board = esp12e
  700. lib_deps = ${common.lib_deps}
  701. lib_ignore = ${common.lib_ignore}
  702. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  703. monitor_baud = 115200
  704. extra_scripts = ${common.extra_scripts}
  705. [env:jangoe-wifi-relay-nc-ota]
  706. platform = ${common.platform}
  707. framework = arduino
  708. board = esp12e
  709. lib_deps = ${common.lib_deps}
  710. lib_ignore = ${common.lib_ignore}
  711. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  712. upload_speed = 115200
  713. upload_port = "192.168.4.1"
  714. upload_flags = --auth=fibonacci --port 8266
  715. monitor_baud = 115200
  716. extra_scripts = ${common.extra_scripts}
  717. [env:jangoe-wifi-relay-no]
  718. platform = ${common.platform}
  719. framework = arduino
  720. board = esp12e
  721. lib_deps = ${common.lib_deps}
  722. lib_ignore = ${common.lib_ignore}
  723. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  724. monitor_baud = 115200
  725. extra_scripts = ${common.extra_scripts}
  726. [env:jangoe-wifi-relay-no-ota]
  727. platform = ${common.platform}
  728. framework = arduino
  729. board = esp12e
  730. lib_deps = ${common.lib_deps}
  731. lib_ignore = ${common.lib_ignore}
  732. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  733. upload_speed = 115200
  734. upload_port = "192.168.4.1"
  735. upload_flags = --auth=fibonacci --port 8266
  736. monitor_baud = 115200
  737. extra_scripts = ${common.extra_scripts}
  738. [env:openenergymonitor-mqtt-relay]
  739. platform = ${common.platform}
  740. framework = arduino
  741. board = esp_wroom_02
  742. lib_deps = ${common.lib_deps}
  743. lib_ignore = ${common.lib_ignore}
  744. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  745. monitor_baud = 115200
  746. extra_scripts = ${common.extra_scripts}
  747. [env:openenergymonitor-mqtt-relay-ota]
  748. platform = ${common.platform}
  749. framework = arduino
  750. board = esp_wroom_02
  751. lib_deps = ${common.lib_deps}
  752. lib_ignore = ${common.lib_ignore}
  753. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  754. upload_speed = 115200
  755. upload_port = "192.168.4.1"
  756. upload_flags = --auth=fibonacci --port 8266
  757. monitor_baud = 115200
  758. extra_scripts = ${common.extra_scripts}
  759. [env:jorgegarcia-wifi-relays]
  760. platform = ${common.platform}
  761. framework = arduino
  762. board = esp01_1m
  763. lib_deps = ${common.lib_deps}
  764. lib_ignore = ${common.lib_ignore}
  765. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  766. monitor_baud = 115200
  767. extra_scripts = ${common.extra_scripts}
  768. [env:jorgegarcia-wifi-relays-ota]
  769. platform = ${common.platform}
  770. framework = arduino
  771. board = esp01_1m
  772. lib_deps = ${common.lib_deps}
  773. lib_ignore = ${common.lib_ignore}
  774. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  775. upload_speed = 115200
  776. upload_port = "192.168.4.1"
  777. upload_flags = --auth=fibonacci --port 8266
  778. monitor_baud = 115200
  779. extra_scripts = ${common.extra_scripts}
  780. [env:aithinker-ai-light]
  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. monitor_baud = 115200
  789. extra_scripts = ${common.extra_scripts}
  790. [env:aithinker-ai-light-ota]
  791. platform = ${common.platform}
  792. framework = arduino
  793. board = esp01_1m
  794. board_flash_mode = dout
  795. lib_deps = ${common.lib_deps}
  796. lib_ignore = ${common.lib_ignore}
  797. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  798. upload_speed = 115200
  799. upload_port = "192.168.4.1"
  800. upload_flags = --auth=fibonacci --port 8266
  801. monitor_baud = 115200
  802. extra_scripts = ${common.extra_scripts}
  803. [env:magichome-led-controller]
  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. monitor_baud = 115200
  812. extra_scripts = ${common.extra_scripts}
  813. [env:magichome-led-controller-ota]
  814. platform = ${common.platform}
  815. framework = arduino
  816. board = esp01_1m
  817. board_flash_mode = dout
  818. lib_deps = ${common.lib_deps}
  819. lib_ignore = ${common.lib_ignore}
  820. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  821. upload_speed = 115200
  822. upload_port = "192.168.4.1"
  823. upload_flags = --auth=fibonacci --port 8266
  824. monitor_baud = 115200
  825. extra_scripts = ${common.extra_scripts}
  826. [env:magichome-led-controller-20]
  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. monitor_baud = 115200
  835. extra_scripts = ${common.extra_scripts}
  836. [env:magichome-led-controller-20-ota]
  837. platform = ${common.platform}
  838. framework = arduino
  839. board = esp01_1m
  840. board_flash_mode = dout
  841. lib_deps = ${common.lib_deps}
  842. lib_ignore = ${common.lib_ignore}
  843. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  844. upload_port = "192.168.4.1"
  845. upload_flags = --auth=fibonacci --port 8266
  846. monitor_baud = 115200
  847. extra_scripts = ${common.extra_scripts}
  848. [env:huacanxing-h801]
  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 = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  856. monitor_baud = 115200
  857. extra_scripts = ${common.extra_scripts}
  858. [env:huacanxing-h801-ota]
  859. platform = ${common.platform}
  860. framework = arduino
  861. board = esp01_1m
  862. board_flash_mode = dout
  863. lib_deps = ${common.lib_deps}
  864. lib_ignore = ${common.lib_ignore}
  865. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  866. upload_speed = 115200
  867. upload_port = "192.168.4.1"
  868. upload_flags = --auth=fibonacci --port 8266
  869. monitor_baud = 115200
  870. extra_scripts = ${common.extra_scripts}
  871. [env:huacanxing-h802]
  872. platform = ${common.platform}
  873. framework = arduino
  874. board = esp01_1m
  875. board_flash_mode = dout
  876. lib_deps = ${common.lib_deps}
  877. lib_ignore = ${common.lib_ignore}
  878. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  879. monitor_baud = 115200
  880. extra_scripts = ${common.extra_scripts}
  881. [env:huacanxing-h802-ota]
  882. platform = ${common.platform}
  883. framework = arduino
  884. board = esp01_1m
  885. board_flash_mode = dout
  886. lib_deps = ${common.lib_deps}
  887. lib_ignore = ${common.lib_ignore}
  888. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  889. upload_speed = 115200
  890. upload_port = "192.168.4.1"
  891. upload_flags = --auth=fibonacci --port 8266
  892. monitor_baud = 115200
  893. extra_scripts = ${common.extra_scripts}
  894. [env:arilux-al-lc01]
  895. platform = ${common.platform}
  896. framework = arduino
  897. board = esp01_1m
  898. board_flash_mode = dout
  899. lib_deps = ${common.lib_deps}
  900. lib_ignore = ${common.lib_ignore}
  901. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  902. monitor_baud = 115200
  903. extra_scripts = ${common.extra_scripts}
  904. [env:arilux-al-lc01-ota]
  905. platform = ${common.platform}
  906. framework = arduino
  907. board = esp01_1m
  908. board_flash_mode = dout
  909. lib_deps = ${common.lib_deps}
  910. lib_ignore = ${common.lib_ignore}
  911. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  912. upload_speed = 115200
  913. upload_port = "192.168.4.1"
  914. upload_flags = --auth=fibonacci --port 8266
  915. monitor_baud = 115200
  916. extra_scripts = ${common.extra_scripts}
  917. [env:arilux-al-lc02]
  918. platform = ${common.platform}
  919. framework = arduino
  920. board = esp01_1m
  921. board_flash_mode = dout
  922. lib_deps = ${common.lib_deps}
  923. lib_ignore = ${common.lib_ignore}
  924. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  925. monitor_baud = 115200
  926. extra_scripts = ${common.extra_scripts}
  927. [env:arilux-al-lc02-ota]
  928. platform = ${common.platform}
  929. framework = arduino
  930. board = esp01_1m
  931. board_flash_mode = dout
  932. lib_deps = ${common.lib_deps}
  933. lib_ignore = ${common.lib_ignore}
  934. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  935. upload_speed = 115200
  936. upload_port = "192.168.4.1"
  937. upload_flags = --auth=fibonacci --port 8266
  938. monitor_baud = 115200
  939. extra_scripts = ${common.extra_scripts}
  940. [env:arilux-al-lc06]
  941. platform = ${common.platform}
  942. framework = arduino
  943. board = esp01_1m
  944. board_flash_mode = dout
  945. lib_deps = ${common.lib_deps}
  946. lib_ignore = ${common.lib_ignore}
  947. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  948. monitor_baud = 115200
  949. extra_scripts = ${common.extra_scripts}
  950. [env:arilux-al-lc06-ota]
  951. platform = ${common.platform}
  952. framework = arduino
  953. board = esp01_1m
  954. board_flash_mode = dout
  955. lib_deps = ${common.lib_deps}
  956. lib_ignore = ${common.lib_ignore}
  957. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  958. upload_speed = 115200
  959. upload_port = "192.168.4.1"
  960. upload_flags = --auth=fibonacci --port 8266
  961. monitor_baud = 115200
  962. extra_scripts = ${common.extra_scripts}
  963. [env:arilux-al-lc11]
  964. platform = ${common.platform}
  965. framework = arduino
  966. board = esp01_1m
  967. board_flash_mode = dout
  968. lib_deps = ${common.lib_deps}
  969. lib_ignore = ${common.lib_ignore}
  970. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  971. monitor_baud = 115200
  972. extra_scripts = ${common.extra_scripts}
  973. [env:arilux-al-lc11-ota]
  974. platform = ${common.platform}
  975. framework = arduino
  976. board = esp01_1m
  977. board_flash_mode = dout
  978. lib_deps = ${common.lib_deps}
  979. lib_ignore = ${common.lib_ignore}
  980. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  981. upload_speed = 115200
  982. upload_port = "192.168.4.1"
  983. upload_flags = --auth=fibonacci --port 8266
  984. monitor_baud = 115200
  985. extra_scripts = ${common.extra_scripts}
  986. [env:arilux-e27]
  987. platform = ${common.platform}
  988. framework = arduino
  989. board = esp01_1m
  990. board_flash_mode = dout
  991. lib_deps = ${common.lib_deps}
  992. lib_ignore = ${common.lib_ignore}
  993. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  994. monitor_baud = 115200
  995. extra_scripts = ${common.extra_scripts}
  996. [env:arilux-e27-ota]
  997. platform = ${common.platform}
  998. framework = arduino
  999. board = esp01_1m
  1000. board_flash_mode = dout
  1001. lib_deps = ${common.lib_deps}
  1002. lib_ignore = ${common.lib_ignore}
  1003. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  1004. upload_speed = 115200
  1005. upload_port = "192.168.4.1"
  1006. upload_flags = --auth=fibonacci --port 8266
  1007. monitor_baud = 115200
  1008. extra_scripts = ${common.extra_scripts}
  1009. [env:itead-bnsz01]
  1010. platform = ${common.platform}
  1011. framework = arduino
  1012. board = esp01_1m
  1013. board_flash_mode = dout
  1014. lib_deps = ${common.lib_deps}
  1015. lib_ignore = ${common.lib_ignore}
  1016. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1017. monitor_baud = 115200
  1018. extra_scripts = ${common.extra_scripts}
  1019. [env:itead-bnsz01-ota]
  1020. platform = ${common.platform}
  1021. framework = arduino
  1022. board = esp01_1m
  1023. board_flash_mode = dout
  1024. lib_deps = ${common.lib_deps}
  1025. lib_ignore = ${common.lib_ignore}
  1026. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1027. upload_speed = 115200
  1028. upload_port = "192.168.4.1"
  1029. upload_flags = --auth=fibonacci --port 8266
  1030. monitor_baud = 115200
  1031. extra_scripts = ${common.extra_scripts}
  1032. [env:wion-50055]
  1033. platform = ${common.platform}
  1034. framework = arduino
  1035. board = esp01_1m
  1036. board_flash_mode = dout
  1037. lib_deps = ${common.lib_deps}
  1038. lib_ignore = ${common.lib_ignore}
  1039. build_flags = ${common.build_flags_1m} -DWION_50055
  1040. monitor_baud = 115200
  1041. extra_scripts = ${common.extra_scripts}
  1042. [env:wion-50055-ota]
  1043. platform = ${common.platform}
  1044. framework = arduino
  1045. board = esp01_1m
  1046. board_flash_mode = dout
  1047. lib_deps = ${common.lib_deps}
  1048. lib_ignore = ${common.lib_ignore}
  1049. build_flags = ${common.build_flags_1m} -DWION_50055
  1050. upload_speed = 115200
  1051. upload_port = "192.168.4.1"
  1052. upload_flags = --auth=fibonacci --port 8266
  1053. monitor_baud = 115200
  1054. extra_scripts = ${common.extra_scripts}
  1055. [env:exs-wifi-relay-v31]
  1056. platform = ${common.platform}
  1057. framework = arduino
  1058. board = esp07
  1059. board_flash_mode = dout
  1060. lib_deps = ${common.lib_deps}
  1061. lib_ignore = ${common.lib_ignore}
  1062. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1063. monitor_baud = 115200
  1064. extra_scripts = ${common.extra_scripts}
  1065. [env:exs-wifi-relay-v31-ota]
  1066. platform = ${common.platform}
  1067. framework = arduino
  1068. board = esp07
  1069. board_flash_mode = dout
  1070. lib_deps = ${common.lib_deps}
  1071. lib_ignore = ${common.lib_ignore}
  1072. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1073. upload_speed = 115200
  1074. upload_port = "192.168.4.1"
  1075. upload_flags = --auth=fibonacci --port 8266
  1076. monitor_baud = 115200
  1077. extra_scripts = ${common.extra_scripts}
  1078. [env:wemos-v9261f]
  1079. platform = ${common.platform}
  1080. framework = arduino
  1081. board = d1_mini
  1082. lib_deps = ${common.lib_deps}
  1083. lib_ignore = ${common.lib_ignore}
  1084. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1085. upload_speed = 460800
  1086. monitor_baud = 115200
  1087. extra_scripts = ${common.extra_scripts}
  1088. [env:wemos-v9261f-ota]
  1089. platform = ${common.platform}
  1090. framework = arduino
  1091. board = d1_mini
  1092. lib_deps = ${common.lib_deps}
  1093. lib_ignore = ${common.lib_ignore}
  1094. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1095. upload_speed = 115200
  1096. upload_port = "192.168.4.1"
  1097. upload_flags = --auth=fibonacci --port 8266
  1098. monitor_baud = 115200
  1099. extra_scripts = ${common.extra_scripts}
  1100. [env:esp01-v9261f]
  1101. platform = ${common.platform}
  1102. framework = arduino
  1103. board = esp01_1m
  1104. board_flash_mode = dout
  1105. lib_deps = ${common.lib_deps}
  1106. lib_ignore = ${common.lib_ignore}
  1107. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1108. monitor_baud = 115200
  1109. extra_scripts = ${common.extra_scripts}
  1110. [env:esp01-v9261f-ota]
  1111. platform = ${common.platform}
  1112. framework = arduino
  1113. board = esp01_1m
  1114. board_flash_mode = dout
  1115. lib_deps = ${common.lib_deps}
  1116. lib_ignore = ${common.lib_ignore}
  1117. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1118. upload_speed = 115200
  1119. upload_port = "192.168.4.1"
  1120. upload_flags = --auth=fibonacci --port 8266
  1121. monitor_baud = 115200
  1122. extra_scripts = ${common.extra_scripts}
  1123. [env:wemos-ech1560]
  1124. platform = ${common.platform}
  1125. framework = arduino
  1126. board = d1_mini
  1127. lib_deps = ${common.lib_deps}
  1128. lib_ignore = ${common.lib_ignore}
  1129. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1130. upload_speed = 460800
  1131. monitor_baud = 115200
  1132. extra_scripts = ${common.extra_scripts}
  1133. [env:wemos-ech1560-ota]
  1134. platform = ${common.platform}
  1135. framework = arduino
  1136. board = d1_mini
  1137. lib_deps = ${common.lib_deps}
  1138. lib_ignore = ${common.lib_ignore}
  1139. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1140. upload_speed = 115200
  1141. upload_port = "192.168.4.1"
  1142. upload_flags = --auth=fibonacci --port 8266
  1143. monitor_baud = 115200
  1144. extra_scripts = ${common.extra_scripts}
  1145. [env:esp01-ech1560]
  1146. platform = ${common.platform}
  1147. framework = arduino
  1148. board = esp01_1m
  1149. board_flash_mode = dout
  1150. lib_deps = ${common.lib_deps}
  1151. lib_ignore = ${common.lib_ignore}
  1152. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1153. monitor_baud = 115200
  1154. extra_scripts = ${common.extra_scripts}
  1155. [env:esp01-ech1560-ota]
  1156. platform = ${common.platform}
  1157. framework = arduino
  1158. board = esp01_1m
  1159. board_flash_mode = dout
  1160. lib_deps = ${common.lib_deps}
  1161. lib_ignore = ${common.lib_ignore}
  1162. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1163. upload_speed = 115200
  1164. upload_port = "192.168.4.1"
  1165. upload_flags = --auth=fibonacci --port 8266
  1166. monitor_baud = 115200
  1167. extra_scripts = ${common.extra_scripts}
  1168. [env:mancavemade-esplive]
  1169. platform = ${common.platform}
  1170. framework = arduino
  1171. board = d1_mini
  1172. lib_deps = ${common.lib_deps}
  1173. lib_ignore = ${common.lib_ignore}
  1174. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1175. upload_speed = 460800
  1176. monitor_baud = 115200
  1177. extra_scripts = ${common.extra_scripts}
  1178. [env:mancavemade-esplive-ota]
  1179. platform = ${common.platform}
  1180. framework = arduino
  1181. board = d1_mini
  1182. lib_deps = ${common.lib_deps}
  1183. lib_ignore = ${common.lib_ignore}
  1184. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1185. upload_speed = 460800
  1186. upload_port = "192.168.4.1"
  1187. upload_flags = --auth=fibonacci --port 8266
  1188. monitor_baud = 115200
  1189. extra_scripts = ${common.extra_scripts}
  1190. [env:intermittech-quinled]
  1191. platform = ${common.platform}
  1192. framework = arduino
  1193. board = esp01_1m
  1194. board_flash_mode = dout
  1195. lib_deps = ${common.lib_deps}
  1196. lib_ignore = ${common.lib_ignore}
  1197. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1198. monitor_baud = 115200
  1199. extra_scripts = ${common.extra_scripts}
  1200. [env:intermittech-quinled-ota]
  1201. platform = ${common.platform}
  1202. framework = arduino
  1203. board = esp01_1m
  1204. board_flash_mode = dout
  1205. lib_deps = ${common.lib_deps}
  1206. lib_ignore = ${common.lib_ignore}
  1207. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1208. upload_speed = 115200
  1209. upload_port = "192.168.4.1"
  1210. upload_flags = --auth=fibonacci --port 8266
  1211. monitor_baud = 115200
  1212. extra_scripts = ${common.extra_scripts}
  1213. [env:xenon-sm-pw702u]
  1214. platform = ${common.platform}
  1215. framework = arduino
  1216. board = esp12e
  1217. board_flash_mode = dout
  1218. lib_deps = ${common.lib_deps}
  1219. lib_ignore = ${common.lib_ignore}
  1220. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1221. monitor_baud = 115200
  1222. extra_scripts = ${common.extra_scripts}
  1223. [env:xenon-sm-pw702u-ota]
  1224. platform = ${common.platform}
  1225. framework = arduino
  1226. board = esp12e
  1227. board_flash_mode = dout
  1228. lib_deps = ${common.lib_deps}
  1229. lib_ignore = ${common.lib_ignore}
  1230. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1231. upload_speed = 115200
  1232. upload_port = "192.168.4.1"
  1233. upload_flags = --auth=fibonacci --port 8266
  1234. monitor_baud = 115200
  1235. extra_scripts = ${common.extra_scripts}
  1236. [env:authometion-lyt8266]
  1237. platform = ${common.platform}
  1238. framework = arduino
  1239. board = esp01_1m
  1240. board_flash_mode = dout
  1241. lib_deps = ${common.lib_deps}
  1242. lib_ignore = ${common.lib_ignore}
  1243. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1244. monitor_baud = 115200
  1245. extra_scripts = ${common.extra_scripts}
  1246. [env:authometion-lyt8266-ota]
  1247. platform = ${common.platform}
  1248. framework = arduino
  1249. board = esp01_1m
  1250. board_flash_mode = dout
  1251. lib_deps = ${common.lib_deps}
  1252. lib_ignore = ${common.lib_ignore}
  1253. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1254. upload_speed = 115200
  1255. upload_port = "192.168.4.1"
  1256. upload_flags = --auth=fibonacci --port 8266
  1257. monitor_baud = 115200
  1258. extra_scripts = ${common.extra_scripts}
  1259. [env:kmc-70011]
  1260. platform = ${common.platform}
  1261. framework = arduino
  1262. board = esp01_1m
  1263. board_flash_mode = dout
  1264. lib_deps = ${common.lib_deps}
  1265. lib_ignore = ${common.lib_ignore}
  1266. build_flags = ${common.build_flags_1m} -DKMC_70011
  1267. monitor_baud = 115200
  1268. extra_scripts = ${common.extra_scripts}
  1269. [env:kmc-70011-ota]
  1270. platform = ${common.platform}
  1271. framework = arduino
  1272. board = esp01_1m
  1273. board_flash_mode = dout
  1274. lib_deps = ${common.lib_deps}
  1275. lib_ignore = ${common.lib_ignore}
  1276. build_flags = ${common.build_flags_1m} -DKMC_70011
  1277. upload_speed = 115200
  1278. upload_port = "192.168.4.1"
  1279. upload_flags = --auth=fibonacci --port 8266
  1280. monitor_baud = 115200
  1281. extra_scripts = ${common.extra_scripts}
  1282. [env:yjzk-switch-2ch]
  1283. platform = ${common.platform}
  1284. framework = arduino
  1285. board = esp01_1m
  1286. board_flash_mode = dout
  1287. lib_deps = ${common.lib_deps}
  1288. lib_ignore = ${common.lib_ignore}
  1289. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1290. monitor_baud = 115200
  1291. extra_scripts = ${common.extra_scripts}
  1292. [env:yjzk-switch-2ch-ota]
  1293. platform = ${common.platform}
  1294. framework = arduino
  1295. board = esp01_1m
  1296. board_flash_mode = dout
  1297. lib_deps = ${common.lib_deps}
  1298. lib_ignore = ${common.lib_ignore}
  1299. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1300. upload_speed = 115200
  1301. upload_port = "192.168.4.1"
  1302. upload_flags = --auth=fibonacci --port 8266
  1303. monitor_baud = 115200
  1304. extra_scripts = ${common.extra_scripts}
  1305. [env:generic-8ch]
  1306. platform = ${common.platform}
  1307. framework = arduino
  1308. board = d1_mini
  1309. lib_deps = ${common.lib_deps}
  1310. lib_ignore = ${common.lib_ignore}
  1311. build_flags = ${common.build_flags} -DGENERIC_8CH
  1312. upload_speed = 460800
  1313. monitor_baud = 115200
  1314. extra_scripts = ${common.extra_scripts}
  1315. [env:gizwits-witty-cloud]
  1316. platform = ${common.platform}
  1317. framework = arduino
  1318. board = esp12e
  1319. board_flash_mode = dout
  1320. lib_deps = ${common.lib_deps}
  1321. lib_ignore = ${common.lib_ignore}
  1322. build_flags = ${common.build_flags} -DGIZWITS_WITTY_CLOUD
  1323. monitor_baud = 115200
  1324. extra_scripts = ${common.extra_scripts}
  1325. [env:gizwits-witty-cloud-ota]
  1326. platform = ${common.platform}
  1327. framework = arduino
  1328. board = esp12e
  1329. board_flash_mode = dout
  1330. lib_deps = ${common.lib_deps}
  1331. lib_ignore = ${common.lib_ignore}
  1332. build_flags = ${common.build_flags} -DGIZWITS_WITTY_CLOUD
  1333. upload_speed = 115200
  1334. upload_port = "${env.ESPURNA_IP}"
  1335. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1336. extra_scripts = ${common.extra_scripts}
  1337. [env:euromate-wifi-stecker-shuko]
  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} -DEUROMATE_WIFI_STECKER_SCHUKO
  1345. monitor_baud = 115200
  1346. extra_scripts = ${common.extra_scripts}
  1347. [env:euromate-wifi-stecker-shuko-ota]
  1348. platform = ${common.platform}
  1349. framework = arduino
  1350. board = esp01_1m
  1351. board_flash_mode = dout
  1352. lib_deps = ${common.lib_deps}
  1353. lib_ignore = ${common.lib_ignore}
  1354. build_flags = ${common.build_flags} -DEUROMATE_WIFI_STECKER_SCHUKO
  1355. upload_speed = 115200
  1356. upload_port = "${env.ESPURNA_IP}"
  1357. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1358. extra_scripts = ${common.extra_scripts}
  1359. [env:tonbux-powerstrip02]
  1360. platform = ${common.platform}
  1361. framework = arduino
  1362. board = esp01_1m
  1363. board_flash_mode = dout
  1364. lib_deps = ${common.lib_deps}
  1365. lib_ignore = ${common.lib_ignore}
  1366. build_flags = ${common.build_flags} -DTONBUX_POWERSTRIP02
  1367. monitor_baud = 115200
  1368. extra_scripts = ${common.extra_scripts}
  1369. [env:tonbux-powerstrip02-ota]
  1370. platform = ${common.platform}
  1371. framework = arduino
  1372. board = esp01_1m
  1373. board_flash_mode = dout
  1374. lib_deps = ${common.lib_deps}
  1375. lib_ignore = ${common.lib_ignore}
  1376. build_flags = ${common.build_flags} -DTONBUX_POWERSTRIP02
  1377. upload_speed = 115200
  1378. upload_port = "${env.ESPURNA_IP}"
  1379. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1380. extra_scripts = ${common.extra_scripts}
  1381. [env:lingan-swa1]
  1382. platform = ${common.platform}
  1383. framework = arduino
  1384. board = esp01_1m
  1385. board_flash_mode = dout
  1386. lib_deps = ${common.lib_deps}
  1387. lib_ignore = ${common.lib_ignore}
  1388. build_flags = ${common.build_flags} -DLINGAN_SWA1
  1389. monitor_baud = 115200
  1390. extra_scripts = ${common.extra_scripts}
  1391. [env:lingan-swa1-ota]
  1392. platform = ${common.platform}
  1393. framework = arduino
  1394. board = esp01_1m
  1395. board_flash_mode = dout
  1396. lib_deps = ${common.lib_deps}
  1397. lib_ignore = ${common.lib_ignore}
  1398. build_flags = ${common.build_flags} -DLINGAN_SWA1
  1399. upload_speed = 115200
  1400. upload_port = "${env.ESPURNA_IP}"
  1401. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1402. extra_scripts = ${common.extra_scripts}
  1403. [env:stm-relay]
  1404. platform = ${common.platform}
  1405. framework = arduino
  1406. board = esp01_1m
  1407. board_flash_mode = dout
  1408. lib_deps = ${common.lib_deps}
  1409. lib_ignore = ${common.lib_ignore}
  1410. build_flags = ${common.build_flags_1m} -DSTM_RELAY
  1411. monitor_baud = 115200
  1412. extra_scripts = ${common.extra_scripts}
  1413. [env:stm-relay-ota]
  1414. platform = ${common.platform}
  1415. framework = arduino
  1416. board = esp01_1m
  1417. board_flash_mode = dout
  1418. lib_deps = ${common.lib_deps}
  1419. lib_ignore = ${common.lib_ignore}
  1420. build_flags = ${common.build_flags_1m} -DSTM_RELAY
  1421. upload_speed = 115200
  1422. upload_port = "192.168.4.1"
  1423. upload_flags = --auth=fibonacci --port 8266
  1424. monitor_baud = 115200
  1425. extra_scripts = ${common.extra_scripts}
  1426. [env:heygo-hy02]
  1427. platform = ${common.platform}
  1428. framework = arduino
  1429. board = esp01_1m
  1430. board_flash_mode = dout
  1431. lib_deps = ${common.lib_deps}
  1432. lib_ignore = ${common.lib_ignore}
  1433. build_flags = ${common.build_flags_1m} -DHEYGO_HY02
  1434. monitor_baud = 115200
  1435. extra_scripts = ${common.extra_scripts}
  1436. [env:maxcio-wus0025]
  1437. platform = ${common.platform}
  1438. framework = arduino
  1439. board = esp01_1m
  1440. board_flash_mode = dout
  1441. lib_deps = ${common.lib_deps}
  1442. lib_ignore = ${common.lib_ignore}
  1443. build_flags = ${common.build_flags_1m} -DMAXCIO_WUS002S
  1444. monitor_baud = 115200
  1445. extra_scripts = ${common.extra_scripts}
  1446. [env:yidian-xsssa05]
  1447. platform = ${common.platform}
  1448. framework = arduino
  1449. board = esp01_1m
  1450. board_flash_mode = dout
  1451. lib_deps = ${common.lib_deps}
  1452. lib_ignore = ${common.lib_ignore}
  1453. build_flags = ${common.build_flags_1m} -DYIDIAN_XSSSA05
  1454. monitor_baud = 115200
  1455. extra_scripts = ${common.extra_scripts}
  1456. # ------------------------------------------------------------------------------
  1457. # GENERIC OTA ENVIRONMENTS
  1458. # ------------------------------------------------------------------------------
  1459. [env:esp8266-1m-ota]
  1460. platform = ${common.platform}
  1461. framework = arduino
  1462. board = esp01_1m
  1463. board_flash_mode = dout
  1464. lib_deps = ${common.lib_deps}
  1465. lib_ignore = ${common.lib_ignore}
  1466. build_flags = ${common.build_flags_1m} -D${env.ESPURNA_BOARD}
  1467. upload_speed = 115200
  1468. upload_port = "${env.ESPURNA_IP}"
  1469. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1470. extra_scripts = ${common.extra_scripts}
  1471. [env:esp8266-4m-ota]
  1472. platform = ${common.platform}
  1473. framework = arduino
  1474. board = esp12e
  1475. board_flash_mode = dout
  1476. lib_deps = ${common.lib_deps}
  1477. lib_ignore = ${common.lib_ignore}
  1478. build_flags = ${common.build_flags} -D${env.ESPURNA_BOARD}
  1479. upload_speed = 115200
  1480. upload_port = "${env.ESPURNA_IP}"
  1481. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1482. extra_scripts = ${common.extra_scripts}
  1483. # ------------------------------------------------------------------------------
  1484. # SPECIAL BUILDS - DO. NOT. USE. ever ---
  1485. # ------------------------------------------------------------------------------
  1486. [env:travis01]
  1487. platform = ${common.platform}
  1488. framework = arduino
  1489. board = esp12e
  1490. lib_deps = ${common.lib_deps}
  1491. lib_ignore = ${common.lib_ignore}
  1492. build_flags = ${common.build_flags} -DTRAVIS01
  1493. monitor_baud = 115200
  1494. extra_scripts = ${common.extra_scripts}
  1495. [env:travis02]
  1496. platform = ${common.platform}
  1497. framework = arduino
  1498. board = esp12e
  1499. lib_deps = ${common.lib_deps}
  1500. lib_ignore = ${common.lib_ignore}
  1501. build_flags = ${common.build_flags} -DTRAVIS02
  1502. monitor_baud = 115200
  1503. extra_scripts = ${common.extra_scripts}
  1504. [env:travis03]
  1505. platform = espressif8266@1.6.0
  1506. framework = arduino
  1507. board = esp12e
  1508. lib_deps = ${common.lib_deps}
  1509. lib_ignore = ${common.lib_ignore}
  1510. build_flags = ${common.build_flags} -DTRAVIS03 -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  1511. monitor_baud = 115200
  1512. extra_scripts = ${common.extra_scripts}