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.

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