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.

1664 lines
47 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. [env:itead-sonoff-sv]
  652. platform = ${common.platform}
  653. framework = arduino
  654. board = esp01_1m
  655. board_flash_mode = dout
  656. lib_deps = ${common.lib_deps}
  657. lib_ignore = ${common.lib_ignore}
  658. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_SV
  659. monitor_baud = 115200
  660. extra_scripts = ${common.extra_scripts}
  661. # ------------------------------------------------------------------------------
  662. [env:electrodragon-wifi-iot]
  663. platform = ${common.platform}
  664. framework = arduino
  665. board = esp12e
  666. lib_deps = ${common.lib_deps}
  667. lib_ignore = ${common.lib_ignore}
  668. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  669. monitor_baud = 115200
  670. extra_scripts = ${common.extra_scripts}
  671. [env:electrodragon-wifi-iot-ota]
  672. platform = ${common.platform}
  673. framework = arduino
  674. board = esp12e
  675. lib_deps = ${common.lib_deps}
  676. lib_ignore = ${common.lib_ignore}
  677. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  678. upload_speed = 115200
  679. upload_port = "192.168.4.1"
  680. upload_flags = --auth=fibonacci --port 8266
  681. monitor_baud = 115200
  682. extra_scripts = ${common.extra_scripts}
  683. [env:workchoice-ecoplug]
  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. monitor_baud = 115200
  692. extra_scripts = ${common.extra_scripts}
  693. [env:workchoice-ecoplug-ota]
  694. platform = ${common.platform}
  695. framework = arduino
  696. board = esp01_1m
  697. board_flash_mode = dout
  698. lib_deps = ${common.lib_deps}
  699. lib_ignore = ${common.lib_ignore}
  700. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  701. upload_speed = 115200
  702. upload_port = "192.168.4.1"
  703. upload_flags = --auth=fibonacci --port 8266
  704. monitor_baud = 115200
  705. extra_scripts = ${common.extra_scripts}
  706. [env:jangoe-wifi-relay-nc]
  707. platform = ${common.platform}
  708. framework = arduino
  709. board = esp12e
  710. lib_deps = ${common.lib_deps}
  711. lib_ignore = ${common.lib_ignore}
  712. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  713. monitor_baud = 115200
  714. extra_scripts = ${common.extra_scripts}
  715. [env:jangoe-wifi-relay-nc-ota]
  716. platform = ${common.platform}
  717. framework = arduino
  718. board = esp12e
  719. lib_deps = ${common.lib_deps}
  720. lib_ignore = ${common.lib_ignore}
  721. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  722. upload_speed = 115200
  723. upload_port = "192.168.4.1"
  724. upload_flags = --auth=fibonacci --port 8266
  725. monitor_baud = 115200
  726. extra_scripts = ${common.extra_scripts}
  727. [env:jangoe-wifi-relay-no]
  728. platform = ${common.platform}
  729. framework = arduino
  730. board = esp12e
  731. lib_deps = ${common.lib_deps}
  732. lib_ignore = ${common.lib_ignore}
  733. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  734. monitor_baud = 115200
  735. extra_scripts = ${common.extra_scripts}
  736. [env:jangoe-wifi-relay-no-ota]
  737. platform = ${common.platform}
  738. framework = arduino
  739. board = esp12e
  740. lib_deps = ${common.lib_deps}
  741. lib_ignore = ${common.lib_ignore}
  742. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  743. upload_speed = 115200
  744. upload_port = "192.168.4.1"
  745. upload_flags = --auth=fibonacci --port 8266
  746. monitor_baud = 115200
  747. extra_scripts = ${common.extra_scripts}
  748. [env:openenergymonitor-mqtt-relay]
  749. platform = ${common.platform}
  750. framework = arduino
  751. board = esp_wroom_02
  752. lib_deps = ${common.lib_deps}
  753. lib_ignore = ${common.lib_ignore}
  754. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  755. monitor_baud = 115200
  756. extra_scripts = ${common.extra_scripts}
  757. [env:openenergymonitor-mqtt-relay-ota]
  758. platform = ${common.platform}
  759. framework = arduino
  760. board = esp_wroom_02
  761. lib_deps = ${common.lib_deps}
  762. lib_ignore = ${common.lib_ignore}
  763. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  764. upload_speed = 115200
  765. upload_port = "192.168.4.1"
  766. upload_flags = --auth=fibonacci --port 8266
  767. monitor_baud = 115200
  768. extra_scripts = ${common.extra_scripts}
  769. [env:jorgegarcia-wifi-relays]
  770. platform = ${common.platform}
  771. framework = arduino
  772. board = esp01_1m
  773. lib_deps = ${common.lib_deps}
  774. lib_ignore = ${common.lib_ignore}
  775. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  776. monitor_baud = 115200
  777. extra_scripts = ${common.extra_scripts}
  778. [env:jorgegarcia-wifi-relays-ota]
  779. platform = ${common.platform}
  780. framework = arduino
  781. board = esp01_1m
  782. lib_deps = ${common.lib_deps}
  783. lib_ignore = ${common.lib_ignore}
  784. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  785. upload_speed = 115200
  786. upload_port = "192.168.4.1"
  787. upload_flags = --auth=fibonacci --port 8266
  788. monitor_baud = 115200
  789. extra_scripts = ${common.extra_scripts}
  790. [env:aithinker-ai-light]
  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. monitor_baud = 115200
  799. extra_scripts = ${common.extra_scripts}
  800. [env:aithinker-ai-light-ota]
  801. platform = ${common.platform}
  802. framework = arduino
  803. board = esp01_1m
  804. board_flash_mode = dout
  805. lib_deps = ${common.lib_deps}
  806. lib_ignore = ${common.lib_ignore}
  807. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  808. upload_speed = 115200
  809. upload_port = "192.168.4.1"
  810. upload_flags = --auth=fibonacci --port 8266
  811. monitor_baud = 115200
  812. extra_scripts = ${common.extra_scripts}
  813. [env:magichome-led-controller]
  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. monitor_baud = 115200
  822. extra_scripts = ${common.extra_scripts}
  823. [env:magichome-led-controller-ota]
  824. platform = ${common.platform}
  825. framework = arduino
  826. board = esp01_1m
  827. board_flash_mode = dout
  828. lib_deps = ${common.lib_deps}
  829. lib_ignore = ${common.lib_ignore}
  830. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  831. upload_speed = 115200
  832. upload_port = "192.168.4.1"
  833. upload_flags = --auth=fibonacci --port 8266
  834. monitor_baud = 115200
  835. extra_scripts = ${common.extra_scripts}
  836. [env:magichome-led-controller-20]
  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. monitor_baud = 115200
  845. extra_scripts = ${common.extra_scripts}
  846. [env:magichome-led-controller-20-ota]
  847. platform = ${common.platform}
  848. framework = arduino
  849. board = esp01_1m
  850. board_flash_mode = dout
  851. lib_deps = ${common.lib_deps}
  852. lib_ignore = ${common.lib_ignore}
  853. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  854. upload_port = "192.168.4.1"
  855. upload_flags = --auth=fibonacci --port 8266
  856. monitor_baud = 115200
  857. extra_scripts = ${common.extra_scripts}
  858. [env:huacanxing-h801]
  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. monitor_baud = 115200
  867. extra_scripts = ${common.extra_scripts}
  868. [env:huacanxing-h801-ota]
  869. platform = ${common.platform}
  870. framework = arduino
  871. board = esp01_1m
  872. board_flash_mode = dout
  873. lib_deps = ${common.lib_deps}
  874. lib_ignore = ${common.lib_ignore}
  875. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  876. upload_speed = 115200
  877. upload_port = "192.168.4.1"
  878. upload_flags = --auth=fibonacci --port 8266
  879. monitor_baud = 115200
  880. extra_scripts = ${common.extra_scripts}
  881. [env:huacanxing-h802]
  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. monitor_baud = 115200
  890. extra_scripts = ${common.extra_scripts}
  891. [env:huacanxing-h802-ota]
  892. platform = ${common.platform}
  893. framework = arduino
  894. board = esp01_1m
  895. board_flash_mode = dout
  896. lib_deps = ${common.lib_deps}
  897. lib_ignore = ${common.lib_ignore}
  898. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  899. upload_speed = 115200
  900. upload_port = "192.168.4.1"
  901. upload_flags = --auth=fibonacci --port 8266
  902. monitor_baud = 115200
  903. extra_scripts = ${common.extra_scripts}
  904. [env:arilux-al-lc01]
  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. monitor_baud = 115200
  913. extra_scripts = ${common.extra_scripts}
  914. [env:arilux-al-lc01-ota]
  915. platform = ${common.platform}
  916. framework = arduino
  917. board = esp01_1m
  918. board_flash_mode = dout
  919. lib_deps = ${common.lib_deps}
  920. lib_ignore = ${common.lib_ignore}
  921. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  922. upload_speed = 115200
  923. upload_port = "192.168.4.1"
  924. upload_flags = --auth=fibonacci --port 8266
  925. monitor_baud = 115200
  926. extra_scripts = ${common.extra_scripts}
  927. [env:arilux-al-lc02]
  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. monitor_baud = 115200
  936. extra_scripts = ${common.extra_scripts}
  937. [env:arilux-al-lc02-ota]
  938. platform = ${common.platform}
  939. framework = arduino
  940. board = esp01_1m
  941. board_flash_mode = dout
  942. lib_deps = ${common.lib_deps}
  943. lib_ignore = ${common.lib_ignore}
  944. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  945. upload_speed = 115200
  946. upload_port = "192.168.4.1"
  947. upload_flags = --auth=fibonacci --port 8266
  948. monitor_baud = 115200
  949. extra_scripts = ${common.extra_scripts}
  950. [env:arilux-al-lc06]
  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. monitor_baud = 115200
  959. extra_scripts = ${common.extra_scripts}
  960. [env:arilux-al-lc06-ota]
  961. platform = ${common.platform}
  962. framework = arduino
  963. board = esp01_1m
  964. board_flash_mode = dout
  965. lib_deps = ${common.lib_deps}
  966. lib_ignore = ${common.lib_ignore}
  967. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  968. upload_speed = 115200
  969. upload_port = "192.168.4.1"
  970. upload_flags = --auth=fibonacci --port 8266
  971. monitor_baud = 115200
  972. extra_scripts = ${common.extra_scripts}
  973. [env:arilux-al-lc11]
  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. monitor_baud = 115200
  982. extra_scripts = ${common.extra_scripts}
  983. [env:arilux-al-lc11-ota]
  984. platform = ${common.platform}
  985. framework = arduino
  986. board = esp01_1m
  987. board_flash_mode = dout
  988. lib_deps = ${common.lib_deps}
  989. lib_ignore = ${common.lib_ignore}
  990. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  991. upload_speed = 115200
  992. upload_port = "192.168.4.1"
  993. upload_flags = --auth=fibonacci --port 8266
  994. monitor_baud = 115200
  995. extra_scripts = ${common.extra_scripts}
  996. [env:arilux-e27]
  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. monitor_baud = 115200
  1005. extra_scripts = ${common.extra_scripts}
  1006. [env:arilux-e27-ota]
  1007. platform = ${common.platform}
  1008. framework = arduino
  1009. board = esp01_1m
  1010. board_flash_mode = dout
  1011. lib_deps = ${common.lib_deps}
  1012. lib_ignore = ${common.lib_ignore}
  1013. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  1014. upload_speed = 115200
  1015. upload_port = "192.168.4.1"
  1016. upload_flags = --auth=fibonacci --port 8266
  1017. monitor_baud = 115200
  1018. extra_scripts = ${common.extra_scripts}
  1019. [env:itead-bnsz01]
  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. monitor_baud = 115200
  1028. extra_scripts = ${common.extra_scripts}
  1029. [env:itead-bnsz01-ota]
  1030. platform = ${common.platform}
  1031. framework = arduino
  1032. board = esp01_1m
  1033. board_flash_mode = dout
  1034. lib_deps = ${common.lib_deps}
  1035. lib_ignore = ${common.lib_ignore}
  1036. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1037. upload_speed = 115200
  1038. upload_port = "192.168.4.1"
  1039. upload_flags = --auth=fibonacci --port 8266
  1040. monitor_baud = 115200
  1041. extra_scripts = ${common.extra_scripts}
  1042. [env:wion-50055]
  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. monitor_baud = 115200
  1051. extra_scripts = ${common.extra_scripts}
  1052. [env:wion-50055-ota]
  1053. platform = ${common.platform}
  1054. framework = arduino
  1055. board = esp01_1m
  1056. board_flash_mode = dout
  1057. lib_deps = ${common.lib_deps}
  1058. lib_ignore = ${common.lib_ignore}
  1059. build_flags = ${common.build_flags_1m} -DWION_50055
  1060. upload_speed = 115200
  1061. upload_port = "192.168.4.1"
  1062. upload_flags = --auth=fibonacci --port 8266
  1063. monitor_baud = 115200
  1064. extra_scripts = ${common.extra_scripts}
  1065. [env:exs-wifi-relay-v31]
  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. monitor_baud = 115200
  1074. extra_scripts = ${common.extra_scripts}
  1075. [env:exs-wifi-relay-v31-ota]
  1076. platform = ${common.platform}
  1077. framework = arduino
  1078. board = esp07
  1079. board_flash_mode = dout
  1080. lib_deps = ${common.lib_deps}
  1081. lib_ignore = ${common.lib_ignore}
  1082. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1083. upload_speed = 115200
  1084. upload_port = "192.168.4.1"
  1085. upload_flags = --auth=fibonacci --port 8266
  1086. monitor_baud = 115200
  1087. extra_scripts = ${common.extra_scripts}
  1088. [env:wemos-v9261f]
  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 = 460800
  1096. monitor_baud = 115200
  1097. extra_scripts = ${common.extra_scripts}
  1098. [env:wemos-v9261f-ota]
  1099. platform = ${common.platform}
  1100. framework = arduino
  1101. board = d1_mini
  1102. lib_deps = ${common.lib_deps}
  1103. lib_ignore = ${common.lib_ignore}
  1104. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1105. upload_speed = 115200
  1106. upload_port = "192.168.4.1"
  1107. upload_flags = --auth=fibonacci --port 8266
  1108. monitor_baud = 115200
  1109. extra_scripts = ${common.extra_scripts}
  1110. [env:esp01-v9261f]
  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. monitor_baud = 115200
  1119. extra_scripts = ${common.extra_scripts}
  1120. [env:esp01-v9261f-ota]
  1121. platform = ${common.platform}
  1122. framework = arduino
  1123. board = esp01_1m
  1124. board_flash_mode = dout
  1125. lib_deps = ${common.lib_deps}
  1126. lib_ignore = ${common.lib_ignore}
  1127. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1128. upload_speed = 115200
  1129. upload_port = "192.168.4.1"
  1130. upload_flags = --auth=fibonacci --port 8266
  1131. monitor_baud = 115200
  1132. extra_scripts = ${common.extra_scripts}
  1133. [env:wemos-ech1560]
  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 = 460800
  1141. monitor_baud = 115200
  1142. extra_scripts = ${common.extra_scripts}
  1143. [env:wemos-ech1560-ota]
  1144. platform = ${common.platform}
  1145. framework = arduino
  1146. board = d1_mini
  1147. lib_deps = ${common.lib_deps}
  1148. lib_ignore = ${common.lib_ignore}
  1149. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1150. upload_speed = 115200
  1151. upload_port = "192.168.4.1"
  1152. upload_flags = --auth=fibonacci --port 8266
  1153. monitor_baud = 115200
  1154. extra_scripts = ${common.extra_scripts}
  1155. [env:esp01-ech1560]
  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. monitor_baud = 115200
  1164. extra_scripts = ${common.extra_scripts}
  1165. [env:esp01-ech1560-ota]
  1166. platform = ${common.platform}
  1167. framework = arduino
  1168. board = esp01_1m
  1169. board_flash_mode = dout
  1170. lib_deps = ${common.lib_deps}
  1171. lib_ignore = ${common.lib_ignore}
  1172. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1173. upload_speed = 115200
  1174. upload_port = "192.168.4.1"
  1175. upload_flags = --auth=fibonacci --port 8266
  1176. monitor_baud = 115200
  1177. extra_scripts = ${common.extra_scripts}
  1178. [env:mancavemade-esplive]
  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. monitor_baud = 115200
  1187. extra_scripts = ${common.extra_scripts}
  1188. [env:mancavemade-esplive-ota]
  1189. platform = ${common.platform}
  1190. framework = arduino
  1191. board = d1_mini
  1192. lib_deps = ${common.lib_deps}
  1193. lib_ignore = ${common.lib_ignore}
  1194. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1195. upload_speed = 460800
  1196. upload_port = "192.168.4.1"
  1197. upload_flags = --auth=fibonacci --port 8266
  1198. monitor_baud = 115200
  1199. extra_scripts = ${common.extra_scripts}
  1200. [env:intermittech-quinled]
  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. monitor_baud = 115200
  1209. extra_scripts = ${common.extra_scripts}
  1210. [env:intermittech-quinled-ota]
  1211. platform = ${common.platform}
  1212. framework = arduino
  1213. board = esp01_1m
  1214. board_flash_mode = dout
  1215. lib_deps = ${common.lib_deps}
  1216. lib_ignore = ${common.lib_ignore}
  1217. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1218. upload_speed = 115200
  1219. upload_port = "192.168.4.1"
  1220. upload_flags = --auth=fibonacci --port 8266
  1221. monitor_baud = 115200
  1222. extra_scripts = ${common.extra_scripts}
  1223. [env:xenon-sm-pw702u]
  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. monitor_baud = 115200
  1232. extra_scripts = ${common.extra_scripts}
  1233. [env:xenon-sm-pw702u-ota]
  1234. platform = ${common.platform}
  1235. framework = arduino
  1236. board = esp12e
  1237. board_flash_mode = dout
  1238. lib_deps = ${common.lib_deps}
  1239. lib_ignore = ${common.lib_ignore}
  1240. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1241. upload_speed = 115200
  1242. upload_port = "192.168.4.1"
  1243. upload_flags = --auth=fibonacci --port 8266
  1244. monitor_baud = 115200
  1245. extra_scripts = ${common.extra_scripts}
  1246. [env:authometion-lyt8266]
  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. monitor_baud = 115200
  1255. extra_scripts = ${common.extra_scripts}
  1256. [env:authometion-lyt8266-ota]
  1257. platform = ${common.platform}
  1258. framework = arduino
  1259. board = esp01_1m
  1260. board_flash_mode = dout
  1261. lib_deps = ${common.lib_deps}
  1262. lib_ignore = ${common.lib_ignore}
  1263. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1264. upload_speed = 115200
  1265. upload_port = "192.168.4.1"
  1266. upload_flags = --auth=fibonacci --port 8266
  1267. monitor_baud = 115200
  1268. extra_scripts = ${common.extra_scripts}
  1269. [env:kmc-70011]
  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. monitor_baud = 115200
  1278. extra_scripts = ${common.extra_scripts}
  1279. [env:kmc-70011-ota]
  1280. platform = ${common.platform}
  1281. framework = arduino
  1282. board = esp01_1m
  1283. board_flash_mode = dout
  1284. lib_deps = ${common.lib_deps}
  1285. lib_ignore = ${common.lib_ignore}
  1286. build_flags = ${common.build_flags_1m} -DKMC_70011
  1287. upload_speed = 115200
  1288. upload_port = "192.168.4.1"
  1289. upload_flags = --auth=fibonacci --port 8266
  1290. monitor_baud = 115200
  1291. extra_scripts = ${common.extra_scripts}
  1292. [env:yjzk-switch-2ch]
  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. monitor_baud = 115200
  1301. extra_scripts = ${common.extra_scripts}
  1302. [env:yjzk-switch-2ch-ota]
  1303. platform = ${common.platform}
  1304. framework = arduino
  1305. board = esp01_1m
  1306. board_flash_mode = dout
  1307. lib_deps = ${common.lib_deps}
  1308. lib_ignore = ${common.lib_ignore}
  1309. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1310. upload_speed = 115200
  1311. upload_port = "192.168.4.1"
  1312. upload_flags = --auth=fibonacci --port 8266
  1313. monitor_baud = 115200
  1314. extra_scripts = ${common.extra_scripts}
  1315. [env:generic-8ch]
  1316. platform = ${common.platform}
  1317. framework = arduino
  1318. board = d1_mini
  1319. lib_deps = ${common.lib_deps}
  1320. lib_ignore = ${common.lib_ignore}
  1321. build_flags = ${common.build_flags} -DGENERIC_8CH
  1322. upload_speed = 460800
  1323. monitor_baud = 115200
  1324. extra_scripts = ${common.extra_scripts}
  1325. [env:gizwits-witty-cloud]
  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. monitor_baud = 115200
  1334. extra_scripts = ${common.extra_scripts}
  1335. [env:gizwits-witty-cloud-ota]
  1336. platform = ${common.platform}
  1337. framework = arduino
  1338. board = esp12e
  1339. board_flash_mode = dout
  1340. lib_deps = ${common.lib_deps}
  1341. lib_ignore = ${common.lib_ignore}
  1342. build_flags = ${common.build_flags} -DGIZWITS_WITTY_CLOUD
  1343. upload_speed = 115200
  1344. upload_port = "${env.ESPURNA_IP}"
  1345. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1346. extra_scripts = ${common.extra_scripts}
  1347. [env:euromate-wifi-stecker-shuko]
  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. monitor_baud = 115200
  1356. extra_scripts = ${common.extra_scripts}
  1357. [env:euromate-wifi-stecker-shuko-ota]
  1358. platform = ${common.platform}
  1359. framework = arduino
  1360. board = esp01_1m
  1361. board_flash_mode = dout
  1362. lib_deps = ${common.lib_deps}
  1363. lib_ignore = ${common.lib_ignore}
  1364. build_flags = ${common.build_flags} -DEUROMATE_WIFI_STECKER_SCHUKO
  1365. upload_speed = 115200
  1366. upload_port = "${env.ESPURNA_IP}"
  1367. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1368. extra_scripts = ${common.extra_scripts}
  1369. [env:tonbux-powerstrip02]
  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. monitor_baud = 115200
  1378. extra_scripts = ${common.extra_scripts}
  1379. [env:tonbux-powerstrip02-ota]
  1380. platform = ${common.platform}
  1381. framework = arduino
  1382. board = esp01_1m
  1383. board_flash_mode = dout
  1384. lib_deps = ${common.lib_deps}
  1385. lib_ignore = ${common.lib_ignore}
  1386. build_flags = ${common.build_flags} -DTONBUX_POWERSTRIP02
  1387. upload_speed = 115200
  1388. upload_port = "${env.ESPURNA_IP}"
  1389. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1390. extra_scripts = ${common.extra_scripts}
  1391. [env:lingan-swa1]
  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. monitor_baud = 115200
  1400. extra_scripts = ${common.extra_scripts}
  1401. [env:lingan-swa1-ota]
  1402. platform = ${common.platform}
  1403. framework = arduino
  1404. board = esp01_1m
  1405. board_flash_mode = dout
  1406. lib_deps = ${common.lib_deps}
  1407. lib_ignore = ${common.lib_ignore}
  1408. build_flags = ${common.build_flags} -DLINGAN_SWA1
  1409. upload_speed = 115200
  1410. upload_port = "${env.ESPURNA_IP}"
  1411. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1412. extra_scripts = ${common.extra_scripts}
  1413. [env:stm-relay]
  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. monitor_baud = 115200
  1422. extra_scripts = ${common.extra_scripts}
  1423. [env:stm-relay-ota]
  1424. platform = ${common.platform}
  1425. framework = arduino
  1426. board = esp01_1m
  1427. board_flash_mode = dout
  1428. lib_deps = ${common.lib_deps}
  1429. lib_ignore = ${common.lib_ignore}
  1430. build_flags = ${common.build_flags_1m} -DSTM_RELAY
  1431. upload_speed = 115200
  1432. upload_port = "192.168.4.1"
  1433. upload_flags = --auth=fibonacci --port 8266
  1434. monitor_baud = 115200
  1435. extra_scripts = ${common.extra_scripts}
  1436. [env:heygo-hy02]
  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} -DHEYGO_HY02
  1444. monitor_baud = 115200
  1445. extra_scripts = ${common.extra_scripts}
  1446. [env:maxcio-wus0025]
  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} -DMAXCIO_WUS002S
  1454. monitor_baud = 115200
  1455. extra_scripts = ${common.extra_scripts}
  1456. [env:yidian-xsssa05]
  1457. platform = ${common.platform}
  1458. framework = arduino
  1459. board = esp01_1m
  1460. board_flash_mode = dout
  1461. lib_deps = ${common.lib_deps}
  1462. lib_ignore = ${common.lib_ignore}
  1463. build_flags = ${common.build_flags_1m} -DYIDIAN_XSSSA05
  1464. monitor_baud = 115200
  1465. extra_scripts = ${common.extra_scripts}
  1466. # ------------------------------------------------------------------------------
  1467. # GENERIC OTA ENVIRONMENTS
  1468. # ------------------------------------------------------------------------------
  1469. [env:esp8266-1m-ota]
  1470. platform = ${common.platform}
  1471. framework = arduino
  1472. board = esp01_1m
  1473. board_flash_mode = dout
  1474. lib_deps = ${common.lib_deps}
  1475. lib_ignore = ${common.lib_ignore}
  1476. build_flags = ${common.build_flags_1m} -D${env.ESPURNA_BOARD}
  1477. upload_speed = 115200
  1478. upload_port = "${env.ESPURNA_IP}"
  1479. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1480. extra_scripts = ${common.extra_scripts}
  1481. [env:esp8266-4m-ota]
  1482. platform = ${common.platform}
  1483. framework = arduino
  1484. board = esp12e
  1485. board_flash_mode = dout
  1486. lib_deps = ${common.lib_deps}
  1487. lib_ignore = ${common.lib_ignore}
  1488. build_flags = ${common.build_flags} -D${env.ESPURNA_BOARD}
  1489. upload_speed = 115200
  1490. upload_port = "${env.ESPURNA_IP}"
  1491. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1492. extra_scripts = ${common.extra_scripts}
  1493. # ------------------------------------------------------------------------------
  1494. # SPECIAL BUILDS - DO. NOT. USE. ever ---
  1495. # ------------------------------------------------------------------------------
  1496. [env:travis01]
  1497. platform = ${common.platform}
  1498. framework = arduino
  1499. board = esp12e
  1500. lib_deps = ${common.lib_deps}
  1501. lib_ignore = ${common.lib_ignore}
  1502. build_flags = ${common.build_flags} -DTRAVIS01
  1503. monitor_baud = 115200
  1504. extra_scripts = ${common.extra_scripts}
  1505. [env:travis02]
  1506. platform = ${common.platform}
  1507. framework = arduino
  1508. board = esp12e
  1509. lib_deps = ${common.lib_deps}
  1510. lib_ignore = ${common.lib_ignore}
  1511. build_flags = ${common.build_flags} -DTRAVIS02
  1512. monitor_baud = 115200
  1513. extra_scripts = ${common.extra_scripts}
  1514. [env:travis03]
  1515. platform = espressif8266@1.6.0
  1516. framework = arduino
  1517. board = esp12e
  1518. lib_deps = ${common.lib_deps}
  1519. lib_ignore = ${common.lib_ignore}
  1520. build_flags = ${common.build_flags} -DTRAVIS03 -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  1521. monitor_baud = 115200
  1522. extra_scripts = ${common.extra_scripts}