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.

1654 lines
46 KiB

6 years ago
6 years ago
  1. [platformio]
  2. env_default = wemos-d1mini-relayshield
  3. src_dir = espurna
  4. data_dir = espurna/data
  5. [common]
  6. ; platform = espressif8266@1.6.0
  7. platform = espressif8266@1.5.0
  8. ; 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. [env:wemos-d1-tarpunashield]
  176. platform = ${common.platform}
  177. framework = arduino
  178. board = esp12e
  179. lib_deps = ${common.lib_deps}
  180. lib_ignore = ${common.lib_ignore}
  181. build_flags = ${common.build_flags} -DWEMOS_D1_TARPUNA_SHIELD
  182. monitor_baud = 115200
  183. extra_scripts = ${common.extra_scripts}
  184. # ------------------------------------------------------------------------------
  185. [env:itead-sonoff-basic]
  186. platform = ${common.platform}
  187. framework = arduino
  188. board = esp01_1m
  189. board_flash_mode = dout
  190. lib_deps = ${common.lib_deps}
  191. lib_ignore = ${common.lib_ignore}
  192. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
  193. monitor_baud = 115200
  194. extra_scripts = ${common.extra_scripts}
  195. [env:itead-sonoff-basic-ota]
  196. platform = ${common.platform}
  197. framework = arduino
  198. board = esp01_1m
  199. board_flash_mode = dout
  200. lib_deps = ${common.lib_deps}
  201. lib_ignore = ${common.lib_ignore}
  202. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
  203. upload_speed = 115200
  204. upload_port = "192.168.4.1"
  205. upload_flags = --auth=fibonacci --port 8266
  206. monitor_baud = 115200
  207. extra_scripts = ${common.extra_scripts}
  208. [env:itead-sonoff-basic-dht]
  209. platform = ${common.platform}
  210. framework = arduino
  211. board = esp01_1m
  212. board_flash_mode = dout
  213. lib_deps = ${common.lib_deps}
  214. lib_ignore = ${common.lib_ignore}
  215. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  216. monitor_baud = 115200
  217. extra_scripts = ${common.extra_scripts}
  218. [env:itead-sonoff-basic-dht-ota]
  219. platform = ${common.platform}
  220. framework = arduino
  221. board = esp01_1m
  222. board_flash_mode = dout
  223. lib_deps = ${common.lib_deps}
  224. lib_ignore = ${common.lib_ignore}
  225. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  226. upload_speed = 115200
  227. upload_port = "192.168.4.1"
  228. upload_flags = --auth=fibonacci --port 8266
  229. monitor_baud = 115200
  230. extra_scripts = ${common.extra_scripts}
  231. [env:itead-sonoff-basic-dallas]
  232. platform = ${common.platform}
  233. framework = arduino
  234. board = esp01_1m
  235. board_flash_mode = dout
  236. lib_deps = ${common.lib_deps}
  237. lib_ignore = ${common.lib_ignore}
  238. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1
  239. monitor_baud = 115200
  240. extra_scripts = ${common.extra_scripts}
  241. [env:itead-sonoff-rf]
  242. platform = ${common.platform}
  243. framework = arduino
  244. board = esp01_1m
  245. board_flash_mode = dout
  246. lib_deps = ${common.lib_deps}
  247. lib_ignore = ${common.lib_ignore}
  248. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RF
  249. monitor_baud = 115200
  250. extra_scripts = ${common.extra_scripts}
  251. [env:itead-sonoff-rf-ota]
  252. platform = ${common.platform}
  253. framework = arduino
  254. board = esp01_1m
  255. board_flash_mode = dout
  256. lib_deps = ${common.lib_deps}
  257. lib_ignore = ${common.lib_ignore}
  258. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RF
  259. upload_speed = 115200
  260. upload_port = "192.168.4.1"
  261. upload_flags = --auth=fibonacci --port 8266
  262. monitor_baud = 115200
  263. extra_scripts = ${common.extra_scripts}
  264. [env:itead-sonoff-th]
  265. platform = ${common.platform}
  266. framework = arduino
  267. board = esp01_1m
  268. board_flash_mode = dout
  269. lib_deps = ${common.lib_deps}
  270. lib_ignore = ${common.lib_ignore}
  271. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TH
  272. monitor_baud = 115200
  273. extra_scripts = ${common.extra_scripts}
  274. [env:itead-sonoff-th-ota]
  275. platform = ${common.platform}
  276. framework = arduino
  277. board = esp01_1m
  278. board_flash_mode = dout
  279. lib_deps = ${common.lib_deps}
  280. lib_ignore = ${common.lib_ignore}
  281. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TH
  282. upload_speed = 115200
  283. upload_port = "192.168.4.1"
  284. upload_flags = --auth=fibonacci --port 8266
  285. monitor_baud = 115200
  286. extra_scripts = ${common.extra_scripts}
  287. [env:itead-sonoff-pow]
  288. platform = ${common.platform}
  289. framework = arduino
  290. board = esp01_1m
  291. board_flash_mode = dout
  292. lib_deps = ${common.lib_deps}
  293. lib_ignore = ${common.lib_ignore}
  294. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW
  295. monitor_baud = 115200
  296. extra_scripts = ${common.extra_scripts}
  297. [env:itead-sonoff-pow-ota]
  298. platform = ${common.platform}
  299. framework = arduino
  300. board = esp01_1m
  301. board_flash_mode = dout
  302. lib_deps = ${common.lib_deps}
  303. lib_ignore = ${common.lib_ignore}
  304. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW
  305. upload_speed = 115200
  306. upload_port = "192.168.4.1"
  307. upload_flags = --auth=fibonacci --port 8266
  308. monitor_baud = 115200
  309. extra_scripts = ${common.extra_scripts}
  310. [env:itead-sonoff-dual]
  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. extra_scripts = ${common.extra_scripts}
  319. [env:itead-sonoff-dual-ota]
  320. platform = ${common.platform}
  321. framework = arduino
  322. board = esp01_1m
  323. board_flash_mode = dout
  324. lib_deps = ${common.lib_deps}
  325. lib_ignore = ${common.lib_ignore}
  326. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  327. upload_speed = 115200
  328. upload_port = "192.168.4.1"
  329. upload_flags = --auth=fibonacci --port 8266
  330. extra_scripts = ${common.extra_scripts}
  331. [env:itead-sonoff-dual-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. extra_scripts = ${common.extra_scripts}
  340. [env:itead-sonoff-dual-ota-r2]
  341. platform = ${common.platform}
  342. framework = arduino
  343. board = esp01_1m
  344. board_flash_mode = dout
  345. lib_deps = ${common.lib_deps}
  346. lib_ignore = ${common.lib_ignore}
  347. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL_R2
  348. upload_speed = 115200
  349. upload_port = "192.168.4.1"
  350. upload_flags = --auth=fibonacci --port 8266
  351. extra_scripts = ${common.extra_scripts}
  352. [env:itead-sonoff-4ch]
  353. platform = ${common.platform}
  354. framework = arduino
  355. board = esp01_1m
  356. board_flash_mode = dout
  357. lib_deps = ${common.lib_deps}
  358. lib_ignore = ${common.lib_ignore}
  359. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH
  360. monitor_baud = 115200
  361. extra_scripts = ${common.extra_scripts}
  362. [env:itead-sonoff-4ch-ota]
  363. platform = ${common.platform}
  364. framework = arduino
  365. board = esp01_1m
  366. board_flash_mode = dout
  367. lib_deps = ${common.lib_deps}
  368. lib_ignore = ${common.lib_ignore}
  369. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH
  370. upload_speed = 115200
  371. upload_port = "192.168.4.1"
  372. upload_flags = --auth=fibonacci --port 8266
  373. monitor_baud = 115200
  374. extra_scripts = ${common.extra_scripts}
  375. [env:itead-sonoff-4ch-pro]
  376. platform = ${common.platform}
  377. framework = arduino
  378. board = esp01_1m
  379. board_flash_mode = dout
  380. lib_deps = ${common.lib_deps}
  381. lib_ignore = ${common.lib_ignore}
  382. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO
  383. monitor_baud = 115200
  384. extra_scripts = ${common.extra_scripts}
  385. [env:itead-sonoff-4ch-pro-ota]
  386. platform = ${common.platform}
  387. framework = arduino
  388. board = esp01_1m
  389. board_flash_mode = dout
  390. lib_deps = ${common.lib_deps}
  391. lib_ignore = ${common.lib_ignore}
  392. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO
  393. upload_speed = 115200
  394. upload_port = "192.168.4.1"
  395. upload_flags = --auth=fibonacci --port 8266
  396. monitor_baud = 115200
  397. extra_scripts = ${common.extra_scripts}
  398. [env:itead-sonoff-touch]
  399. platform = ${common.platform}
  400. framework = arduino
  401. board = esp01_1m
  402. board_flash_mode = dout
  403. lib_deps = ${common.lib_deps}
  404. lib_ignore = ${common.lib_ignore}
  405. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH
  406. monitor_baud = 115200
  407. extra_scripts = ${common.extra_scripts}
  408. [env:itead-sonoff-touch-ota]
  409. platform = ${common.platform}
  410. framework = arduino
  411. board = esp01_1m
  412. board_flash_mode = dout
  413. lib_deps = ${common.lib_deps}
  414. lib_ignore = ${common.lib_ignore}
  415. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH
  416. upload_speed = 115200
  417. upload_port = "192.168.4.1"
  418. upload_flags = --auth=fibonacci --port 8266
  419. monitor_baud = 115200
  420. extra_scripts = ${common.extra_scripts}
  421. [env:itead-sonoff-b1]
  422. platform = ${common.platform}
  423. framework = arduino
  424. board = esp01_1m
  425. board_flash_mode = dout
  426. lib_deps = ${common.lib_deps}
  427. lib_ignore = ${common.lib_ignore}
  428. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
  429. monitor_baud = 115200
  430. extra_scripts = ${common.extra_scripts}
  431. [env:itead-sonoff-b1-ota]
  432. platform = ${common.platform}
  433. framework = arduino
  434. board = esp01_1m
  435. board_flash_mode = dout
  436. lib_deps = ${common.lib_deps}
  437. lib_ignore = ${common.lib_ignore}
  438. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
  439. upload_speed = 115200
  440. upload_port = "192.168.4.1"
  441. upload_flags = --auth=fibonacci --port 8266
  442. monitor_baud = 115200
  443. extra_scripts = ${common.extra_scripts}
  444. [env:itead-sonoff-t1-1ch]
  445. platform = ${common.platform}
  446. framework = arduino
  447. board = esp01_1m
  448. board_flash_mode = dout
  449. lib_deps = ${common.lib_deps}
  450. lib_ignore = ${common.lib_ignore}
  451. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH
  452. monitor_baud = 115200
  453. extra_scripts = ${common.extra_scripts}
  454. [env:itead-sonoff-t1-1ch-ota]
  455. platform = ${common.platform}
  456. framework = arduino
  457. board = esp01_1m
  458. board_flash_mode = dout
  459. lib_deps = ${common.lib_deps}
  460. lib_ignore = ${common.lib_ignore}
  461. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH
  462. upload_speed = 115200
  463. upload_port = "192.168.4.1"
  464. upload_flags = --auth=fibonacci --port 8266
  465. monitor_baud = 115200
  466. extra_scripts = ${common.extra_scripts}
  467. [env:itead-sonoff-t1-2ch]
  468. platform = ${common.platform}
  469. framework = arduino
  470. board = esp01_1m
  471. board_flash_mode = dout
  472. lib_deps = ${common.lib_deps}
  473. lib_ignore = ${common.lib_ignore}
  474. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
  475. monitor_baud = 115200
  476. extra_scripts = ${common.extra_scripts}
  477. [env:itead-sonoff-t1-2ch-ota]
  478. platform = ${common.platform}
  479. framework = arduino
  480. board = esp01_1m
  481. board_flash_mode = dout
  482. lib_deps = ${common.lib_deps}
  483. lib_ignore = ${common.lib_ignore}
  484. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
  485. upload_speed = 115200
  486. upload_port = "192.168.4.1"
  487. upload_flags = --auth=fibonacci --port 8266
  488. monitor_baud = 115200
  489. extra_scripts = ${common.extra_scripts}
  490. [env:itead-sonoff-t1-3ch]
  491. platform = ${common.platform}
  492. framework = arduino
  493. board = esp01_1m
  494. board_flash_mode = dout
  495. lib_deps = ${common.lib_deps}
  496. lib_ignore = ${common.lib_ignore}
  497. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
  498. monitor_baud = 115200
  499. extra_scripts = ${common.extra_scripts}
  500. [env:itead-sonoff-t1-3ch-ota]
  501. platform = ${common.platform}
  502. framework = arduino
  503. board = esp01_1m
  504. board_flash_mode = dout
  505. lib_deps = ${common.lib_deps}
  506. lib_ignore = ${common.lib_ignore}
  507. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
  508. upload_speed = 115200
  509. upload_port = "192.168.4.1"
  510. upload_flags = --auth=fibonacci --port 8266
  511. monitor_baud = 115200
  512. extra_scripts = ${common.extra_scripts}
  513. [env:itead-sonoff-led]
  514. platform = ${common.platform}
  515. framework = arduino
  516. board = esp01_1m
  517. board_flash_mode = dout
  518. lib_deps = ${common.lib_deps}
  519. lib_ignore = ${common.lib_ignore}
  520. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
  521. monitor_baud = 115200
  522. extra_scripts = ${common.extra_scripts}
  523. [env:itead-sonoff-led-ota]
  524. platform = ${common.platform}
  525. framework = arduino
  526. board = esp01_1m
  527. board_flash_mode = dout
  528. lib_deps = ${common.lib_deps}
  529. lib_ignore = ${common.lib_ignore}
  530. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
  531. upload_speed = 115200
  532. upload_port = "192.168.4.1"
  533. upload_flags = --auth=fibonacci --port 8266
  534. monitor_baud = 115200
  535. extra_scripts = ${common.extra_scripts}
  536. [env:itead-sonoff-rfbridge]
  537. platform = ${common.platform}
  538. framework = arduino
  539. board = esp01_1m
  540. board_flash_mode = dout
  541. lib_deps = ${common.lib_deps}
  542. lib_ignore = ${common.lib_ignore}
  543. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  544. monitor_baud = 19200
  545. extra_scripts = ${common.extra_scripts}
  546. [env:itead-sonoff-rfbridge-ota]
  547. platform = ${common.platform}
  548. framework = arduino
  549. board = esp01_1m
  550. board_flash_mode = dout
  551. lib_deps = ${common.lib_deps}
  552. lib_ignore = ${common.lib_ignore}
  553. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  554. upload_speed = 115200
  555. upload_port = "192.168.4.1"
  556. upload_flags = --auth=Algernon1 --port 8266
  557. monitor_baud = 19200
  558. extra_scripts = ${common.extra_scripts}
  559. # ------------------------------------------------------------------------------
  560. [env:itead-slampher]
  561. platform = ${common.platform}
  562. framework = arduino
  563. board = esp01_1m
  564. board_flash_mode = dout
  565. lib_deps = ${common.lib_deps}
  566. lib_ignore = ${common.lib_ignore}
  567. build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
  568. monitor_baud = 115200
  569. extra_scripts = ${common.extra_scripts}
  570. [env:itead-slampher-ota]
  571. platform = ${common.platform}
  572. framework = arduino
  573. board = esp01_1m
  574. board_flash_mode = dout
  575. lib_deps = ${common.lib_deps}
  576. lib_ignore = ${common.lib_ignore}
  577. build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
  578. upload_speed = 115200
  579. upload_port = "192.168.4.1"
  580. upload_flags = --auth=fibonacci --port 8266
  581. monitor_baud = 115200
  582. extra_scripts = ${common.extra_scripts}
  583. [env:itead-s20]
  584. platform = ${common.platform}
  585. framework = arduino
  586. board = esp01_1m
  587. board_flash_mode = dout
  588. lib_deps = ${common.lib_deps}
  589. lib_ignore = ${common.lib_ignore}
  590. build_flags = ${common.build_flags_1m} -DITEAD_S20
  591. monitor_baud = 115200
  592. extra_scripts = ${common.extra_scripts}
  593. [env:itead-s20-ota]
  594. platform = ${common.platform}
  595. framework = arduino
  596. board = esp01_1m
  597. board_flash_mode = dout
  598. lib_deps = ${common.lib_deps}
  599. lib_ignore = ${common.lib_ignore}
  600. build_flags = ${common.build_flags_1m} -DITEAD_S20
  601. upload_speed = 115200
  602. upload_port = "192.168.4.1"
  603. upload_flags = --auth=fibonacci --port 8266
  604. monitor_baud = 115200
  605. extra_scripts = ${common.extra_scripts}
  606. [env:itead-1ch-inching]
  607. platform = ${common.platform}
  608. framework = arduino
  609. board = esp01_1m
  610. board_flash_mode = dout
  611. lib_deps = ${common.lib_deps}
  612. lib_ignore = ${common.lib_ignore}
  613. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  614. monitor_baud = 115200
  615. extra_scripts = ${common.extra_scripts}
  616. [env:itead-1ch-inching-ota]
  617. platform = ${common.platform}
  618. framework = arduino
  619. board = esp01_1m
  620. board_flash_mode = dout
  621. lib_deps = ${common.lib_deps}
  622. lib_ignore = ${common.lib_ignore}
  623. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  624. upload_speed = 115200
  625. upload_port = "192.168.4.1"
  626. upload_flags = --auth=fibonacci --port 8266
  627. monitor_baud = 115200
  628. extra_scripts = ${common.extra_scripts}
  629. [env:itead-motor]
  630. platform = ${common.platform}
  631. framework = arduino
  632. board = esp01_1m
  633. board_flash_mode = dout
  634. lib_deps = ${common.lib_deps}
  635. lib_ignore = ${common.lib_ignore}
  636. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  637. monitor_baud = 115200
  638. extra_scripts = ${common.extra_scripts}
  639. [env:itead-motor-ota]
  640. platform = ${common.platform}
  641. framework = arduino
  642. board = esp01_1m
  643. board_flash_mode = dout
  644. lib_deps = ${common.lib_deps}
  645. lib_ignore = ${common.lib_ignore}
  646. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  647. upload_speed = 115200
  648. upload_port = "192.168.4.1"
  649. upload_flags = --auth=fibonacci --port 8266
  650. monitor_baud = 115200
  651. extra_scripts = ${common.extra_scripts}
  652. # ------------------------------------------------------------------------------
  653. [env:electrodragon-wifi-iot]
  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. monitor_baud = 115200
  661. extra_scripts = ${common.extra_scripts}
  662. [env:electrodragon-wifi-iot-ota]
  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. upload_speed = 115200
  670. upload_port = "192.168.4.1"
  671. upload_flags = --auth=fibonacci --port 8266
  672. monitor_baud = 115200
  673. extra_scripts = ${common.extra_scripts}
  674. [env:workchoice-ecoplug]
  675. platform = ${common.platform}
  676. framework = arduino
  677. board = esp01_1m
  678. board_flash_mode = dout
  679. lib_deps = ${common.lib_deps}
  680. lib_ignore = ${common.lib_ignore}
  681. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  682. monitor_baud = 115200
  683. extra_scripts = ${common.extra_scripts}
  684. [env:workchoice-ecoplug-ota]
  685. platform = ${common.platform}
  686. framework = arduino
  687. board = esp01_1m
  688. board_flash_mode = dout
  689. lib_deps = ${common.lib_deps}
  690. lib_ignore = ${common.lib_ignore}
  691. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  692. upload_speed = 115200
  693. upload_port = "192.168.4.1"
  694. upload_flags = --auth=fibonacci --port 8266
  695. monitor_baud = 115200
  696. extra_scripts = ${common.extra_scripts}
  697. [env:jangoe-wifi-relay-nc]
  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. monitor_baud = 115200
  705. extra_scripts = ${common.extra_scripts}
  706. [env:jangoe-wifi-relay-nc-ota]
  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. upload_speed = 115200
  714. upload_port = "192.168.4.1"
  715. upload_flags = --auth=fibonacci --port 8266
  716. monitor_baud = 115200
  717. extra_scripts = ${common.extra_scripts}
  718. [env:jangoe-wifi-relay-no]
  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. monitor_baud = 115200
  726. extra_scripts = ${common.extra_scripts}
  727. [env:jangoe-wifi-relay-no-ota]
  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. upload_speed = 115200
  735. upload_port = "192.168.4.1"
  736. upload_flags = --auth=fibonacci --port 8266
  737. monitor_baud = 115200
  738. extra_scripts = ${common.extra_scripts}
  739. [env:openenergymonitor-mqtt-relay]
  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. monitor_baud = 115200
  747. extra_scripts = ${common.extra_scripts}
  748. [env:openenergymonitor-mqtt-relay-ota]
  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. upload_speed = 115200
  756. upload_port = "192.168.4.1"
  757. upload_flags = --auth=fibonacci --port 8266
  758. monitor_baud = 115200
  759. extra_scripts = ${common.extra_scripts}
  760. [env:jorgegarcia-wifi-relays]
  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. monitor_baud = 115200
  768. extra_scripts = ${common.extra_scripts}
  769. [env:jorgegarcia-wifi-relays-ota]
  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. upload_speed = 115200
  777. upload_port = "192.168.4.1"
  778. upload_flags = --auth=fibonacci --port 8266
  779. monitor_baud = 115200
  780. extra_scripts = ${common.extra_scripts}
  781. [env:aithinker-ai-light]
  782. platform = ${common.platform}
  783. framework = arduino
  784. board = esp01_1m
  785. board_flash_mode = dout
  786. lib_deps = ${common.lib_deps}
  787. lib_ignore = ${common.lib_ignore}
  788. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  789. monitor_baud = 115200
  790. extra_scripts = ${common.extra_scripts}
  791. [env:aithinker-ai-light-ota]
  792. platform = ${common.platform}
  793. framework = arduino
  794. board = esp01_1m
  795. board_flash_mode = dout
  796. lib_deps = ${common.lib_deps}
  797. lib_ignore = ${common.lib_ignore}
  798. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  799. upload_speed = 115200
  800. upload_port = "192.168.4.1"
  801. upload_flags = --auth=fibonacci --port 8266
  802. monitor_baud = 115200
  803. extra_scripts = ${common.extra_scripts}
  804. [env:magichome-led-controller]
  805. platform = ${common.platform}
  806. framework = arduino
  807. board = esp01_1m
  808. board_flash_mode = dout
  809. lib_deps = ${common.lib_deps}
  810. lib_ignore = ${common.lib_ignore}
  811. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  812. monitor_baud = 115200
  813. extra_scripts = ${common.extra_scripts}
  814. [env:magichome-led-controller-ota]
  815. platform = ${common.platform}
  816. framework = arduino
  817. board = esp01_1m
  818. board_flash_mode = dout
  819. lib_deps = ${common.lib_deps}
  820. lib_ignore = ${common.lib_ignore}
  821. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  822. upload_speed = 115200
  823. upload_port = "192.168.4.1"
  824. upload_flags = --auth=fibonacci --port 8266
  825. monitor_baud = 115200
  826. extra_scripts = ${common.extra_scripts}
  827. [env:magichome-led-controller-20]
  828. platform = ${common.platform}
  829. framework = arduino
  830. board = esp01_1m
  831. board_flash_mode = dout
  832. lib_deps = ${common.lib_deps}
  833. lib_ignore = ${common.lib_ignore}
  834. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  835. monitor_baud = 115200
  836. extra_scripts = ${common.extra_scripts}
  837. [env:magichome-led-controller-20-ota]
  838. platform = ${common.platform}
  839. framework = arduino
  840. board = esp01_1m
  841. board_flash_mode = dout
  842. lib_deps = ${common.lib_deps}
  843. lib_ignore = ${common.lib_ignore}
  844. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  845. upload_port = "192.168.4.1"
  846. upload_flags = --auth=fibonacci --port 8266
  847. monitor_baud = 115200
  848. extra_scripts = ${common.extra_scripts}
  849. [env:huacanxing-h801]
  850. platform = ${common.platform}
  851. framework = arduino
  852. board = esp01_1m
  853. board_flash_mode = dout
  854. lib_deps = ${common.lib_deps}
  855. lib_ignore = ${common.lib_ignore}
  856. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  857. monitor_baud = 115200
  858. extra_scripts = ${common.extra_scripts}
  859. [env:huacanxing-h801-ota]
  860. platform = ${common.platform}
  861. framework = arduino
  862. board = esp01_1m
  863. board_flash_mode = dout
  864. lib_deps = ${common.lib_deps}
  865. lib_ignore = ${common.lib_ignore}
  866. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  867. upload_speed = 115200
  868. upload_port = "192.168.4.1"
  869. upload_flags = --auth=fibonacci --port 8266
  870. monitor_baud = 115200
  871. extra_scripts = ${common.extra_scripts}
  872. [env:huacanxing-h802]
  873. platform = ${common.platform}
  874. framework = arduino
  875. board = esp01_1m
  876. board_flash_mode = dout
  877. lib_deps = ${common.lib_deps}
  878. lib_ignore = ${common.lib_ignore}
  879. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  880. monitor_baud = 115200
  881. extra_scripts = ${common.extra_scripts}
  882. [env:huacanxing-h802-ota]
  883. platform = ${common.platform}
  884. framework = arduino
  885. board = esp01_1m
  886. board_flash_mode = dout
  887. lib_deps = ${common.lib_deps}
  888. lib_ignore = ${common.lib_ignore}
  889. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  890. upload_speed = 115200
  891. upload_port = "192.168.4.1"
  892. upload_flags = --auth=fibonacci --port 8266
  893. monitor_baud = 115200
  894. extra_scripts = ${common.extra_scripts}
  895. [env:arilux-al-lc01]
  896. platform = ${common.platform}
  897. framework = arduino
  898. board = esp01_1m
  899. board_flash_mode = dout
  900. lib_deps = ${common.lib_deps}
  901. lib_ignore = ${common.lib_ignore}
  902. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  903. monitor_baud = 115200
  904. extra_scripts = ${common.extra_scripts}
  905. [env:arilux-al-lc01-ota]
  906. platform = ${common.platform}
  907. framework = arduino
  908. board = esp01_1m
  909. board_flash_mode = dout
  910. lib_deps = ${common.lib_deps}
  911. lib_ignore = ${common.lib_ignore}
  912. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  913. upload_speed = 115200
  914. upload_port = "192.168.4.1"
  915. upload_flags = --auth=fibonacci --port 8266
  916. monitor_baud = 115200
  917. extra_scripts = ${common.extra_scripts}
  918. [env:arilux-al-lc02]
  919. platform = ${common.platform}
  920. framework = arduino
  921. board = esp01_1m
  922. board_flash_mode = dout
  923. lib_deps = ${common.lib_deps}
  924. lib_ignore = ${common.lib_ignore}
  925. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  926. monitor_baud = 115200
  927. extra_scripts = ${common.extra_scripts}
  928. [env:arilux-al-lc02-ota]
  929. platform = ${common.platform}
  930. framework = arduino
  931. board = esp01_1m
  932. board_flash_mode = dout
  933. lib_deps = ${common.lib_deps}
  934. lib_ignore = ${common.lib_ignore}
  935. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  936. upload_speed = 115200
  937. upload_port = "192.168.4.1"
  938. upload_flags = --auth=fibonacci --port 8266
  939. monitor_baud = 115200
  940. extra_scripts = ${common.extra_scripts}
  941. [env:arilux-al-lc06]
  942. platform = ${common.platform}
  943. framework = arduino
  944. board = esp01_1m
  945. board_flash_mode = dout
  946. lib_deps = ${common.lib_deps}
  947. lib_ignore = ${common.lib_ignore}
  948. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  949. monitor_baud = 115200
  950. extra_scripts = ${common.extra_scripts}
  951. [env:arilux-al-lc06-ota]
  952. platform = ${common.platform}
  953. framework = arduino
  954. board = esp01_1m
  955. board_flash_mode = dout
  956. lib_deps = ${common.lib_deps}
  957. lib_ignore = ${common.lib_ignore}
  958. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  959. upload_speed = 115200
  960. upload_port = "192.168.4.1"
  961. upload_flags = --auth=fibonacci --port 8266
  962. monitor_baud = 115200
  963. extra_scripts = ${common.extra_scripts}
  964. [env:arilux-al-lc11]
  965. platform = ${common.platform}
  966. framework = arduino
  967. board = esp01_1m
  968. board_flash_mode = dout
  969. lib_deps = ${common.lib_deps}
  970. lib_ignore = ${common.lib_ignore}
  971. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  972. monitor_baud = 115200
  973. extra_scripts = ${common.extra_scripts}
  974. [env:arilux-al-lc11-ota]
  975. platform = ${common.platform}
  976. framework = arduino
  977. board = esp01_1m
  978. board_flash_mode = dout
  979. lib_deps = ${common.lib_deps}
  980. lib_ignore = ${common.lib_ignore}
  981. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  982. upload_speed = 115200
  983. upload_port = "192.168.4.1"
  984. upload_flags = --auth=fibonacci --port 8266
  985. monitor_baud = 115200
  986. extra_scripts = ${common.extra_scripts}
  987. [env:arilux-e27]
  988. platform = ${common.platform}
  989. framework = arduino
  990. board = esp01_1m
  991. board_flash_mode = dout
  992. lib_deps = ${common.lib_deps}
  993. lib_ignore = ${common.lib_ignore}
  994. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  995. monitor_baud = 115200
  996. extra_scripts = ${common.extra_scripts}
  997. [env:arilux-e27-ota]
  998. platform = ${common.platform}
  999. framework = arduino
  1000. board = esp01_1m
  1001. board_flash_mode = dout
  1002. lib_deps = ${common.lib_deps}
  1003. lib_ignore = ${common.lib_ignore}
  1004. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  1005. upload_speed = 115200
  1006. upload_port = "192.168.4.1"
  1007. upload_flags = --auth=fibonacci --port 8266
  1008. monitor_baud = 115200
  1009. extra_scripts = ${common.extra_scripts}
  1010. [env:itead-bnsz01]
  1011. platform = ${common.platform}
  1012. framework = arduino
  1013. board = esp01_1m
  1014. board_flash_mode = dout
  1015. lib_deps = ${common.lib_deps}
  1016. lib_ignore = ${common.lib_ignore}
  1017. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1018. monitor_baud = 115200
  1019. extra_scripts = ${common.extra_scripts}
  1020. [env:itead-bnsz01-ota]
  1021. platform = ${common.platform}
  1022. framework = arduino
  1023. board = esp01_1m
  1024. board_flash_mode = dout
  1025. lib_deps = ${common.lib_deps}
  1026. lib_ignore = ${common.lib_ignore}
  1027. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1028. upload_speed = 115200
  1029. upload_port = "192.168.4.1"
  1030. upload_flags = --auth=fibonacci --port 8266
  1031. monitor_baud = 115200
  1032. extra_scripts = ${common.extra_scripts}
  1033. [env:wion-50055]
  1034. platform = ${common.platform}
  1035. framework = arduino
  1036. board = esp01_1m
  1037. board_flash_mode = dout
  1038. lib_deps = ${common.lib_deps}
  1039. lib_ignore = ${common.lib_ignore}
  1040. build_flags = ${common.build_flags_1m} -DWION_50055
  1041. monitor_baud = 115200
  1042. extra_scripts = ${common.extra_scripts}
  1043. [env:wion-50055-ota]
  1044. platform = ${common.platform}
  1045. framework = arduino
  1046. board = esp01_1m
  1047. board_flash_mode = dout
  1048. lib_deps = ${common.lib_deps}
  1049. lib_ignore = ${common.lib_ignore}
  1050. build_flags = ${common.build_flags_1m} -DWION_50055
  1051. upload_speed = 115200
  1052. upload_port = "192.168.4.1"
  1053. upload_flags = --auth=fibonacci --port 8266
  1054. monitor_baud = 115200
  1055. extra_scripts = ${common.extra_scripts}
  1056. [env:exs-wifi-relay-v31]
  1057. platform = ${common.platform}
  1058. framework = arduino
  1059. board = esp07
  1060. board_flash_mode = dout
  1061. lib_deps = ${common.lib_deps}
  1062. lib_ignore = ${common.lib_ignore}
  1063. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1064. monitor_baud = 115200
  1065. extra_scripts = ${common.extra_scripts}
  1066. [env:exs-wifi-relay-v31-ota]
  1067. platform = ${common.platform}
  1068. framework = arduino
  1069. board = esp07
  1070. board_flash_mode = dout
  1071. lib_deps = ${common.lib_deps}
  1072. lib_ignore = ${common.lib_ignore}
  1073. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1074. upload_speed = 115200
  1075. upload_port = "192.168.4.1"
  1076. upload_flags = --auth=fibonacci --port 8266
  1077. monitor_baud = 115200
  1078. extra_scripts = ${common.extra_scripts}
  1079. [env:wemos-v9261f]
  1080. platform = ${common.platform}
  1081. framework = arduino
  1082. board = d1_mini
  1083. lib_deps = ${common.lib_deps}
  1084. lib_ignore = ${common.lib_ignore}
  1085. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1086. upload_speed = 460800
  1087. monitor_baud = 115200
  1088. extra_scripts = ${common.extra_scripts}
  1089. [env:wemos-v9261f-ota]
  1090. platform = ${common.platform}
  1091. framework = arduino
  1092. board = d1_mini
  1093. lib_deps = ${common.lib_deps}
  1094. lib_ignore = ${common.lib_ignore}
  1095. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1096. upload_speed = 115200
  1097. upload_port = "192.168.4.1"
  1098. upload_flags = --auth=fibonacci --port 8266
  1099. monitor_baud = 115200
  1100. extra_scripts = ${common.extra_scripts}
  1101. [env:esp01-v9261f]
  1102. platform = ${common.platform}
  1103. framework = arduino
  1104. board = esp01_1m
  1105. board_flash_mode = dout
  1106. lib_deps = ${common.lib_deps}
  1107. lib_ignore = ${common.lib_ignore}
  1108. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1109. monitor_baud = 115200
  1110. extra_scripts = ${common.extra_scripts}
  1111. [env:esp01-v9261f-ota]
  1112. platform = ${common.platform}
  1113. framework = arduino
  1114. board = esp01_1m
  1115. board_flash_mode = dout
  1116. lib_deps = ${common.lib_deps}
  1117. lib_ignore = ${common.lib_ignore}
  1118. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1119. upload_speed = 115200
  1120. upload_port = "192.168.4.1"
  1121. upload_flags = --auth=fibonacci --port 8266
  1122. monitor_baud = 115200
  1123. extra_scripts = ${common.extra_scripts}
  1124. [env:wemos-ech1560]
  1125. platform = ${common.platform}
  1126. framework = arduino
  1127. board = d1_mini
  1128. lib_deps = ${common.lib_deps}
  1129. lib_ignore = ${common.lib_ignore}
  1130. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1131. upload_speed = 460800
  1132. monitor_baud = 115200
  1133. extra_scripts = ${common.extra_scripts}
  1134. [env:wemos-ech1560-ota]
  1135. platform = ${common.platform}
  1136. framework = arduino
  1137. board = d1_mini
  1138. lib_deps = ${common.lib_deps}
  1139. lib_ignore = ${common.lib_ignore}
  1140. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1141. upload_speed = 115200
  1142. upload_port = "192.168.4.1"
  1143. upload_flags = --auth=fibonacci --port 8266
  1144. monitor_baud = 115200
  1145. extra_scripts = ${common.extra_scripts}
  1146. [env:esp01-ech1560]
  1147. platform = ${common.platform}
  1148. framework = arduino
  1149. board = esp01_1m
  1150. board_flash_mode = dout
  1151. lib_deps = ${common.lib_deps}
  1152. lib_ignore = ${common.lib_ignore}
  1153. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1154. monitor_baud = 115200
  1155. extra_scripts = ${common.extra_scripts}
  1156. [env:esp01-ech1560-ota]
  1157. platform = ${common.platform}
  1158. framework = arduino
  1159. board = esp01_1m
  1160. board_flash_mode = dout
  1161. lib_deps = ${common.lib_deps}
  1162. lib_ignore = ${common.lib_ignore}
  1163. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1164. upload_speed = 115200
  1165. upload_port = "192.168.4.1"
  1166. upload_flags = --auth=fibonacci --port 8266
  1167. monitor_baud = 115200
  1168. extra_scripts = ${common.extra_scripts}
  1169. [env:mancavemade-esplive]
  1170. platform = ${common.platform}
  1171. framework = arduino
  1172. board = d1_mini
  1173. lib_deps = ${common.lib_deps}
  1174. lib_ignore = ${common.lib_ignore}
  1175. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1176. upload_speed = 460800
  1177. monitor_baud = 115200
  1178. extra_scripts = ${common.extra_scripts}
  1179. [env:mancavemade-esplive-ota]
  1180. platform = ${common.platform}
  1181. framework = arduino
  1182. board = d1_mini
  1183. lib_deps = ${common.lib_deps}
  1184. lib_ignore = ${common.lib_ignore}
  1185. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1186. upload_speed = 460800
  1187. upload_port = "192.168.4.1"
  1188. upload_flags = --auth=fibonacci --port 8266
  1189. monitor_baud = 115200
  1190. extra_scripts = ${common.extra_scripts}
  1191. [env:intermittech-quinled]
  1192. platform = ${common.platform}
  1193. framework = arduino
  1194. board = esp01_1m
  1195. board_flash_mode = dout
  1196. lib_deps = ${common.lib_deps}
  1197. lib_ignore = ${common.lib_ignore}
  1198. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1199. monitor_baud = 115200
  1200. extra_scripts = ${common.extra_scripts}
  1201. [env:intermittech-quinled-ota]
  1202. platform = ${common.platform}
  1203. framework = arduino
  1204. board = esp01_1m
  1205. board_flash_mode = dout
  1206. lib_deps = ${common.lib_deps}
  1207. lib_ignore = ${common.lib_ignore}
  1208. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1209. upload_speed = 115200
  1210. upload_port = "192.168.4.1"
  1211. upload_flags = --auth=fibonacci --port 8266
  1212. monitor_baud = 115200
  1213. extra_scripts = ${common.extra_scripts}
  1214. [env:xenon-sm-pw702u]
  1215. platform = ${common.platform}
  1216. framework = arduino
  1217. board = esp12e
  1218. board_flash_mode = dout
  1219. lib_deps = ${common.lib_deps}
  1220. lib_ignore = ${common.lib_ignore}
  1221. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1222. monitor_baud = 115200
  1223. extra_scripts = ${common.extra_scripts}
  1224. [env:xenon-sm-pw702u-ota]
  1225. platform = ${common.platform}
  1226. framework = arduino
  1227. board = esp12e
  1228. board_flash_mode = dout
  1229. lib_deps = ${common.lib_deps}
  1230. lib_ignore = ${common.lib_ignore}
  1231. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1232. upload_speed = 115200
  1233. upload_port = "192.168.4.1"
  1234. upload_flags = --auth=fibonacci --port 8266
  1235. monitor_baud = 115200
  1236. extra_scripts = ${common.extra_scripts}
  1237. [env:authometion-lyt8266]
  1238. platform = ${common.platform}
  1239. framework = arduino
  1240. board = esp01_1m
  1241. board_flash_mode = dout
  1242. lib_deps = ${common.lib_deps}
  1243. lib_ignore = ${common.lib_ignore}
  1244. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1245. monitor_baud = 115200
  1246. extra_scripts = ${common.extra_scripts}
  1247. [env:authometion-lyt8266-ota]
  1248. platform = ${common.platform}
  1249. framework = arduino
  1250. board = esp01_1m
  1251. board_flash_mode = dout
  1252. lib_deps = ${common.lib_deps}
  1253. lib_ignore = ${common.lib_ignore}
  1254. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1255. upload_speed = 115200
  1256. upload_port = "192.168.4.1"
  1257. upload_flags = --auth=fibonacci --port 8266
  1258. monitor_baud = 115200
  1259. extra_scripts = ${common.extra_scripts}
  1260. [env:kmc-70011]
  1261. platform = ${common.platform}
  1262. framework = arduino
  1263. board = esp01_1m
  1264. board_flash_mode = dout
  1265. lib_deps = ${common.lib_deps}
  1266. lib_ignore = ${common.lib_ignore}
  1267. build_flags = ${common.build_flags_1m} -DKMC_70011
  1268. monitor_baud = 115200
  1269. extra_scripts = ${common.extra_scripts}
  1270. [env:kmc-70011-ota]
  1271. platform = ${common.platform}
  1272. framework = arduino
  1273. board = esp01_1m
  1274. board_flash_mode = dout
  1275. lib_deps = ${common.lib_deps}
  1276. lib_ignore = ${common.lib_ignore}
  1277. build_flags = ${common.build_flags_1m} -DKMC_70011
  1278. upload_speed = 115200
  1279. upload_port = "192.168.4.1"
  1280. upload_flags = --auth=fibonacci --port 8266
  1281. monitor_baud = 115200
  1282. extra_scripts = ${common.extra_scripts}
  1283. [env:yjzk-switch-2ch]
  1284. platform = ${common.platform}
  1285. framework = arduino
  1286. board = esp01_1m
  1287. board_flash_mode = dout
  1288. lib_deps = ${common.lib_deps}
  1289. lib_ignore = ${common.lib_ignore}
  1290. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1291. monitor_baud = 115200
  1292. extra_scripts = ${common.extra_scripts}
  1293. [env:yjzk-switch-2ch-ota]
  1294. platform = ${common.platform}
  1295. framework = arduino
  1296. board = esp01_1m
  1297. board_flash_mode = dout
  1298. lib_deps = ${common.lib_deps}
  1299. lib_ignore = ${common.lib_ignore}
  1300. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1301. upload_speed = 115200
  1302. upload_port = "192.168.4.1"
  1303. upload_flags = --auth=fibonacci --port 8266
  1304. monitor_baud = 115200
  1305. extra_scripts = ${common.extra_scripts}
  1306. [env:generic-8ch]
  1307. platform = ${common.platform}
  1308. framework = arduino
  1309. board = d1_mini
  1310. lib_deps = ${common.lib_deps}
  1311. lib_ignore = ${common.lib_ignore}
  1312. build_flags = ${common.build_flags} -DGENERIC_8CH
  1313. upload_speed = 460800
  1314. monitor_baud = 115200
  1315. extra_scripts = ${common.extra_scripts}
  1316. [env:gizwits-witty-cloud]
  1317. platform = ${common.platform}
  1318. framework = arduino
  1319. board = esp12e
  1320. board_flash_mode = dout
  1321. lib_deps = ${common.lib_deps}
  1322. lib_ignore = ${common.lib_ignore}
  1323. build_flags = ${common.build_flags} -DGIZWITS_WITTY_CLOUD
  1324. monitor_baud = 115200
  1325. extra_scripts = ${common.extra_scripts}
  1326. [env:gizwits-witty-cloud-ota]
  1327. platform = ${common.platform}
  1328. framework = arduino
  1329. board = esp12e
  1330. board_flash_mode = dout
  1331. lib_deps = ${common.lib_deps}
  1332. lib_ignore = ${common.lib_ignore}
  1333. build_flags = ${common.build_flags} -DGIZWITS_WITTY_CLOUD
  1334. upload_speed = 115200
  1335. upload_port = "${env.ESPURNA_IP}"
  1336. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1337. extra_scripts = ${common.extra_scripts}
  1338. [env:euromate-wifi-stecker-shuko]
  1339. platform = ${common.platform}
  1340. framework = arduino
  1341. board = esp01_1m
  1342. board_flash_mode = dout
  1343. lib_deps = ${common.lib_deps}
  1344. lib_ignore = ${common.lib_ignore}
  1345. build_flags = ${common.build_flags} -DEUROMATE_WIFI_STECKER_SCHUKO
  1346. monitor_baud = 115200
  1347. extra_scripts = ${common.extra_scripts}
  1348. [env:euromate-wifi-stecker-shuko-ota]
  1349. platform = ${common.platform}
  1350. framework = arduino
  1351. board = esp01_1m
  1352. board_flash_mode = dout
  1353. lib_deps = ${common.lib_deps}
  1354. lib_ignore = ${common.lib_ignore}
  1355. build_flags = ${common.build_flags} -DEUROMATE_WIFI_STECKER_SCHUKO
  1356. upload_speed = 115200
  1357. upload_port = "${env.ESPURNA_IP}"
  1358. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1359. extra_scripts = ${common.extra_scripts}
  1360. [env:tonbux-powerstrip02]
  1361. platform = ${common.platform}
  1362. framework = arduino
  1363. board = esp01_1m
  1364. board_flash_mode = dout
  1365. lib_deps = ${common.lib_deps}
  1366. lib_ignore = ${common.lib_ignore}
  1367. build_flags = ${common.build_flags} -DTONBUX_POWERSTRIP02
  1368. monitor_baud = 115200
  1369. extra_scripts = ${common.extra_scripts}
  1370. [env:tonbux-powerstrip02-ota]
  1371. platform = ${common.platform}
  1372. framework = arduino
  1373. board = esp01_1m
  1374. board_flash_mode = dout
  1375. lib_deps = ${common.lib_deps}
  1376. lib_ignore = ${common.lib_ignore}
  1377. build_flags = ${common.build_flags} -DTONBUX_POWERSTRIP02
  1378. upload_speed = 115200
  1379. upload_port = "${env.ESPURNA_IP}"
  1380. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1381. extra_scripts = ${common.extra_scripts}
  1382. [env:lingan-swa1]
  1383. platform = ${common.platform}
  1384. framework = arduino
  1385. board = esp01_1m
  1386. board_flash_mode = dout
  1387. lib_deps = ${common.lib_deps}
  1388. lib_ignore = ${common.lib_ignore}
  1389. build_flags = ${common.build_flags} -DLINGAN_SWA1
  1390. monitor_baud = 115200
  1391. extra_scripts = ${common.extra_scripts}
  1392. [env:lingan-swa1-ota]
  1393. platform = ${common.platform}
  1394. framework = arduino
  1395. board = esp01_1m
  1396. board_flash_mode = dout
  1397. lib_deps = ${common.lib_deps}
  1398. lib_ignore = ${common.lib_ignore}
  1399. build_flags = ${common.build_flags} -DLINGAN_SWA1
  1400. upload_speed = 115200
  1401. upload_port = "${env.ESPURNA_IP}"
  1402. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1403. extra_scripts = ${common.extra_scripts}
  1404. [env:stm-relay]
  1405. platform = ${common.platform}
  1406. framework = arduino
  1407. board = esp01_1m
  1408. board_flash_mode = dout
  1409. lib_deps = ${common.lib_deps}
  1410. lib_ignore = ${common.lib_ignore}
  1411. build_flags = ${common.build_flags_1m} -DSTM_RELAY
  1412. monitor_baud = 115200
  1413. extra_scripts = ${common.extra_scripts}
  1414. [env:stm-relay-ota]
  1415. platform = ${common.platform}
  1416. framework = arduino
  1417. board = esp01_1m
  1418. board_flash_mode = dout
  1419. lib_deps = ${common.lib_deps}
  1420. lib_ignore = ${common.lib_ignore}
  1421. build_flags = ${common.build_flags_1m} -DSTM_RELAY
  1422. upload_speed = 115200
  1423. upload_port = "192.168.4.1"
  1424. upload_flags = --auth=fibonacci --port 8266
  1425. monitor_baud = 115200
  1426. extra_scripts = ${common.extra_scripts}
  1427. [env:heygo-hy02]
  1428. platform = ${common.platform}
  1429. framework = arduino
  1430. board = esp01_1m
  1431. board_flash_mode = dout
  1432. lib_deps = ${common.lib_deps}
  1433. lib_ignore = ${common.lib_ignore}
  1434. build_flags = ${common.build_flags_1m} -DHEYGO_HY02
  1435. monitor_baud = 115200
  1436. extra_scripts = ${common.extra_scripts}
  1437. [env:maxcio-wus0025]
  1438. platform = ${common.platform}
  1439. framework = arduino
  1440. board = esp01_1m
  1441. board_flash_mode = dout
  1442. lib_deps = ${common.lib_deps}
  1443. lib_ignore = ${common.lib_ignore}
  1444. build_flags = ${common.build_flags_1m} -DMAXCIO_WUS002S
  1445. monitor_baud = 115200
  1446. extra_scripts = ${common.extra_scripts}
  1447. [env:yidian-xsssa05]
  1448. platform = ${common.platform}
  1449. framework = arduino
  1450. board = esp01_1m
  1451. board_flash_mode = dout
  1452. lib_deps = ${common.lib_deps}
  1453. lib_ignore = ${common.lib_ignore}
  1454. build_flags = ${common.build_flags_1m} -DYIDIAN_XSSSA05
  1455. monitor_baud = 115200
  1456. extra_scripts = ${common.extra_scripts}
  1457. # ------------------------------------------------------------------------------
  1458. # GENERIC OTA ENVIRONMENTS
  1459. # ------------------------------------------------------------------------------
  1460. [env:esp8266-1m-ota]
  1461. platform = ${common.platform}
  1462. framework = arduino
  1463. board = esp01_1m
  1464. board_flash_mode = dout
  1465. lib_deps = ${common.lib_deps}
  1466. lib_ignore = ${common.lib_ignore}
  1467. build_flags = ${common.build_flags_1m} -D${env.ESPURNA_BOARD}
  1468. upload_speed = 115200
  1469. upload_port = "${env.ESPURNA_IP}"
  1470. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1471. extra_scripts = ${common.extra_scripts}
  1472. [env:esp8266-4m-ota]
  1473. platform = ${common.platform}
  1474. framework = arduino
  1475. board = esp12e
  1476. board_flash_mode = dout
  1477. lib_deps = ${common.lib_deps}
  1478. lib_ignore = ${common.lib_ignore}
  1479. build_flags = ${common.build_flags} -D${env.ESPURNA_BOARD}
  1480. upload_speed = 115200
  1481. upload_port = "${env.ESPURNA_IP}"
  1482. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1483. extra_scripts = ${common.extra_scripts}
  1484. # ------------------------------------------------------------------------------
  1485. # SPECIAL BUILDS - DO. NOT. USE. ever ---
  1486. # ------------------------------------------------------------------------------
  1487. [env:travis01]
  1488. platform = ${common.platform}
  1489. framework = arduino
  1490. board = esp12e
  1491. lib_deps = ${common.lib_deps}
  1492. lib_ignore = ${common.lib_ignore}
  1493. build_flags = ${common.build_flags} -DTRAVIS01
  1494. monitor_baud = 115200
  1495. extra_scripts = ${common.extra_scripts}
  1496. [env:travis02]
  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} -DTRAVIS02
  1503. monitor_baud = 115200
  1504. extra_scripts = ${common.extra_scripts}
  1505. [env:travis03]
  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} -DTRAVIS03 -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  1512. monitor_baud = 115200
  1513. extra_scripts = ${common.extra_scripts}