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.

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