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.

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