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.

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