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.

800 lines
22 KiB

  1. [platformio]
  2. env_default = nodemcu-lolin
  3. src_dir = espurna
  4. data_dir = espurna/data
  5. [common]
  6. build_flags = -g -DMQTT_MAX_PACKET_SIZE=400
  7. build_flags_512k = ${common.build_flags} -Wl,-Tesp8266.flash.512k0.ld
  8. build_flags_1m = ${common.build_flags} -Wl,-Tesp8266.flash.1m0.ld
  9. lib_deps =
  10. DHT sensor library
  11. Adafruit Unified Sensor
  12. https://github.com/xoseperez/Time
  13. ArduinoJson
  14. https://github.com/me-no-dev/ESPAsyncTCP#991f855
  15. https://github.com/me-no-dev/ESPAsyncWebServer#a94265d
  16. https://github.com/marvinroger/async-mqtt-client#v0.8.1
  17. PubSubClient
  18. Embedis
  19. NtpClientLib
  20. OneWire
  21. DallasTemperature
  22. Brzo I2C
  23. https://bitbucket.org/xoseperez/justwifi.git#1.1.4
  24. https://bitbucket.org/xoseperez/hlw8012.git#1.0.1
  25. https://bitbucket.org/xoseperez/fauxmoesp.git#2.1.1
  26. https://bitbucket.org/xoseperez/nofuss.git#0.2.2
  27. https://bitbucket.org/xoseperez/emonliteesp.git#0.1.2
  28. https://bitbucket.org/xoseperez/debounceevent.git#2.0.1
  29. https://github.com/xoseperez/my9291#1.0.0
  30. https://github.com/xoseperez/RemoteSwitch-arduino-library.git
  31. lib_ignore =
  32. # ------------------------------------------------------------------------------
  33. [env:wemos-d1mini-relayshield]
  34. platform = espressif8266
  35. framework = arduino
  36. board = d1_mini
  37. lib_deps = ${common.lib_deps}
  38. lib_ignore = ${common.lib_ignore}
  39. build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  40. upload_speed = 460800
  41. monitor_baud = 115200
  42. [env:wemos-d1mini-relayshield-ota]
  43. platform = espressif8266
  44. framework = arduino
  45. board = d1_mini
  46. lib_deps = ${common.lib_deps}
  47. lib_ignore = ${common.lib_ignore}
  48. build_flags = ${common.build_flags} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  49. upload_speed = 115200
  50. upload_port = "192.168.4.1"
  51. upload_flags = --auth=fibonacci --port 8266
  52. monitor_baud = 115200
  53. [env:nodemcu-lolin]
  54. platform = espressif8266
  55. framework = arduino
  56. board = nodemcuv2
  57. lib_deps = ${common.lib_deps}
  58. lib_ignore = ${common.lib_ignore}
  59. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  60. upload_speed = 460800
  61. monitor_baud = 115200
  62. [env:nodemcu-lolin-ota]
  63. platform = espressif8266
  64. framework = arduino
  65. board = nodemcuv2
  66. lib_deps = ${common.lib_deps}
  67. lib_ignore = ${common.lib_ignore}
  68. build_flags = ${common.build_flags} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  69. upload_speed = 115200
  70. upload_port = "192.168.4.1"
  71. upload_flags = --auth=fibonacci --port 8266
  72. monitor_baud = 115200
  73. # ------------------------------------------------------------------------------
  74. [env:tinkerman-espurna-h]
  75. platform = espressif8266
  76. framework = arduino
  77. board = esp12e
  78. lib_deps = ${common.lib_deps}
  79. lib_ignore = ${common.lib_ignore}
  80. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H
  81. upload_speed = 460800
  82. monitor_baud = 115200
  83. [env:tinkerman-espurna-h-ota]
  84. platform = espressif8266
  85. framework = arduino
  86. board = esp12e
  87. lib_deps = ${common.lib_deps}
  88. lib_ignore = ${common.lib_ignore}
  89. build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_H
  90. upload_speed = 115200
  91. upload_port = "192.168.4.1"
  92. upload_flags = --auth=fibonacci --port 8266
  93. monitor_baud = 115200
  94. # ------------------------------------------------------------------------------
  95. [env:itead-sonoff-basic]
  96. platform = espressif8266
  97. framework = arduino
  98. board = esp01_1m
  99. board_flash_mode = dout
  100. lib_deps = ${common.lib_deps}
  101. lib_ignore = ${common.lib_ignore}
  102. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
  103. monitor_baud = 115200
  104. [env:itead-sonoff-basic-ota]
  105. platform = espressif8266
  106. framework = arduino
  107. board = esp01_1m
  108. board_flash_mode = dout
  109. lib_deps = ${common.lib_deps}
  110. lib_ignore = ${common.lib_ignore}
  111. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC
  112. upload_speed = 115200
  113. upload_port = "192.168.4.1"
  114. upload_flags = --auth=fibonacci --port 8266
  115. monitor_baud = 115200
  116. [env:itead-sonoff-basic-dht22]
  117. platform = espressif8266
  118. framework = arduino
  119. board = esp01_1m
  120. board_flash_mode = dout
  121. lib_deps = ${common.lib_deps}
  122. lib_ignore = ${common.lib_ignore}
  123. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DENABLE_DHT=1
  124. monitor_baud = 115200
  125. [env:itead-sonoff-basic-ds18b20]
  126. platform = espressif8266
  127. framework = arduino
  128. board = esp01_1m
  129. board_flash_mode = dout
  130. lib_deps = ${common.lib_deps}
  131. lib_ignore = ${common.lib_ignore}
  132. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DENABLE_DS18B20=1
  133. monitor_baud = 115200
  134. [env:itead-sonoff-rf]
  135. platform = espressif8266
  136. framework = arduino
  137. board = esp01_1m
  138. board_flash_mode = dout
  139. lib_deps = ${common.lib_deps}
  140. lib_ignore = ${common.lib_ignore}
  141. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RF
  142. monitor_baud = 115200
  143. [env:itead-sonoff-rf-ota]
  144. platform = espressif8266
  145. framework = arduino
  146. board = esp01_1m
  147. board_flash_mode = dout
  148. lib_deps = ${common.lib_deps}
  149. lib_ignore = ${common.lib_ignore}
  150. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RF
  151. upload_speed = 115200
  152. upload_port = "192.168.4.1"
  153. upload_flags = --auth=fibonacci --port 8266
  154. monitor_baud = 115200
  155. [env:itead-sonoff-pow]
  156. platform = espressif8266
  157. framework = arduino
  158. board = esp01_1m
  159. board_flash_mode = dout
  160. lib_deps = ${common.lib_deps}
  161. lib_ignore = ${common.lib_ignore}
  162. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW
  163. monitor_baud = 115200
  164. [env:itead-sonoff-pow-ota]
  165. platform = espressif8266
  166. framework = arduino
  167. board = esp01_1m
  168. board_flash_mode = dout
  169. lib_deps = ${common.lib_deps}
  170. lib_ignore = ${common.lib_ignore}
  171. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_POW
  172. upload_speed = 115200
  173. upload_port = "192.168.4.1"
  174. upload_flags = --auth=fibonacci --port 8266
  175. monitor_baud = 115200
  176. [env:itead-sonoff-dual]
  177. platform = espressif8266
  178. framework = arduino
  179. board = esp01_1m
  180. board_flash_mode = dout
  181. lib_deps = ${common.lib_deps}
  182. lib_ignore = ${common.lib_ignore}
  183. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  184. [env:itead-sonoff-dual-ota]
  185. platform = espressif8266
  186. framework = arduino
  187. board = esp01_1m
  188. board_flash_mode = dout
  189. lib_deps = ${common.lib_deps}
  190. lib_ignore = ${common.lib_ignore}
  191. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_DUAL
  192. upload_speed = 115200
  193. upload_port = "192.168.4.1"
  194. upload_flags = --auth=fibonacci --port 8266
  195. [env:itead-sonoff-4ch]
  196. platform = espressif8266
  197. framework = arduino
  198. board = esp8285
  199. board_flash_mode = dout
  200. lib_deps = ${common.lib_deps}
  201. lib_ignore = ${common.lib_ignore}
  202. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH
  203. monitor_baud = 115200
  204. [env:itead-sonoff-4ch-ota]
  205. platform = espressif8266
  206. framework = arduino
  207. board = esp8285
  208. board_flash_mode = dout
  209. lib_deps = ${common.lib_deps}
  210. lib_ignore = ${common.lib_ignore}
  211. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH
  212. upload_speed = 115200
  213. upload_port = "192.168.4.1"
  214. upload_flags = --auth=fibonacci --port 8266
  215. monitor_baud = 115200
  216. [env:itead-sonoff-4ch-pro]
  217. platform = espressif8266
  218. framework = arduino
  219. board = esp8285
  220. board_flash_mode = dout
  221. lib_deps = ${common.lib_deps}
  222. lib_ignore = ${common.lib_ignore}
  223. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO
  224. monitor_baud = 115200
  225. [env:itead-sonoff-4ch-pro-ota]
  226. platform = espressif8266
  227. framework = arduino
  228. board = esp8285
  229. board_flash_mode = dout
  230. lib_deps = ${common.lib_deps}
  231. lib_ignore = ${common.lib_ignore}
  232. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_4CH_PRO
  233. upload_speed = 115200
  234. upload_port = "192.168.4.1"
  235. upload_flags = --auth=fibonacci --port 8266
  236. monitor_baud = 115200
  237. [env:itead-sonoff-touch]
  238. platform = espressif8266
  239. framework = arduino
  240. board = esp8285
  241. board_flash_mode = dout
  242. lib_deps = ${common.lib_deps}
  243. lib_ignore = ${common.lib_ignore}
  244. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH
  245. monitor_baud = 115200
  246. [env:itead-sonoff-touch-ota]
  247. platform = espressif8266
  248. framework = arduino
  249. board = esp8285
  250. board_flash_mode = dout
  251. lib_deps = ${common.lib_deps}
  252. lib_ignore = ${common.lib_ignore}
  253. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TOUCH
  254. upload_speed = 115200
  255. upload_port = "192.168.4.1"
  256. upload_flags = --auth=fibonacci --port 8266
  257. monitor_baud = 115200
  258. [env:itead-sonoff-b1]
  259. platform = espressif8266
  260. framework = arduino
  261. board = esp8285
  262. board_flash_mode = dout
  263. lib_deps = ${common.lib_deps}
  264. lib_ignore = ${common.lib_ignore}
  265. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
  266. monitor_baud = 115200
  267. [env:itead-sonoff-b1-ota]
  268. platform = espressif8266
  269. framework = arduino
  270. board = esp8285
  271. board_flash_mode = dout
  272. lib_deps = ${common.lib_deps}
  273. lib_ignore = ${common.lib_ignore}
  274. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_B1
  275. upload_speed = 115200
  276. upload_port = "192.168.4.1"
  277. upload_flags = --auth=fibonacci --port 8266
  278. monitor_baud = 115200
  279. [env:itead-sonoff-t1-1ch]
  280. platform = espressif8266
  281. framework = arduino
  282. board = esp8285
  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_T1_1CH
  287. monitor_baud = 115200
  288. [env:itead-sonoff-t1-1ch-ota]
  289. platform = espressif8266
  290. framework = arduino
  291. board = esp8285
  292. board_flash_mode = dout
  293. lib_deps = ${common.lib_deps}
  294. lib_ignore = ${common.lib_ignore}
  295. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_1CH
  296. upload_speed = 115200
  297. upload_port = "192.168.4.1"
  298. upload_flags = --auth=fibonacci --port 8266
  299. monitor_baud = 115200
  300. [env:itead-sonoff-t1-2ch]
  301. platform = espressif8266
  302. framework = arduino
  303. board = esp8285
  304. board_flash_mode = dout
  305. lib_deps = ${common.lib_deps}
  306. lib_ignore = ${common.lib_ignore}
  307. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
  308. monitor_baud = 115200
  309. [env:itead-sonoff-t1-2ch-ota]
  310. platform = espressif8266
  311. framework = arduino
  312. board = esp8285
  313. board_flash_mode = dout
  314. lib_deps = ${common.lib_deps}
  315. lib_ignore = ${common.lib_ignore}
  316. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_2CH
  317. upload_speed = 115200
  318. upload_port = "192.168.4.1"
  319. upload_flags = --auth=fibonacci --port 8266
  320. monitor_baud = 115200
  321. [env:itead-sonoff-t1-3ch]
  322. platform = espressif8266
  323. framework = arduino
  324. board = esp8285
  325. board_flash_mode = dout
  326. lib_deps = ${common.lib_deps}
  327. lib_ignore = ${common.lib_ignore}
  328. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
  329. monitor_baud = 115200
  330. [env:itead-sonoff-t1-3ch-ota]
  331. platform = espressif8266
  332. framework = arduino
  333. board = esp8285
  334. board_flash_mode = dout
  335. lib_deps = ${common.lib_deps}
  336. lib_ignore = ${common.lib_ignore}
  337. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_T1_3CH
  338. upload_speed = 115200
  339. upload_port = "192.168.4.1"
  340. upload_flags = --auth=fibonacci --port 8266
  341. monitor_baud = 115200
  342. [env:itead-sonoff-led]
  343. platform = espressif8266
  344. framework = arduino
  345. board = esp01_1m
  346. board_flash_mode = dout
  347. lib_deps = ${common.lib_deps}
  348. lib_ignore = ${common.lib_ignore}
  349. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
  350. monitor_baud = 115200
  351. [env:itead-sonoff-led-ota]
  352. platform = espressif8266
  353. framework = arduino
  354. board = esp01_1m
  355. board_flash_mode = dout
  356. lib_deps = ${common.lib_deps}
  357. lib_ignore = ${common.lib_ignore}
  358. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_LED
  359. upload_speed = 115200
  360. upload_port = "192.168.4.1"
  361. upload_flags = --auth=fibonacci --port 8266
  362. monitor_baud = 115200
  363. [env:itead-sonoff-rfbridge]
  364. platform = espressif8266
  365. framework = arduino
  366. board = esp01_1m
  367. board_flash_mode = dout
  368. lib_deps = ${common.lib_deps}
  369. lib_ignore = ${common.lib_ignore}
  370. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  371. monitor_baud = 19200
  372. [env:itead-sonoff-rfbridge-ota]
  373. platform = espressif8266
  374. framework = arduino
  375. board = esp01_1m
  376. board_flash_mode = dout
  377. lib_deps = ${common.lib_deps}
  378. lib_ignore = ${common.lib_ignore}
  379. build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_RFBRIDGE
  380. upload_speed = 115200
  381. upload_port = "192.168.4.1"
  382. upload_flags = --auth=Algernon1 --port 8266
  383. monitor_baud = 19200
  384. # ------------------------------------------------------------------------------
  385. [env:itead-slampher]
  386. platform = espressif8266
  387. framework = arduino
  388. board = esp01_1m
  389. board_flash_mode = dout
  390. lib_deps = ${common.lib_deps}
  391. lib_ignore = ${common.lib_ignore}
  392. build_flags = ${common.build_flags_1m} -DITEAD_SLAMPHER
  393. monitor_baud = 115200
  394. [env:itead-slampher-ota]
  395. platform = espressif8266
  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_SLAMPHER
  402. upload_speed = 115200
  403. upload_port = "192.168.4.1"
  404. upload_flags = --auth=fibonacci --port 8266
  405. monitor_baud = 115200
  406. [env:itead-s20]
  407. platform = espressif8266
  408. framework = arduino
  409. board = esp01_1m
  410. board_flash_mode = dout
  411. lib_deps = ${common.lib_deps}
  412. lib_ignore = ${common.lib_ignore}
  413. build_flags = ${common.build_flags_1m} -DITEAD_S20
  414. monitor_baud = 115200
  415. [env:itead-s20-ota]
  416. platform = espressif8266
  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_S20
  423. upload_speed = 115200
  424. upload_port = "192.168.4.1"
  425. upload_flags = --auth=fibonacci --port 8266
  426. monitor_baud = 115200
  427. [env:itead-1ch-inching]
  428. platform = espressif8266
  429. framework = arduino
  430. board = esp01_1m
  431. board_flash_mode = dout
  432. lib_deps = ${common.lib_deps}
  433. lib_ignore = ${common.lib_ignore}
  434. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  435. monitor_baud = 115200
  436. [env:itead-1ch-inching-ota]
  437. platform = espressif8266
  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_1CH_INCHING
  444. upload_speed = 115200
  445. upload_port = "192.168.4.1"
  446. upload_flags = --auth=fibonacci --port 8266
  447. monitor_baud = 115200
  448. [env:itead-motor]
  449. platform = espressif8266
  450. framework = arduino
  451. board = esp01_1m
  452. board_flash_mode = dout
  453. lib_deps = ${common.lib_deps}
  454. lib_ignore = ${common.lib_ignore}
  455. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  456. monitor_baud = 115200
  457. [env:itead-motor-ota]
  458. platform = espressif8266
  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_MOTOR
  465. upload_speed = 115200
  466. upload_port = "192.168.4.1"
  467. upload_flags = --auth=fibonacci --port 8266
  468. monitor_baud = 115200
  469. # ------------------------------------------------------------------------------
  470. [env:electrodragon-wifi-iot]
  471. platform = espressif8266
  472. framework = arduino
  473. board = esp12e
  474. lib_deps = ${common.lib_deps}
  475. lib_ignore = ${common.lib_ignore}
  476. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DENABLE_DHT=1
  477. monitor_baud = 115200
  478. [env:electrodragon-wifi-iot-ota]
  479. platform = espressif8266
  480. framework = arduino
  481. board = esp12e
  482. lib_deps = ${common.lib_deps}
  483. lib_ignore = ${common.lib_ignore}
  484. build_flags = ${common.build_flags} -DELECTRODRAGON_WIFI_IOT -DENABLE_DHT=1
  485. upload_speed = 115200
  486. upload_port = "192.168.4.1"
  487. upload_flags = --auth=fibonacci --port 8266
  488. monitor_baud = 115200
  489. [env:workchoice-ecoplug]
  490. platform = espressif8266
  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} -DWORKCHOICE_ECOPLUG
  497. monitor_baud = 115200
  498. [env:workchoice-ecoplug-ota]
  499. platform = espressif8266
  500. framework = arduino
  501. board = esp01_1m
  502. board_flash_mode = dout
  503. lib_deps = ${common.lib_deps}
  504. lib_ignore = ${common.lib_ignore}
  505. build_flags = ${common.build_flags_1m} -DWORKCHOICE_ECOPLUG
  506. upload_speed = 115200
  507. upload_port = "192.168.4.1"
  508. upload_flags = --auth=fibonacci --port 8266
  509. monitor_baud = 115200
  510. [env:jangoe-wifi-relay]
  511. platform = espressif8266
  512. framework = arduino
  513. board = esp12e
  514. lib_deps = ${common.lib_deps}
  515. lib_ignore = ${common.lib_ignore}
  516. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  517. monitor_baud = 115200
  518. [env:jangoe-wifi-relay-ota]
  519. platform = espressif8266
  520. framework = arduino
  521. board = esp12e
  522. lib_deps = ${common.lib_deps}
  523. lib_ignore = ${common.lib_ignore}
  524. build_flags = ${common.build_flags} -DJANGOE_WIFI_RELAY_NC
  525. upload_speed = 115200
  526. upload_port = "192.168.4.1"
  527. upload_flags = --auth=fibonacci --port 8266
  528. monitor_baud = 115200
  529. [env:openenergymonitor-mqtt-relay]
  530. platform = espressif8266
  531. framework = arduino
  532. board = esp_wroom_02
  533. lib_deps = ${common.lib_deps}
  534. lib_ignore = ${common.lib_ignore}
  535. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DENABLE_DS18B20=1
  536. monitor_baud = 115200
  537. [env:openenergymonitor-mqtt-relay-ota]
  538. platform = espressif8266
  539. framework = arduino
  540. board = esp_wroom_02
  541. lib_deps = ${common.lib_deps}
  542. lib_ignore = ${common.lib_ignore}
  543. build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DENABLE_DS18B20=1
  544. upload_speed = 115200
  545. upload_port = "192.168.4.1"
  546. upload_flags = --auth=fibonacci --port 8266
  547. monitor_baud = 115200
  548. [env:jorgegarcia-wifi-relays]
  549. platform = espressif8266
  550. framework = arduino
  551. board = esp01_1m
  552. lib_deps = ${common.lib_deps}
  553. lib_ignore = ${common.lib_ignore}
  554. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  555. monitor_baud = 115200
  556. [env:jorgegarcia-wifi-relays-ota]
  557. platform = espressif8266
  558. framework = arduino
  559. board = esp01_1m
  560. lib_deps = ${common.lib_deps}
  561. lib_ignore = ${common.lib_ignore}
  562. build_flags = ${common.build_flags_1m} -DJORGEGARCIA_WIFI_RELAYS
  563. upload_speed = 115200
  564. upload_port = "192.168.4.1"
  565. upload_flags = --auth=fibonacci --port 8266
  566. monitor_baud = 115200
  567. [env:aithinker-ai-light]
  568. platform = espressif8266
  569. framework = arduino
  570. board = esp01_1m
  571. board_flash_mode = dout
  572. lib_deps = ${common.lib_deps}
  573. lib_ignore = ${common.lib_ignore}
  574. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  575. monitor_baud = 115200
  576. [env:aithinker-ai-light-ota]
  577. platform = espressif8266
  578. framework = arduino
  579. board = esp01_1m
  580. board_flash_mode = dout
  581. lib_deps = ${common.lib_deps}
  582. lib_ignore = ${common.lib_ignore}
  583. build_flags = ${common.build_flags_1m} -DAITHINKER_AI_LIGHT
  584. upload_speed = 115200
  585. upload_port = "192.168.4.1"
  586. upload_flags = --auth=fibonacci --port 8266
  587. monitor_baud = 115200
  588. [env:magichome-led-controller]
  589. platform = espressif8266
  590. framework = arduino
  591. board = esp01_1m
  592. lib_deps = ${common.lib_deps}
  593. lib_ignore = ${common.lib_ignore}
  594. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  595. monitor_baud = 115200
  596. [env:magichome-led-controller-ota]
  597. platform = espressif8266
  598. framework = arduino
  599. board = esp01_1m
  600. lib_deps = ${common.lib_deps}
  601. lib_ignore = ${common.lib_ignore}
  602. build_flags = ${common.build_flags_1m} -DMAGICHOME_LED_CONTROLLER
  603. upload_speed = 115200
  604. upload_port = "192.168.4.1"
  605. upload_flags = --auth=fibonacci --port 8266
  606. monitor_baud = 115200
  607. [env:huacanxing-h801]
  608. platform = espressif8266
  609. framework = arduino
  610. board = esp01_1m
  611. board_flash_mode = dout
  612. lib_deps = ${common.lib_deps}
  613. lib_ignore = ${common.lib_ignore}
  614. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801 -DDEBUG_PORT=Serial1
  615. monitor_baud = 115200
  616. [env:huacanxing-h801-ota]
  617. platform = espressif8266
  618. framework = arduino
  619. board = esp01_1m
  620. board_flash_mode = dout
  621. lib_deps = ${common.lib_deps}
  622. lib_ignore = ${common.lib_ignore}
  623. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DHUACANXING_H801 -DDEBUG_PORT=Serial1
  624. upload_speed = 115200
  625. upload_port = "192.168.4.1"
  626. upload_flags = --auth=fibonacci --port 8266
  627. monitor_baud = 115200
  628. [env:itead-bnsz01]
  629. platform = espressif8266
  630. framework = arduino
  631. board = esp8285
  632. board_flash_mode = dout
  633. lib_deps = ${common.lib_deps}
  634. lib_ignore = ${common.lib_ignore}
  635. build_flags = ${common.build_flags_1m} -DITEAD_BN_SZ01
  636. monitor_baud = 115200
  637. [env:itead-bnsz01-ota]
  638. platform = espressif8266
  639. framework = arduino
  640. board = esp8285
  641. board_flash_mode = dout
  642. lib_deps = ${common.lib_deps}
  643. lib_ignore = ${common.lib_ignore}
  644. build_flags = ${common.build_flags_1m} -DITEAD_BN_SZ01
  645. upload_speed = 115200
  646. upload_port = "192.168.4.1"
  647. upload_flags = --auth=fibonacci --port 8266
  648. monitor_baud = 115200
  649. [env:wion-50055]
  650. platform = espressif8266
  651. framework = arduino
  652. board = esp01_1m
  653. board_flash_mode = dout
  654. lib_deps = ${common.lib_deps}
  655. lib_ignore = ${common.lib_ignore}
  656. build_flags = ${common.build_flags_1m} -DWION_50055
  657. monitor_baud = 115200
  658. [env:wion-50055-ota]
  659. platform = espressif8266
  660. framework = arduino
  661. board = esp01_1m
  662. board_flash_mode = dout
  663. lib_deps = ${common.lib_deps}
  664. lib_ignore = ${common.lib_ignore}
  665. build_flags = ${common.build_flags_1m} -DWION_50055
  666. upload_speed = 115200
  667. upload_port = "192.168.4.1"
  668. upload_flags = --auth=fibonacci --port 8266
  669. monitor_baud = 115200
  670. [env:exs-wifi-relay-v31]
  671. platform = espressif8266
  672. framework = arduino
  673. board = esp07
  674. board_flash_mode = dout
  675. lib_deps = ${common.lib_deps}
  676. lib_ignore = ${common.lib_ignore}
  677. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  678. monitor_baud = 115200
  679. [env:exs-wifi-relay-v31-ota]
  680. platform = espressif8266
  681. framework = arduino
  682. board = esp07
  683. board_flash_mode = dout
  684. lib_deps = ${common.lib_deps}
  685. lib_ignore = ${common.lib_ignore}
  686. build_flags = ${common.build_flags_1m} -DEXS_WIFI_RELAY_V31
  687. upload_speed = 115200
  688. upload_port = "192.168.4.1"
  689. upload_flags = --auth=fibonacci --port 8266
  690. monitor_baud = 115200
  691. # ------------------------------------------------------------------------------
  692. # GENERIC OTA ENVIRONMENTS
  693. # ------------------------------------------------------------------------------
  694. [env:esp8285-1m-ota]
  695. platform = espressif8266
  696. framework = arduino
  697. board = esp8285
  698. board_flash_mode = dout
  699. lib_deps = ${common.lib_deps}
  700. lib_ignore = ${common.lib_ignore}
  701. build_flags = ${common.build_flags_1m} -D${env.BOARD}
  702. upload_speed = 115200
  703. upload_port = "${env.IP}"
  704. upload_flags = --auth=${env.AUTH} --port 8266
  705. [env:esp8266-1m-ota]
  706. platform = espressif8266
  707. framework = arduino
  708. board = esp01_1m
  709. board_flash_mode = dout
  710. lib_deps = ${common.lib_deps}
  711. lib_ignore = ${common.lib_ignore}
  712. build_flags = ${common.build_flags_1m} -D${env.BOARD}
  713. upload_speed = 115200
  714. upload_port = "${env.IP}"
  715. upload_flags = --auth=${env.AUTH} --port 8266
  716. [env:esp8266-4m-ota]
  717. platform = espressif8266
  718. framework = arduino
  719. board = esp12e
  720. board_flash_mode = dout
  721. lib_deps = ${common.lib_deps}
  722. lib_ignore = ${common.lib_ignore}
  723. build_flags = ${common.build_flags} -D${env.BOARD}
  724. upload_speed = 115200
  725. upload_port = "${env.IP}"
  726. upload_flags = --auth=${env.AUTH} --port 8266