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.

1188 lines
32 KiB

  1. [platformio]
  2. env_default = wemos-d1mini-relayshield
  3. src_dir = espurna
  4. data_dir = espurna/data
  5. [common]
  6. platform = espressif8266
  7. #platform = espressif8266_stage
  8. build_flags = -g -DMQTT_MAX_PACKET_SIZE=400 ${env.ESPURNA_FLAGS}
  9. debug_flags = -DDEBUG_ESP_CORE -DDEBUG_ESP_SSL -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_HTTP_SERVER -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_TLS_MEM
  10. build_flags_512k = ${common.build_flags} -Wl,-Tesp8266.flash.512k0.ld
  11. build_flags_1m = ${common.build_flags} -Wl,-Tesp8266.flash.1m0.ld
  12. lib_deps =
  13. https://github.com/xoseperez/Time
  14. ArduinoJson
  15. https://github.com/me-no-dev/ESPAsyncTCP#a57560d
  16. https://github.com/me-no-dev/ESPAsyncWebServer#63b5303
  17. https://github.com/marvinroger/async-mqtt-client#v0.8.1
  18. PubSubClient
  19. Embedis
  20. NtpClientLib
  21. OneWire
  22. Brzo I2C
  23. SparkFun BME280
  24. https://github.com/krosk93/espsoftwareserial#a770677
  25. PMS Library
  26. https://bitbucket.org/xoseperez/justwifi.git#1.1.4
  27. https://bitbucket.org/xoseperez/hlw8012.git#1.1.0
  28. https://bitbucket.org/xoseperez/fauxmoesp.git#2.3.0
  29. https://bitbucket.org/xoseperez/nofuss.git#0.2.5
  30. https://bitbucket.org/xoseperez/emonliteesp.git#0.2.0
  31. https://bitbucket.org/xoseperez/debounceevent.git#2.0.1
  32. https://github.com/xoseperez/my92xx#3.0.0
  33. https://github.com/xoseperez/RemoteSwitch-arduino-library.git
  34. https://github.com/markszabo/IRremoteESP8266#v2.2.0
  35. lib_ignore =
  36. #extra_scripts = post:core_version.py
  37. extra_scripts =
  38. # ------------------------------------------------------------------------------
  39. [env:wemos-d1mini-relayshield]
  40. platform = ${common.platform}
  41. framework = arduino
  42. board = d1_mini
  43. lib_deps = ${common.lib_deps}
  44. lib_ignore = ${common.lib_ignore}
  45. build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  46. upload_speed = 460800
  47. monitor_baud = 115200
  48. extra_scripts = ${common.extra_scripts}
  49. [env:wemos-d1mini-relayshield-ssl]
  50. platform = espressif8266_stage
  51. framework = arduino
  52. board = d1_mini
  53. lib_deps = ${common.lib_deps}
  54. lib_ignore = ${common.lib_ignore}
  55. build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  56. upload_speed = 460800
  57. monitor_baud = 115200
  58. [env:wemos-d1mini-relayshield-ota]
  59. platform = ${common.platform}
  60. framework = arduino
  61. board = d1_mini
  62. lib_deps = ${common.lib_deps}
  63. lib_ignore = ${common.lib_ignore}
  64. build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  65. upload_speed = 115200
  66. upload_port = "192.168.4.1"
  67. upload_flags = --auth=fibonacci --port 8266
  68. [env:nodemcu-lolin]
  69. platform = ${common.platform}
  70. framework = arduino
  71. board = nodemcuv2
  72. lib_deps = ${common.lib_deps}
  73. lib_ignore = ${common.lib_ignore}
  74. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  75. upload_speed = 460800
  76. monitor_baud = 115200
  77. [env:nodemcu-lolin-ssl]
  78. platform = espressif8266_stage
  79. framework = arduino
  80. board = nodemcuv2
  81. lib_deps = ${common.lib_deps}
  82. lib_ignore = ${common.lib_ignore}
  83. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  84. upload_speed = 460800
  85. monitor_baud = 115200
  86. [env:nodemcu-lolin-ota]
  87. platform = ${common.platform}
  88. framework = arduino
  89. board = nodemcuv2
  90. lib_deps = ${common.lib_deps}
  91. lib_ignore = ${common.lib_ignore}
  92. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  93. upload_speed = 115200
  94. upload_port = "192.168.4.1"
  95. upload_flags = --auth=fibonacci --port 8266
  96. monitor_baud = 115200
  97. # ------------------------------------------------------------------------------
  98. [env:tinkerman-espurna-h06]
  99. platform = ${common.platform}
  100. framework = arduino
  101. board = esp12e
  102. lib_deps = ${common.lib_deps}
  103. lib_ignore = ${common.lib_ignore}
  104. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H06
  105. monitor_baud = 115200
  106. [env:tinkerman-espurna-h06-ota]
  107. platform = ${common.platform}
  108. framework = arduino
  109. board = esp12e
  110. lib_deps = ${common.lib_deps}
  111. lib_ignore = ${common.lib_ignore}
  112. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H06
  113. upload_speed = 115200
  114. upload_port = "192.168.4.1"
  115. upload_flags = --auth=fibonacci --port 8266
  116. monitor_baud = 115200
  117. [env:tinkerman-espurna-h08]
  118. platform = ${common.platform}
  119. framework = arduino
  120. board = esp12e
  121. lib_deps = ${common.lib_deps}
  122. lib_ignore = ${common.lib_ignore}
  123. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H08
  124. monitor_baud = 115200
  125. [env:tinkerman-espurna-h08-ota]
  126. platform = ${common.platform}
  127. framework = arduino
  128. board = esp12e
  129. lib_deps = ${common.lib_deps}
  130. lib_ignore = ${common.lib_ignore}
  131. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H08
  132. upload_speed = 115200
  133. upload_port = "192.168.4.1"
  134. upload_flags = --auth=fibonacci --port 8266
  135. monitor_baud = 115200
  136. # ------------------------------------------------------------------------------
  137. [env:itead-sonoff-basic]
  138. platform = ${common.platform}
  139. framework = arduino
  140. board = esp01_1m
  141. board_flash_mode = dout
  142. lib_deps = ${common.lib_deps}
  143. lib_ignore = ${common.lib_ignore}
  144. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
  145. monitor_baud = 115200
  146. [env:itead-sonoff-basic-ota]
  147. platform = ${common.platform}
  148. framework = arduino
  149. board = esp01_1m
  150. board_flash_mode = dout
  151. lib_deps = ${common.lib_deps}
  152. lib_ignore = ${common.lib_ignore}
  153. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
  154. upload_speed = 115200
  155. upload_port = "192.168.4.1"
  156. upload_flags = --auth=fibonacci --port 8266
  157. monitor_baud = 115200
  158. [env:itead-sonoff-basic-dht22]
  159. platform = ${common.platform}
  160. framework = arduino
  161. board = esp01_1m
  162. board_flash_mode = dout
  163. lib_deps = ${common.lib_deps}
  164. lib_ignore = ${common.lib_ignore}
  165. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  166. monitor_baud = 115200
  167. [env:itead-sonoff-basic-dht22-ota]
  168. platform = ${common.platform}
  169. framework = arduino
  170. board = esp01_1m
  171. board_flash_mode = dout
  172. lib_deps = ${common.lib_deps}
  173. lib_ignore = ${common.lib_ignore}
  174. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  175. upload_speed = 115200
  176. upload_port = "192.168.4.1"
  177. upload_flags = --auth=fibonacci --port 8266
  178. monitor_baud = 115200
  179. [env:itead-sonoff-basic-ds18b20]
  180. platform = ${common.platform}
  181. framework = arduino
  182. board = esp01_1m
  183. board_flash_mode = dout
  184. lib_deps = ${common.lib_deps}
  185. lib_ignore = ${common.lib_ignore}
  186. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDS18B20_SUPPORT=1
  187. monitor_baud = 115200
  188. [env:itead-sonoff-rf]
  189. platform = ${common.platform}
  190. framework = arduino
  191. board = esp01_1m
  192. board_flash_mode = dout
  193. lib_deps = ${common.lib_deps}
  194. lib_ignore = ${common.lib_ignore}
  195. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RF
  196. monitor_baud = 115200
  197. [env:itead-sonoff-rf-ota]
  198. platform = ${common.platform}
  199. framework = arduino
  200. board = esp01_1m
  201. board_flash_mode = dout
  202. lib_deps = ${common.lib_deps}
  203. lib_ignore = ${common.lib_ignore}
  204. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RF
  205. upload_speed = 115200
  206. upload_port = "192.168.4.1"
  207. upload_flags = --auth=fibonacci --port 8266
  208. monitor_baud = 115200
  209. [env:itead-sonoff-th]
  210. platform = ${common.platform}
  211. framework = arduino
  212. board = esp01_1m
  213. board_flash_mode = dout
  214. lib_deps = ${common.lib_deps}
  215. lib_ignore = ${common.lib_ignore}
  216. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TH
  217. monitor_baud = 115200
  218. [env:itead-sonoff-th-ota]
  219. platform = ${common.platform}
  220. framework = arduino
  221. board = esp01_1m
  222. board_flash_mode = dout
  223. lib_deps = ${common.lib_deps}
  224. lib_ignore = ${common.lib_ignore}
  225. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TH
  226. upload_speed = 115200
  227. upload_port = "192.168.4.1"
  228. upload_flags = --auth=fibonacci --port 8266
  229. monitor_baud = 115200
  230. [env:itead-sonoff-pow]
  231. platform = ${common.platform}
  232. framework = arduino
  233. board = esp01_1m
  234. board_flash_mode = dout
  235. lib_deps = ${common.lib_deps}
  236. lib_ignore = ${common.lib_ignore}
  237. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW
  238. monitor_baud = 115200
  239. [env:itead-sonoff-pow-ota]
  240. platform = ${common.platform}
  241. framework = arduino
  242. board = esp01_1m
  243. board_flash_mode = dout
  244. lib_deps = ${common.lib_deps}
  245. lib_ignore = ${common.lib_ignore}
  246. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW
  247. upload_speed = 115200
  248. upload_port = "192.168.4.1"
  249. upload_flags = --auth=fibonacci --port 8266
  250. monitor_baud = 115200
  251. [env:itead-sonoff-dual]
  252. platform = ${common.platform}
  253. framework = arduino
  254. board = esp01_1m
  255. board_flash_mode = dout
  256. lib_deps = ${common.lib_deps}
  257. lib_ignore = ${common.lib_ignore}
  258. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  259. [env:itead-sonoff-dual-ota]
  260. platform = ${common.platform}
  261. framework = arduino
  262. board = esp01_1m
  263. board_flash_mode = dout
  264. lib_deps = ${common.lib_deps}
  265. lib_ignore = ${common.lib_ignore}
  266. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  267. upload_speed = 115200
  268. upload_port = "192.168.4.1"
  269. upload_flags = --auth=fibonacci --port 8266
  270. [env:itead-sonoff-dual-r2]
  271. platform = ${common.platform}
  272. framework = arduino
  273. board = esp01_1m
  274. board_flash_mode = dout
  275. lib_deps = ${common.lib_deps}
  276. lib_ignore = ${common.lib_ignore}
  277. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL_R2
  278. [env:itead-sonoff-dual-ota-r2]
  279. platform = ${common.platform}
  280. framework = arduino
  281. board = esp01_1m
  282. board_flash_mode = dout
  283. lib_deps = ${common.lib_deps}
  284. lib_ignore = ${common.lib_ignore}
  285. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL_R2
  286. upload_speed = 115200
  287. upload_port = "192.168.4.1"
  288. upload_flags = --auth=fibonacci --port 8266
  289. [env:itead-sonoff-4ch]
  290. platform = ${common.platform}
  291. framework = arduino
  292. board = esp01_1m
  293. board_flash_mode = dout
  294. lib_deps = ${common.lib_deps}
  295. lib_ignore = ${common.lib_ignore}
  296. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH
  297. monitor_baud = 115200
  298. [env:itead-sonoff-4ch-ota]
  299. platform = ${common.platform}
  300. framework = arduino
  301. board = esp01_1m
  302. board_flash_mode = dout
  303. lib_deps = ${common.lib_deps}
  304. lib_ignore = ${common.lib_ignore}
  305. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH
  306. upload_speed = 115200
  307. upload_port = "192.168.4.1"
  308. upload_flags = --auth=fibonacci --port 8266
  309. monitor_baud = 115200
  310. [env:itead-sonoff-4ch-pro]
  311. platform = ${common.platform}
  312. framework = arduino
  313. board = esp01_1m
  314. board_flash_mode = dout
  315. lib_deps = ${common.lib_deps}
  316. lib_ignore = ${common.lib_ignore}
  317. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO
  318. monitor_baud = 115200
  319. [env:itead-sonoff-4ch-pro-ota]
  320. platform = ${common.platform}
  321. framework = arduino
  322. board = esp01_1m
  323. board_flash_mode = dout
  324. lib_deps = ${common.lib_deps}
  325. lib_ignore = ${common.lib_ignore}
  326. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO
  327. upload_speed = 115200
  328. upload_port = "192.168.4.1"
  329. upload_flags = --auth=fibonacci --port 8266
  330. monitor_baud = 115200
  331. [env:itead-sonoff-touch]
  332. platform = ${common.platform}
  333. framework = arduino
  334. board = esp01_1m
  335. board_flash_mode = dout
  336. lib_deps = ${common.lib_deps}
  337. lib_ignore = ${common.lib_ignore}
  338. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH
  339. monitor_baud = 115200
  340. [env:itead-sonoff-touch-ota]
  341. platform = ${common.platform}
  342. framework = arduino
  343. board = esp01_1m
  344. board_flash_mode = dout
  345. lib_deps = ${common.lib_deps}
  346. lib_ignore = ${common.lib_ignore}
  347. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH
  348. upload_speed = 115200
  349. upload_port = "192.168.4.1"
  350. upload_flags = --auth=fibonacci --port 8266
  351. monitor_baud = 115200
  352. [env:itead-sonoff-b1]
  353. platform = ${common.platform}
  354. framework = arduino
  355. board = esp01_1m
  356. board_flash_mode = dout
  357. lib_deps = ${common.lib_deps}
  358. lib_ignore = ${common.lib_ignore}
  359. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
  360. monitor_baud = 115200
  361. [env:itead-sonoff-b1-ota]
  362. platform = ${common.platform}
  363. framework = arduino
  364. board = esp01_1m
  365. board_flash_mode = dout
  366. lib_deps = ${common.lib_deps}
  367. lib_ignore = ${common.lib_ignore}
  368. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
  369. upload_speed = 115200
  370. upload_port = "192.168.4.1"
  371. upload_flags = --auth=fibonacci --port 8266
  372. monitor_baud = 115200
  373. [env:itead-sonoff-t1-1ch]
  374. platform = ${common.platform}
  375. framework = arduino
  376. board = esp01_1m
  377. board_flash_mode = dout
  378. lib_deps = ${common.lib_deps}
  379. lib_ignore = ${common.lib_ignore}
  380. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH
  381. monitor_baud = 115200
  382. [env:itead-sonoff-t1-1ch-ota]
  383. platform = ${common.platform}
  384. framework = arduino
  385. board = esp01_1m
  386. board_flash_mode = dout
  387. lib_deps = ${common.lib_deps}
  388. lib_ignore = ${common.lib_ignore}
  389. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH
  390. upload_speed = 115200
  391. upload_port = "192.168.4.1"
  392. upload_flags = --auth=fibonacci --port 8266
  393. monitor_baud = 115200
  394. [env:itead-sonoff-t1-2ch]
  395. platform = ${common.platform}
  396. framework = arduino
  397. board = esp01_1m
  398. board_flash_mode = dout
  399. lib_deps = ${common.lib_deps}
  400. lib_ignore = ${common.lib_ignore}
  401. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
  402. monitor_baud = 115200
  403. [env:itead-sonoff-t1-2ch-ota]
  404. platform = ${common.platform}
  405. framework = arduino
  406. board = esp01_1m
  407. board_flash_mode = dout
  408. lib_deps = ${common.lib_deps}
  409. lib_ignore = ${common.lib_ignore}
  410. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
  411. upload_speed = 115200
  412. upload_port = "192.168.4.1"
  413. upload_flags = --auth=fibonacci --port 8266
  414. monitor_baud = 115200
  415. [env:itead-sonoff-t1-3ch]
  416. platform = ${common.platform}
  417. framework = arduino
  418. board = esp01_1m
  419. board_flash_mode = dout
  420. lib_deps = ${common.lib_deps}
  421. lib_ignore = ${common.lib_ignore}
  422. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
  423. monitor_baud = 115200
  424. [env:itead-sonoff-t1-3ch-ota]
  425. platform = ${common.platform}
  426. framework = arduino
  427. board = esp01_1m
  428. board_flash_mode = dout
  429. lib_deps = ${common.lib_deps}
  430. lib_ignore = ${common.lib_ignore}
  431. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
  432. upload_speed = 115200
  433. upload_port = "192.168.4.1"
  434. upload_flags = --auth=fibonacci --port 8266
  435. monitor_baud = 115200
  436. [env:itead-sonoff-led]
  437. platform = ${common.platform}
  438. framework = arduino
  439. board = esp01_1m
  440. board_flash_mode = dout
  441. lib_deps = ${common.lib_deps}
  442. lib_ignore = ${common.lib_ignore}
  443. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
  444. monitor_baud = 115200
  445. [env:itead-sonoff-led-ota]
  446. platform = ${common.platform}
  447. framework = arduino
  448. board = esp01_1m
  449. board_flash_mode = dout
  450. lib_deps = ${common.lib_deps}
  451. lib_ignore = ${common.lib_ignore}
  452. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
  453. upload_speed = 115200
  454. upload_port = "192.168.4.1"
  455. upload_flags = --auth=fibonacci --port 8266
  456. monitor_baud = 115200
  457. [env:itead-sonoff-rfbridge]
  458. platform = ${common.platform}
  459. framework = arduino
  460. board = esp01_1m
  461. board_flash_mode = dout
  462. lib_deps = ${common.lib_deps}
  463. lib_ignore = ${common.lib_ignore}
  464. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  465. monitor_baud = 19200
  466. [env:itead-sonoff-rfbridge-ota]
  467. platform = ${common.platform}
  468. framework = arduino
  469. board = esp01_1m
  470. board_flash_mode = dout
  471. lib_deps = ${common.lib_deps}
  472. lib_ignore = ${common.lib_ignore}
  473. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  474. upload_speed = 115200
  475. upload_port = "192.168.4.1"
  476. upload_flags = --auth=Algernon1 --port 8266
  477. monitor_baud = 19200
  478. # ------------------------------------------------------------------------------
  479. [env:itead-slampher]
  480. platform = ${common.platform}
  481. framework = arduino
  482. board = esp01_1m
  483. board_flash_mode = dout
  484. lib_deps = ${common.lib_deps}
  485. lib_ignore = ${common.lib_ignore}
  486. build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
  487. monitor_baud = 115200
  488. [env:itead-slampher-ota]
  489. platform = ${common.platform}
  490. framework = arduino
  491. board = esp01_1m
  492. board_flash_mode = dout
  493. lib_deps = ${common.lib_deps}
  494. lib_ignore = ${common.lib_ignore}
  495. build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
  496. upload_speed = 115200
  497. upload_port = "192.168.4.1"
  498. upload_flags = --auth=fibonacci --port 8266
  499. monitor_baud = 115200
  500. [env:itead-s20]
  501. platform = ${common.platform}
  502. framework = arduino
  503. board = esp01_1m
  504. board_flash_mode = dout
  505. lib_deps = ${common.lib_deps}
  506. lib_ignore = ${common.lib_ignore}
  507. build_flags = ${common.build_flags_1m} -DITEAD_S20
  508. monitor_baud = 115200
  509. [env:itead-s20-ota]
  510. platform = ${common.platform}
  511. framework = arduino
  512. board = esp01_1m
  513. board_flash_mode = dout
  514. lib_deps = ${common.lib_deps}
  515. lib_ignore = ${common.lib_ignore}
  516. build_flags = ${common.build_flags_1m} -DITEAD_S20
  517. upload_speed = 115200
  518. upload_port = "192.168.4.1"
  519. upload_flags = --auth=fibonacci --port 8266
  520. monitor_baud = 115200
  521. [env:itead-1ch-inching]
  522. platform = ${common.platform}
  523. framework = arduino
  524. board = esp01_1m
  525. board_flash_mode = dout
  526. lib_deps = ${common.lib_deps}
  527. lib_ignore = ${common.lib_ignore}
  528. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  529. monitor_baud = 115200
  530. [env:itead-1ch-inching-ota]
  531. platform = ${common.platform}
  532. framework = arduino
  533. board = esp01_1m
  534. board_flash_mode = dout
  535. lib_deps = ${common.lib_deps}
  536. lib_ignore = ${common.lib_ignore}
  537. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  538. upload_speed = 115200
  539. upload_port = "192.168.4.1"
  540. upload_flags = --auth=fibonacci --port 8266
  541. monitor_baud = 115200
  542. [env:itead-motor]
  543. platform = ${common.platform}
  544. framework = arduino
  545. board = esp01_1m
  546. board_flash_mode = dout
  547. lib_deps = ${common.lib_deps}
  548. lib_ignore = ${common.lib_ignore}
  549. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  550. monitor_baud = 115200
  551. [env:itead-motor-ota]
  552. platform = ${common.platform}
  553. framework = arduino
  554. board = esp01_1m
  555. board_flash_mode = dout
  556. lib_deps = ${common.lib_deps}
  557. lib_ignore = ${common.lib_ignore}
  558. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  559. upload_speed = 115200
  560. upload_port = "192.168.4.1"
  561. upload_flags = --auth=fibonacci --port 8266
  562. monitor_baud = 115200
  563. # ------------------------------------------------------------------------------
  564. [env:electrodragon-wifi-iot]
  565. platform = ${common.platform}
  566. framework = arduino
  567. board = esp12e
  568. lib_deps = ${common.lib_deps}
  569. lib_ignore = ${common.lib_ignore}
  570. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  571. monitor_baud = 115200
  572. [env:electrodragon-wifi-iot-ota]
  573. platform = ${common.platform}
  574. framework = arduino
  575. board = esp12e
  576. lib_deps = ${common.lib_deps}
  577. lib_ignore = ${common.lib_ignore}
  578. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  579. upload_speed = 115200
  580. upload_port = "192.168.4.1"
  581. upload_flags = --auth=fibonacci --port 8266
  582. monitor_baud = 115200
  583. [env:workchoice-ecoplug]
  584. platform = ${common.platform}
  585. framework = arduino
  586. board = esp01_1m
  587. board_flash_mode = dout
  588. lib_deps = ${common.lib_deps}
  589. lib_ignore = ${common.lib_ignore}
  590. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  591. monitor_baud = 115200
  592. [env:workchoice-ecoplug-ota]
  593. platform = ${common.platform}
  594. framework = arduino
  595. board = esp01_1m
  596. board_flash_mode = dout
  597. lib_deps = ${common.lib_deps}
  598. lib_ignore = ${common.lib_ignore}
  599. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  600. upload_speed = 115200
  601. upload_port = "192.168.4.1"
  602. upload_flags = --auth=fibonacci --port 8266
  603. monitor_baud = 115200
  604. [env:jangoe-wifi-relay]
  605. platform = ${common.platform}
  606. framework = arduino
  607. board = esp12e
  608. lib_deps = ${common.lib_deps}
  609. lib_ignore = ${common.lib_ignore}
  610. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  611. monitor_baud = 115200
  612. [env:jangoe-wifi-relay-ota]
  613. platform = ${common.platform}
  614. framework = arduino
  615. board = esp12e
  616. lib_deps = ${common.lib_deps}
  617. lib_ignore = ${common.lib_ignore}
  618. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  619. upload_speed = 115200
  620. upload_port = "192.168.4.1"
  621. upload_flags = --auth=fibonacci --port 8266
  622. monitor_baud = 115200
  623. [env:openenergymonitor-mqtt-relay]
  624. platform = ${common.platform}
  625. framework = arduino
  626. board = esp_wroom_02
  627. lib_deps = ${common.lib_deps}
  628. lib_ignore = ${common.lib_ignore}
  629. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDS18B20_SUPPORT=1
  630. monitor_baud = 115200
  631. [env:openenergymonitor-mqtt-relay-ota]
  632. platform = ${common.platform}
  633. framework = arduino
  634. board = esp_wroom_02
  635. lib_deps = ${common.lib_deps}
  636. lib_ignore = ${common.lib_ignore}
  637. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDS18B20_SUPPORT=1
  638. upload_speed = 115200
  639. upload_port = "192.168.4.1"
  640. upload_flags = --auth=fibonacci --port 8266
  641. monitor_baud = 115200
  642. [env:jorgegarcia-wifi-relays]
  643. platform = ${common.platform}
  644. framework = arduino
  645. board = esp01_1m
  646. lib_deps = ${common.lib_deps}
  647. lib_ignore = ${common.lib_ignore}
  648. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  649. monitor_baud = 115200
  650. [env:jorgegarcia-wifi-relays-ota]
  651. platform = ${common.platform}
  652. framework = arduino
  653. board = esp01_1m
  654. lib_deps = ${common.lib_deps}
  655. lib_ignore = ${common.lib_ignore}
  656. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  657. upload_speed = 115200
  658. upload_port = "192.168.4.1"
  659. upload_flags = --auth=fibonacci --port 8266
  660. monitor_baud = 115200
  661. [env:aithinker-ai-light]
  662. platform = ${common.platform}
  663. framework = arduino
  664. board = esp01_1m
  665. board_flash_mode = dout
  666. lib_deps = ${common.lib_deps}
  667. lib_ignore = ${common.lib_ignore}
  668. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  669. monitor_baud = 115200
  670. [env:aithinker-ai-light-ota]
  671. platform = ${common.platform}
  672. framework = arduino
  673. board = esp01_1m
  674. board_flash_mode = dout
  675. lib_deps = ${common.lib_deps}
  676. lib_ignore = ${common.lib_ignore}
  677. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  678. upload_speed = 115200
  679. upload_port = "192.168.4.1"
  680. upload_flags = --auth=fibonacci --port 8266
  681. monitor_baud = 115200
  682. [env:magichome-led-controller]
  683. platform = ${common.platform}
  684. framework = arduino
  685. board = esp01_1m
  686. board_flash_mode = dout
  687. lib_deps = ${common.lib_deps}
  688. lib_ignore = ${common.lib_ignore}
  689. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  690. monitor_baud = 115200
  691. [env:magichome-led-controller-ota]
  692. platform = ${common.platform}
  693. framework = arduino
  694. board = esp01_1m
  695. board_flash_mode = dout
  696. lib_deps = ${common.lib_deps}
  697. lib_ignore = ${common.lib_ignore}
  698. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  699. upload_speed = 115200
  700. upload_port = "192.168.4.1"
  701. upload_flags = --auth=fibonacci --port 8266
  702. monitor_baud = 115200
  703. [env:magichome-led-controller-20]
  704. platform = ${common.platform}
  705. framework = arduino
  706. board = esp01_1m
  707. board_flash_mode = dout
  708. lib_deps = ${common.lib_deps}
  709. lib_ignore = ${common.lib_ignore}
  710. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  711. monitor_baud = 115200
  712. [env:magichome-led-controller-20-ota]
  713. platform = ${common.platform}
  714. framework = arduino
  715. board = esp01_1m
  716. board_flash_mode = dout
  717. lib_deps = ${common.lib_deps}
  718. lib_ignore = ${common.lib_ignore}
  719. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER_20
  720. upload_port = "192.168.4.1"
  721. upload_flags = --auth=fibonacci --port 8266
  722. monitor_baud = 115200
  723. [env:huacanxing-h801]
  724. platform = ${common.platform}
  725. framework = arduino
  726. board = esp01_1m
  727. board_flash_mode = dout
  728. lib_deps = ${common.lib_deps}
  729. lib_ignore = ${common.lib_ignore}
  730. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  731. monitor_baud = 115200
  732. [env:huacanxing-h801-ota]
  733. platform = ${common.platform}
  734. framework = arduino
  735. board = esp01_1m
  736. board_flash_mode = dout
  737. lib_deps = ${common.lib_deps}
  738. lib_ignore = ${common.lib_ignore}
  739. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801
  740. upload_speed = 115200
  741. upload_port = "192.168.4.1"
  742. upload_flags = --auth=fibonacci --port 8266
  743. monitor_baud = 115200
  744. [env:huacanxing-h802]
  745. platform = ${common.platform}
  746. framework = arduino
  747. board = esp01_1m
  748. board_flash_mode = dout
  749. lib_deps = ${common.lib_deps}
  750. lib_ignore = ${common.lib_ignore}
  751. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  752. monitor_baud = 115200
  753. [env:huacanxing-h802-ota]
  754. platform = ${common.platform}
  755. framework = arduino
  756. board = esp01_1m
  757. board_flash_mode = dout
  758. lib_deps = ${common.lib_deps}
  759. lib_ignore = ${common.lib_ignore}
  760. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H802
  761. upload_speed = 115200
  762. upload_port = "192.168.4.1"
  763. upload_flags = --auth=fibonacci --port 8266
  764. monitor_baud = 115200
  765. [env:arilux-al-lc06]
  766. platform = ${common.platform}
  767. framework = arduino
  768. board = esp01_1m
  769. board_flash_mode = dout
  770. lib_deps = ${common.lib_deps}
  771. lib_ignore = ${common.lib_ignore}
  772. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  773. monitor_baud = 115200
  774. [env:arilux-al-lc06-ota]
  775. platform = ${common.platform}
  776. framework = arduino
  777. board = esp01_1m
  778. board_flash_mode = dout
  779. lib_deps = ${common.lib_deps}
  780. lib_ignore = ${common.lib_ignore}
  781. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_AL_LC06
  782. upload_speed = 115200
  783. upload_port = "192.168.4.1"
  784. upload_flags = --auth=fibonacci --port 8266
  785. monitor_baud = 115200
  786. [env:arilux-e27]
  787. platform = ${common.platform}
  788. framework = arduino
  789. board = esp01_1m
  790. board_flash_mode = dout
  791. lib_deps = ${common.lib_deps}
  792. lib_ignore = ${common.lib_ignore}
  793. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  794. monitor_baud = 115200
  795. [env:arilux-e27-ota]
  796. platform = ${common.platform}
  797. framework = arduino
  798. board = esp01_1m
  799. board_flash_mode = dout
  800. lib_deps = ${common.lib_deps}
  801. lib_ignore = ${common.lib_ignore}
  802. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DARILUX_E27
  803. upload_speed = 115200
  804. upload_port = "192.168.4.1"
  805. upload_flags = --auth=fibonacci --port 8266
  806. monitor_baud = 115200
  807. [env:itead-bnsz01]
  808. platform = ${common.platform}
  809. framework = arduino
  810. board = esp01_1m
  811. board_flash_mode = dout
  812. lib_deps = ${common.lib_deps}
  813. lib_ignore = ${common.lib_ignore}
  814. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  815. monitor_baud = 115200
  816. [env:itead-bnsz01-ota]
  817. platform = ${common.platform}
  818. framework = arduino
  819. board = esp01_1m
  820. board_flash_mode = dout
  821. lib_deps = ${common.lib_deps}
  822. lib_ignore = ${common.lib_ignore}
  823. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  824. upload_speed = 115200
  825. upload_port = "192.168.4.1"
  826. upload_flags = --auth=fibonacci --port 8266
  827. monitor_baud = 115200
  828. [env:wion-50055]
  829. platform = ${common.platform}
  830. framework = arduino
  831. board = esp01_1m
  832. board_flash_mode = dout
  833. lib_deps = ${common.lib_deps}
  834. lib_ignore = ${common.lib_ignore}
  835. build_flags = ${common.build_flags_1m} -DWION_50055
  836. monitor_baud = 115200
  837. [env:wion-50055-ota]
  838. platform = ${common.platform}
  839. framework = arduino
  840. board = esp01_1m
  841. board_flash_mode = dout
  842. lib_deps = ${common.lib_deps}
  843. lib_ignore = ${common.lib_ignore}
  844. build_flags = ${common.build_flags_1m} -DWION_50055
  845. upload_speed = 115200
  846. upload_port = "192.168.4.1"
  847. upload_flags = --auth=fibonacci --port 8266
  848. monitor_baud = 115200
  849. [env:exs-wifi-relay-v31]
  850. platform = ${common.platform}
  851. framework = arduino
  852. board = esp07
  853. board_flash_mode = dout
  854. lib_deps = ${common.lib_deps}
  855. lib_ignore = ${common.lib_ignore}
  856. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  857. monitor_baud = 115200
  858. [env:exs-wifi-relay-v31-ota]
  859. platform = ${common.platform}
  860. framework = arduino
  861. board = esp07
  862. board_flash_mode = dout
  863. lib_deps = ${common.lib_deps}
  864. lib_ignore = ${common.lib_ignore}
  865. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  866. upload_speed = 115200
  867. upload_port = "192.168.4.1"
  868. upload_flags = --auth=fibonacci --port 8266
  869. monitor_baud = 115200
  870. [env:wemos-v9261f]
  871. platform = ${common.platform}
  872. framework = arduino
  873. board = d1_mini
  874. lib_deps = ${common.lib_deps}
  875. lib_ignore = ${common.lib_ignore}
  876. build_flags = ${common.build_flags} -DGENERIC_V9261F
  877. upload_speed = 460800
  878. monitor_baud = 115200
  879. [env:wemos-v9261f-ota]
  880. platform = ${common.platform}
  881. framework = arduino
  882. board = d1_mini
  883. lib_deps = ${common.lib_deps}
  884. lib_ignore = ${common.lib_ignore}
  885. build_flags = ${common.build_flags} -DGENERIC_V9261F
  886. upload_speed = 115200
  887. upload_port = "192.168.4.1"
  888. upload_flags = --auth=fibonacci --port 8266
  889. monitor_baud = 115200
  890. [env:esp01-v9261f]
  891. platform = ${common.platform}
  892. framework = arduino
  893. board = esp01_1m
  894. board_flash_mode = dout
  895. lib_deps = ${common.lib_deps}
  896. lib_ignore = ${common.lib_ignore}
  897. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  898. monitor_baud = 115200
  899. [env:esp01-v9261f-ota]
  900. platform = ${common.platform}
  901. framework = arduino
  902. board = esp01_1m
  903. board_flash_mode = dout
  904. lib_deps = ${common.lib_deps}
  905. lib_ignore = ${common.lib_ignore}
  906. build_flags = ${common.build_flags_1m} -DGENERIC_V9261F
  907. upload_speed = 115200
  908. upload_port = "192.168.4.1"
  909. upload_flags = --auth=fibonacci --port 8266
  910. monitor_baud = 115200
  911. [env:wemos-ech1560]
  912. platform = ${common.platform}
  913. framework = arduino
  914. board = d1_mini
  915. lib_deps = ${common.lib_deps}
  916. lib_ignore = ${common.lib_ignore}
  917. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  918. upload_speed = 460800
  919. monitor_baud = 115200
  920. [env:wemos-ech1560-ota]
  921. platform = ${common.platform}
  922. framework = arduino
  923. board = d1_mini
  924. lib_deps = ${common.lib_deps}
  925. lib_ignore = ${common.lib_ignore}
  926. build_flags = ${common.build_flags} -DGENERIC_ECH1560
  927. upload_speed = 115200
  928. upload_port = "192.168.4.1"
  929. upload_flags = --auth=fibonacci --port 8266
  930. monitor_baud = 115200
  931. [env:esp01-ech1560]
  932. platform = ${common.platform}
  933. framework = arduino
  934. board = esp01_1m
  935. board_flash_mode = dout
  936. lib_deps = ${common.lib_deps}
  937. lib_ignore = ${common.lib_ignore}
  938. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  939. monitor_baud = 115200
  940. [env:esp01-ech1560-ota]
  941. platform = ${common.platform}
  942. framework = arduino
  943. board = esp01_1m
  944. board_flash_mode = dout
  945. lib_deps = ${common.lib_deps}
  946. lib_ignore = ${common.lib_ignore}
  947. build_flags = ${common.build_flags_1m} -DGENERIC_ECH1560
  948. upload_speed = 115200
  949. upload_port = "192.168.4.1"
  950. upload_flags = --auth=fibonacci --port 8266
  951. monitor_baud = 115200
  952. [env:mancavemade-esplive]
  953. platform = ${common.platform}
  954. framework = arduino
  955. board = d1_mini
  956. lib_deps = ${common.lib_deps}
  957. lib_ignore = ${common.lib_ignore}
  958. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  959. upload_speed = 460800
  960. monitor_baud = 115200
  961. [env:mancavemade-esplive-ota]
  962. platform = ${common.platform}
  963. framework = arduino
  964. board = d1_mini
  965. lib_deps = ${common.lib_deps}
  966. lib_ignore = ${common.lib_ignore}
  967. build_flags = ${common.build_flags} -DMANCAVEMADE_ESPLIVE
  968. upload_speed = 460800
  969. upload_port = "192.168.4.1"
  970. upload_flags = --auth=fibonacci --port 8266
  971. monitor_baud = 115200
  972. [env:intermittech-quinled]
  973. platform = ${common.platform}
  974. framework = arduino
  975. board = esp01_1m
  976. board_flash_mode = dout
  977. lib_deps = ${common.lib_deps}
  978. lib_ignore = ${common.lib_ignore}
  979. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  980. monitor_baud = 115200
  981. [env:intermittech-quinled-ota]
  982. platform = ${common.platform}
  983. framework = arduino
  984. board = esp01_1m
  985. board_flash_mode = dout
  986. lib_deps = ${common.lib_deps}
  987. lib_ignore = ${common.lib_ignore}
  988. build_flags = ${common.build_flags_1m} -DINTERMITTECH_QUINLED
  989. upload_speed = 115200
  990. upload_port = "192.168.4.1"
  991. upload_flags = --auth=fibonacci --port 8266
  992. monitor_baud = 115200
  993. [env:xenon-sm-pw702u]
  994. platform = ${common.platform}
  995. framework = arduino
  996. board = esp12e
  997. board_flash_mode = dout
  998. lib_deps = ${common.lib_deps}
  999. lib_ignore = ${common.lib_ignore}
  1000. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1001. monitor_baud = 115200
  1002. [env:xenon-sm-pw702u-ota]
  1003. platform = ${common.platform}
  1004. framework = arduino
  1005. board = esp12e
  1006. board_flash_mode = dout
  1007. lib_deps = ${common.lib_deps}
  1008. lib_ignore = ${common.lib_ignore}
  1009. build_flags = ${common.build_flags_1m} -DXENON_SM_PW702U
  1010. upload_speed = 115200
  1011. upload_port = "192.168.4.1"
  1012. upload_flags = --auth=fibonacci --port 8266
  1013. monitor_baud = 115200
  1014. [env:authometion-lyt8266]
  1015. platform = ${common.platform}
  1016. framework = arduino
  1017. board = esp01_1m
  1018. board_flash_mode = dout
  1019. lib_deps = ${common.lib_deps}
  1020. lib_ignore = ${common.lib_ignore}
  1021. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1022. monitor_baud = 115200
  1023. [env:authometion-lyt8266-ota]
  1024. platform = ${common.platform}
  1025. framework = arduino
  1026. board = esp01_1m
  1027. board_flash_mode = dout
  1028. lib_deps = ${common.lib_deps}
  1029. lib_ignore = ${common.lib_ignore}
  1030. build_flags = ${common.build_flags_1m} -DAUTHOMETION_LYT8266
  1031. upload_speed = 115200
  1032. upload_port = "192.168.4.1"
  1033. upload_flags = --auth=fibonacci --port 8266
  1034. monitor_baud = 115200
  1035. [env:yjzk-switch-2ch]
  1036. platform = ${common.platform}
  1037. framework = arduino
  1038. board = esp01_1m
  1039. board_flash_mode = dout
  1040. lib_deps = ${common.lib_deps}
  1041. lib_ignore = ${common.lib_ignore}
  1042. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1043. monitor_baud = 115200
  1044. [env:yjzk-switch-2ch-ota]
  1045. platform = ${common.platform}
  1046. framework = arduino
  1047. board = esp01_1m
  1048. board_flash_mode = dout
  1049. lib_deps = ${common.lib_deps}
  1050. lib_ignore = ${common.lib_ignore}
  1051. build_flags = ${common.build_flags_1m} -DYJZK_SWITCH_2CH
  1052. upload_speed = 115200
  1053. upload_port = "192.168.4.1"
  1054. upload_flags = --auth=fibonacci --port 8266
  1055. monitor_baud = 115200
  1056. # ------------------------------------------------------------------------------
  1057. # GENERIC OTA ENVIRONMENTS
  1058. # ------------------------------------------------------------------------------
  1059. [env:esp8266-1m-ota]
  1060. platform = ${common.platform}
  1061. framework = arduino
  1062. board = esp01_1m
  1063. board_flash_mode = dout
  1064. lib_deps = ${common.lib_deps}
  1065. lib_ignore = ${common.lib_ignore}
  1066. build_flags = ${common.build_flags_1m} -D${env.ESPURNA_BOARD}
  1067. upload_speed = 115200
  1068. upload_port = "${env.ESPURNA_IP}"
  1069. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  1070. [env:esp8266-4m-ota]
  1071. platform = ${common.platform}
  1072. framework = arduino
  1073. board = esp12e
  1074. board_flash_mode = dout
  1075. lib_deps = ${common.lib_deps}
  1076. lib_ignore = ${common.lib_ignore}
  1077. build_flags = ${common.build_flags} -D${env.ESPURNA_BOARD}
  1078. upload_speed = 115200
  1079. upload_port = "${env.ESPURNA_IP}"
  1080. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266