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.

2427 lines
72 KiB

7 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.1 = arduino core 2.4.1
  14. # ------------------------------------------------------------------------------
  15. platform_150 = espressif8266@1.5.0
  16. platform_160 = espressif8266@1.6.0
  17. platform_171 = espressif8266@1.7.1
  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, 20 KB eeprom
  29. # build_flags_1m0m (1024 KB) = 999 KB sketch, 20 KB eeprom
  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. modules = ${common.modules}
  175. [env:wemos-d1mini-relayshield-ssl]
  176. platform = espressif8266@1.6.0
  177. framework = arduino
  178. board = d1_mini
  179. lib_deps = ${common.lib_deps}
  180. lib_ignore = ${common.lib_ignore}
  181. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  182. upload_speed = 460800
  183. monitor_speed = 115200
  184. extra_scripts = ${common.extra_scripts}
  185. modules = ${common.modules}
  186. [env:wemos-d1mini-relayshield-ota]
  187. platform = ${common.platform}
  188. framework = arduino
  189. board = d1_mini
  190. lib_deps = ${common.lib_deps}
  191. lib_ignore = ${common.lib_ignore}
  192. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  193. upload_speed = 115200
  194. upload_port = ${common.upload_port}
  195. upload_flags = ${common.upload_flags}
  196. extra_scripts = ${common.extra_scripts}
  197. modules = ${common.modules}
  198. [env:nodemcu-lolin]
  199. platform = ${common.platform}
  200. framework = arduino
  201. board = nodemcuv2
  202. lib_deps = ${common.lib_deps}
  203. lib_ignore = ${common.lib_ignore}
  204. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  205. upload_speed = 460800
  206. monitor_speed = 115200
  207. extra_scripts = ${common.extra_scripts}
  208. modules = ${common.modules}
  209. [env:nodemcu-lolin-ssl]
  210. platform = espressif8266@1.6.0
  211. framework = arduino
  212. board = nodemcuv2
  213. lib_deps = ${common.lib_deps}
  214. lib_ignore = ${common.lib_ignore}
  215. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  216. upload_speed = 460800
  217. monitor_speed = 115200
  218. extra_scripts = ${common.extra_scripts}
  219. modules = ${common.modules}
  220. [env:nodemcu-lolin-ota]
  221. platform = ${common.platform}
  222. framework = arduino
  223. board = nodemcuv2
  224. lib_deps = ${common.lib_deps}
  225. lib_ignore = ${common.lib_ignore}
  226. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  227. upload_speed = 115200
  228. upload_port = ${common.upload_port}
  229. upload_flags = ${common.upload_flags}
  230. monitor_speed = 115200
  231. extra_scripts = ${common.extra_scripts}
  232. modules = ${common.modules}
  233. # ------------------------------------------------------------------------------
  234. # SPECIFIC BOARDS
  235. # ------------------------------------------------------------------------------
  236. [env:tinkerman-espurna-h06]
  237. platform = ${common.platform}
  238. framework = arduino
  239. board = esp12e
  240. lib_deps = ${common.lib_deps}
  241. lib_ignore = ${common.lib_ignore}
  242. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H06
  243. monitor_speed = 115200
  244. extra_scripts = ${common.extra_scripts}
  245. modules = ${common.modules} sensor
  246. [env:tinkerman-espurna-h06-ota]
  247. platform = ${common.platform}
  248. framework = arduino
  249. board = esp12e
  250. lib_deps = ${common.lib_deps}
  251. lib_ignore = ${common.lib_ignore}
  252. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H06
  253. upload_speed = 115200
  254. upload_port = ${common.upload_port}
  255. upload_flags = ${common.upload_flags}
  256. monitor_speed = 115200
  257. extra_scripts = ${common.extra_scripts}
  258. modules = ${common.modules} sensor
  259. [env:tinkerman-espurna-h08]
  260. platform = ${common.platform}
  261. framework = arduino
  262. board = esp12e
  263. lib_deps = ${common.lib_deps}
  264. lib_ignore = ${common.lib_ignore}
  265. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H08
  266. monitor_speed = 115200
  267. extra_scripts = ${common.extra_scripts}
  268. modules = ${common.modules} sensor
  269. [env:tinkerman-espurna-h08-ota]
  270. platform = ${common.platform}
  271. framework = arduino
  272. board = esp12e
  273. lib_deps = ${common.lib_deps}
  274. lib_ignore = ${common.lib_ignore}
  275. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H08
  276. upload_speed = 115200
  277. upload_port = ${common.upload_port}
  278. upload_flags = ${common.upload_flags}
  279. monitor_speed = 115200
  280. extra_scripts = ${common.extra_scripts}
  281. modules = ${common.modules} sensor
  282. [env:tinkerman-espurna-switch]
  283. platform = ${common.platform}
  284. framework = arduino
  285. board = esp12e
  286. lib_deps = ${common.lib_deps}
  287. lib_ignore = ${common.lib_ignore}
  288. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_SWITCH
  289. monitor_speed = 115200
  290. extra_scripts = ${common.extra_scripts}
  291. modules = ${common.modules} sensor
  292. [env:wemos-d1-tarpunashield]
  293. platform = ${common.platform}
  294. framework = arduino
  295. board = esp12e
  296. lib_deps = ${common.lib_deps}
  297. lib_ignore = ${common.lib_ignore}
  298. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_TARPUNA_SHIELD
  299. monitor_speed = 115200
  300. extra_scripts = ${common.extra_scripts}
  301. modules = ${common.modules} sensor
  302. # ------------------------------------------------------------------------------
  303. [env:itead-sonoff-basic]
  304. platform = ${common.platform}
  305. framework = arduino
  306. board = esp01_1m
  307. board_build.flash_mode = dout
  308. lib_deps = ${common.lib_deps}
  309. lib_ignore = ${common.lib_ignore}
  310. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC
  311. monitor_speed = 115200
  312. extra_scripts = ${common.extra_scripts}
  313. modules = ${common.modules}
  314. [env:itead-sonoff-basic-ota]
  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
  322. upload_speed = 115200
  323. upload_port = ${common.upload_port}
  324. upload_flags = ${common.upload_flags}
  325. monitor_speed = 115200
  326. extra_scripts = ${common.extra_scripts}
  327. modules = ${common.modules}
  328. [env:itead-sonoff-basic-dht]
  329. platform = ${common.platform}
  330. framework = arduino
  331. board = esp01_1m
  332. board_build.flash_mode = dout
  333. lib_deps = ${common.lib_deps}
  334. lib_ignore = ${common.lib_ignore}
  335. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  336. monitor_speed = 115200
  337. extra_scripts = ${common.extra_scripts}
  338. modules = ${common.modules} sensor
  339. [env:itead-sonoff-basic-dht-ota]
  340. platform = ${common.platform}
  341. framework = arduino
  342. board = esp01_1m
  343. board_build.flash_mode = dout
  344. lib_deps = ${common.lib_deps}
  345. lib_ignore = ${common.lib_ignore}
  346. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  347. upload_speed = 115200
  348. upload_port = ${common.upload_port}
  349. upload_flags = ${common.upload_flags}
  350. monitor_speed = 115200
  351. extra_scripts = ${common.extra_scripts}
  352. modules = ${common.modules} sensor
  353. [env:itead-sonoff-basic-dallas]
  354. platform = ${common.platform}
  355. framework = arduino
  356. board = esp01_1m
  357. board_build.flash_mode = dout
  358. lib_deps = ${common.lib_deps}
  359. lib_ignore = ${common.lib_ignore}
  360. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1
  361. monitor_speed = 115200
  362. extra_scripts = ${common.extra_scripts}
  363. modules = ${common.modules} sensor
  364. [env:itead-sonoff-rf]
  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. monitor_speed = 115200
  373. extra_scripts = ${common.extra_scripts}
  374. modules = ${common.modules}
  375. [env:itead-sonoff-rf-ota]
  376. platform = ${common.platform}
  377. framework = arduino
  378. board = esp01_1m
  379. board_build.flash_mode = dout
  380. lib_deps = ${common.lib_deps}
  381. lib_ignore = ${common.lib_ignore}
  382. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RF
  383. upload_speed = 115200
  384. upload_port = ${common.upload_port}
  385. upload_flags = ${common.upload_flags}
  386. monitor_speed = 115200
  387. extra_scripts = ${common.extra_scripts}
  388. modules = ${common.modules}
  389. [env:itead-sonoff-th]
  390. platform = ${common.platform}
  391. framework = arduino
  392. board = esp01_1m
  393. board_build.flash_mode = dout
  394. lib_deps = ${common.lib_deps}
  395. lib_ignore = ${common.lib_ignore}
  396. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TH
  397. monitor_speed = 115200
  398. extra_scripts = ${common.extra_scripts}
  399. modules = ${common.modules}
  400. [env:itead-sonoff-th-ota]
  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_TH
  408. upload_speed = 115200
  409. upload_port = ${common.upload_port}
  410. upload_flags = ${common.upload_flags}
  411. monitor_speed = 115200
  412. extra_scripts = ${common.extra_scripts}
  413. modules = ${common.modules}
  414. [env:itead-sonoff-pow]
  415. platform = ${common.platform}
  416. framework = arduino
  417. board = esp01_1m
  418. board_build.flash_mode = dout
  419. lib_deps = ${common.lib_deps}
  420. lib_ignore = ${common.lib_ignore}
  421. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW
  422. monitor_speed = 115200
  423. extra_scripts = ${common.extra_scripts}
  424. modules = ${common.modules} sensor
  425. [env:itead-sonoff-pow-ota]
  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
  433. upload_speed = 115200
  434. upload_port = ${common.upload_port}
  435. upload_flags = ${common.upload_flags}
  436. monitor_speed = 115200
  437. extra_scripts = ${common.extra_scripts}
  438. modules = ${common.modules} sensor
  439. [env:itead-sonoff-pow-r2]
  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_POW_R2
  447. monitor_speed = 115200
  448. extra_scripts = ${common.extra_scripts}
  449. modules = ${common.modules} sensor
  450. [env:itead-sonoff-pow-r2-ota]
  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_POW_R2
  458. upload_speed = 115200
  459. upload_port = ${common.upload_port}
  460. upload_flags = ${common.upload_flags}
  461. monitor_speed = 115200
  462. extra_scripts = ${common.extra_scripts}
  463. modules = ${common.modules} sensor
  464. [env:itead-sonoff-dual]
  465. platform = ${common.platform}
  466. framework = arduino
  467. board = esp01_1m
  468. board_build.flash_mode = dout
  469. lib_deps = ${common.lib_deps}
  470. lib_ignore = ${common.lib_ignore}
  471. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL
  472. extra_scripts = ${common.extra_scripts}
  473. modules = ${common.modules}
  474. [env:itead-sonoff-dual-ota]
  475. platform = ${common.platform}
  476. framework = arduino
  477. board = esp01_1m
  478. board_build.flash_mode = dout
  479. lib_deps = ${common.lib_deps}
  480. lib_ignore = ${common.lib_ignore}
  481. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL
  482. upload_speed = 115200
  483. upload_port = ${common.upload_port}
  484. upload_flags = ${common.upload_flags}
  485. extra_scripts = ${common.extra_scripts}
  486. modules = ${common.modules}
  487. [env:itead-sonoff-dual-r2]
  488. platform = ${common.platform}
  489. framework = arduino
  490. board = esp01_1m
  491. board_build.flash_mode = dout
  492. lib_deps = ${common.lib_deps}
  493. lib_ignore = ${common.lib_ignore}
  494. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL_R2
  495. extra_scripts = ${common.extra_scripts}
  496. modules = ${common.modules}
  497. [env:itead-sonoff-dual-ota-r2]
  498. platform = ${common.platform}
  499. framework = arduino
  500. board = esp01_1m
  501. board_build.flash_mode = dout
  502. lib_deps = ${common.lib_deps}
  503. lib_ignore = ${common.lib_ignore}
  504. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL_R2
  505. upload_speed = 115200
  506. upload_port = ${common.upload_port}
  507. upload_flags = ${common.upload_flags}
  508. extra_scripts = ${common.extra_scripts}
  509. modules = ${common.modules}
  510. [env:itead-sonoff-4ch]
  511. platform = ${common.platform}
  512. framework = arduino
  513. board = esp01_1m
  514. board_build.flash_mode = dout
  515. lib_deps = ${common.lib_deps}
  516. lib_ignore = ${common.lib_ignore}
  517. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH
  518. monitor_speed = 115200
  519. extra_scripts = ${common.extra_scripts}
  520. modules = ${common.modules}
  521. [env:itead-sonoff-4ch-ota]
  522. platform = ${common.platform}
  523. framework = arduino
  524. board = esp01_1m
  525. board_build.flash_mode = dout
  526. lib_deps = ${common.lib_deps}
  527. lib_ignore = ${common.lib_ignore}
  528. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH
  529. upload_speed = 115200
  530. upload_port = ${common.upload_port}
  531. upload_flags = ${common.upload_flags}
  532. monitor_speed = 115200
  533. extra_scripts = ${common.extra_scripts}
  534. modules = ${common.modules}
  535. [env:itead-sonoff-4ch-pro]
  536. platform = ${common.platform}
  537. framework = arduino
  538. board = esp01_1m
  539. board_build.flash_mode = dout
  540. lib_deps = ${common.lib_deps}
  541. lib_ignore = ${common.lib_ignore}
  542. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH_PRO
  543. monitor_speed = 115200
  544. extra_scripts = ${common.extra_scripts}
  545. modules = ${common.modules}
  546. [env:itead-sonoff-4ch-pro-ota]
  547. platform = ${common.platform}
  548. framework = arduino
  549. board = esp01_1m
  550. board_build.flash_mode = dout
  551. lib_deps = ${common.lib_deps}
  552. lib_ignore = ${common.lib_ignore}
  553. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH_PRO
  554. upload_speed = 115200
  555. upload_port = ${common.upload_port}
  556. upload_flags = ${common.upload_flags}
  557. monitor_speed = 115200
  558. extra_scripts = ${common.extra_scripts}
  559. modules = ${common.modules}
  560. [env:itead-sonoff-touch]
  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_TOUCH
  568. monitor_speed = 115200
  569. extra_scripts = ${common.extra_scripts}
  570. modules = ${common.modules}
  571. [env:itead-sonoff-touch-ota]
  572. platform = ${common.platform}
  573. framework = arduino
  574. board = esp01_1m
  575. board_build.flash_mode = dout
  576. lib_deps = ${common.lib_deps}
  577. lib_ignore = ${common.lib_ignore}
  578. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TOUCH
  579. upload_speed = 115200
  580. upload_port = ${common.upload_port}
  581. upload_flags = ${common.upload_flags}
  582. monitor_speed = 115200
  583. extra_scripts = ${common.extra_scripts}
  584. modules = ${common.modules}
  585. [env:itead-sonoff-b1]
  586. platform = ${common.platform}
  587. framework = arduino
  588. board = esp01_1m
  589. board_build.flash_mode = dout
  590. lib_deps = ${common.lib_deps}
  591. lib_ignore = ${common.lib_ignore}
  592. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_B1
  593. monitor_speed = 115200
  594. extra_scripts = ${common.extra_scripts}
  595. modules = ${common.modules} light
  596. [env:itead-sonoff-b1-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_B1
  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. modules = ${common.modules} light
  610. [env:itead-sonoff-t1-1ch]
  611. platform = ${common.platform}
  612. framework = arduino
  613. board = esp01_1m
  614. board_build.flash_mode = dout
  615. lib_deps = ${common.lib_deps}
  616. lib_ignore = ${common.lib_ignore}
  617. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_1CH
  618. monitor_speed = 115200
  619. extra_scripts = ${common.extra_scripts}
  620. modules = ${common.modules}
  621. [env:itead-sonoff-t1-1ch-ota]
  622. platform = ${common.platform}
  623. framework = arduino
  624. board = esp01_1m
  625. board_build.flash_mode = dout
  626. lib_deps = ${common.lib_deps}
  627. lib_ignore = ${common.lib_ignore}
  628. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_1CH
  629. upload_speed = 115200
  630. upload_port = ${common.upload_port}
  631. upload_flags = ${common.upload_flags}
  632. monitor_speed = 115200
  633. extra_scripts = ${common.extra_scripts}
  634. modules = ${common.modules}
  635. [env:itead-sonoff-t1-2ch]
  636. platform = ${common.platform}
  637. framework = arduino
  638. board = esp01_1m
  639. board_build.flash_mode = dout
  640. lib_deps = ${common.lib_deps}
  641. lib_ignore = ${common.lib_ignore}
  642. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_2CH
  643. monitor_speed = 115200
  644. extra_scripts = ${common.extra_scripts}
  645. modules = ${common.modules}
  646. [env:itead-sonoff-t1-2ch-ota]
  647. platform = ${common.platform}
  648. framework = arduino
  649. board = esp01_1m
  650. board_build.flash_mode = dout
  651. lib_deps = ${common.lib_deps}
  652. lib_ignore = ${common.lib_ignore}
  653. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_2CH
  654. upload_speed = 115200
  655. upload_port = ${common.upload_port}
  656. upload_flags = ${common.upload_flags}
  657. monitor_speed = 115200
  658. extra_scripts = ${common.extra_scripts}
  659. modules = ${common.modules}
  660. [env:itead-sonoff-t1-3ch]
  661. platform = ${common.platform}
  662. framework = arduino
  663. board = esp01_1m
  664. board_build.flash_mode = dout
  665. lib_deps = ${common.lib_deps}
  666. lib_ignore = ${common.lib_ignore}
  667. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_3CH
  668. monitor_speed = 115200
  669. extra_scripts = ${common.extra_scripts}
  670. modules = ${common.modules}
  671. [env:itead-sonoff-t1-3ch-ota]
  672. platform = ${common.platform}
  673. framework = arduino
  674. board = esp01_1m
  675. board_build.flash_mode = dout
  676. lib_deps = ${common.lib_deps}
  677. lib_ignore = ${common.lib_ignore}
  678. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_3CH
  679. upload_speed = 115200
  680. upload_port = ${common.upload_port}
  681. upload_flags = ${common.upload_flags}
  682. monitor_speed = 115200
  683. extra_scripts = ${common.extra_scripts}
  684. modules = ${common.modules}
  685. [env:itead-sonoff-led]
  686. platform = ${common.platform}
  687. framework = arduino
  688. board = esp01_1m
  689. board_build.flash_mode = dout
  690. lib_deps = ${common.lib_deps}
  691. lib_ignore = ${common.lib_ignore}
  692. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_LED
  693. monitor_speed = 115200
  694. extra_scripts = ${common.extra_scripts}
  695. modules = ${common.modules} light
  696. [env:itead-sonoff-led-ota]
  697. platform = ${common.platform}
  698. framework = arduino
  699. board = esp01_1m
  700. board_build.flash_mode = dout
  701. lib_deps = ${common.lib_deps}
  702. lib_ignore = ${common.lib_ignore}
  703. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_LED
  704. upload_speed = 115200
  705. upload_port = ${common.upload_port}
  706. upload_flags = ${common.upload_flags}
  707. monitor_speed = 115200
  708. extra_scripts = ${common.extra_scripts}
  709. modules = ${common.modules} light
  710. [env:itead-sonoff-rfbridge]
  711. platform = ${common.platform}
  712. framework = arduino
  713. board = esp01_1m
  714. board_build.flash_mode = dout
  715. lib_deps = ${common.lib_deps}
  716. lib_ignore = ${common.lib_ignore}
  717. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE
  718. monitor_speed = 19200
  719. extra_scripts = ${common.extra_scripts}
  720. modules = ${common.modules} rfbridge
  721. [env:itead-sonoff-rfbridge-ota]
  722. platform = ${common.platform}
  723. framework = arduino
  724. board = esp01_1m
  725. board_build.flash_mode = dout
  726. lib_deps = ${common.lib_deps}
  727. lib_ignore = ${common.lib_ignore}
  728. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE
  729. upload_speed = 115200
  730. upload_port = ${common.upload_port}
  731. upload_flags = ${common.upload_flags}
  732. monitor_speed = 19200
  733. extra_scripts = ${common.extra_scripts}
  734. modules = ${common.modules} rfbridge
  735. [env:itead-sonoff-rfbridge-direct]
  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_SONOFF_RFBRIDGE -DRFB_DIRECT
  743. monitor_speed = 19200
  744. extra_scripts = ${common.extra_scripts}
  745. modules = ${common.modules} rfbridge
  746. [env:itead-sonoff-rfbridge-direct-ota]
  747. platform = ${common.platform}
  748. framework = arduino
  749. board = esp01_1m
  750. board_build.flash_mode = dout
  751. lib_deps = ${common.lib_deps}
  752. lib_ignore = ${common.lib_ignore}
  753. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  754. upload_speed = 115200
  755. upload_port = "${env.ESPURNA_IP}"
  756. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  757. monitor_speed = 19200
  758. extra_scripts = ${common.extra_scripts}
  759. modules = ${common.modules} rfbridge
  760. # ------------------------------------------------------------------------------
  761. [env:itead-slampher]
  762. platform = ${common.platform}
  763. framework = arduino
  764. board = esp01_1m
  765. board_build.flash_mode = dout
  766. lib_deps = ${common.lib_deps}
  767. lib_ignore = ${common.lib_ignore}
  768. build_flags = ${common.build_flags_1m0m} -DITEAD_SLAMPHER
  769. monitor_speed = 115200
  770. extra_scripts = ${common.extra_scripts}
  771. modules = ${common.modules}
  772. [env:itead-slampher-ota]
  773. platform = ${common.platform}
  774. framework = arduino
  775. board = esp01_1m
  776. board_build.flash_mode = dout
  777. lib_deps = ${common.lib_deps}
  778. lib_ignore = ${common.lib_ignore}
  779. build_flags = ${common.build_flags_1m0m} -DITEAD_SLAMPHER
  780. upload_speed = 115200
  781. upload_port = ${common.upload_port}
  782. upload_flags = ${common.upload_flags}
  783. monitor_speed = 115200
  784. extra_scripts = ${common.extra_scripts}
  785. modules = ${common.modules}
  786. [env:itead-s20]
  787. platform = ${common.platform}
  788. framework = arduino
  789. board = esp01_1m
  790. board_build.flash_mode = dout
  791. lib_deps = ${common.lib_deps}
  792. lib_ignore = ${common.lib_ignore}
  793. build_flags = ${common.build_flags_1m0m} -DITEAD_S20
  794. monitor_speed = 115200
  795. extra_scripts = ${common.extra_scripts}
  796. modules = ${common.modules}
  797. [env:itead-s20-ota]
  798. platform = ${common.platform}
  799. framework = arduino
  800. board = esp01_1m
  801. board_build.flash_mode = dout
  802. lib_deps = ${common.lib_deps}
  803. lib_ignore = ${common.lib_ignore}
  804. build_flags = ${common.build_flags_1m0m} -DITEAD_S20
  805. upload_speed = 115200
  806. upload_port = ${common.upload_port}
  807. upload_flags = ${common.upload_flags}
  808. monitor_speed = 115200
  809. extra_scripts = ${common.extra_scripts}
  810. modules = ${common.modules}
  811. [env:itead-1ch-inching]
  812. platform = ${common.platform}
  813. framework = arduino
  814. board = esp01_1m
  815. board_build.flash_mode = dout
  816. lib_deps = ${common.lib_deps}
  817. lib_ignore = ${common.lib_ignore}
  818. build_flags = ${common.build_flags_1m0m} -DITEAD_1CH_INCHING
  819. monitor_speed = 115200
  820. extra_scripts = ${common.extra_scripts}
  821. modules = ${common.modules}
  822. [env:itead-1ch-inching-ota]
  823. platform = ${common.platform}
  824. framework = arduino
  825. board = esp01_1m
  826. board_build.flash_mode = dout
  827. lib_deps = ${common.lib_deps}
  828. lib_ignore = ${common.lib_ignore}
  829. build_flags = ${common.build_flags_1m0m} -DITEAD_1CH_INCHING
  830. upload_speed = 115200
  831. upload_port = ${common.upload_port}
  832. upload_flags = ${common.upload_flags}
  833. monitor_speed = 115200
  834. extra_scripts = ${common.extra_scripts}
  835. modules = ${common.modules}
  836. [env:itead-motor]
  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_MOTOR
  844. monitor_speed = 115200
  845. extra_scripts = ${common.extra_scripts}
  846. modules = ${common.modules}
  847. [env:itead-motor-ota]
  848. platform = ${common.platform}
  849. framework = arduino
  850. board = esp01_1m
  851. board_build.flash_mode = dout
  852. lib_deps = ${common.lib_deps}
  853. lib_ignore = ${common.lib_ignore}
  854. build_flags = ${common.build_flags_1m0m} -DITEAD_MOTOR
  855. upload_speed = 115200
  856. upload_port = ${common.upload_port}
  857. upload_flags = ${common.upload_flags}
  858. monitor_speed = 115200
  859. extra_scripts = ${common.extra_scripts}
  860. modules = ${common.modules}
  861. [env:itead-sonoff-sv]
  862. platform = ${common.platform}
  863. framework = arduino
  864. board = esp01_1m
  865. board_build.flash_mode = dout
  866. lib_deps = ${common.lib_deps}
  867. lib_ignore = ${common.lib_ignore}
  868. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_SV
  869. monitor_speed = 115200
  870. extra_scripts = ${common.extra_scripts}
  871. modules = ${common.modules}
  872. [env:itead-sonoff-sv-ota]
  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} -DITEAD_SONOFF_SV
  880. upload_port = ${common.upload_port}
  881. upload_flags = ${common.upload_flags}
  882. monitor_speed = 115200
  883. extra_scripts = ${common.extra_scripts}
  884. modules = ${common.modules}
  885. [env:itead-sonoff-s31]
  886. platform = ${common.platform}
  887. framework = arduino
  888. board = esp01_1m
  889. board_build.flash_mode = dout
  890. lib_deps = ${common.lib_deps}
  891. lib_ignore = ${common.lib_ignore}
  892. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31
  893. monitor_speed = 115200
  894. extra_scripts = ${common.extra_scripts}
  895. modules = ${common.modules} sensor
  896. [env:itead-sonoff-s31-ota]
  897. platform = ${common.platform}
  898. framework = arduino
  899. board = esp01_1m
  900. board_build.flash_mode = dout
  901. lib_deps = ${common.lib_deps}
  902. lib_ignore = ${common.lib_ignore}
  903. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31
  904. upload_port = "${env.ESPURNA_IP}"
  905. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  906. monitor_speed = 115200
  907. extra_scripts = ${common.extra_scripts}
  908. modules = ${common.modules} sensor
  909. # ------------------------------------------------------------------------------
  910. [env:electrodragon-wifi-iot]
  911. platform = ${common.platform}
  912. framework = arduino
  913. board = esp12e
  914. lib_deps = ${common.lib_deps}
  915. lib_ignore = ${common.lib_ignore}
  916. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  917. monitor_speed = 115200
  918. extra_scripts = ${common.extra_scripts}
  919. modules = ${common.modules}
  920. [env:electrodragon-wifi-iot-ota]
  921. platform = ${common.platform}
  922. framework = arduino
  923. board = esp12e
  924. lib_deps = ${common.lib_deps}
  925. lib_ignore = ${common.lib_ignore}
  926. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  927. upload_speed = 115200
  928. upload_port = ${common.upload_port}
  929. upload_flags = ${common.upload_flags}
  930. monitor_speed = 115200
  931. extra_scripts = ${common.extra_scripts}
  932. modules = ${common.modules}
  933. [env:workchoice-ecoplug]
  934. platform = ${common.platform}
  935. framework = arduino
  936. board = esp01_1m
  937. board_build.flash_mode = dout
  938. lib_deps = ${common.lib_deps}
  939. lib_ignore = ${common.lib_ignore}
  940. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  941. monitor_speed = 115200
  942. extra_scripts = ${common.extra_scripts}
  943. modules = ${common.modules}
  944. [env:workchoice-ecoplug-ota]
  945. platform = ${common.platform}
  946. framework = arduino
  947. board = esp01_1m
  948. board_build.flash_mode = dout
  949. lib_deps = ${common.lib_deps}
  950. lib_ignore = ${common.lib_ignore}
  951. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  952. upload_speed = 115200
  953. upload_port = ${common.upload_port}
  954. upload_flags = ${common.upload_flags}
  955. monitor_speed = 115200
  956. extra_scripts = ${common.extra_scripts}
  957. modules = ${common.modules}
  958. [env:jangoe-wifi-relay-nc]
  959. platform = ${common.platform}
  960. framework = arduino
  961. board = esp12e
  962. lib_deps = ${common.lib_deps}
  963. lib_ignore = ${common.lib_ignore}
  964. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  965. monitor_speed = 115200
  966. extra_scripts = ${common.extra_scripts}
  967. modules = ${common.modules}
  968. [env:jangoe-wifi-relay-nc-ota]
  969. platform = ${common.platform}
  970. framework = arduino
  971. board = esp12e
  972. lib_deps = ${common.lib_deps}
  973. lib_ignore = ${common.lib_ignore}
  974. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  975. upload_speed = 115200
  976. upload_port = ${common.upload_port}
  977. upload_flags = ${common.upload_flags}
  978. monitor_speed = 115200
  979. extra_scripts = ${common.extra_scripts}
  980. modules = ${common.modules}
  981. [env:jangoe-wifi-relay-no]
  982. platform = ${common.platform}
  983. framework = arduino
  984. board = esp12e
  985. lib_deps = ${common.lib_deps}
  986. lib_ignore = ${common.lib_ignore}
  987. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  988. monitor_speed = 115200
  989. extra_scripts = ${common.extra_scripts}
  990. modules = ${common.modules}
  991. [env:jangoe-wifi-relay-no-ota]
  992. platform = ${common.platform}
  993. framework = arduino
  994. board = esp12e
  995. lib_deps = ${common.lib_deps}
  996. lib_ignore = ${common.lib_ignore}
  997. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  998. upload_speed = 115200
  999. upload_port = ${common.upload_port}
  1000. upload_flags = ${common.upload_flags}
  1001. monitor_speed = 115200
  1002. extra_scripts = ${common.extra_scripts}
  1003. modules = ${common.modules}
  1004. [env:openenergymonitor-mqtt-relay]
  1005. platform = ${common.platform}
  1006. framework = arduino
  1007. board = esp_wroom_02
  1008. lib_deps = ${common.lib_deps}
  1009. lib_ignore = ${common.lib_ignore}
  1010. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  1011. monitor_speed = 115200
  1012. extra_scripts = ${common.extra_scripts}
  1013. modules = ${common.modules}
  1014. [env:openenergymonitor-mqtt-relay-ota]
  1015. platform = ${common.platform}
  1016. framework = arduino
  1017. board = esp_wroom_02
  1018. lib_deps = ${common.lib_deps}
  1019. lib_ignore = ${common.lib_ignore}
  1020. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  1021. upload_speed = 115200
  1022. upload_port = ${common.upload_port}
  1023. upload_flags = ${common.upload_flags}
  1024. monitor_speed = 115200
  1025. extra_scripts = ${common.extra_scripts}
  1026. modules = ${common.modules}
  1027. [env:jorgegarcia-wifi-relays]
  1028. platform = ${common.platform}
  1029. framework = arduino
  1030. board = esp01_1m
  1031. lib_deps = ${common.lib_deps}
  1032. lib_ignore = ${common.lib_ignore}
  1033. build_flags = ${common.build_flags_1m0m} -DJORGEGARCIA_WIFI_RELAYS
  1034. monitor_speed = 115200
  1035. extra_scripts = ${common.extra_scripts}
  1036. modules = ${common.modules}
  1037. [env:jorgegarcia-wifi-relays-ota]
  1038. platform = ${common.platform}
  1039. framework = arduino
  1040. board = esp01_1m
  1041. lib_deps = ${common.lib_deps}
  1042. lib_ignore = ${common.lib_ignore}
  1043. build_flags = ${common.build_flags_1m0m} -DJORGEGARCIA_WIFI_RELAYS
  1044. upload_speed = 115200
  1045. upload_port = ${common.upload_port}
  1046. upload_flags = ${common.upload_flags}
  1047. monitor_speed = 115200
  1048. extra_scripts = ${common.extra_scripts}
  1049. modules = ${common.modules}
  1050. [env:aithinker-ai-light]
  1051. platform = ${common.platform}
  1052. framework = arduino
  1053. board = esp01_1m
  1054. board_build.flash_mode = dout
  1055. lib_deps = ${common.lib_deps}
  1056. lib_ignore = ${common.lib_ignore}
  1057. build_flags = ${common.build_flags_1m0m} -DAITHINKER_AI_LIGHT
  1058. monitor_speed = 115200
  1059. extra_scripts = ${common.extra_scripts}
  1060. modules = ${common.modules} light
  1061. [env:aithinker-ai-light-ota]
  1062. platform = ${common.platform}
  1063. framework = arduino
  1064. board = esp01_1m
  1065. board_build.flash_mode = dout
  1066. lib_deps = ${common.lib_deps}
  1067. lib_ignore = ${common.lib_ignore}
  1068. build_flags = ${common.build_flags_1m0m} -DAITHINKER_AI_LIGHT
  1069. upload_speed = 115200
  1070. upload_port = ${common.upload_port}
  1071. upload_flags = ${common.upload_flags}
  1072. monitor_speed = 115200
  1073. extra_scripts = ${common.extra_scripts}
  1074. modules = ${common.modules} light
  1075. [env:magichome-led-controller]
  1076. platform = ${common.platform}
  1077. framework = arduino
  1078. board = esp01_1m
  1079. board_build.flash_mode = dout
  1080. lib_deps = ${common.lib_deps}
  1081. lib_ignore = ${common.lib_ignore}
  1082. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER
  1083. monitor_speed = 115200
  1084. extra_scripts = ${common.extra_scripts}
  1085. modules = ${common.modules} light
  1086. [env:magichome-led-controller-ota]
  1087. platform = ${common.platform}
  1088. framework = arduino
  1089. board = esp01_1m
  1090. board_build.flash_mode = dout
  1091. lib_deps = ${common.lib_deps}
  1092. lib_ignore = ${common.lib_ignore}
  1093. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER
  1094. upload_speed = 115200
  1095. upload_port = ${common.upload_port}
  1096. upload_flags = ${common.upload_flags}
  1097. monitor_speed = 115200
  1098. extra_scripts = ${common.extra_scripts}
  1099. modules = ${common.modules} light
  1100. [env:magichome-led-controller-20]
  1101. platform = ${common.platform}
  1102. framework = arduino
  1103. board = esp01_1m
  1104. board_build.flash_mode = dout
  1105. lib_deps = ${common.lib_deps}
  1106. lib_ignore = ${common.lib_ignore}
  1107. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER_20
  1108. monitor_speed = 115200
  1109. extra_scripts = ${common.extra_scripts}
  1110. modules = ${common.modules} light
  1111. [env:magichome-led-controller-20-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} -DMAGICHOME_LED_CONTROLLER_20
  1119. upload_port = ${common.upload_port}
  1120. upload_flags = ${common.upload_flags}
  1121. monitor_speed = 115200
  1122. extra_scripts = ${common.extra_scripts}
  1123. modules = ${common.modules} light
  1124. [env:huacanxing-h801]
  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} -DHUACANXING_H801
  1132. monitor_speed = 115200
  1133. extra_scripts = ${common.extra_scripts}
  1134. modules = ${common.modules} light
  1135. [env:huacanxing-h801-ota]
  1136. platform = ${common.platform}
  1137. framework = arduino
  1138. board = esp01_1m
  1139. board_build.flash_mode = dout
  1140. lib_deps = ${common.lib_deps}
  1141. lib_ignore = ${common.lib_ignore}
  1142. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H801
  1143. upload_speed = 115200
  1144. upload_port = ${common.upload_port}
  1145. upload_flags = ${common.upload_flags}
  1146. monitor_speed = 115200
  1147. extra_scripts = ${common.extra_scripts}
  1148. modules = ${common.modules} light
  1149. [env:huacanxing-h802]
  1150. platform = ${common.platform}
  1151. framework = arduino
  1152. board = esp01_1m
  1153. board_build.flash_mode = dout
  1154. lib_deps = ${common.lib_deps}
  1155. lib_ignore = ${common.lib_ignore}
  1156. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H802
  1157. monitor_speed = 115200
  1158. extra_scripts = ${common.extra_scripts}
  1159. modules = ${common.modules} light
  1160. [env:huacanxing-h802-ota]
  1161. platform = ${common.platform}
  1162. framework = arduino
  1163. board = esp01_1m
  1164. board_build.flash_mode = dout
  1165. lib_deps = ${common.lib_deps}
  1166. lib_ignore = ${common.lib_ignore}
  1167. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H802
  1168. upload_speed = 115200
  1169. upload_port = ${common.upload_port}
  1170. upload_flags = ${common.upload_flags}
  1171. monitor_speed = 115200
  1172. extra_scripts = ${common.extra_scripts}
  1173. modules = ${common.modules} light
  1174. [env:arilux-al-lc01]
  1175. platform = ${common.platform}
  1176. framework = arduino
  1177. board = esp01_1m
  1178. board_build.flash_mode = dout
  1179. lib_deps = ${common.lib_deps}
  1180. lib_ignore = ${common.lib_ignore}
  1181. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC01
  1182. monitor_speed = 115200
  1183. extra_scripts = ${common.extra_scripts}
  1184. modules = ${common.modules} light
  1185. [env:arilux-al-lc01-ota]
  1186. platform = ${common.platform}
  1187. framework = arduino
  1188. board = esp01_1m
  1189. board_build.flash_mode = dout
  1190. lib_deps = ${common.lib_deps}
  1191. lib_ignore = ${common.lib_ignore}
  1192. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC01
  1193. upload_speed = 115200
  1194. upload_port = ${common.upload_port}
  1195. upload_flags = ${common.upload_flags}
  1196. monitor_speed = 115200
  1197. extra_scripts = ${common.extra_scripts}
  1198. modules = ${common.modules} light
  1199. [env:arilux-al-lc02]
  1200. platform = ${common.platform}
  1201. framework = arduino
  1202. board = esp01_1m
  1203. board_build.flash_mode = dout
  1204. lib_deps = ${common.lib_deps}
  1205. lib_ignore = ${common.lib_ignore}
  1206. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02
  1207. monitor_speed = 115200
  1208. extra_scripts = ${common.extra_scripts}
  1209. modules = ${common.modules} light
  1210. [env:arilux-al-lc02-ota]
  1211. platform = ${common.platform}
  1212. framework = arduino
  1213. board = esp01_1m
  1214. board_build.flash_mode = dout
  1215. lib_deps = ${common.lib_deps}
  1216. lib_ignore = ${common.lib_ignore}
  1217. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02
  1218. upload_speed = 115200
  1219. upload_port = ${common.upload_port}
  1220. upload_flags = ${common.upload_flags}
  1221. monitor_speed = 115200
  1222. extra_scripts = ${common.extra_scripts}
  1223. modules = ${common.modules} light
  1224. [env:arilux-al-lc06]
  1225. platform = ${common.platform}
  1226. framework = arduino
  1227. board = esp01_1m
  1228. board_build.flash_mode = dout
  1229. lib_deps = ${common.lib_deps}
  1230. lib_ignore = ${common.lib_ignore}
  1231. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC06
  1232. monitor_speed = 115200
  1233. extra_scripts = ${common.extra_scripts}
  1234. modules = ${common.modules} light
  1235. [env:arilux-al-lc06-ota]
  1236. platform = ${common.platform}
  1237. framework = arduino
  1238. board = esp01_1m
  1239. board_build.flash_mode = dout
  1240. lib_deps = ${common.lib_deps}
  1241. lib_ignore = ${common.lib_ignore}
  1242. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC06
  1243. upload_speed = 115200
  1244. upload_port = ${common.upload_port}
  1245. upload_flags = ${common.upload_flags}
  1246. monitor_speed = 115200
  1247. extra_scripts = ${common.extra_scripts}
  1248. modules = ${common.modules} light
  1249. [env:arilux-al-lc11]
  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} -DARILUX_AL_LC11
  1257. monitor_speed = 115200
  1258. extra_scripts = ${common.extra_scripts}
  1259. modules = ${common.modules} light
  1260. [env:arilux-al-lc11-ota]
  1261. platform = ${common.platform}
  1262. framework = arduino
  1263. board = esp01_1m
  1264. board_build.flash_mode = dout
  1265. lib_deps = ${common.lib_deps}
  1266. lib_ignore = ${common.lib_ignore}
  1267. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC11
  1268. upload_speed = 115200
  1269. upload_port = ${common.upload_port}
  1270. upload_flags = ${common.upload_flags}
  1271. monitor_speed = 115200
  1272. extra_scripts = ${common.extra_scripts}
  1273. modules = ${common.modules} light
  1274. [env:arilux-e27]
  1275. platform = ${common.platform}
  1276. framework = arduino
  1277. board = esp01_1m
  1278. board_build.flash_mode = dout
  1279. lib_deps = ${common.lib_deps}
  1280. lib_ignore = ${common.lib_ignore}
  1281. build_flags = ${common.build_flags_1m0m} -DARILUX_E27
  1282. monitor_speed = 115200
  1283. extra_scripts = ${common.extra_scripts}
  1284. modules = ${common.modules} light
  1285. [env:arilux-e27-ota]
  1286. platform = ${common.platform}
  1287. framework = arduino
  1288. board = esp01_1m
  1289. board_build.flash_mode = dout
  1290. lib_deps = ${common.lib_deps}
  1291. lib_ignore = ${common.lib_ignore}
  1292. build_flags = ${common.build_flags_1m0m} -DARILUX_E27
  1293. upload_speed = 115200
  1294. upload_port = ${common.upload_port}
  1295. upload_flags = ${common.upload_flags}
  1296. monitor_speed = 115200
  1297. extra_scripts = ${common.extra_scripts}
  1298. modules = ${common.modules} light
  1299. [env:itead-bnsz01]
  1300. platform = ${common.platform}
  1301. framework = arduino
  1302. board = esp01_1m
  1303. board_build.flash_mode = dout
  1304. lib_deps = ${common.lib_deps}
  1305. lib_ignore = ${common.lib_ignore}
  1306. build_flags = ${common.build_flags_1m0m} -DITEAD_BNSZ01
  1307. monitor_speed = 115200
  1308. extra_scripts = ${common.extra_scripts}
  1309. modules = ${common.modules} light
  1310. [env:itead-bnsz01-ota]
  1311. platform = ${common.platform}
  1312. framework = arduino
  1313. board = esp01_1m
  1314. board_build.flash_mode = dout
  1315. lib_deps = ${common.lib_deps}
  1316. lib_ignore = ${common.lib_ignore}
  1317. build_flags = ${common.build_flags_1m0m} -DITEAD_BNSZ01
  1318. upload_speed = 115200
  1319. upload_port = ${common.upload_port}
  1320. upload_flags = ${common.upload_flags}
  1321. monitor_speed = 115200
  1322. extra_scripts = ${common.extra_scripts}
  1323. modules = ${common.modules} light
  1324. [env:wion-50055]
  1325. platform = ${common.platform}
  1326. framework = arduino
  1327. board = esp01_1m
  1328. board_build.flash_mode = dout
  1329. lib_deps = ${common.lib_deps}
  1330. lib_ignore = ${common.lib_ignore}
  1331. build_flags = ${common.build_flags_1m0m} -DWION_50055
  1332. monitor_speed = 115200
  1333. extra_scripts = ${common.extra_scripts}
  1334. modules = ${common.modules}
  1335. [env:wion-50055-ota]
  1336. platform = ${common.platform}
  1337. framework = arduino
  1338. board = esp01_1m
  1339. board_build.flash_mode = dout
  1340. lib_deps = ${common.lib_deps}
  1341. lib_ignore = ${common.lib_ignore}
  1342. build_flags = ${common.build_flags_1m0m} -DWION_50055
  1343. upload_speed = 115200
  1344. upload_port = ${common.upload_port}
  1345. upload_flags = ${common.upload_flags}
  1346. monitor_speed = 115200
  1347. extra_scripts = ${common.extra_scripts}
  1348. modules = ${common.modules}
  1349. [env:exs-wifi-relay-v31]
  1350. platform = ${common.platform}
  1351. framework = arduino
  1352. board = esp07
  1353. board_build.flash_mode = dout
  1354. lib_deps = ${common.lib_deps}
  1355. lib_ignore = ${common.lib_ignore}
  1356. build_flags = ${common.build_flags_1m0m} -DEXS_WIFI_RELAY_V31
  1357. monitor_speed = 115200
  1358. extra_scripts = ${common.extra_scripts}
  1359. modules = ${common.modules}
  1360. [env:exs-wifi-relay-v31-ota]
  1361. platform = ${common.platform}
  1362. framework = arduino
  1363. board = esp07
  1364. board_build.flash_mode = dout
  1365. lib_deps = ${common.lib_deps}
  1366. lib_ignore = ${common.lib_ignore}
  1367. build_flags = ${common.build_flags_1m0m} -DEXS_WIFI_RELAY_V31
  1368. upload_speed = 115200
  1369. upload_port = ${common.upload_port}
  1370. upload_flags = ${common.upload_flags}
  1371. monitor_speed = 115200
  1372. extra_scripts = ${common.extra_scripts}
  1373. modules = ${common.modules}
  1374. [env:wemos-v9261f]
  1375. platform = ${common.platform}
  1376. framework = arduino
  1377. board = d1_mini
  1378. lib_deps = ${common.lib_deps}
  1379. lib_ignore = ${common.lib_ignore}
  1380. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  1381. upload_speed = 460800
  1382. monitor_speed = 115200
  1383. extra_scripts = ${common.extra_scripts}
  1384. modules = ${common.modules} sensor
  1385. [env:wemos-v9261f-ota]
  1386. platform = ${common.platform}
  1387. framework = arduino
  1388. board = d1_mini
  1389. lib_deps = ${common.lib_deps}
  1390. lib_ignore = ${common.lib_ignore}
  1391. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  1392. upload_speed = 115200
  1393. upload_port = ${common.upload_port}
  1394. upload_flags = ${common.upload_flags}
  1395. monitor_speed = 115200
  1396. extra_scripts = ${common.extra_scripts}
  1397. modules = ${common.modules} sensor
  1398. [env:esp01-v9261f]
  1399. platform = ${common.platform}
  1400. framework = arduino
  1401. board = esp01_1m
  1402. board_build.flash_mode = dout
  1403. lib_deps = ${common.lib_deps}
  1404. lib_ignore = ${common.lib_ignore}
  1405. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  1406. monitor_speed = 115200
  1407. extra_scripts = ${common.extra_scripts}
  1408. modules = ${common.modules} sensor
  1409. [env:esp01-v9261f-ota]
  1410. platform = ${common.platform}
  1411. framework = arduino
  1412. board = esp01_1m
  1413. board_build.flash_mode = dout
  1414. lib_deps = ${common.lib_deps}
  1415. lib_ignore = ${common.lib_ignore}
  1416. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  1417. upload_speed = 115200
  1418. upload_port = ${common.upload_port}
  1419. upload_flags = ${common.upload_flags}
  1420. monitor_speed = 115200
  1421. extra_scripts = ${common.extra_scripts}
  1422. modules = ${common.modules} sensor
  1423. [env:wemos-ech1560]
  1424. platform = ${common.platform}
  1425. framework = arduino
  1426. board = d1_mini
  1427. lib_deps = ${common.lib_deps}
  1428. lib_ignore = ${common.lib_ignore}
  1429. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  1430. upload_speed = 460800
  1431. monitor_speed = 115200
  1432. extra_scripts = ${common.extra_scripts}
  1433. modules = ${common.modules} sensor
  1434. [env:wemos-ech1560-ota]
  1435. platform = ${common.platform}
  1436. framework = arduino
  1437. board = d1_mini
  1438. lib_deps = ${common.lib_deps}
  1439. lib_ignore = ${common.lib_ignore}
  1440. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  1441. upload_speed = 115200
  1442. upload_port = ${common.upload_port}
  1443. upload_flags = ${common.upload_flags}
  1444. monitor_speed = 115200
  1445. extra_scripts = ${common.extra_scripts}
  1446. modules = ${common.modules} sensor
  1447. [env:esp01-ech1560]
  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} -DGENERIC_ECH1560
  1455. monitor_speed = 115200
  1456. extra_scripts = ${common.extra_scripts}
  1457. modules = ${common.modules} sensor
  1458. [env:esp01-ech1560-ota]
  1459. platform = ${common.platform}
  1460. framework = arduino
  1461. board = esp01_1m
  1462. board_build.flash_mode = dout
  1463. lib_deps = ${common.lib_deps}
  1464. lib_ignore = ${common.lib_ignore}
  1465. build_flags = ${common.build_flags_1m0m} -DGENERIC_ECH1560
  1466. upload_speed = 115200
  1467. upload_port = ${common.upload_port}
  1468. upload_flags = ${common.upload_flags}
  1469. monitor_speed = 115200
  1470. extra_scripts = ${common.extra_scripts}
  1471. modules = ${common.modules} sensor
  1472. [env:mancavemade-esplive]
  1473. platform = ${common.platform}
  1474. framework = arduino
  1475. board = d1_mini
  1476. lib_deps = ${common.lib_deps}
  1477. lib_ignore = ${common.lib_ignore}
  1478. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  1479. upload_speed = 460800
  1480. monitor_speed = 115200
  1481. extra_scripts = ${common.extra_scripts}
  1482. modules = ${common.modules}
  1483. [env:mancavemade-esplive-ota]
  1484. platform = ${common.platform}
  1485. framework = arduino
  1486. board = d1_mini
  1487. lib_deps = ${common.lib_deps}
  1488. lib_ignore = ${common.lib_ignore}
  1489. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  1490. upload_speed = 460800
  1491. upload_port = ${common.upload_port}
  1492. upload_flags = ${common.upload_flags}
  1493. monitor_speed = 115200
  1494. extra_scripts = ${common.extra_scripts}
  1495. modules = ${common.modules}
  1496. [env:intermittech-quinled]
  1497. platform = ${common.platform}
  1498. framework = arduino
  1499. board = esp01_1m
  1500. board_build.flash_mode = dout
  1501. lib_deps = ${common.lib_deps}
  1502. lib_ignore = ${common.lib_ignore}
  1503. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  1504. monitor_speed = 115200
  1505. extra_scripts = ${common.extra_scripts}
  1506. modules = ${common.modules} light
  1507. [env:intermittech-quinled-ota]
  1508. platform = ${common.platform}
  1509. framework = arduino
  1510. board = esp01_1m
  1511. board_build.flash_mode = dout
  1512. lib_deps = ${common.lib_deps}
  1513. lib_ignore = ${common.lib_ignore}
  1514. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  1515. upload_speed = 115200
  1516. upload_port = ${common.upload_port}
  1517. upload_flags = ${common.upload_flags}
  1518. monitor_speed = 115200
  1519. extra_scripts = ${common.extra_scripts}
  1520. modules = ${common.modules} light
  1521. [env:xenon-sm-pw702u]
  1522. platform = ${common.platform}
  1523. framework = arduino
  1524. board = esp12e
  1525. board_build.flash_mode = dout
  1526. lib_deps = ${common.lib_deps}
  1527. lib_ignore = ${common.lib_ignore}
  1528. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  1529. monitor_speed = 115200
  1530. extra_scripts = ${common.extra_scripts}
  1531. modules = ${common.modules}
  1532. [env:xenon-sm-pw702u-ota]
  1533. platform = ${common.platform}
  1534. framework = arduino
  1535. board = esp12e
  1536. board_build.flash_mode = dout
  1537. lib_deps = ${common.lib_deps}
  1538. lib_ignore = ${common.lib_ignore}
  1539. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  1540. upload_speed = 115200
  1541. upload_port = ${common.upload_port}
  1542. upload_flags = ${common.upload_flags}
  1543. monitor_speed = 115200
  1544. extra_scripts = ${common.extra_scripts}
  1545. modules = ${common.modules}
  1546. [env:authometion-lyt8266]
  1547. platform = ${common.platform}
  1548. framework = arduino
  1549. board = esp01_1m
  1550. board_build.flash_mode = dout
  1551. lib_deps = ${common.lib_deps}
  1552. lib_ignore = ${common.lib_ignore}
  1553. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  1554. monitor_speed = 115200
  1555. extra_scripts = ${common.extra_scripts}
  1556. modules = ${common.modules} light
  1557. [env:authometion-lyt8266-ota]
  1558. platform = ${common.platform}
  1559. framework = arduino
  1560. board = esp01_1m
  1561. board_build.flash_mode = dout
  1562. lib_deps = ${common.lib_deps}
  1563. lib_ignore = ${common.lib_ignore}
  1564. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  1565. upload_speed = 115200
  1566. upload_port = ${common.upload_port}
  1567. upload_flags = ${common.upload_flags}
  1568. monitor_speed = 115200
  1569. extra_scripts = ${common.extra_scripts}
  1570. modules = ${common.modules} light
  1571. [env:kmc-70011]
  1572. platform = ${common.platform}
  1573. framework = arduino
  1574. board = esp01_1m
  1575. board_build.flash_mode = dout
  1576. lib_deps = ${common.lib_deps}
  1577. lib_ignore = ${common.lib_ignore}
  1578. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  1579. monitor_speed = 115200
  1580. extra_scripts = ${common.extra_scripts}
  1581. modules = ${common.modules} sensor
  1582. [env:kmc-70011-ota]
  1583. platform = ${common.platform}
  1584. framework = arduino
  1585. board = esp01_1m
  1586. board_build.flash_mode = dout
  1587. lib_deps = ${common.lib_deps}
  1588. lib_ignore = ${common.lib_ignore}
  1589. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  1590. upload_speed = 115200
  1591. upload_port = ${common.upload_port}
  1592. upload_flags = ${common.upload_flags}
  1593. monitor_speed = 115200
  1594. extra_scripts = ${common.extra_scripts}
  1595. modules = ${common.modules} sensor
  1596. [env:yjzk-switch-2ch]
  1597. platform = ${common.platform}
  1598. framework = arduino
  1599. board = esp01_1m
  1600. board_build.flash_mode = dout
  1601. lib_deps = ${common.lib_deps}
  1602. lib_ignore = ${common.lib_ignore}
  1603. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  1604. monitor_speed = 115200
  1605. extra_scripts = ${common.extra_scripts}
  1606. modules = ${common.modules}
  1607. [env:yjzk-switch-2ch-ota]
  1608. platform = ${common.platform}
  1609. framework = arduino
  1610. board = esp01_1m
  1611. board_build.flash_mode = dout
  1612. lib_deps = ${common.lib_deps}
  1613. lib_ignore = ${common.lib_ignore}
  1614. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  1615. upload_speed = 115200
  1616. upload_port = ${common.upload_port}
  1617. upload_flags = ${common.upload_flags}
  1618. monitor_speed = 115200
  1619. extra_scripts = ${common.extra_scripts}
  1620. modules = ${common.modules}
  1621. [env:generic-8ch]
  1622. platform = ${common.platform}
  1623. framework = arduino
  1624. board = d1_mini
  1625. lib_deps = ${common.lib_deps}
  1626. lib_ignore = ${common.lib_ignore}
  1627. build_flags = ${common.build_flags_4m1m} -DGENERIC_8CH
  1628. upload_speed = 460800
  1629. monitor_speed = 115200
  1630. extra_scripts = ${common.extra_scripts}
  1631. modules = ${common.modules}
  1632. [env:gizwits-witty-cloud]
  1633. platform = ${common.platform}
  1634. framework = arduino
  1635. board = esp12e
  1636. board_build.flash_mode = dout
  1637. lib_deps = ${common.lib_deps}
  1638. lib_ignore = ${common.lib_ignore}
  1639. build_flags = ${common.build_flags_4m1m} -DGIZWITS_WITTY_CLOUD
  1640. monitor_speed = 115200
  1641. extra_scripts = ${common.extra_scripts}
  1642. modules = ${common.modules}
  1643. [env:gizwits-witty-cloud-ota]
  1644. platform = ${common.platform}
  1645. framework = arduino
  1646. board = esp12e
  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} -DGIZWITS_WITTY_CLOUD
  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. modules = ${common.modules}
  1656. [env:euromate-wifi-stecker-shuko]
  1657. platform = ${common.platform}
  1658. framework = arduino
  1659. board = esp01_1m
  1660. board_build.flash_mode = dout
  1661. lib_deps = ${common.lib_deps}
  1662. lib_ignore = ${common.lib_ignore}
  1663. build_flags = ${common.build_flags_4m1m} -DEUROMATE_WIFI_STECKER_SCHUKO
  1664. monitor_speed = 115200
  1665. extra_scripts = ${common.extra_scripts}
  1666. modules = ${common.modules}
  1667. [env:euromate-wifi-stecker-shuko-ota]
  1668. platform = ${common.platform}
  1669. framework = arduino
  1670. board = esp01_1m
  1671. board_build.flash_mode = dout
  1672. lib_deps = ${common.lib_deps}
  1673. lib_ignore = ${common.lib_ignore}
  1674. build_flags = ${common.build_flags_4m1m} -DEUROMATE_WIFI_STECKER_SCHUKO
  1675. upload_speed = 115200
  1676. upload_port = "${env.ESPURNA_IP}"
  1677. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1678. extra_scripts = ${common.extra_scripts}
  1679. modules = ${common.modules}
  1680. [env:tonbux-powerstrip02]
  1681. platform = ${common.platform}
  1682. framework = arduino
  1683. board = esp01_1m
  1684. board_build.flash_mode = dout
  1685. lib_deps = ${common.lib_deps}
  1686. lib_ignore = ${common.lib_ignore}
  1687. build_flags = ${common.build_flags_4m1m} -DTONBUX_POWERSTRIP02
  1688. monitor_speed = 115200
  1689. extra_scripts = ${common.extra_scripts}
  1690. modules = ${common.modules}
  1691. [env:tonbux-powerstrip02-ota]
  1692. platform = ${common.platform}
  1693. framework = arduino
  1694. board = esp01_1m
  1695. board_build.flash_mode = dout
  1696. lib_deps = ${common.lib_deps}
  1697. lib_ignore = ${common.lib_ignore}
  1698. build_flags = ${common.build_flags_4m1m} -DTONBUX_POWERSTRIP02
  1699. upload_speed = 115200
  1700. upload_port = "${env.ESPURNA_IP}"
  1701. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1702. extra_scripts = ${common.extra_scripts}
  1703. modules = ${common.modules}
  1704. [env:lingan-swa1]
  1705. platform = ${common.platform}
  1706. framework = arduino
  1707. board = esp01_1m
  1708. board_build.flash_mode = dout
  1709. lib_deps = ${common.lib_deps}
  1710. lib_ignore = ${common.lib_ignore}
  1711. build_flags = ${common.build_flags_4m1m} -DLINGAN_SWA1
  1712. monitor_speed = 115200
  1713. extra_scripts = ${common.extra_scripts}
  1714. modules = ${common.modules}
  1715. [env:lingan-swa1-ota]
  1716. platform = ${common.platform}
  1717. framework = arduino
  1718. board = esp01_1m
  1719. board_build.flash_mode = dout
  1720. lib_deps = ${common.lib_deps}
  1721. lib_ignore = ${common.lib_ignore}
  1722. build_flags = ${common.build_flags_4m1m} -DLINGAN_SWA1
  1723. upload_speed = 115200
  1724. upload_port = "${env.ESPURNA_IP}"
  1725. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1726. extra_scripts = ${common.extra_scripts}
  1727. modules = ${common.modules}
  1728. [env:stm-relay]
  1729. platform = ${common.platform}
  1730. framework = arduino
  1731. board = esp01_1m
  1732. board_build.flash_mode = dout
  1733. lib_deps = ${common.lib_deps}
  1734. lib_ignore = ${common.lib_ignore}
  1735. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY
  1736. monitor_speed = 115200
  1737. extra_scripts = ${common.extra_scripts}
  1738. modules = ${common.modules}
  1739. [env:stm-relay-ota]
  1740. platform = ${common.platform}
  1741. framework = arduino
  1742. board = esp01_1m
  1743. board_build.flash_mode = dout
  1744. lib_deps = ${common.lib_deps}
  1745. lib_ignore = ${common.lib_ignore}
  1746. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY
  1747. upload_speed = 115200
  1748. upload_port = ${common.upload_port}
  1749. upload_flags = ${common.upload_flags}
  1750. monitor_speed = 115200
  1751. extra_scripts = ${common.extra_scripts}
  1752. modules = ${common.modules}
  1753. [env:heygo-hy02]
  1754. platform = ${common.platform}
  1755. framework = arduino
  1756. board = esp01_1m
  1757. board_build.flash_mode = dout
  1758. lib_deps = ${common.lib_deps}
  1759. lib_ignore = ${common.lib_ignore}
  1760. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  1761. monitor_speed = 115200
  1762. extra_scripts = ${common.extra_scripts}
  1763. modules = ${common.modules}
  1764. [env:heygo-hy02-ota]
  1765. platform = ${common.platform}
  1766. framework = arduino
  1767. board = esp01_1m
  1768. board_build.flash_mode = dout
  1769. lib_deps = ${common.lib_deps}
  1770. lib_ignore = ${common.lib_ignore}
  1771. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  1772. upload_speed = 115200
  1773. upload_port = "${env.ESPURNA_IP}"
  1774. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1775. extra_scripts = ${common.extra_scripts}
  1776. modules = ${common.modules}
  1777. [env:maxcio-wus002s]
  1778. platform = ${common.platform}
  1779. framework = arduino
  1780. board = esp01_1m
  1781. board_build.flash_mode = dout
  1782. lib_deps = ${common.lib_deps}
  1783. lib_ignore = ${common.lib_ignore}
  1784. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  1785. monitor_speed = 115200
  1786. extra_scripts = ${common.extra_scripts}
  1787. modules = ${common.modules}
  1788. [env:maxcio-wus002s-ota]
  1789. platform = ${common.platform}
  1790. framework = arduino
  1791. board = esp01_1m
  1792. board_build.flash_mode = dout
  1793. lib_deps = ${common.lib_deps}
  1794. lib_ignore = ${common.lib_ignore}
  1795. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  1796. upload_speed = 115200
  1797. upload_port = "${env.ESPURNA_IP}"
  1798. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1799. extra_scripts = ${common.extra_scripts}
  1800. modules = ${common.modules}
  1801. [env:yidian-xsssa05]
  1802. platform = ${common.platform}
  1803. framework = arduino
  1804. board = esp01_1m
  1805. board_build.flash_mode = dout
  1806. lib_deps = ${common.lib_deps}
  1807. lib_ignore = ${common.lib_ignore}
  1808. build_flags = ${common.build_flags_1m0m} -DYIDIAN_XSSSA05
  1809. monitor_speed = 115200
  1810. extra_scripts = ${common.extra_scripts}
  1811. modules = ${common.modules} sensor
  1812. [env:yidian-xsssa05-ota]
  1813. platform = ${common.platform}
  1814. framework = arduino
  1815. board = esp01_1m
  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} -DYIDIAN_XSSSA05
  1820. upload_speed = 115200
  1821. upload_port = "${env.ESPURNA_IP}"
  1822. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1823. extra_scripts = ${common.extra_scripts}
  1824. modules = ${common.modules} sensor
  1825. [env:tonbux-xsssa06]
  1826. platform = ${common.platform}
  1827. framework = arduino
  1828. board = esp01_1m
  1829. board_build.flash_mode = dout
  1830. lib_deps = ${common.lib_deps}
  1831. lib_ignore = ${common.lib_ignore}
  1832. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  1833. monitor_speed = 115200
  1834. extra_scripts = ${common.extra_scripts}
  1835. modules = ${common.modules}
  1836. [env:tonbux-xsssa06-ota]
  1837. platform = ${common.platform}
  1838. framework = arduino
  1839. board = esp01_1m
  1840. board_build.flash_mode = dout
  1841. lib_deps = ${common.lib_deps}
  1842. lib_ignore = ${common.lib_ignore}
  1843. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  1844. upload_speed = 115200
  1845. upload_port = "${env.ESPURNA_IP}"
  1846. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1847. extra_scripts = ${common.extra_scripts}
  1848. modules = ${common.modules}
  1849. [env:green-esp8266relay]
  1850. platform = ${common.platform}
  1851. framework = arduino
  1852. board = esp12e
  1853. board_build.flash_mode = dout
  1854. lib_deps = ${common.lib_deps}
  1855. lib_ignore = ${common.lib_ignore}
  1856. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  1857. monitor_speed = 115200
  1858. extra_scripts = ${common.extra_scripts}
  1859. modules = ${common.modules}
  1860. [env:green-esp8266relay-ota]
  1861. platform = ${common.platform}
  1862. framework = arduino
  1863. board = esp12e
  1864. board_build.flash_mode = dout
  1865. lib_deps = ${common.lib_deps}
  1866. lib_ignore = ${common.lib_ignore}
  1867. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  1868. upload_speed = 115200
  1869. upload_port = "${env.ESPURNA_IP}"
  1870. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1871. extra_scripts = ${common.extra_scripts}
  1872. modules = ${common.modules}
  1873. [env:ike-espike]
  1874. platform = ${common.platform}
  1875. framework = arduino
  1876. board = esp12e
  1877. board_build.flash_mode = dout
  1878. lib_deps = ${common.lib_deps}
  1879. lib_ignore = ${common.lib_ignore}
  1880. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  1881. monitor_speed = 115200
  1882. extra_scripts = ${common.extra_scripts}
  1883. modules = ${common.modules}
  1884. [env:ike-espike-ota]
  1885. platform = ${common.platform}
  1886. framework = arduino
  1887. board = esp12e
  1888. board_build.flash_mode = dout
  1889. lib_deps = ${common.lib_deps}
  1890. lib_ignore = ${common.lib_ignore}
  1891. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  1892. upload_speed = 115200
  1893. upload_port = "${env.ESPURNA_IP}"
  1894. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1895. extra_scripts = ${common.extra_scripts}
  1896. modules = ${common.modules}
  1897. [env:arniex-swifitch]
  1898. platform = ${common.platform}
  1899. framework = arduino
  1900. board = esp12e
  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} -DARNIEX_SWIFITCH
  1905. extra_scripts = ${common.extra_scripts}
  1906. monitor_speed = 115200
  1907. modules = ${common.modules}
  1908. [env:arniex-swifitch-ota]
  1909. platform = ${common.platform}
  1910. framework = arduino
  1911. board = esp12e
  1912. board_build.flash_mode = dout
  1913. lib_deps = ${common.lib_deps}
  1914. lib_ignore = ${common.lib_ignore}
  1915. build_flags = ${common.build_flags_1m0m} -DARNIEX_SWIFITCH
  1916. upload_speed = 115200
  1917. upload_port = "${env.ESPURNA_IP}"
  1918. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1919. extra_scripts = ${common.extra_scripts}
  1920. modules = ${common.modules}
  1921. [env:zhilde-eu44-w]
  1922. platform = ${common.platform}
  1923. framework = arduino
  1924. board = esp01_1m
  1925. board_build.flash_mode = dout
  1926. lib_deps = ${common.lib_deps}
  1927. lib_ignore = ${common.lib_ignore}
  1928. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  1929. monitor_speed = 115200
  1930. extra_scripts = ${common.extra_scripts}
  1931. modules = ${common.modules}
  1932. [env:zhilde-eu44-w-ota]
  1933. platform = ${common.platform}
  1934. framework = arduino
  1935. board = esp01_1m
  1936. board_build.flash_mode = dout
  1937. lib_deps = ${common.lib_deps}
  1938. lib_ignore = ${common.lib_ignore}
  1939. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  1940. upload_speed = 115200
  1941. upload_port = "${env.ESPURNA_IP}"
  1942. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1943. monitor_speed = 115200
  1944. extra_scripts = ${common.extra_scripts}
  1945. modules = ${common.modules}
  1946. [env:luani-hvio]
  1947. platform = ${common.platform}
  1948. framework = arduino
  1949. board = esp07
  1950. board_build.flash_mode = dout
  1951. lib_deps = ${common.lib_deps}
  1952. lib_ignore = ${common.lib_ignore}
  1953. build_flags = ${common.build_flags_1m0m} -DLUANI_HVIO
  1954. monitor_speed = 115200
  1955. extra_scripts = ${common.extra_scripts}
  1956. modules = ${common.modules}
  1957. [env:luani-hvio-ota]
  1958. platform = ${common.platform}
  1959. framework = arduino
  1960. board = esp07
  1961. board_build.flash_mode = dout
  1962. lib_deps = ${common.lib_deps}
  1963. lib_ignore = ${common.lib_ignore}
  1964. build_flags = ${common.build_flags_1m0m} -DZLUANI_HVIO
  1965. upload_speed = 115200
  1966. upload_port = "${env.ESPURNA_IP}"
  1967. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1968. monitor_speed = 115200
  1969. extra_scripts = ${common.extra_scripts}
  1970. modules = ${common.modules}
  1971. [env:neo-coolcam-power-plug-wifi]
  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_4m1m} -DNEO_COOLCAM_POWER_PLUG_WIFI
  1979. monitor_speed = 115200
  1980. extra_scripts = ${common.extra_scripts}
  1981. modules = ${common.modules}
  1982. [env:neo-coolcam-power-plug-wifi-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_4m1m} -DNEO_COOLCAM_POWER_PLUG_WIFI
  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 = ${common.modules}
  1995. [env:estink-wifi-power-strip]
  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_4m1m} -DESTINK_WIFI_POWER_STRIP
  2003. monitor_speed = 115200
  2004. extra_scripts = ${common.extra_scripts}
  2005. modules = ${common.modules}
  2006. [env:estink-wifi-power-strip-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_4m1m} -DESTINK_WIFI_POWER_STRIP
  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 = ${common.modules}
  2019. # ------------------------------------------------------------------------------
  2020. # GENERIC OTA ENVIRONMENTS
  2021. # ------------------------------------------------------------------------------
  2022. [env:generic-esp01s-relay-40]
  2023. platform = ${common.platform}
  2024. framework = arduino
  2025. board = esp01_1m
  2026. board_build.flash_mode = dout
  2027. lib_deps = ${common.lib_deps}
  2028. lib_ignore = ${common.lib_ignore}
  2029. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  2030. monitor_speed = 115200
  2031. extra_scripts = ${common.extra_scripts}
  2032. modules = ${common.modules}
  2033. [env:generic-esp01s-relay-40-ota]
  2034. platform = ${common.platform}
  2035. framework = arduino
  2036. board = esp01_1m
  2037. board_build.flash_mode = dout
  2038. lib_deps = ${common.lib_deps}
  2039. lib_ignore = ${common.lib_ignore}
  2040. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  2041. upload_speed = 115200
  2042. upload_port = "${env.ESPURNA_IP}"
  2043. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2044. extra_scripts = ${common.extra_scripts}
  2045. modules = ${common.modules}
  2046. [env:generic-esp01s-rgbled-10]
  2047. platform = ${common.platform}
  2048. framework = arduino
  2049. board = esp01_1m
  2050. board_build.flash_mode = dout
  2051. lib_deps = ${common.lib_deps}
  2052. lib_ignore = ${common.lib_ignore}
  2053. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  2054. monitor_speed = 115200
  2055. extra_scripts = ${common.extra_scripts}
  2056. modules = ${common.modules}
  2057. [env:generic-esp01s-rgbled-10-ota]
  2058. platform = ${common.platform}
  2059. framework = arduino
  2060. board = esp01_1m
  2061. board_build.flash_mode = dout
  2062. lib_deps = ${common.lib_deps}
  2063. lib_ignore = ${common.lib_ignore}
  2064. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  2065. upload_speed = 115200
  2066. upload_port = "${env.ESPURNA_IP}"
  2067. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2068. extra_scripts = ${common.extra_scripts}
  2069. modules = ${common.modules}
  2070. [env:generic-esp01s-dht11-10]
  2071. platform = ${common.platform}
  2072. framework = arduino
  2073. board = esp01_1m
  2074. board_build.flash_mode = dout
  2075. lib_deps = ${common.lib_deps}
  2076. lib_ignore = ${common.lib_ignore}
  2077. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  2078. monitor_speed = 115200
  2079. extra_scripts = ${common.extra_scripts}
  2080. modules = ${common.modules} sensor
  2081. [env:generic-esp01s-dht11-10-ota]
  2082. platform = ${common.platform}
  2083. framework = arduino
  2084. board = esp01_1m
  2085. board_build.flash_mode = dout
  2086. lib_deps = ${common.lib_deps}
  2087. lib_ignore = ${common.lib_ignore}
  2088. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  2089. upload_speed = 115200
  2090. upload_port = "${env.ESPURNA_IP}"
  2091. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2092. extra_scripts = ${common.extra_scripts}
  2093. modules = ${common.modules} sensor
  2094. [env:generic-esp01s-ds18b20-10]
  2095. platform = ${common.platform}
  2096. framework = arduino
  2097. board = esp01_1m
  2098. board_build.flash_mode = dout
  2099. lib_deps = ${common.lib_deps}
  2100. lib_ignore = ${common.lib_ignore}
  2101. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  2102. monitor_speed = 115200
  2103. extra_scripts = ${common.extra_scripts}
  2104. modules = ${common.modules} sensor
  2105. [env:generic-esp01s-ds18b20-10-ota]
  2106. platform = ${common.platform}
  2107. framework = arduino
  2108. board = esp01_1m
  2109. board_build.flash_mode = dout
  2110. lib_deps = ${common.lib_deps}
  2111. lib_ignore = ${common.lib_ignore}
  2112. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  2113. upload_speed = 115200
  2114. upload_port = "${env.ESPURNA_IP}"
  2115. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2116. extra_scripts = ${common.extra_scripts}
  2117. modules = ${common.modules} sensor
  2118. [env:heltec-touch-relay]
  2119. platform = ${common.platform}
  2120. framework = arduino
  2121. board = esp01_1m
  2122. board_build.flash_mode = dout
  2123. lib_deps = ${common.lib_deps}
  2124. lib_ignore = ${common.lib_ignore}
  2125. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  2126. monitor_speed = 115200
  2127. extra_scripts = ${common.extra_scripts}
  2128. modules = ${common.modules}
  2129. [env:heltec-touch-relay-ota]
  2130. platform = ${common.platform}
  2131. framework = arduino
  2132. board = esp01_1m
  2133. board_build.flash_mode = dout
  2134. lib_deps = ${common.lib_deps}
  2135. lib_ignore = ${common.lib_ignore}
  2136. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  2137. upload_speed = 115200
  2138. upload_port = "${env.ESPURNA_IP}"
  2139. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2140. extra_scripts = ${common.extra_scripts}
  2141. modules = ${common.modules}
  2142. [env:allnet-4duino-iot-wlan-relais]
  2143. platform = ${common.platform}
  2144. framework = arduino
  2145. board = esp12e
  2146. board_build.flash_mode = dout
  2147. lib_deps = ${common.lib_deps}
  2148. lib_ignore = ${common.lib_ignore}
  2149. build_flags = ${common.build_flags_1m0m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  2150. monitor_speed = 115200
  2151. extra_scripts = ${common.extra_scripts}
  2152. modules = ${common.modules}
  2153. [env:allnet-4duino-iot-wlan-relais-ota]
  2154. platform = ${common.platform}
  2155. framework = arduino
  2156. board = esp12e
  2157. board_build.flash_mode = dout
  2158. lib_deps = ${common.lib_deps}
  2159. lib_ignore = ${common.lib_ignore}
  2160. build_flags = ${common.build_flags_1m0m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  2161. upload_speed = 115200
  2162. upload_port = "${env.ESPURNA_IP}"
  2163. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2164. extra_scripts = ${common.extra_scripts}
  2165. modules = ${common.modules}
  2166. [env:tonbux-mosquito-killer]
  2167. platform = ${common.platform}
  2168. framework = arduino
  2169. board = esp01_1m
  2170. board_build.flash_mode = dout
  2171. lib_deps = ${common.lib_deps}
  2172. lib_ignore = ${common.lib_ignore}
  2173. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  2174. monitor_speed = 115200
  2175. extra_scripts = ${common.extra_scripts}
  2176. modules = ${common.modules}
  2177. [env:tonbux-mosquito-killer-ota]
  2178. platform = ${common.platform}
  2179. framework = arduino
  2180. board = esp01_1m
  2181. board_build.flash_mode = dout
  2182. lib_deps = ${common.lib_deps}
  2183. lib_ignore = ${common.lib_ignore}
  2184. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  2185. upload_speed = 115200
  2186. upload_port = "${env.ESPURNA_IP}"
  2187. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2188. extra_scripts = ${common.extra_scripts}
  2189. modules = ${common.modules}
  2190. [env:pilotak-esp-din-v1]
  2191. platform = ${common.platform}
  2192. framework = arduino
  2193. board = esp01_1m
  2194. board_build.flash_mode = dout
  2195. lib_deps = ${common.lib_deps}
  2196. lib_ignore = ${common.lib_ignore}
  2197. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  2198. monitor_speed = 115200
  2199. extra_scripts = ${common.extra_scripts}
  2200. modules = ${common.modules} sensor
  2201. [env:pilotak-esp-din-v1-ota]
  2202. platform = ${common.platform}
  2203. framework = arduino
  2204. board = esp01_1m
  2205. board_build.flash_mode = dout
  2206. lib_deps = ${common.lib_deps}
  2207. lib_ignore = ${common.lib_ignore}
  2208. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  2209. upload_speed = 115200
  2210. upload_port = "${env.ESPURNA_IP}"
  2211. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2212. extra_scripts = ${common.extra_scripts}
  2213. modules = ${common.modules} sensor
  2214. [env:nodemcu-geiger]
  2215. platform = ${common.platform}
  2216. framework = arduino
  2217. board = nodemcu
  2218. lib_deps = ${common.lib_deps}
  2219. lib_ignore = ${common.lib_ignore}
  2220. build_flags = ${common.build_flags_1m0m} -DNODEMCU_BASIC -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
  2221. upload_speed = 460800
  2222. monitor_speed = 115200
  2223. extra_scripts = ${common.extra_scripts}
  2224. modules = ${common.modules} sensor
  2225. [env:nodemcu-geiger-ota]
  2226. platform = ${common.platform}
  2227. framework = arduino
  2228. board = nodemcu
  2229. lib_deps = ${common.lib_deps}
  2230. lib_ignore = ${common.lib_ignore}
  2231. build_flags = ${common.build_flags_1m0m} -DNODEMCU_BASIC -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
  2232. upload_speed = 460800
  2233. monitor_speed = 115200
  2234. upload_port = "${env.ESPURNA_IP}"
  2235. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  2236. extra_scripts = ${common.extra_scripts}
  2237. modules = ${common.modules} sensor