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.

1541 lines
43 KiB

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