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.

2203 lines
63 KiB

6 years ago
  1. [platformio]
  2. env_default = wemos-d1mini-relayshield
  3. src_dir = espurna
  4. data_dir = espurna/data
  5. [common]
  6. # ------------------------------------------------------------------------------
  7. # PLATFORM:
  8. # !! DO NOT confuse platformio's ESP8266 development platform with Arduino core for ESP8266
  9. # We use platformIO 1.5.0 as default
  10. #
  11. # platformIO 1.5.0 = arduino core 2.3.0
  12. # platformIO 1.6.0 = arduino core 2.4.0
  13. # platformIO 1.7.0 = arduino core 2.4.1
  14. # ------------------------------------------------------------------------------
  15. platform_150 = espressif8266@1.5.0
  16. platform_160 = espressif8266@1.6.0
  17. platform_170 = espressif8266@1.7.0
  18. platform = ${common.platform_150}
  19. # ------------------------------------------------------------------------------
  20. # FLAGS: DEBUG
  21. #
  22. # ------------------------------------------------------------------------------
  23. 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
  24. # ------------------------------------------------------------------------------
  25. # FLAGS: build flags
  26. # build flags for 512k/1m ESP's are different because we use Linker Scripts to adjust flash split
  27. # 512 KB = 487 KB sketch, 20 KB eeprom
  28. # 1 MB = 999 KB sketch, 20 KB eeprom
  29. #
  30. # Available lwIP variants (macros):
  31. # -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH v1.4 Higher Bandwidth (default)
  32. # -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY v2 Lower Memory
  33. # -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH v2 Higher Bandwidth
  34. # ------------------------------------------------------------------------------
  35. build_flags = -g -DMQTT_MAX_PACKET_SIZE=400 -DNO_GLOBAL_EEPROM ${env.ESPURNA_FLAGS} -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
  36. build_flags_512k = ${common.build_flags} -Wl,-Tesp8266.flash.512k0.ld
  37. build_flags_1m = ${common.build_flags} -Wl,-Tesp8266.flash.1m0.ld
  38. # ------------------------------------------------------------------------------
  39. # GLOBALS:
  40. # ------------------------------------------------------------------------------
  41. # IP address when using OTA
  42. upload_port = "192.168.4.1"
  43. upload_flags = --auth=fibonacci --port 8266
  44. #upload_port = "${env.ESPURNA_IP}"
  45. #upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  46. # ------------------------------------------------------------------------------
  47. # LIBRARIES: required dependencies
  48. # Please note that we don't always use the latest version of a library.
  49. # ------------------------------------------------------------------------------
  50. lib_deps =
  51. ArduinoJson
  52. https://github.com/marvinroger/async-mqtt-client#v0.8.1
  53. Brzo I2C
  54. https://bitbucket.org/xoseperez/debounceevent.git#2.0.1
  55. https://github.com/xoseperez/eeprom_rotate
  56. Embedis
  57. https://github.com/plerup/espsoftwareserial#3.4.1
  58. https://github.com/me-no-dev/ESPAsyncTCP#55cd520
  59. https://github.com/me-no-dev/ESPAsyncWebServer#232b87a
  60. https://bitbucket.org/xoseperez/fauxmoesp.git#2.4.2
  61. https://github.com/xoseperez/hlw8012.git#1.1.0
  62. https://github.com/markszabo/IRremoteESP8266#v2.2.0
  63. https://github.com/xoseperez/justwifi.git#1.2.0
  64. https://github.com/madpilot/mDNSResolver#4cfcda1
  65. https://github.com/xoseperez/my92xx#3.0.1
  66. https://bitbucket.org/xoseperez/nofuss.git#0.2.5
  67. https://github.com/xoseperez/NtpClient.git#0016a59
  68. OneWire
  69. PZEM004T
  70. PubSubClient
  71. rc-switch
  72. https://github.com/xoseperez/Time
  73. lib_ignore =
  74. extra_scripts = extra_scripts.py
  75. # ------------------------------------------------------------------------------
  76. # ESPURNA CORE BUILDS
  77. # ------------------------------------------------------------------------------
  78. [env:espurna-core-1MB]
  79. platform = ${common.platform}
  80. framework = arduino
  81. board = esp01_1m
  82. board_flash_mode = dout
  83. lib_deps = ${common.lib_deps}
  84. lib_ignore = ${common.lib_ignore}
  85. build_flags = ${common.build_flags_1m} -DESPURNA_CORE
  86. monitor_baud = 115200
  87. extra_scripts = ${common.extra_scripts}
  88. [env:espurna-core-4MB]
  89. platform = ${common.platform}
  90. framework = arduino
  91. board = d1_mini
  92. board_flash_mode = dout
  93. lib_deps = ${common.lib_deps}
  94. lib_ignore = ${common.lib_ignore}
  95. build_flags = ${common.build_flags} -DESPURNA_CORE
  96. monitor_baud = 115200
  97. extra_scripts = ${common.extra_scripts}
  98. # ------------------------------------------------------------------------------
  99. # GENERIC OTA ENVIRONMENTS
  100. # ------------------------------------------------------------------------------
  101. [env:esp8266-1m-ota]
  102. platform = ${common.platform}
  103. framework = arduino
  104. board = esp01_1m
  105. board_flash_mode = dout
  106. lib_deps = ${common.lib_deps}
  107. lib_ignore = ${common.lib_ignore}
  108. build_flags = ${common.build_flags_1m} -D${env.ESPURNA_BOARD}
  109. upload_speed = 115200
  110. upload_port = "${env.ESPURNA_IP}"
  111. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  112. extra_scripts = ${common.extra_scripts}
  113. [env:esp8266-4m-ota]
  114. platform = ${common.platform}
  115. framework = arduino
  116. board = esp12e
  117. board_flash_mode = dout
  118. lib_deps = ${common.lib_deps}
  119. lib_ignore = ${common.lib_ignore}
  120. build_flags = ${common.build_flags} -D${env.ESPURNA_BOARD}
  121. upload_speed = 115200
  122. upload_port = "${env.ESPURNA_IP}"
  123. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  124. extra_scripts = ${common.extra_scripts}
  125. # ------------------------------------------------------------------------------
  126. # SPECIAL BUILDS - DO. NOT. USE. ever ---
  127. # ------------------------------------------------------------------------------
  128. [env:travis01]
  129. platform = ${common.platform}
  130. framework = arduino
  131. board = esp12e
  132. lib_deps = ${common.lib_deps}
  133. lib_ignore = ${common.lib_ignore}
  134. build_flags = ${common.build_flags} -DTRAVIS01
  135. monitor_baud = 115200
  136. extra_scripts = ${common.extra_scripts}
  137. [env:travis02]
  138. platform = ${common.platform}
  139. framework = arduino
  140. board = esp12e
  141. lib_deps = ${common.lib_deps}
  142. lib_ignore = ${common.lib_ignore}
  143. build_flags = ${common.build_flags} -DTRAVIS02
  144. monitor_baud = 115200
  145. extra_scripts = ${common.extra_scripts}
  146. [env:travis03]
  147. platform = espressif8266@1.6.0
  148. framework = arduino
  149. board = esp12e
  150. lib_deps = ${common.lib_deps}
  151. lib_ignore = ${common.lib_ignore}
  152. build_flags = ${common.build_flags} -DTRAVIS03 -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  153. monitor_baud = 115200
  154. extra_scripts = ${common.extra_scripts}
  155. # ------------------------------------------------------------------------------
  156. # DEVELOPMENT BOARDS
  157. # ------------------------------------------------------------------------------
  158. [env:wemos-d1mini-relayshield]
  159. platform = ${common.platform}
  160. framework = arduino
  161. board = d1_mini
  162. lib_deps = ${common.lib_deps}
  163. lib_ignore = ${common.lib_ignore}
  164. build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  165. upload_speed = 460800
  166. monitor_baud = 115200
  167. extra_scripts = ${common.extra_scripts}
  168. [env:wemos-d1mini-relayshield-ssl]
  169. platform = espressif8266@1.6.0
  170. framework = arduino
  171. board = d1_mini
  172. lib_deps = ${common.lib_deps}
  173. lib_ignore = ${common.lib_ignore}
  174. build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  175. upload_speed = 460800
  176. monitor_baud = 115200
  177. extra_scripts = ${common.extra_scripts}
  178. [env:wemos-d1mini-relayshield-ota]
  179. platform = ${common.platform}
  180. framework = arduino
  181. board = d1_mini
  182. lib_deps = ${common.lib_deps}
  183. lib_ignore = ${common.lib_ignore}
  184. build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  185. upload_speed = 115200
  186. upload_port = ${common.upload_port}
  187. upload_flags = ${common.upload_flags}
  188. extra_scripts = ${common.extra_scripts}
  189. [env:nodemcu-lolin]
  190. platform = ${common.platform}
  191. framework = arduino
  192. board = nodemcuv2
  193. lib_deps = ${common.lib_deps}
  194. lib_ignore = ${common.lib_ignore}
  195. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  196. upload_speed = 460800
  197. monitor_baud = 115200
  198. extra_scripts = ${common.extra_scripts}
  199. [env:nodemcu-lolin-ssl]
  200. platform = espressif8266@1.6.0
  201. framework = arduino
  202. board = nodemcuv2
  203. lib_deps = ${common.lib_deps}
  204. lib_ignore = ${common.lib_ignore}
  205. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  206. upload_speed = 460800
  207. monitor_baud = 115200
  208. extra_scripts = ${common.extra_scripts}
  209. [env:nodemcu-lolin-ota]
  210. platform = ${common.platform}
  211. framework = arduino
  212. board = nodemcuv2
  213. lib_deps = ${common.lib_deps}
  214. lib_ignore = ${common.lib_ignore}
  215. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  216. upload_speed = 115200
  217. upload_port = ${common.upload_port}
  218. upload_flags = ${common.upload_flags}
  219. monitor_baud = 115200
  220. extra_scripts = ${common.extra_scripts}
  221. # ------------------------------------------------------------------------------
  222. # SPECIFIC BOARDS
  223. # ------------------------------------------------------------------------------
  224. [env:tinkerman-espurna-h06]
  225. platform = ${common.platform}
  226. framework = arduino
  227. board = esp12e
  228. lib_deps = ${common.lib_deps}
  229. lib_ignore = ${common.lib_ignore}
  230. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H06
  231. monitor_baud = 115200
  232. extra_scripts = ${common.extra_scripts}
  233. [env:tinkerman-espurna-h06-ota]
  234. platform = ${common.platform}
  235. framework = arduino
  236. board = esp12e
  237. lib_deps = ${common.lib_deps}
  238. lib_ignore = ${common.lib_ignore}
  239. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H06
  240. upload_speed = 115200
  241. upload_port = ${common.upload_port}
  242. upload_flags = ${common.upload_flags}
  243. monitor_baud = 115200
  244. extra_scripts = ${common.extra_scripts}
  245. [env:tinkerman-espurna-h08]
  246. platform = ${common.platform}
  247. framework = arduino
  248. board = esp12e
  249. lib_deps = ${common.lib_deps}
  250. lib_ignore = ${common.lib_ignore}
  251. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H08
  252. monitor_baud = 115200
  253. extra_scripts = ${common.extra_scripts}
  254. [env:tinkerman-espurna-h08-ota]
  255. platform = ${common.platform}
  256. framework = arduino
  257. board = esp12e
  258. lib_deps = ${common.lib_deps}
  259. lib_ignore = ${common.lib_ignore}
  260. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H08
  261. upload_speed = 115200
  262. upload_port = ${common.upload_port}
  263. upload_flags = ${common.upload_flags}
  264. monitor_baud = 115200
  265. extra_scripts = ${common.extra_scripts}
  266. [env:tinkerman-espurna-switch]
  267. platform = ${common.platform}
  268. framework = arduino
  269. board = esp12e
  270. lib_deps = ${common.lib_deps}
  271. lib_ignore = ${common.lib_ignore}
  272. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_SWITCH
  273. monitor_baud = 115200
  274. extra_scripts = ${common.extra_scripts}
  275. [env:wemos-d1-tarpunashield]
  276. platform = ${common.platform}
  277. framework = arduino
  278. board = esp12e
  279. lib_deps = ${common.lib_deps}
  280. lib_ignore = ${common.lib_ignore}
  281. build_flags = ${common.build_flags} -DWEMOS_D1_TARPUNA_SHIELD
  282. monitor_baud = 115200
  283. extra_scripts = ${common.extra_scripts}
  284. # ------------------------------------------------------------------------------
  285. [env:itead-sonoff-basic]
  286. platform = ${common.platform}
  287. framework = arduino
  288. board = esp01_1m
  289. board_flash_mode = dout
  290. lib_deps = ${common.lib_deps}
  291. lib_ignore = ${common.lib_ignore}
  292. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
  293. monitor_baud = 115200
  294. extra_scripts = ${common.extra_scripts}
  295. [env:itead-sonoff-basic-ota]
  296. platform = ${common.platform}
  297. framework = arduino
  298. board = esp01_1m
  299. board_flash_mode = dout
  300. lib_deps = ${common.lib_deps}
  301. lib_ignore = ${common.lib_ignore}
  302. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
  303. upload_speed = 115200
  304. upload_port = ${common.upload_port}
  305. upload_flags = ${common.upload_flags}
  306. monitor_baud = 115200
  307. extra_scripts = ${common.extra_scripts}
  308. [env:itead-sonoff-basic-dht]
  309. platform = ${common.platform}
  310. framework = arduino
  311. board = esp01_1m
  312. board_flash_mode = dout
  313. lib_deps = ${common.lib_deps}
  314. lib_ignore = ${common.lib_ignore}
  315. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  316. monitor_baud = 115200
  317. extra_scripts = ${common.extra_scripts}
  318. [env:itead-sonoff-basic-dht-ota]
  319. platform = ${common.platform}
  320. framework = arduino
  321. board = esp01_1m
  322. board_flash_mode = dout
  323. lib_deps = ${common.lib_deps}
  324. lib_ignore = ${common.lib_ignore}
  325. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  326. upload_speed = 115200
  327. upload_port = ${common.upload_port}
  328. upload_flags = ${common.upload_flags}
  329. monitor_baud = 115200
  330. extra_scripts = ${common.extra_scripts}
  331. [env:itead-sonoff-basic-dallas]
  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_BASIC -DDALLAS_SUPPORT=1
  339. monitor_baud = 115200
  340. extra_scripts = ${common.extra_scripts}
  341. [env:itead-sonoff-rf]
  342. platform = ${common.platform}
  343. framework = arduino
  344. board = esp01_1m
  345. board_flash_mode = dout
  346. lib_deps = ${common.lib_deps}
  347. lib_ignore = ${common.lib_ignore}
  348. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RF
  349. monitor_baud = 115200
  350. extra_scripts = ${common.extra_scripts}
  351. [env:itead-sonoff-rf-ota]
  352. platform = ${common.platform}
  353. framework = arduino
  354. board = esp01_1m
  355. board_flash_mode = dout
  356. lib_deps = ${common.lib_deps}
  357. lib_ignore = ${common.lib_ignore}
  358. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RF
  359. upload_speed = 115200
  360. upload_port = ${common.upload_port}
  361. upload_flags = ${common.upload_flags}
  362. monitor_baud = 115200
  363. extra_scripts = ${common.extra_scripts}
  364. [env:itead-sonoff-th]
  365. platform = ${common.platform}
  366. framework = arduino
  367. board = esp01_1m
  368. board_flash_mode = dout
  369. lib_deps = ${common.lib_deps}
  370. lib_ignore = ${common.lib_ignore}
  371. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TH
  372. monitor_baud = 115200
  373. extra_scripts = ${common.extra_scripts}
  374. [env:itead-sonoff-th-ota]
  375. platform = ${common.platform}
  376. framework = arduino
  377. board = esp01_1m
  378. board_flash_mode = dout
  379. lib_deps = ${common.lib_deps}
  380. lib_ignore = ${common.lib_ignore}
  381. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TH
  382. upload_speed = 115200
  383. upload_port = ${common.upload_port}
  384. upload_flags = ${common.upload_flags}
  385. monitor_baud = 115200
  386. extra_scripts = ${common.extra_scripts}
  387. [env:itead-sonoff-pow]
  388. platform = ${common.platform}
  389. framework = arduino
  390. board = esp01_1m
  391. board_flash_mode = dout
  392. lib_deps = ${common.lib_deps}
  393. lib_ignore = ${common.lib_ignore}
  394. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW
  395. monitor_baud = 115200
  396. extra_scripts = ${common.extra_scripts}
  397. [env:itead-sonoff-pow-ota]
  398. platform = ${common.platform}
  399. framework = arduino
  400. board = esp01_1m
  401. board_flash_mode = dout
  402. lib_deps = ${common.lib_deps}
  403. lib_ignore = ${common.lib_ignore}
  404. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW
  405. upload_speed = 115200
  406. upload_port = ${common.upload_port}
  407. upload_flags = ${common.upload_flags}
  408. monitor_baud = 115200
  409. extra_scripts = ${common.extra_scripts}
  410. [env:itead-sonoff-pow-r2]
  411. platform = ${common.platform}
  412. framework = arduino
  413. board = esp01_1m
  414. board_flash_mode = dout
  415. lib_deps = ${common.lib_deps}
  416. lib_ignore = ${common.lib_ignore}
  417. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW_R2
  418. monitor_baud = 115200
  419. extra_scripts = ${common.extra_scripts}
  420. [env:itead-sonoff-pow-r2-ota]
  421. platform = ${common.platform}
  422. framework = arduino
  423. board = esp01_1m
  424. board_flash_mode = dout
  425. lib_deps = ${common.lib_deps}
  426. lib_ignore = ${common.lib_ignore}
  427. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW_R2
  428. upload_speed = 115200
  429. upload_port = ${common.upload_port}
  430. upload_flags = ${common.upload_flags}
  431. monitor_baud = 115200
  432. extra_scripts = ${common.extra_scripts}
  433. [env:itead-sonoff-dual]
  434. platform = ${common.platform}
  435. framework = arduino
  436. board = esp01_1m
  437. board_flash_mode = dout
  438. lib_deps = ${common.lib_deps}
  439. lib_ignore = ${common.lib_ignore}
  440. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  441. extra_scripts = ${common.extra_scripts}
  442. [env:itead-sonoff-dual-ota]
  443. platform = ${common.platform}
  444. framework = arduino
  445. board = esp01_1m
  446. board_flash_mode = dout
  447. lib_deps = ${common.lib_deps}
  448. lib_ignore = ${common.lib_ignore}
  449. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  450. upload_speed = 115200
  451. upload_port = ${common.upload_port}
  452. upload_flags = ${common.upload_flags}
  453. extra_scripts = ${common.extra_scripts}
  454. [env:itead-sonoff-dual-r2]
  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_DUAL_R2
  462. extra_scripts = ${common.extra_scripts}
  463. [env:itead-sonoff-dual-ota-r2]
  464. platform = ${common.platform}
  465. framework = arduino
  466. board = esp01_1m
  467. board_flash_mode = dout
  468. lib_deps = ${common.lib_deps}
  469. lib_ignore = ${common.lib_ignore}
  470. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL_R2
  471. upload_speed = 115200
  472. upload_port = ${common.upload_port}
  473. upload_flags = ${common.upload_flags}
  474. extra_scripts = ${common.extra_scripts}
  475. [env:itead-sonoff-4ch]
  476. platform = ${common.platform}
  477. framework = arduino
  478. board = esp01_1m
  479. board_flash_mode = dout
  480. lib_deps = ${common.lib_deps}
  481. lib_ignore = ${common.lib_ignore}
  482. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH
  483. monitor_baud = 115200
  484. extra_scripts = ${common.extra_scripts}
  485. [env:itead-sonoff-4ch-ota]
  486. platform = ${common.platform}
  487. framework = arduino
  488. board = esp01_1m
  489. board_flash_mode = dout
  490. lib_deps = ${common.lib_deps}
  491. lib_ignore = ${common.lib_ignore}
  492. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH
  493. upload_speed = 115200
  494. upload_port = ${common.upload_port}
  495. upload_flags = ${common.upload_flags}
  496. monitor_baud = 115200
  497. extra_scripts = ${common.extra_scripts}
  498. [env:itead-sonoff-4ch-pro]
  499. platform = ${common.platform}
  500. framework = arduino
  501. board = esp01_1m
  502. board_flash_mode = dout
  503. lib_deps = ${common.lib_deps}
  504. lib_ignore = ${common.lib_ignore}
  505. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO
  506. monitor_baud = 115200
  507. extra_scripts = ${common.extra_scripts}
  508. [env:itead-sonoff-4ch-pro-ota]
  509. platform = ${common.platform}
  510. framework = arduino
  511. board = esp01_1m
  512. board_flash_mode = dout
  513. lib_deps = ${common.lib_deps}
  514. lib_ignore = ${common.lib_ignore}
  515. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO
  516. upload_speed = 115200
  517. upload_port = ${common.upload_port}
  518. upload_flags = ${common.upload_flags}
  519. monitor_baud = 115200
  520. extra_scripts = ${common.extra_scripts}
  521. [env:itead-sonoff-touch]
  522. platform = ${common.platform}
  523. framework = arduino
  524. board = esp01_1m
  525. board_flash_mode = dout
  526. lib_deps = ${common.lib_deps}
  527. lib_ignore = ${common.lib_ignore}
  528. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH
  529. monitor_baud = 115200
  530. extra_scripts = ${common.extra_scripts}
  531. [env:itead-sonoff-touch-ota]
  532. platform = ${common.platform}
  533. framework = arduino
  534. board = esp01_1m
  535. board_flash_mode = dout
  536. lib_deps = ${common.lib_deps}
  537. lib_ignore = ${common.lib_ignore}
  538. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH
  539. upload_speed = 115200
  540. upload_port = ${common.upload_port}
  541. upload_flags = ${common.upload_flags}
  542. monitor_baud = 115200
  543. extra_scripts = ${common.extra_scripts}
  544. [env:itead-sonoff-b1]
  545. platform = ${common.platform}
  546. framework = arduino
  547. board = esp01_1m
  548. board_flash_mode = dout
  549. lib_deps = ${common.lib_deps}
  550. lib_ignore = ${common.lib_ignore}
  551. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
  552. monitor_baud = 115200
  553. extra_scripts = ${common.extra_scripts}
  554. [env:itead-sonoff-b1-ota]
  555. platform = ${common.platform}
  556. framework = arduino
  557. board = esp01_1m
  558. board_flash_mode = dout
  559. lib_deps = ${common.lib_deps}
  560. lib_ignore = ${common.lib_ignore}
  561. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
  562. upload_speed = 115200
  563. upload_port = ${common.upload_port}
  564. upload_flags = ${common.upload_flags}
  565. monitor_baud = 115200
  566. extra_scripts = ${common.extra_scripts}
  567. [env:itead-sonoff-t1-1ch]
  568. platform = ${common.platform}
  569. framework = arduino
  570. board = esp01_1m
  571. board_flash_mode = dout
  572. lib_deps = ${common.lib_deps}
  573. lib_ignore = ${common.lib_ignore}
  574. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH
  575. monitor_baud = 115200
  576. extra_scripts = ${common.extra_scripts}
  577. [env:itead-sonoff-t1-1ch-ota]
  578. platform = ${common.platform}
  579. framework = arduino
  580. board = esp01_1m
  581. board_flash_mode = dout
  582. lib_deps = ${common.lib_deps}
  583. lib_ignore = ${common.lib_ignore}
  584. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH
  585. upload_speed = 115200
  586. upload_port = ${common.upload_port}
  587. upload_flags = ${common.upload_flags}
  588. monitor_baud = 115200
  589. extra_scripts = ${common.extra_scripts}
  590. [env:itead-sonoff-t1-2ch]
  591. platform = ${common.platform}
  592. framework = arduino
  593. board = esp01_1m
  594. board_flash_mode = dout
  595. lib_deps = ${common.lib_deps}
  596. lib_ignore = ${common.lib_ignore}
  597. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
  598. monitor_baud = 115200
  599. extra_scripts = ${common.extra_scripts}
  600. [env:itead-sonoff-t1-2ch-ota]
  601. platform = ${common.platform}
  602. framework = arduino
  603. board = esp01_1m
  604. board_flash_mode = dout
  605. lib_deps = ${common.lib_deps}
  606. lib_ignore = ${common.lib_ignore}
  607. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
  608. upload_speed = 115200
  609. upload_port = ${common.upload_port}
  610. upload_flags = ${common.upload_flags}
  611. monitor_baud = 115200
  612. extra_scripts = ${common.extra_scripts}
  613. [env:itead-sonoff-t1-3ch]
  614. platform = ${common.platform}
  615. framework = arduino
  616. board = esp01_1m
  617. board_flash_mode = dout
  618. lib_deps = ${common.lib_deps}
  619. lib_ignore = ${common.lib_ignore}
  620. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
  621. monitor_baud = 115200
  622. extra_scripts = ${common.extra_scripts}
  623. [env:itead-sonoff-t1-3ch-ota]
  624. platform = ${common.platform}
  625. framework = arduino
  626. board = esp01_1m
  627. board_flash_mode = dout
  628. lib_deps = ${common.lib_deps}
  629. lib_ignore = ${common.lib_ignore}
  630. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
  631. upload_speed = 115200
  632. upload_port = ${common.upload_port}
  633. upload_flags = ${common.upload_flags}
  634. monitor_baud = 115200
  635. extra_scripts = ${common.extra_scripts}
  636. [env:itead-sonoff-led]
  637. platform = ${common.platform}
  638. framework = arduino
  639. board = esp01_1m
  640. board_flash_mode = dout
  641. lib_deps = ${common.lib_deps}
  642. lib_ignore = ${common.lib_ignore}
  643. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
  644. monitor_baud = 115200
  645. extra_scripts = ${common.extra_scripts}
  646. [env:itead-sonoff-led-ota]
  647. platform = ${common.platform}
  648. framework = arduino
  649. board = esp01_1m
  650. board_flash_mode = dout
  651. lib_deps = ${common.lib_deps}
  652. lib_ignore = ${common.lib_ignore}
  653. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
  654. upload_speed = 115200
  655. upload_port = ${common.upload_port}
  656. upload_flags = ${common.upload_flags}
  657. monitor_baud = 115200
  658. extra_scripts = ${common.extra_scripts}
  659. [env:itead-sonoff-rfbridge]
  660. platform = ${common.platform}
  661. framework = arduino
  662. board = esp01_1m
  663. board_flash_mode = dout
  664. lib_deps = ${common.lib_deps}
  665. lib_ignore = ${common.lib_ignore}
  666. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  667. monitor_baud = 19200
  668. extra_scripts = ${common.extra_scripts}
  669. [env:itead-sonoff-rfbridge-ota]
  670. platform = ${common.platform}
  671. framework = arduino
  672. board = esp01_1m
  673. board_flash_mode = dout
  674. lib_deps = ${common.lib_deps}
  675. lib_ignore = ${common.lib_ignore}
  676. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  677. upload_speed = 115200
  678. upload_port = ${common.upload_port}
  679. upload_flags = ${common.upload_flags}
  680. monitor_baud = 19200
  681. extra_scripts = ${common.extra_scripts}
  682. [env:itead-sonoff-rfbridge-direct]
  683. platform = ${common.platform}
  684. framework = arduino
  685. board = esp01_1m
  686. board_flash_mode = dout
  687. lib_deps = ${common.lib_deps}
  688. lib_ignore = ${common.lib_ignore}
  689. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  690. monitor_baud = 19200
  691. extra_scripts = ${common.extra_scripts}
  692. [env:itead-sonoff-rfbridge-direct-ota]
  693. platform = ${common.platform}
  694. framework = arduino
  695. board = esp01_1m
  696. board_flash_mode = dout
  697. lib_deps = ${common.lib_deps}
  698. lib_ignore = ${common.lib_ignore}
  699. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  700. upload_speed = 115200
  701. upload_port = "${env.ESPURNA_IP}"
  702. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  703. monitor_baud = 19200
  704. extra_scripts = ${common.extra_scripts}
  705. # ------------------------------------------------------------------------------
  706. [env:itead-slampher]
  707. platform = ${common.platform}
  708. framework = arduino
  709. board = esp01_1m
  710. board_flash_mode = dout
  711. lib_deps = ${common.lib_deps}
  712. lib_ignore = ${common.lib_ignore}
  713. build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
  714. monitor_baud = 115200
  715. extra_scripts = ${common.extra_scripts}
  716. [env:itead-slampher-ota]
  717. platform = ${common.platform}
  718. framework = arduino
  719. board = esp01_1m
  720. board_flash_mode = dout
  721. lib_deps = ${common.lib_deps}
  722. lib_ignore = ${common.lib_ignore}
  723. build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
  724. upload_speed = 115200
  725. upload_port = ${common.upload_port}
  726. upload_flags = ${common.upload_flags}
  727. monitor_baud = 115200
  728. extra_scripts = ${common.extra_scripts}
  729. [env:itead-s20]
  730. platform = ${common.platform}
  731. framework = arduino
  732. board = esp01_1m
  733. board_flash_mode = dout
  734. lib_deps = ${common.lib_deps}
  735. lib_ignore = ${common.lib_ignore}
  736. build_flags = ${common.build_flags_1m} -DITEAD_S20
  737. monitor_baud = 115200
  738. extra_scripts = ${common.extra_scripts}
  739. [env:itead-s20-ota]
  740. platform = ${common.platform}
  741. framework = arduino
  742. board = esp01_1m
  743. board_flash_mode = dout
  744. lib_deps = ${common.lib_deps}
  745. lib_ignore = ${common.lib_ignore}
  746. build_flags = ${common.build_flags_1m} -DITEAD_S20
  747. upload_speed = 115200
  748. upload_port = ${common.upload_port}
  749. upload_flags = ${common.upload_flags}
  750. monitor_baud = 115200
  751. extra_scripts = ${common.extra_scripts}
  752. [env:itead-1ch-inching]
  753. platform = ${common.platform}
  754. framework = arduino
  755. board = esp01_1m
  756. board_flash_mode = dout
  757. lib_deps = ${common.lib_deps}
  758. lib_ignore = ${common.lib_ignore}
  759. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  760. monitor_baud = 115200
  761. extra_scripts = ${common.extra_scripts}
  762. [env:itead-1ch-inching-ota]
  763. platform = ${common.platform}
  764. framework = arduino
  765. board = esp01_1m
  766. board_flash_mode = dout
  767. lib_deps = ${common.lib_deps}
  768. lib_ignore = ${common.lib_ignore}
  769. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  770. upload_speed = 115200
  771. upload_port = ${common.upload_port}
  772. upload_flags = ${common.upload_flags}
  773. monitor_baud = 115200
  774. extra_scripts = ${common.extra_scripts}
  775. [env:itead-motor]
  776. platform = ${common.platform}
  777. framework = arduino
  778. board = esp01_1m
  779. board_flash_mode = dout
  780. lib_deps = ${common.lib_deps}
  781. lib_ignore = ${common.lib_ignore}
  782. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  783. monitor_baud = 115200
  784. extra_scripts = ${common.extra_scripts}
  785. [env:itead-motor-ota]
  786. platform = ${common.platform}
  787. framework = arduino
  788. board = esp01_1m
  789. board_flash_mode = dout
  790. lib_deps = ${common.lib_deps}
  791. lib_ignore = ${common.lib_ignore}
  792. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  793. upload_speed = 115200
  794. upload_port = ${common.upload_port}
  795. upload_flags = ${common.upload_flags}
  796. monitor_baud = 115200
  797. extra_scripts = ${common.extra_scripts}
  798. [env:itead-sonoff-sv]
  799. platform = ${common.platform}
  800. framework = arduino
  801. board = esp01_1m
  802. board_flash_mode = dout
  803. lib_deps = ${common.lib_deps}
  804. lib_ignore = ${common.lib_ignore}
  805. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_SV
  806. monitor_baud = 115200
  807. extra_scripts = ${common.extra_scripts}
  808. [env:itead-sonoff-sv-ota]
  809. platform = ${common.platform}
  810. framework = arduino
  811. board = esp01_1m
  812. board_flash_mode = dout
  813. lib_deps = ${common.lib_deps}
  814. lib_ignore = ${common.lib_ignore}
  815. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_SV
  816. upload_port = ${common.upload_port}
  817. upload_flags = ${common.upload_flags}
  818. monitor_baud = 115200
  819. extra_scripts = ${common.extra_scripts}
  820. [env:itead-sonoff-s31]
  821. platform = ${common.platform}
  822. framework = arduino
  823. board = esp01_1m
  824. board_flash_mode = dout
  825. lib_deps = ${common.lib_deps}
  826. lib_ignore = ${common.lib_ignore}
  827. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_S31
  828. monitor_baud = 115200
  829. extra_scripts = ${common.extra_scripts}
  830. [env:itead-sonoff-s31-ota]
  831. platform = ${common.platform}
  832. framework = arduino
  833. board = esp01_1m
  834. board_flash_mode = dout
  835. lib_deps = ${common.lib_deps}
  836. lib_ignore = ${common.lib_ignore}
  837. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_S31
  838. upload_port = "${env.ESPURNA_IP}"
  839. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  840. monitor_baud = 115200
  841. extra_scripts = ${common.extra_scripts}
  842. # ------------------------------------------------------------------------------
  843. [env:electrodragon-wifi-iot]
  844. platform = ${common.platform}
  845. framework = arduino
  846. board = esp12e
  847. lib_deps = ${common.lib_deps}
  848. lib_ignore = ${common.lib_ignore}
  849. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  850. monitor_baud = 115200
  851. extra_scripts = ${common.extra_scripts}
  852. [env:electrodragon-wifi-iot-ota]
  853. platform = ${common.platform}
  854. framework = arduino
  855. board = esp12e
  856. lib_deps = ${common.lib_deps}
  857. lib_ignore = ${common.lib_ignore}
  858. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  859. upload_speed = 115200
  860. upload_port = ${common.upload_port}
  861. upload_flags = ${common.upload_flags}
  862. monitor_baud = 115200
  863. extra_scripts = ${common.extra_scripts}
  864. [env:workchoice-ecoplug]
  865. platform = ${common.platform}
  866. framework = arduino
  867. board = esp01_1m
  868. board_flash_mode = dout
  869. lib_deps = ${common.lib_deps}
  870. lib_ignore = ${common.lib_ignore}
  871. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  872. monitor_baud = 115200
  873. extra_scripts = ${common.extra_scripts}
  874. [env:workchoice-ecoplug-ota]
  875. platform = ${common.platform}
  876. framework = arduino
  877. board = esp01_1m
  878. board_flash_mode = dout
  879. lib_deps = ${common.lib_deps}
  880. lib_ignore = ${common.lib_ignore}
  881. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  882. upload_speed = 115200
  883. upload_port = ${common.upload_port}
  884. upload_flags = ${common.upload_flags}
  885. monitor_baud = 115200
  886. extra_scripts = ${common.extra_scripts}
  887. [env:jangoe-wifi-relay-nc]
  888. platform = ${common.platform}
  889. framework = arduino
  890. board = esp12e
  891. lib_deps = ${common.lib_deps}
  892. lib_ignore = ${common.lib_ignore}
  893. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  894. monitor_baud = 115200
  895. extra_scripts = ${common.extra_scripts}
  896. [env:jangoe-wifi-relay-nc-ota]
  897. platform = ${common.platform}
  898. framework = arduino
  899. board = esp12e
  900. lib_deps = ${common.lib_deps}
  901. lib_ignore = ${common.lib_ignore}
  902. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  903. upload_speed = 115200
  904. upload_port = ${common.upload_port}
  905. upload_flags = ${common.upload_flags}
  906. monitor_baud = 115200
  907. extra_scripts = ${common.extra_scripts}
  908. [env:jangoe-wifi-relay-no]
  909. platform = ${common.platform}
  910. framework = arduino
  911. board = esp12e
  912. lib_deps = ${common.lib_deps}
  913. lib_ignore = ${common.lib_ignore}
  914. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  915. monitor_baud = 115200
  916. extra_scripts = ${common.extra_scripts}
  917. [env:jangoe-wifi-relay-no-ota]
  918. platform = ${common.platform}
  919. framework = arduino
  920. board = esp12e
  921. lib_deps = ${common.lib_deps}
  922. lib_ignore = ${common.lib_ignore}
  923. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NO
  924. upload_speed = 115200
  925. upload_port = ${common.upload_port}
  926. upload_flags = ${common.upload_flags}
  927. monitor_baud = 115200
  928. extra_scripts = ${common.extra_scripts}
  929. [env:openenergymonitor-mqtt-relay]
  930. platform = ${common.platform}
  931. framework = arduino
  932. board = esp_wroom_02
  933. lib_deps = ${common.lib_deps}
  934. lib_ignore = ${common.lib_ignore}
  935. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  936. monitor_baud = 115200
  937. extra_scripts = ${common.extra_scripts}
  938. [env:openenergymonitor-mqtt-relay-ota]
  939. platform = ${common.platform}
  940. framework = arduino
  941. board = esp_wroom_02
  942. lib_deps = ${common.lib_deps}
  943. lib_ignore = ${common.lib_ignore}
  944. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  945. upload_speed = 115200
  946. upload_port = ${common.upload_port}
  947. upload_flags = ${common.upload_flags}
  948. monitor_baud = 115200
  949. extra_scripts = ${common.extra_scripts}
  950. [env:jorgegarcia-wifi-relays]
  951. platform = ${common.platform}
  952. framework = arduino
  953. board = esp01_1m
  954. lib_deps = ${common.lib_deps}
  955. lib_ignore = ${common.lib_ignore}
  956. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  957. monitor_baud = 115200
  958. extra_scripts = ${common.extra_scripts}
  959. [env:jorgegarcia-wifi-relays-ota]
  960. platform = ${common.platform}
  961. framework = arduino
  962. board = esp01_1m
  963. lib_deps = ${common.lib_deps}
  964. lib_ignore = ${common.lib_ignore}
  965. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  966. upload_speed = 115200
  967. upload_port = ${common.upload_port}
  968. upload_flags = ${common.upload_flags}
  969. monitor_baud = 115200
  970. extra_scripts = ${common.extra_scripts}
  971. [env:aithinker-ai-light]
  972. platform = ${common.platform}
  973. framework = arduino
  974. board = esp01_1m
  975. board_flash_mode = dout
  976. lib_deps = ${common.lib_deps}
  977. lib_ignore = ${common.lib_ignore}
  978. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  979. monitor_baud = 115200
  980. extra_scripts = ${common.extra_scripts}
  981. [env:aithinker-ai-light-ota]
  982. platform = ${common.platform}
  983. framework = arduino
  984. board = esp01_1m
  985. board_flash_mode = dout
  986. lib_deps = ${common.lib_deps}
  987. lib_ignore = ${common.lib_ignore}
  988. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  989. upload_speed = 115200
  990. upload_port = ${common.upload_port}
  991. upload_flags = ${common.upload_flags}
  992. monitor_baud = 115200
  993. extra_scripts = ${common.extra_scripts}
  994. [env:magichome-led-controller]
  995. platform = ${common.platform}
  996. framework = arduino
  997. board = esp01_1m
  998. board_flash_mode = dout
  999. lib_deps = ${common.lib_deps}
  1000. lib_ignore = ${common.lib_ignore}
  1001. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  1002. monitor_baud = 115200
  1003. extra_scripts = ${common.extra_scripts}
  1004. [env:magichome-led-controller-ota]
  1005. platform = ${common.platform}
  1006. framework = arduino
  1007. board = esp01_1m
  1008. board_flash_mode = dout
  1009. lib_deps = ${common.lib_deps}
  1010. lib_ignore = ${common.lib_ignore}
  1011. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  1012. upload_speed = 115200
  1013. upload_port = ${common.upload_port}
  1014. upload_flags = ${common.upload_flags}
  1015. monitor_baud = 115200
  1016. extra_scripts = ${common.extra_scripts}
  1017. [env:magichome-led-controller-20]
  1018. platform = ${common.platform}
  1019. framework = arduino
  1020. board = esp01_1m
  1021. board_flash_mode = dout
  1022. lib_deps = ${common.lib_deps}
  1023. lib_ignore = ${common.lib_ignore}
  1024. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  1025. monitor_baud = 115200
  1026. extra_scripts = ${common.extra_scripts}
  1027. [env:magichome-led-controller-20-ota]
  1028. platform = ${common.platform}
  1029. framework = arduino
  1030. board = esp01_1m
  1031. board_flash_mode = dout
  1032. lib_deps = ${common.lib_deps}
  1033. lib_ignore = ${common.lib_ignore}
  1034. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  1035. upload_port = ${common.upload_port}
  1036. upload_flags = ${common.upload_flags}
  1037. monitor_baud = 115200
  1038. extra_scripts = ${common.extra_scripts}
  1039. [env:huacanxing-h801]
  1040. platform = ${common.platform}
  1041. framework = arduino
  1042. board = esp01_1m
  1043. board_flash_mode = dout
  1044. lib_deps = ${common.lib_deps}
  1045. lib_ignore = ${common.lib_ignore}
  1046. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  1047. monitor_baud = 115200
  1048. extra_scripts = ${common.extra_scripts}
  1049. [env:huacanxing-h801-ota]
  1050. platform = ${common.platform}
  1051. framework = arduino
  1052. board = esp01_1m
  1053. board_flash_mode = dout
  1054. lib_deps = ${common.lib_deps}
  1055. lib_ignore = ${common.lib_ignore}
  1056. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  1057. upload_speed = 115200
  1058. upload_port = ${common.upload_port}
  1059. upload_flags = ${common.upload_flags}
  1060. monitor_baud = 115200
  1061. extra_scripts = ${common.extra_scripts}
  1062. [env:huacanxing-h802]
  1063. platform = ${common.platform}
  1064. framework = arduino
  1065. board = esp01_1m
  1066. board_flash_mode = dout
  1067. lib_deps = ${common.lib_deps}
  1068. lib_ignore = ${common.lib_ignore}
  1069. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  1070. monitor_baud = 115200
  1071. extra_scripts = ${common.extra_scripts}
  1072. [env:huacanxing-h802-ota]
  1073. platform = ${common.platform}
  1074. framework = arduino
  1075. board = esp01_1m
  1076. board_flash_mode = dout
  1077. lib_deps = ${common.lib_deps}
  1078. lib_ignore = ${common.lib_ignore}
  1079. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  1080. upload_speed = 115200
  1081. upload_port = ${common.upload_port}
  1082. upload_flags = ${common.upload_flags}
  1083. monitor_baud = 115200
  1084. extra_scripts = ${common.extra_scripts}
  1085. [env:arilux-al-lc01]
  1086. platform = ${common.platform}
  1087. framework = arduino
  1088. board = esp01_1m
  1089. board_flash_mode = dout
  1090. lib_deps = ${common.lib_deps}
  1091. lib_ignore = ${common.lib_ignore}
  1092. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  1093. monitor_baud = 115200
  1094. extra_scripts = ${common.extra_scripts}
  1095. [env:arilux-al-lc01-ota]
  1096. platform = ${common.platform}
  1097. framework = arduino
  1098. board = esp01_1m
  1099. board_flash_mode = dout
  1100. lib_deps = ${common.lib_deps}
  1101. lib_ignore = ${common.lib_ignore}
  1102. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC01
  1103. upload_speed = 115200
  1104. upload_port = ${common.upload_port}
  1105. upload_flags = ${common.upload_flags}
  1106. monitor_baud = 115200
  1107. extra_scripts = ${common.extra_scripts}
  1108. [env:arilux-al-lc02]
  1109. platform = ${common.platform}
  1110. framework = arduino
  1111. board = esp01_1m
  1112. board_flash_mode = dout
  1113. lib_deps = ${common.lib_deps}
  1114. lib_ignore = ${common.lib_ignore}
  1115. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  1116. monitor_baud = 115200
  1117. extra_scripts = ${common.extra_scripts}
  1118. [env:arilux-al-lc02-ota]
  1119. platform = ${common.platform}
  1120. framework = arduino
  1121. board = esp01_1m
  1122. board_flash_mode = dout
  1123. lib_deps = ${common.lib_deps}
  1124. lib_ignore = ${common.lib_ignore}
  1125. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC02
  1126. upload_speed = 115200
  1127. upload_port = ${common.upload_port}
  1128. upload_flags = ${common.upload_flags}
  1129. monitor_baud = 115200
  1130. extra_scripts = ${common.extra_scripts}
  1131. [env:arilux-al-lc06]
  1132. platform = ${common.platform}
  1133. framework = arduino
  1134. board = esp01_1m
  1135. board_flash_mode = dout
  1136. lib_deps = ${common.lib_deps}
  1137. lib_ignore = ${common.lib_ignore}
  1138. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  1139. monitor_baud = 115200
  1140. extra_scripts = ${common.extra_scripts}
  1141. [env:arilux-al-lc06-ota]
  1142. platform = ${common.platform}
  1143. framework = arduino
  1144. board = esp01_1m
  1145. board_flash_mode = dout
  1146. lib_deps = ${common.lib_deps}
  1147. lib_ignore = ${common.lib_ignore}
  1148. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  1149. upload_speed = 115200
  1150. upload_port = ${common.upload_port}
  1151. upload_flags = ${common.upload_flags}
  1152. monitor_baud = 115200
  1153. extra_scripts = ${common.extra_scripts}
  1154. [env:arilux-al-lc11]
  1155. platform = ${common.platform}
  1156. framework = arduino
  1157. board = esp01_1m
  1158. board_flash_mode = dout
  1159. lib_deps = ${common.lib_deps}
  1160. lib_ignore = ${common.lib_ignore}
  1161. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  1162. monitor_baud = 115200
  1163. extra_scripts = ${common.extra_scripts}
  1164. [env:arilux-al-lc11-ota]
  1165. platform = ${common.platform}
  1166. framework = arduino
  1167. board = esp01_1m
  1168. board_flash_mode = dout
  1169. lib_deps = ${common.lib_deps}
  1170. lib_ignore = ${common.lib_ignore}
  1171. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC11
  1172. upload_speed = 115200
  1173. upload_port = ${common.upload_port}
  1174. upload_flags = ${common.upload_flags}
  1175. monitor_baud = 115200
  1176. extra_scripts = ${common.extra_scripts}
  1177. [env:arilux-e27]
  1178. platform = ${common.platform}
  1179. framework = arduino
  1180. board = esp01_1m
  1181. board_flash_mode = dout
  1182. lib_deps = ${common.lib_deps}
  1183. lib_ignore = ${common.lib_ignore}
  1184. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  1185. monitor_baud = 115200
  1186. extra_scripts = ${common.extra_scripts}
  1187. [env:arilux-e27-ota]
  1188. platform = ${common.platform}
  1189. framework = arduino
  1190. board = esp01_1m
  1191. board_flash_mode = dout
  1192. lib_deps = ${common.lib_deps}
  1193. lib_ignore = ${common.lib_ignore}
  1194. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  1195. upload_speed = 115200
  1196. upload_port = ${common.upload_port}
  1197. upload_flags = ${common.upload_flags}
  1198. monitor_baud = 115200
  1199. extra_scripts = ${common.extra_scripts}
  1200. [env:itead-bnsz01]
  1201. platform = ${common.platform}
  1202. framework = arduino
  1203. board = esp01_1m
  1204. board_flash_mode = dout
  1205. lib_deps = ${common.lib_deps}
  1206. lib_ignore = ${common.lib_ignore}
  1207. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1208. monitor_baud = 115200
  1209. extra_scripts = ${common.extra_scripts}
  1210. [env:itead-bnsz01-ota]
  1211. platform = ${common.platform}
  1212. framework = arduino
  1213. board = esp01_1m
  1214. board_flash_mode = dout
  1215. lib_deps = ${common.lib_deps}
  1216. lib_ignore = ${common.lib_ignore}
  1217. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  1218. upload_speed = 115200
  1219. upload_port = ${common.upload_port}
  1220. upload_flags = ${common.upload_flags}
  1221. monitor_baud = 115200
  1222. extra_scripts = ${common.extra_scripts}
  1223. [env:wion-50055]
  1224. platform = ${common.platform}
  1225. framework = arduino
  1226. board = esp01_1m
  1227. board_flash_mode = dout
  1228. lib_deps = ${common.lib_deps}
  1229. lib_ignore = ${common.lib_ignore}
  1230. build_flags = ${common.build_flags_1m} -DWION_50055
  1231. monitor_baud = 115200
  1232. extra_scripts = ${common.extra_scripts}
  1233. [env:wion-50055-ota]
  1234. platform = ${common.platform}
  1235. framework = arduino
  1236. board = esp01_1m
  1237. board_flash_mode = dout
  1238. lib_deps = ${common.lib_deps}
  1239. lib_ignore = ${common.lib_ignore}
  1240. build_flags = ${common.build_flags_1m} -DWION_50055
  1241. upload_speed = 115200
  1242. upload_port = ${common.upload_port}
  1243. upload_flags = ${common.upload_flags}
  1244. monitor_baud = 115200
  1245. extra_scripts = ${common.extra_scripts}
  1246. [env:exs-wifi-relay-v31]
  1247. platform = ${common.platform}
  1248. framework = arduino
  1249. board = esp07
  1250. board_flash_mode = dout
  1251. lib_deps = ${common.lib_deps}
  1252. lib_ignore = ${common.lib_ignore}
  1253. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1254. monitor_baud = 115200
  1255. extra_scripts = ${common.extra_scripts}
  1256. [env:exs-wifi-relay-v31-ota]
  1257. platform = ${common.platform}
  1258. framework = arduino
  1259. board = esp07
  1260. board_flash_mode = dout
  1261. lib_deps = ${common.lib_deps}
  1262. lib_ignore = ${common.lib_ignore}
  1263. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  1264. upload_speed = 115200
  1265. upload_port = ${common.upload_port}
  1266. upload_flags = ${common.upload_flags}
  1267. monitor_baud = 115200
  1268. extra_scripts = ${common.extra_scripts}
  1269. [env:wemos-v9261f]
  1270. platform = ${common.platform}
  1271. framework = arduino
  1272. board = d1_mini
  1273. lib_deps = ${common.lib_deps}
  1274. lib_ignore = ${common.lib_ignore}
  1275. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1276. upload_speed = 460800
  1277. monitor_baud = 115200
  1278. extra_scripts = ${common.extra_scripts}
  1279. [env:wemos-v9261f-ota]
  1280. platform = ${common.platform}
  1281. framework = arduino
  1282. board = d1_mini
  1283. lib_deps = ${common.lib_deps}
  1284. lib_ignore = ${common.lib_ignore}
  1285. build_flags = ${common.build_flags} -DGENERIC_V9261F
  1286. upload_speed = 115200
  1287. upload_port = ${common.upload_port}
  1288. upload_flags = ${common.upload_flags}
  1289. monitor_baud = 115200
  1290. extra_scripts = ${common.extra_scripts}
  1291. [env:esp01-v9261f]
  1292. platform = ${common.platform}
  1293. framework = arduino
  1294. board = esp01_1m
  1295. board_flash_mode = dout
  1296. lib_deps = ${common.lib_deps}
  1297. lib_ignore = ${common.lib_ignore}
  1298. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1299. monitor_baud = 115200
  1300. extra_scripts = ${common.extra_scripts}
  1301. [env:esp01-v9261f-ota]
  1302. platform = ${common.platform}
  1303. framework = arduino
  1304. board = esp01_1m
  1305. board_flash_mode = dout
  1306. lib_deps = ${common.lib_deps}
  1307. lib_ignore = ${common.lib_ignore}
  1308. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  1309. upload_speed = 115200
  1310. upload_port = ${common.upload_port}
  1311. upload_flags = ${common.upload_flags}
  1312. monitor_baud = 115200
  1313. extra_scripts = ${common.extra_scripts}
  1314. [env:wemos-ech1560]
  1315. platform = ${common.platform}
  1316. framework = arduino
  1317. board = d1_mini
  1318. lib_deps = ${common.lib_deps}
  1319. lib_ignore = ${common.lib_ignore}
  1320. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1321. upload_speed = 460800
  1322. monitor_baud = 115200
  1323. extra_scripts = ${common.extra_scripts}
  1324. [env:wemos-ech1560-ota]
  1325. platform = ${common.platform}
  1326. framework = arduino
  1327. board = d1_mini
  1328. lib_deps = ${common.lib_deps}
  1329. lib_ignore = ${common.lib_ignore}
  1330. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  1331. upload_speed = 115200
  1332. upload_port = ${common.upload_port}
  1333. upload_flags = ${common.upload_flags}
  1334. monitor_baud = 115200
  1335. extra_scripts = ${common.extra_scripts}
  1336. [env:esp01-ech1560]
  1337. platform = ${common.platform}
  1338. framework = arduino
  1339. board = esp01_1m
  1340. board_flash_mode = dout
  1341. lib_deps = ${common.lib_deps}
  1342. lib_ignore = ${common.lib_ignore}
  1343. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1344. monitor_baud = 115200
  1345. extra_scripts = ${common.extra_scripts}
  1346. [env:esp01-ech1560-ota]
  1347. platform = ${common.platform}
  1348. framework = arduino
  1349. board = esp01_1m
  1350. board_flash_mode = dout
  1351. lib_deps = ${common.lib_deps}
  1352. lib_ignore = ${common.lib_ignore}
  1353. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  1354. upload_speed = 115200
  1355. upload_port = ${common.upload_port}
  1356. upload_flags = ${common.upload_flags}
  1357. monitor_baud = 115200
  1358. extra_scripts = ${common.extra_scripts}
  1359. [env:mancavemade-esplive]
  1360. platform = ${common.platform}
  1361. framework = arduino
  1362. board = d1_mini
  1363. lib_deps = ${common.lib_deps}
  1364. lib_ignore = ${common.lib_ignore}
  1365. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1366. upload_speed = 460800
  1367. monitor_baud = 115200
  1368. extra_scripts = ${common.extra_scripts}
  1369. [env:mancavemade-esplive-ota]
  1370. platform = ${common.platform}
  1371. framework = arduino
  1372. board = d1_mini
  1373. lib_deps = ${common.lib_deps}
  1374. lib_ignore = ${common.lib_ignore}
  1375. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  1376. upload_speed = 460800
  1377. upload_port = ${common.upload_port}
  1378. upload_flags = ${common.upload_flags}
  1379. monitor_baud = 115200
  1380. extra_scripts = ${common.extra_scripts}
  1381. [env:intermittech-quinled]
  1382. platform = ${common.platform}
  1383. framework = arduino
  1384. board = esp01_1m
  1385. board_flash_mode = dout
  1386. lib_deps = ${common.lib_deps}
  1387. lib_ignore = ${common.lib_ignore}
  1388. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1389. monitor_baud = 115200
  1390. extra_scripts = ${common.extra_scripts}
  1391. [env:intermittech-quinled-ota]
  1392. platform = ${common.platform}
  1393. framework = arduino
  1394. board = esp01_1m
  1395. board_flash_mode = dout
  1396. lib_deps = ${common.lib_deps}
  1397. lib_ignore = ${common.lib_ignore}
  1398. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  1399. upload_speed = 115200
  1400. upload_port = ${common.upload_port}
  1401. upload_flags = ${common.upload_flags}
  1402. monitor_baud = 115200
  1403. extra_scripts = ${common.extra_scripts}
  1404. [env:xenon-sm-pw702u]
  1405. platform = ${common.platform}
  1406. framework = arduino
  1407. board = esp12e
  1408. board_flash_mode = dout
  1409. lib_deps = ${common.lib_deps}
  1410. lib_ignore = ${common.lib_ignore}
  1411. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1412. monitor_baud = 115200
  1413. extra_scripts = ${common.extra_scripts}
  1414. [env:xenon-sm-pw702u-ota]
  1415. platform = ${common.platform}
  1416. framework = arduino
  1417. board = esp12e
  1418. board_flash_mode = dout
  1419. lib_deps = ${common.lib_deps}
  1420. lib_ignore = ${common.lib_ignore}
  1421. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1422. upload_speed = 115200
  1423. upload_port = ${common.upload_port}
  1424. upload_flags = ${common.upload_flags}
  1425. monitor_baud = 115200
  1426. extra_scripts = ${common.extra_scripts}
  1427. [env:authometion-lyt8266]
  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} -DAUTHOMETION_LYT8266
  1435. monitor_baud = 115200
  1436. extra_scripts = ${common.extra_scripts}
  1437. [env:authometion-lyt8266-ota]
  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} -DAUTHOMETION_LYT8266
  1445. upload_speed = 115200
  1446. upload_port = ${common.upload_port}
  1447. upload_flags = ${common.upload_flags}
  1448. monitor_baud = 115200
  1449. extra_scripts = ${common.extra_scripts}
  1450. [env:kmc-70011]
  1451. platform = ${common.platform}
  1452. framework = arduino
  1453. board = esp01_1m
  1454. board_flash_mode = dout
  1455. lib_deps = ${common.lib_deps}
  1456. lib_ignore = ${common.lib_ignore}
  1457. build_flags = ${common.build_flags_1m} -DKMC_70011
  1458. monitor_baud = 115200
  1459. extra_scripts = ${common.extra_scripts}
  1460. [env:kmc-70011-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} -DKMC_70011
  1468. upload_speed = 115200
  1469. upload_port = ${common.upload_port}
  1470. upload_flags = ${common.upload_flags}
  1471. monitor_baud = 115200
  1472. extra_scripts = ${common.extra_scripts}
  1473. [env:yjzk-switch-2ch]
  1474. platform = ${common.platform}
  1475. framework = arduino
  1476. board = esp01_1m
  1477. board_flash_mode = dout
  1478. lib_deps = ${common.lib_deps}
  1479. lib_ignore = ${common.lib_ignore}
  1480. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1481. monitor_baud = 115200
  1482. extra_scripts = ${common.extra_scripts}
  1483. [env:yjzk-switch-2ch-ota]
  1484. platform = ${common.platform}
  1485. framework = arduino
  1486. board = esp01_1m
  1487. board_flash_mode = dout
  1488. lib_deps = ${common.lib_deps}
  1489. lib_ignore = ${common.lib_ignore}
  1490. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1491. upload_speed = 115200
  1492. upload_port = ${common.upload_port}
  1493. upload_flags = ${common.upload_flags}
  1494. monitor_baud = 115200
  1495. extra_scripts = ${common.extra_scripts}
  1496. [env:generic-8ch]
  1497. platform = ${common.platform}
  1498. framework = arduino
  1499. board = d1_mini
  1500. lib_deps = ${common.lib_deps}
  1501. lib_ignore = ${common.lib_ignore}
  1502. build_flags = ${common.build_flags} -DGENERIC_8CH
  1503. upload_speed = 460800
  1504. monitor_baud = 115200
  1505. extra_scripts = ${common.extra_scripts}
  1506. [env:gizwits-witty-cloud]
  1507. platform = ${common.platform}
  1508. framework = arduino
  1509. board = esp12e
  1510. board_flash_mode = dout
  1511. lib_deps = ${common.lib_deps}
  1512. lib_ignore = ${common.lib_ignore}
  1513. build_flags = ${common.build_flags} -DGIZWITS_WITTY_CLOUD
  1514. monitor_baud = 115200
  1515. extra_scripts = ${common.extra_scripts}
  1516. [env:gizwits-witty-cloud-ota]
  1517. platform = ${common.platform}
  1518. framework = arduino
  1519. board = esp12e
  1520. board_flash_mode = dout
  1521. lib_deps = ${common.lib_deps}
  1522. lib_ignore = ${common.lib_ignore}
  1523. build_flags = ${common.build_flags} -DGIZWITS_WITTY_CLOUD
  1524. upload_speed = 115200
  1525. upload_port = "${env.ESPURNA_IP}"
  1526. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1527. extra_scripts = ${common.extra_scripts}
  1528. [env:euromate-wifi-stecker-shuko]
  1529. platform = ${common.platform}
  1530. framework = arduino
  1531. board = esp01_1m
  1532. board_flash_mode = dout
  1533. lib_deps = ${common.lib_deps}
  1534. lib_ignore = ${common.lib_ignore}
  1535. build_flags = ${common.build_flags} -DEUROMATE_WIFI_STECKER_SCHUKO
  1536. monitor_baud = 115200
  1537. extra_scripts = ${common.extra_scripts}
  1538. [env:euromate-wifi-stecker-shuko-ota]
  1539. platform = ${common.platform}
  1540. framework = arduino
  1541. board = esp01_1m
  1542. board_flash_mode = dout
  1543. lib_deps = ${common.lib_deps}
  1544. lib_ignore = ${common.lib_ignore}
  1545. build_flags = ${common.build_flags} -DEUROMATE_WIFI_STECKER_SCHUKO
  1546. upload_speed = 115200
  1547. upload_port = "${env.ESPURNA_IP}"
  1548. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1549. extra_scripts = ${common.extra_scripts}
  1550. [env:tonbux-powerstrip02]
  1551. platform = ${common.platform}
  1552. framework = arduino
  1553. board = esp01_1m
  1554. board_flash_mode = dout
  1555. lib_deps = ${common.lib_deps}
  1556. lib_ignore = ${common.lib_ignore}
  1557. build_flags = ${common.build_flags} -DTONBUX_POWERSTRIP02
  1558. monitor_baud = 115200
  1559. extra_scripts = ${common.extra_scripts}
  1560. [env:tonbux-powerstrip02-ota]
  1561. platform = ${common.platform}
  1562. framework = arduino
  1563. board = esp01_1m
  1564. board_flash_mode = dout
  1565. lib_deps = ${common.lib_deps}
  1566. lib_ignore = ${common.lib_ignore}
  1567. build_flags = ${common.build_flags} -DTONBUX_POWERSTRIP02
  1568. upload_speed = 115200
  1569. upload_port = "${env.ESPURNA_IP}"
  1570. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1571. extra_scripts = ${common.extra_scripts}
  1572. [env:lingan-swa1]
  1573. platform = ${common.platform}
  1574. framework = arduino
  1575. board = esp01_1m
  1576. board_flash_mode = dout
  1577. lib_deps = ${common.lib_deps}
  1578. lib_ignore = ${common.lib_ignore}
  1579. build_flags = ${common.build_flags} -DLINGAN_SWA1
  1580. monitor_baud = 115200
  1581. extra_scripts = ${common.extra_scripts}
  1582. [env:lingan-swa1-ota]
  1583. platform = ${common.platform}
  1584. framework = arduino
  1585. board = esp01_1m
  1586. board_flash_mode = dout
  1587. lib_deps = ${common.lib_deps}
  1588. lib_ignore = ${common.lib_ignore}
  1589. build_flags = ${common.build_flags} -DLINGAN_SWA1
  1590. upload_speed = 115200
  1591. upload_port = "${env.ESPURNA_IP}"
  1592. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1593. extra_scripts = ${common.extra_scripts}
  1594. [env:stm-relay]
  1595. platform = ${common.platform}
  1596. framework = arduino
  1597. board = esp01_1m
  1598. board_flash_mode = dout
  1599. lib_deps = ${common.lib_deps}
  1600. lib_ignore = ${common.lib_ignore}
  1601. build_flags = ${common.build_flags_1m} -DSTM_RELAY
  1602. monitor_baud = 115200
  1603. extra_scripts = ${common.extra_scripts}
  1604. [env:stm-relay-ota]
  1605. platform = ${common.platform}
  1606. framework = arduino
  1607. board = esp01_1m
  1608. board_flash_mode = dout
  1609. lib_deps = ${common.lib_deps}
  1610. lib_ignore = ${common.lib_ignore}
  1611. build_flags = ${common.build_flags_1m} -DSTM_RELAY
  1612. upload_speed = 115200
  1613. upload_port = ${common.upload_port}
  1614. upload_flags = ${common.upload_flags}
  1615. monitor_baud = 115200
  1616. extra_scripts = ${common.extra_scripts}
  1617. [env:heygo-hy02]
  1618. platform = ${common.platform}
  1619. framework = arduino
  1620. board = esp01_1m
  1621. board_flash_mode = dout
  1622. lib_deps = ${common.lib_deps}
  1623. lib_ignore = ${common.lib_ignore}
  1624. build_flags = ${common.build_flags_1m} -DHEYGO_HY02
  1625. monitor_baud = 115200
  1626. extra_scripts = ${common.extra_scripts}
  1627. [env:heygo-hy02-ota]
  1628. platform = ${common.platform}
  1629. framework = arduino
  1630. board = esp01_1m
  1631. board_flash_mode = dout
  1632. lib_deps = ${common.lib_deps}
  1633. lib_ignore = ${common.lib_ignore}
  1634. build_flags = ${common.build_flags_1m} -DHEYGO_HY02
  1635. upload_speed = 115200
  1636. upload_port = "${env.ESPURNA_IP}"
  1637. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1638. extra_scripts = ${common.extra_scripts}
  1639. [env:maxcio-wus002s]
  1640. platform = ${common.platform}
  1641. framework = arduino
  1642. board = esp01_1m
  1643. board_flash_mode = dout
  1644. lib_deps = ${common.lib_deps}
  1645. lib_ignore = ${common.lib_ignore}
  1646. build_flags = ${common.build_flags_1m} -DMAXCIO_WUS002S
  1647. monitor_baud = 115200
  1648. extra_scripts = ${common.extra_scripts}
  1649. [env:maxcio-wus002s-ota]
  1650. platform = ${common.platform}
  1651. framework = arduino
  1652. board = esp01_1m
  1653. board_flash_mode = dout
  1654. lib_deps = ${common.lib_deps}
  1655. lib_ignore = ${common.lib_ignore}
  1656. build_flags = ${common.build_flags_1m} -DMAXCIO_WUS002S
  1657. upload_speed = 115200
  1658. upload_port = "${env.ESPURNA_IP}"
  1659. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1660. extra_scripts = ${common.extra_scripts}
  1661. [env:yidian-xsssa05]
  1662. platform = ${common.platform}
  1663. framework = arduino
  1664. board = esp01_1m
  1665. board_flash_mode = dout
  1666. lib_deps = ${common.lib_deps}
  1667. lib_ignore = ${common.lib_ignore}
  1668. build_flags = ${common.build_flags_1m} -DYIDIAN_XSSSA05
  1669. monitor_baud = 115200
  1670. extra_scripts = ${common.extra_scripts}
  1671. [env:yidian-xsssa05-ota]
  1672. platform = ${common.platform}
  1673. framework = arduino
  1674. board = esp01_1m
  1675. board_flash_mode = dout
  1676. lib_deps = ${common.lib_deps}
  1677. lib_ignore = ${common.lib_ignore}
  1678. build_flags = ${common.build_flags_1m} -DYIDIAN_XSSSA05
  1679. upload_speed = 115200
  1680. upload_port = "${env.ESPURNA_IP}"
  1681. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1682. extra_scripts = ${common.extra_scripts}
  1683. [env:tonbux-xsssa06]
  1684. platform = ${common.platform}
  1685. framework = arduino
  1686. board = esp01_1m
  1687. board_flash_mode = dout
  1688. lib_deps = ${common.lib_deps}
  1689. lib_ignore = ${common.lib_ignore}
  1690. build_flags = ${common.build_flags_1m} -DTONBUX_XSSSA06
  1691. monitor_baud = 115200
  1692. extra_scripts = ${common.extra_scripts}
  1693. [env:tonbux-xsssa06-ota]
  1694. platform = ${common.platform}
  1695. framework = arduino
  1696. board = esp01_1m
  1697. board_flash_mode = dout
  1698. lib_deps = ${common.lib_deps}
  1699. lib_ignore = ${common.lib_ignore}
  1700. build_flags = ${common.build_flags_1m} -DTONBUX_XSSSA06
  1701. upload_speed = 115200
  1702. upload_port = "${env.ESPURNA_IP}"
  1703. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1704. extra_scripts = ${common.extra_scripts}
  1705. [env:green-esp8266relay]
  1706. platform = ${common.platform}
  1707. framework = arduino
  1708. board = esp12e
  1709. board_flash_mode = dout
  1710. lib_deps = ${common.lib_deps}
  1711. lib_ignore = ${common.lib_ignore}
  1712. build_flags = ${common.build_flags} -DGREEN_ESP8266RELAY
  1713. monitor_baud = 115200
  1714. extra_scripts = ${common.extra_scripts}
  1715. [env:green-esp8266relay-ota]
  1716. platform = ${common.platform}
  1717. framework = arduino
  1718. board = esp12e
  1719. board_flash_mode = dout
  1720. lib_deps = ${common.lib_deps}
  1721. lib_ignore = ${common.lib_ignore}
  1722. build_flags = ${common.build_flags} -DGREEN_ESP8266RELAY
  1723. upload_speed = 115200
  1724. upload_port = "${env.ESPURNA_IP}"
  1725. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1726. extra_scripts = ${common.extra_scripts}
  1727. [env:ike-espike]
  1728. platform = ${common.platform}
  1729. framework = arduino
  1730. board = esp12e
  1731. board_flash_mode = dout
  1732. lib_deps = ${common.lib_deps}
  1733. lib_ignore = ${common.lib_ignore}
  1734. build_flags = ${common.build_flags} -DIKE_ESPIKE
  1735. monitor_baud = 115200
  1736. extra_scripts = ${common.extra_scripts}
  1737. [env:ike-espike-ota]
  1738. platform = ${common.platform}
  1739. framework = arduino
  1740. board = esp12e
  1741. board_flash_mode = dout
  1742. lib_deps = ${common.lib_deps}
  1743. lib_ignore = ${common.lib_ignore}
  1744. build_flags = ${common.build_flags} -DIKE_ESPIKE
  1745. upload_speed = 115200
  1746. upload_port = "${env.ESPURNA_IP}"
  1747. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1748. extra_scripts = ${common.extra_scripts}
  1749. [env:arniex-swifitch]
  1750. platform = ${common.platform}
  1751. framework = arduino
  1752. board = esp12e
  1753. board_flash_mode = dout
  1754. lib_deps = ${common.lib_deps}
  1755. lib_ignore = ${common.lib_ignore}
  1756. build_flags = ${common.build_flags_1m} -DARNIEX_SWIFITCH
  1757. extra_scripts = ${common.extra_scripts}
  1758. monitor_baud = 115200
  1759. [env:arniex-swifitch-ota]
  1760. platform = ${common.platform}
  1761. framework = arduino
  1762. board = esp12e
  1763. board_flash_mode = dout
  1764. lib_deps = ${common.lib_deps}
  1765. lib_ignore = ${common.lib_ignore}
  1766. build_flags = ${common.build_flags_1m} -DARNIEX_SWIFITCH
  1767. upload_speed = 115200
  1768. upload_port = "${env.ESPURNA_IP}"
  1769. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1770. extra_scripts = ${common.extra_scripts}
  1771. [env:zhilde-eu44-w]
  1772. platform = ${common.platform}
  1773. framework = arduino
  1774. board = esp01_1m
  1775. board_flash_mode = dout
  1776. lib_deps = ${common.lib_deps}
  1777. lib_ignore = ${common.lib_ignore}
  1778. build_flags = ${common.build_flags_1m} -DZHILDE_EU44_W
  1779. monitor_baud = 115200
  1780. extra_scripts = ${common.extra_scripts}
  1781. [env:zhilde-eu44-w-ota]
  1782. platform = ${common.platform}
  1783. framework = arduino
  1784. board = esp01_1m
  1785. board_flash_mode = dout
  1786. lib_deps = ${common.lib_deps}
  1787. lib_ignore = ${common.lib_ignore}
  1788. build_flags = ${common.build_flags_1m} -DZHILDE_EU44_W
  1789. upload_speed = 115200
  1790. upload_port = "${env.ESPURNA_IP}"
  1791. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1792. monitor_baud = 115200
  1793. extra_scripts = ${common.extra_scripts}
  1794. [env:luani-hvio]
  1795. platform = ${common.platform}
  1796. framework = arduino
  1797. board = esp07
  1798. board_flash_mode = dout
  1799. lib_deps = ${common.lib_deps}
  1800. lib_ignore = ${common.lib_ignore}
  1801. build_flags = ${common.build_flags_1m} -DLUANI_HVIO
  1802. monitor_baud = 115200
  1803. extra_scripts = ${common.extra_scripts}
  1804. [env:luani-hvio-ota]
  1805. platform = ${common.platform}
  1806. framework = arduino
  1807. board = esp07
  1808. board_flash_mode = dout
  1809. lib_deps = ${common.lib_deps}
  1810. lib_ignore = ${common.lib_ignore}
  1811. build_flags = ${common.build_flags_1m} -DZLUANI_HVIO
  1812. upload_speed = 115200
  1813. upload_port = "${env.ESPURNA_IP}"
  1814. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1815. monitor_baud = 115200
  1816. extra_scripts = ${common.extra_scripts}
  1817. [env:neo-coolcam-power-plug-wifi]
  1818. platform = ${common.platform}
  1819. framework = arduino
  1820. board = esp01_1m
  1821. board_flash_mode = dout
  1822. lib_deps = ${common.lib_deps}
  1823. lib_ignore = ${common.lib_ignore}
  1824. build_flags = ${common.build_flags} -DNEO_COOLCAM_POWER_PLUG_WIFI
  1825. monitor_baud = 115200
  1826. extra_scripts = ${common.extra_scripts}
  1827. [env:neo-coolcam-power-plug-wifi-ota]
  1828. platform = ${common.platform}
  1829. framework = arduino
  1830. board = esp01_1m
  1831. board_flash_mode = dout
  1832. lib_deps = ${common.lib_deps}
  1833. lib_ignore = ${common.lib_ignore}
  1834. build_flags = ${common.build_flags} -DNEO_COOLCAM_POWER_PLUG_WIFI
  1835. upload_speed = 115200
  1836. upload_port = "${env.ESPURNA_IP}"
  1837. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1838. extra_scripts = ${common.extra_scripts}
  1839. [env:estink-wifi-power-strip]
  1840. platform = ${common.platform}
  1841. framework = arduino
  1842. board = esp01_1m
  1843. board_flash_mode = dout
  1844. lib_deps = ${common.lib_deps}
  1845. lib_ignore = ${common.lib_ignore}
  1846. build_flags = ${common.build_flags} -DESTINK_WIFI_POWER_STRIP
  1847. monitor_baud = 115200
  1848. extra_scripts = ${common.extra_scripts}
  1849. [env:estink-wifi-power-strip-ota]
  1850. platform = ${common.platform}
  1851. framework = arduino
  1852. board = esp01_1m
  1853. board_flash_mode = dout
  1854. lib_deps = ${common.lib_deps}
  1855. lib_ignore = ${common.lib_ignore}
  1856. build_flags = ${common.build_flags} -DESTINK_WIFI_POWER_STRIP
  1857. upload_speed = 115200
  1858. upload_port = "${env.ESPURNA_IP}"
  1859. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1860. extra_scripts = ${common.extra_scripts}
  1861. # ------------------------------------------------------------------------------
  1862. # GENERIC OTA ENVIRONMENTS
  1863. # ------------------------------------------------------------------------------
  1864. [env:generic-esp01s-relay-40]
  1865. platform = ${common.platform}
  1866. framework = arduino
  1867. board = esp01_1m
  1868. board_flash_mode = dout
  1869. lib_deps = ${common.lib_deps}
  1870. lib_ignore = ${common.lib_ignore}
  1871. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_RELAY_V40
  1872. monitor_baud = 115200
  1873. extra_scripts = ${common.extra_scripts}
  1874. [env:generic-esp01s-relay-40-ota]
  1875. platform = ${common.platform}
  1876. framework = arduino
  1877. board = esp01_1m
  1878. board_flash_mode = dout
  1879. lib_deps = ${common.lib_deps}
  1880. lib_ignore = ${common.lib_ignore}
  1881. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_RELAY_V40
  1882. upload_speed = 115200
  1883. upload_port = "${env.ESPURNA_IP}"
  1884. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1885. extra_scripts = ${common.extra_scripts}
  1886. [env:generic-esp01s-rgbled-10]
  1887. platform = ${common.platform}
  1888. framework = arduino
  1889. board = esp01_1m
  1890. board_flash_mode = dout
  1891. lib_deps = ${common.lib_deps}
  1892. lib_ignore = ${common.lib_ignore}
  1893. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_RGBLED_V10
  1894. monitor_baud = 115200
  1895. extra_scripts = ${common.extra_scripts}
  1896. [env:generic-esp01s-rgbled-10-ota]
  1897. platform = ${common.platform}
  1898. framework = arduino
  1899. board = esp01_1m
  1900. board_flash_mode = dout
  1901. lib_deps = ${common.lib_deps}
  1902. lib_ignore = ${common.lib_ignore}
  1903. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_RGBLED_V10
  1904. upload_speed = 115200
  1905. upload_port = "${env.ESPURNA_IP}"
  1906. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1907. extra_scripts = ${common.extra_scripts}
  1908. [env:generic-esp01s-dht11-10]
  1909. platform = ${common.platform}
  1910. framework = arduino
  1911. board = esp01_1m
  1912. board_flash_mode = dout
  1913. lib_deps = ${common.lib_deps}
  1914. lib_ignore = ${common.lib_ignore}
  1915. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_DHT11_V10
  1916. monitor_baud = 115200
  1917. extra_scripts = ${common.extra_scripts}
  1918. [env:generic-esp01s-dht11-10-ota]
  1919. platform = ${common.platform}
  1920. framework = arduino
  1921. board = esp01_1m
  1922. board_flash_mode = dout
  1923. lib_deps = ${common.lib_deps}
  1924. lib_ignore = ${common.lib_ignore}
  1925. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_DHT11_V10
  1926. upload_speed = 115200
  1927. upload_port = "${env.ESPURNA_IP}"
  1928. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1929. extra_scripts = ${common.extra_scripts}
  1930. [env:generic-esp01s-ds18b20-10]
  1931. platform = ${common.platform}
  1932. framework = arduino
  1933. board = esp01_1m
  1934. board_flash_mode = dout
  1935. lib_deps = ${common.lib_deps}
  1936. lib_ignore = ${common.lib_ignore}
  1937. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_DS18B20_V10
  1938. monitor_baud = 115200
  1939. extra_scripts = ${common.extra_scripts}
  1940. [env:generic-esp01s-ds18b20-10-ota]
  1941. platform = ${common.platform}
  1942. framework = arduino
  1943. board = esp01_1m
  1944. board_flash_mode = dout
  1945. lib_deps = ${common.lib_deps}
  1946. lib_ignore = ${common.lib_ignore}
  1947. build_flags = ${common.build_flags_1m} -DGENERIC_ESP01S_DS18B20_V10
  1948. upload_speed = 115200
  1949. upload_port = "${env.ESPURNA_IP}"
  1950. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1951. extra_scripts = ${common.extra_scripts}
  1952. [env:heltec-touch-relay]
  1953. platform = ${common.platform}
  1954. framework = arduino
  1955. board = esp01_1m
  1956. board_flash_mode = dout
  1957. lib_deps = ${common.lib_deps}
  1958. lib_ignore = ${common.lib_ignore}
  1959. build_flags = ${common.build_flags_1m} -DHELTEC_TOUCHRELAY
  1960. monitor_baud = 115200
  1961. extra_scripts = ${common.extra_scripts}
  1962. [env:heltec-touch-relay-ota]
  1963. platform = ${common.platform}
  1964. framework = arduino
  1965. board = esp01_1m
  1966. board_flash_mode = dout
  1967. lib_deps = ${common.lib_deps}
  1968. lib_ignore = ${common.lib_ignore}
  1969. build_flags = ${common.build_flags_1m} -DHELTEC_TOUCHRELAY
  1970. upload_speed = 115200
  1971. upload_port = "${env.ESPURNA_IP}"
  1972. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1973. extra_scripts = ${common.extra_scripts}
  1974. [env:allnet-4duino-iot-wlan-relais]
  1975. platform = ${common.platform}
  1976. framework = arduino
  1977. board = esp12e
  1978. board_flash_mode = dout
  1979. lib_deps = ${common.lib_deps}
  1980. lib_ignore = ${common.lib_ignore}
  1981. build_flags = ${common.build_flags_1m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  1982. monitor_baud = 115200
  1983. extra_scripts = ${common.extra_scripts}
  1984. [env:allnet-4duino-iot-wlan-relais-ota]
  1985. platform = ${common.platform}
  1986. framework = arduino
  1987. board = esp12e
  1988. board_flash_mode = dout
  1989. lib_deps = ${common.lib_deps}
  1990. lib_ignore = ${common.lib_ignore}
  1991. build_flags = ${common.build_flags_1m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  1992. upload_speed = 115200
  1993. upload_port = "${env.ESPURNA_IP}"
  1994. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1995. extra_scripts = ${common.extra_scripts}
  1996. [env:tonbux-mosquito-killer]
  1997. platform = ${common.platform}
  1998. framework = arduino
  1999. board = esp01_1m
  2000. board_flash_mode = dout
  2001. lib_deps = ${common.lib_deps}
  2002. lib_ignore = ${common.lib_ignore}
  2003. build_flags = ${common.build_flags_1m} -DTONBUX_MOSQUITO_KILLER
  2004. monitor_baud = 115200
  2005. extra_scripts = ${common.extra_scripts}
  2006. [env:tonbux-mosquito-killer-ota]
  2007. platform = ${common.platform}
  2008. framework = arduino
  2009. board = esp01_1m
  2010. board_flash_mode = dout
  2011. lib_deps = ${common.lib_deps}
  2012. lib_ignore = ${common.lib_ignore}
  2013. build_flags = ${common.build_flags_1m} -DTONBUX_MOSQUITO_KILLER
  2014. upload_speed = 115200
  2015. upload_port = "${env.ESPURNA_IP}"
  2016. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2017. extra_scripts = ${common.extra_scripts}