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.

1008 lines
28 KiB

6 years ago
6 years ago
6 years ago
6 years ago
  1. [platformio]
  2. default_envs = nodemcu-lolin
  3. src_dir = espurna
  4. data_dir = espurna/data
  5. extra_configs =
  6. platformio_ota.ini
  7. platformio_override.ini
  8. # ------------------------------------------------------------------------------
  9. # Add to or modify ANY section (env:..., common, etc.) via platformio_override.ini
  10. #
  11. # For example, to set f_cpu value for every environment:
  12. # $ cat platformio_override.ini
  13. # [env]
  14. # board_build.f_cpu = 160000000
  15. #
  16. # ------------------------------------------------------------------------------
  17. [common]
  18. # ------------------------------------------------------------------------------
  19. # PLATFORM:
  20. # !! DO NOT confuse platformio's ESP8266 development platform with Arduino core for ESP8266
  21. # We use Arduino Core 2.3.0 (platformIO 1.5.0) as default
  22. #
  23. # arduino core 2.3.0 = platformIO 1.5.0
  24. # arduino core 2.4.0 = platformIO 1.6.0 (not supported)
  25. # arduino core 2.4.1 = platformIO 1.7.3 (not supported)
  26. # arduino core 2.4.2 = platformIO 1.8.0 (not supported)
  27. # arduino core 2.5.0 = platformIO 2.0.4 (not supported)
  28. # arduino core 2.5.1 = platformIO 2.1.1 (not supported)
  29. # arduino core 2.5.2 = platformIO 2.2.3 (not supported)
  30. # arduino core 2.6.1 = platformIO 2.3.0 (not supported)
  31. # arduino core 2.6.2 = platformIO 2.3.1 (not supported)
  32. # arduino core 2.6.3 = platformIO 2.4.0
  33. # ------------------------------------------------------------------------------
  34. platform_2_3_0 = espressif8266@1.5.0
  35. platform_latest = espressif8266@2.4.0
  36. # ------------------------------------------------------------------------------
  37. # FLASH SIZE:
  38. # board and ldscript must specify real flash size of the device.
  39. # NOTES:
  40. # fs space is not used right now.
  41. # SPIFFS_SUPPORT=1, FS_SUPPORT=1 will have no effect.
  42. # to avoid issues with OTA process, ensure that board & ldscript match (or less than) real flash size of the device.
  43. # ------------------------------------------------------------------------------
  44. # 487 KB sketch, 4 KB eeprom, 16 KB reserved, no space for ota
  45. board_512k = esp01
  46. ldscript_512k = eagle.flash.512k0m1s.ld
  47. # 999 KB sketch, 4 KB eeprom, 16 KB reserved
  48. board_1m = esp01_1m
  49. ldscript_1m = eagle.flash.1m0m1s.ld
  50. # 1019 KB sketch, 16 KB eeprom, 992 KB fs, 16 KB reserved
  51. board_2m = esp_wroom_02
  52. ldscript_2m = eagle.flash.2m1m4s.ld
  53. # 1019 KB sketch, 16 KB eeprom, 992 KB fs, 16 KB reserved, 2048 KB empty/ota
  54. board_4m = esp12e
  55. ldscript_4m = eagle.flash.4m1m4s.ld
  56. # OPTIONAL:
  57. # 1019 KB sketch, 16 KB eeprom, 3040 KB fs, 16 KB reserved
  58. # ldscript_4m = eagle.flash.4m3m4s.ld
  59. # ------------------------------------------------------------------------------
  60. # GLOBAL BUILD FLAGS:
  61. #
  62. # Available lwIP variants (macros):
  63. # -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH = v2 Higher Bandwidth (default)
  64. # -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY = v2 Lower Memory (TCP MSS set to 536, MSS * 2 send buffer)
  65. # -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH = v1.4 Higher Bandwidth (deprecated, **not recommended**)
  66. #
  67. # BearSSL:
  68. # When building with -DSECURE_CLIENT=SECURE_CLIENT_BEARSSL, you can add the build flag -DBEARSSL_SSL_BASIC in order to build BearSSL with a limited set of ciphers:
  69. # TLS_RSA_WITH_AES_128_CBC_SHA256 / AES128-SHA256
  70. # TLS_RSA_WITH_AES_256_CBC_SHA256 / AES256-SHA256
  71. # TLS_RSA_WITH_AES_128_CBC_SHA / AES128-SHA
  72. # TLS_RSA_WITH_AES_256_CBC_SHA / AES256-SHA
  73. # This reduces total .bin size by about ~45KB, so it's especially useful on low memory boards (512k/1m).
  74. #
  75. # It is **recommended** to add `board_build.f_cpu = 160000000` to the environment configuration
  76. # (either in `[env]` to set globally or `[env:...]` to use with the specific environment).
  77. #
  78. # ------------------------------------------------------------------------------
  79. build_flags = -g -w -DNO_GLOBAL_EEPROM -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
  80. # ------------------------------------------------------------------------------
  81. # DEBUG BUILD FLAGS
  82. # build flags for the Core, must be set as global build_flag
  83. # (src_build_flags would not work)
  84. #
  85. # [env:nodemcu-lolin-debug]
  86. # extends = env:nodemcu-lolin
  87. # build_flags = ${common.build_flags} ${common.debug_flags}
  88. #
  89. # ------------------------------------------------------------------------------
  90. debug_flags =
  91. -DDEBUG_ESP_CORE
  92. -DDEBUG_ESP_WIFI
  93. -DDEBUG_ESP_HTTP_CLIENT
  94. -DDEBUG_ESP_HTTP_SERVER
  95. -DDEBUG_ESP_HTTP_UPDATE
  96. -DDEBUG_ESP_UPDATER
  97. -DDEBUG_ESP_OTA
  98. -DDEBUG_ESP_SSL
  99. -DDEBUG_ESP_UPDATER
  100. -DDEBUG_TLS_MEM
  101. -DDEBUG_ESP_MDNS
  102. # For memleaks etc, add:
  103. # -DDEBUG_ESP_OOM
  104. # -DDEBUG_ESP_TLS_MEM
  105. shared_libdeps_dir = libraries/
  106. # ------------------------------------------------------------------------------
  107. # COMMON ENVIRONMENT SETTINGS:
  108. # ------------------------------------------------------------------------------
  109. [env]
  110. platform = ${common.platform_2_3_0}
  111. framework = arduino
  112. board_build.flash_mode = dout
  113. build_flags = ${common.build_flags}
  114. monitor_speed = 115200
  115. upload_speed = 115200
  116. extra_scripts = pre:scripts/pio_pre.py, scripts/pio_main.py
  117. lib_extra_dirs =
  118. ${common.shared_libdeps_dir}
  119. # ------------------------------------------------------------------------------
  120. # LIBRARIES: required dependencies
  121. # Please note that we don't always use the latest version of a library.
  122. # ------------------------------------------------------------------------------
  123. lib_deps =
  124. ArduinoJson@5.13.4
  125. https://github.com/marvinroger/async-mqtt-client#v0.8.1
  126. Brzo I2C
  127. https://github.com/xoseperez/eeprom_rotate#0.9.2
  128. Embedis
  129. https://github.com/plerup/espsoftwareserial#3.4.1
  130. https://github.com/me-no-dev/ESPAsyncTCP#7e9ed22
  131. https://github.com/me-no-dev/ESPAsyncWebServer#b0c6144
  132. https://bitbucket.org/xoseperez/fauxmoesp.git#3.1.0
  133. https://github.com/xoseperez/hlw8012.git#1.1.0
  134. IRremoteESP8266@2.7.4
  135. https://github.com/xoseperez/justwifi.git#2.0.2
  136. https://github.com/madpilot/mDNSResolver#4cfcda1
  137. https://github.com/xoseperez/my92xx#3.0.1
  138. https://github.com/256dpi/arduino-mqtt#196556b6
  139. https://bitbucket.org/xoseperez/nofuss.git#0.3.0
  140. https://github.com/xoseperez/NtpClient.git#0942ebc
  141. OneWire
  142. PZEM004T
  143. PubSubClient
  144. rc-switch
  145. https://github.com/LowPowerLab/RFM69#7008d57a
  146. https://github.com/xoseperez/rpnlib.git#0.3.0
  147. https://github.com/xoseperez/Time
  148. NewPing
  149. https://github.com/sparkfun/SparkFun_VEML6075_Arduino_Library#V_1.0.3
  150. https://github.com/pololu/vl53l1x-arduino#1.0.1
  151. https://github.com/mcleng/MAX6675-Library#2.0.1
  152. https://github.com/ThingPulse/esp8266-oled-ssd1306#3398c97
  153. Adafruit SI1145 Library@~1.1.1
  154. lib_ignore =
  155. AsyncTCP
  156. # ------------------------------------------------------------------------------
  157. # Base enrivonments, -DMANUFACTURER=..., -DDEVICE=... must be set:
  158. # - by using specific hardware.h entry, like -DITEAD_SONOFF_BASIC
  159. # - by setting PLATFORMIO_SRC_BUILD_FLAGS=... environment variable
  160. # - by setting ESPURNA_FLAGS=... environment variable
  161. # ------------------------------------------------------------------------------
  162. [env:esp8266-512k-base]
  163. board = ${common.board_512k}
  164. board_build.ldscript = ${common.ldscript_512k}
  165. [env:esp8266-1m-base]
  166. board = ${common.board_1m}
  167. board_build.ldscript = ${common.ldscript_1m}
  168. [env:esp8266-2m-base]
  169. board = ${common.board_2m}
  170. board_build.ldscript = ${common.ldscript_2m}
  171. [env:esp8266-4m-base]
  172. board = ${common.board_4m}
  173. board_build.ldscript = ${common.ldscript_4m}
  174. [env:esp8266-1m-latest-base]
  175. platform = ${common.platform_latest}
  176. board = ${common.board_1m}
  177. board_build.ldscript = ${common.ldscript_1m}
  178. [env:esp8266-2m-latest-base]
  179. platform = ${common.platform_latest}
  180. board = ${common.board_2m}
  181. board_build.ldscript = ${common.ldscript_2m}
  182. [env:esp8266-4m-latest-base]
  183. platform = ${common.platform_latest}
  184. board = ${common.board_4m}
  185. board_build.ldscript = ${common.ldscript_4m}
  186. [env:esp8266-1m-git-base]
  187. platform = ${common.platform_latest}
  188. board = ${common.board_1m}
  189. platform_packages =
  190. framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git
  191. board_build.ldscript = ${common.ldscript_1m}
  192. [env:esp8266-2m-git-base]
  193. platform = ${common.platform_latest}
  194. board = ${common.board_2m}
  195. platform_packages =
  196. framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git
  197. board_build.ldscript = ${common.ldscript_2m}
  198. [env:esp8266-4m-git-base]
  199. platform = ${common.platform_latest}
  200. board = ${common.board_4m}
  201. platform_packages =
  202. framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git
  203. board_build.ldscript = ${common.ldscript_4m}
  204. # ------------------------------------------------------------------------------
  205. # ESPURNA CORE BUILDS (2-step OTA)
  206. # ------------------------------------------------------------------------------
  207. [env:espurna-core-1MB]
  208. extends = env:esp8266-1m-base
  209. src_build_flags = -DESPURNA_CORE
  210. [env:espurna-core-2MB]
  211. extends = env:esp8266-2m-base
  212. src_build_flags = -DESPURNA_CORE
  213. [env:espurna-core-4MB]
  214. extends = env:esp8266-4m-base
  215. src_build_flags = -DESPURNA_CORE
  216. [env:espurna-core-smartconfig-1MB]
  217. extends = env:esp8266-1m-base
  218. src_build_flags = -DESPURNA_CORE
  219. build_flags = ${common.build_flags} -DJUSTWIFI_ENABLE_SMARTCONFIG=1
  220. [env:espurna-core-smartconfig-2MB]
  221. extends = env:esp8266-2m-base
  222. src_build_flags = -DESPURNA_CORE
  223. build_flags = ${common.build_flags} -DJUSTWIFI_ENABLE_SMARTCONFIG=1
  224. [env:espurna-core-smartconfig-4MB]
  225. extends = env:esp8266-4m-base
  226. src_build_flags = -DESPURNA_CORE
  227. build_flags = ${common.build_flags} -DJUSTWIFI_ENABLE_SMARTCONFIG=1
  228. [env:espurna-core-wps-1MB]
  229. extends = env:esp8266-1m-base
  230. src_build_flags = -DESPURNA_CORE
  231. build_flags = ${common.build_flags} -DJUSTWIFI_ENABLE_WPS=1
  232. [env:espurna-core-wps-2MB]
  233. extends = env:esp8266-2m-base
  234. src_build_flags = -DESPURNA_CORE
  235. build_flags = ${common.build_flags} -DJUSTWIFI_ENABLE_WPS=1
  236. [env:espurna-core-wps-4MB]
  237. extends = env:esp8266-4m-base
  238. src_build_flags = -DESPURNA_CORE
  239. build_flags = ${common.build_flags} -DJUSTWIFI_ENABLE_WPS=1
  240. # ------------------------------------------------------------------------------
  241. # ESPURNA CORE with WebUI
  242. # ------------------------------------------------------------------------------
  243. [env:espurna-core-webui-1MB]
  244. extends = env:esp8266-1m-base
  245. src_build_flags = -DESPURNA_CORE_WEBUI
  246. [env:espurna-core-webui-2MB]
  247. extends = env:esp8266-2m-base
  248. src_build_flags = -DESPURNA_CORE_WEBUI
  249. [env:espurna-core-webui-4MB]
  250. extends = env:esp8266-4m-base
  251. src_build_flags = -DESPURNA_CORE_WEBUI
  252. # ------------------------------------------------------------------------------
  253. # DEVELOPMENT BOARDS
  254. # ------------------------------------------------------------------------------
  255. [env:wemos-d1mini]
  256. extends = env:esp8266-4m-base
  257. board = d1_mini
  258. src_build_flags = -DWEMOS_D1_MINI -DNOWSAUTH
  259. [env:wemos-d1mini-relayshield]
  260. extends = env:esp8266-4m-base
  261. board = d1_mini
  262. src_build_flags = -DWEMOS_D1_MINI_RELAYSHIELD -DNOWSAUTH
  263. [env:nodemcu-lolin]
  264. extends = env:esp8266-4m-base
  265. src_build_flags = -DNODEMCU_LOLIN -DNOWSAUTH
  266. [env:nodemcu-lolin-latest]
  267. extends = env:esp8266-4m-latest-base
  268. src_build_flags = -DNODEMCU_LOLIN -DNOWSAUTH
  269. [env:nodemcu-lolin-secure-client-asynctcp]
  270. extends = env:esp8266-4m-latest-base
  271. build_flags = ${common.build_flags} -DASYNC_TCP_SSL_ENABLED=1
  272. src_build_flags = -DNODEMCU_LOLIN -DNOWSAUTH
  273. [env:nodemcu-lolin-secure-client]
  274. extends = env:esp8266-4m-latest-base
  275. board_build.f_cpu = 160000000
  276. src_build_flags =
  277. -DNODEMCU_LOLIN -DNOWSAUTH
  278. -DSECURE_CLIENT=SECURE_CLIENT_BEARSSL
  279. -DMQTT_LIBRARY=MQTT_LIBRARY_ARDUINOMQTT
  280. -DOTA_CLIENT=OTA_CLIENT_HTTPUPDATE
  281. # ------------------------------------------------------------------------------
  282. # SPECIFIC BOARDS
  283. # ------------------------------------------------------------------------------
  284. [env:tinkerman-espurna-h06]
  285. extends = env:esp8266-4m-latest-base
  286. src_build_flags = -DTINKERMAN_ESPURNA_H06
  287. [env:tinkerman-espurna-h08]
  288. extends = env:esp8266-4m-latest-base
  289. src_build_flags = -DTINKERMAN_ESPURNA_H08
  290. [env:tinkerman-espurna-switch]
  291. extends = env:esp8266-4m-latest-base
  292. src_build_flags = -DTINKERMAN_ESPURNA_SWITCH
  293. [env:wemos-d1-tarpunashield]
  294. extends = env:esp8266-4m-latest-base
  295. src_build_flags = -DWEMOS_D1_TARPUNA_SHIELD
  296. [env:tinkerman-rfm69gw]
  297. extends = env:esp8266-4m-latest-base
  298. board = esp12e
  299. src_build_flags = -DTINKERMAN_RFM69GW -DNOWSAUTH
  300. [env:foxel-lightfox-dual]
  301. extends = env:esp8266-1m-base
  302. src_build_flags =
  303. -DFOXEL_LIGHTFOX_DUAL
  304. -DDISABLE_POSTMORTEM_STACKDUMP
  305. # ------------------------------------------------------------------------------
  306. # GENERIC / DEVELOPMENT BOARDS
  307. # ------------------------------------------------------------------------------
  308. [env:generic-esp01-512kb]
  309. extends = env:esp8266-512k-base
  310. src_build_flags = -DGENERIC_ESP01_512KB
  311. [env:generic-esp01s-relay-40]
  312. extends = env:esp8266-1m-base
  313. src_build_flags = -DGENERIC_ESP01S_RELAY_V40
  314. [env:generic-esp01s-relay-40-inv]
  315. extends = env:esp8266-1m-base
  316. src_build_flags = -DGENERIC_ESP01S_RELAY_V40 -DRELAY1_TYPE=1
  317. [env:generic-esp01s-rgbled-10]
  318. extends = env:esp8266-1m-base
  319. src_build_flags = -DGENERIC_ESP01S_RGBLED_V10
  320. [env:generic-esp01s-dht11-10]
  321. extends = env:esp8266-1m-base
  322. src_build_flags = -DGENERIC_ESP01S_DHT11_V10
  323. [env:generic-esp01s-ds18b20-10]
  324. extends = env:esp8266-1m-base
  325. src_build_flags = -DGENERIC_ESP01S_DS18B20_V10
  326. [env:generic-esp01s-pzem004t]
  327. extends = env:esp8266-1m-latest-base
  328. src_build_flags = -DGENERIC_PZEM004T -DDISABLE_POSTMORTEM_STACKDUMP
  329. [env:generic-esp12e-pzem004t]
  330. extends = env:esp8266-4m-latest-base
  331. src_build_flags = -DGENERIC_PZEM004T -DDISABLE_POSTMORTEM_STACKDUMP
  332. # ------------------------------------------------------------------------------
  333. # ITEAD SONOFF
  334. # ------------------------------------------------------------------------------
  335. [env:itead-sonoff-basic]
  336. extends = env:esp8266-1m-base
  337. src_build_flags = -DITEAD_SONOFF_BASIC
  338. [env:itead-sonoff-basic-dht]
  339. extends = env:esp8266-1m-base
  340. src_build_flags = -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  341. [env:itead-sonoff-basic-r2-dht]
  342. extends = env:esp8266-1m-base
  343. src_build_flags = -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1 -DDHT_PIN=2
  344. [env:itead-sonoff-basic-dallas]
  345. extends = env:esp8266-1m-base
  346. src_build_flags = -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1
  347. [env:itead-sonoff-basic-r2-dallas]
  348. extends = env:esp8266-1m-base
  349. src_build_flags = -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1 -DDALLAS_PIN=2
  350. [env:itead-sonoff-rf]
  351. extends = env:esp8266-1m-base
  352. src_build_flags = -DITEAD_SONOFF_RF
  353. [env:itead-sonoff-mini]
  354. extends = env:esp8266-1m-base
  355. src_build_flags = -DITEAD_SONOFF_MINI
  356. [env:itead-sonoff-th]
  357. extends = env:esp8266-1m-base
  358. src_build_flags = -DITEAD_SONOFF_TH
  359. [env:itead-sonoff-pow]
  360. extends = env:esp8266-1m-base
  361. src_build_flags = -DITEAD_SONOFF_POW
  362. [env:itead-sonoff-pow-r2]
  363. extends = env:esp8266-1m-base
  364. src_build_flags = -DITEAD_SONOFF_POW_R2 -DDISABLE_POSTMORTEM_STACKDUMP
  365. [env:itead-sonoff-dual]
  366. extends = env:esp8266-1m-base
  367. src_build_flags = -DITEAD_SONOFF_DUAL -DDISABLE_POSTMORTEM_STACKDUMP
  368. [env:itead-sonoff-dual-r2]
  369. extends = env:esp8266-1m-base
  370. src_build_flags = -DITEAD_SONOFF_DUAL_R2
  371. [env:itead-sonoff-4ch]
  372. extends = env:esp8266-1m-base
  373. src_build_flags = -DITEAD_SONOFF_4CH
  374. [env:itead-sonoff-4ch-pro]
  375. extends = env:esp8266-1m-base
  376. src_build_flags = -DITEAD_SONOFF_4CH_PRO
  377. [env:itead-sonoff-touch]
  378. extends = env:esp8266-1m-base
  379. src_build_flags = -DITEAD_SONOFF_TOUCH
  380. [env:itead-sonoff-b1]
  381. extends = env:esp8266-1m-base
  382. src_build_flags = -DITEAD_SONOFF_B1
  383. [env:itead-sonoff-t1-1ch]
  384. extends = env:esp8266-1m-base
  385. src_build_flags = -DITEAD_SONOFF_T1_1CH
  386. [env:itead-sonoff-t1-2ch]
  387. extends = env:esp8266-1m-base
  388. src_build_flags = -DITEAD_SONOFF_T1_2CH
  389. [env:itead-sonoff-t1-3ch]
  390. extends = env:esp8266-1m-base
  391. src_build_flags = -DITEAD_SONOFF_T1_3CH
  392. [env:itead-sonoff-led]
  393. extends = env:esp8266-1m-base
  394. src_build_flags = -DITEAD_SONOFF_LED
  395. [env:itead-sonoff-rfbridge]
  396. extends = env:esp8266-1m-base
  397. src_build_flags = -DITEAD_SONOFF_RFBRIDGE -DDISABLE_POSTMORTEM_STACKDUMP
  398. [env:itead-sonoff-rfbridge-direct]
  399. extends = env:esp8266-1m-base
  400. src_build_flags = -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  401. [env:itead-slampher]
  402. extends = env:esp8266-1m-base
  403. src_build_flags = -DITEAD_SLAMPHER
  404. [env:itead-s20]
  405. extends = env:esp8266-1m-base
  406. src_build_flags = -DITEAD_S20
  407. [env:itead-1ch-inching]
  408. extends = env:esp8266-1m-base
  409. src_build_flags = -DITEAD_1CH_INCHING
  410. [env:itead-motor]
  411. extends = env:esp8266-1m-base
  412. src_build_flags = -DITEAD_MOTOR
  413. [env:itead-sonoff-sv]
  414. extends = env:esp8266-1m-base
  415. src_build_flags = -DITEAD_SONOFF_SV
  416. [env:itead-sonoff-s31]
  417. extends = env:esp8266-1m-base
  418. src_build_flags = -DITEAD_SONOFF_S31 -DDISABLE_POSTMORTEM_STACKDUMP
  419. [env:itead-sonoff-s31-lite]
  420. extends = env:esp8266-1m-base
  421. src_build_flags = -DITEAD_SONOFF_S31_LITE
  422. [env:itead-sonoff-ifan02]
  423. extends = env:esp8266-1m-base
  424. src_build_flags = -DITEAD_SONOFF_IFAN02
  425. # ------------------------------------------------------------------------------
  426. [env:electrodragon-wifi-iot]
  427. extends = env:esp8266-4m-base
  428. src_build_flags = -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  429. [env:workchoice-ecoplug]
  430. extends = env:esp8266-1m-base
  431. src_build_flags = -DWORKCHOICE_ECOPLUG
  432. [env:jangoe-wifi-relay-nc]
  433. extends = env:esp8266-4m-base
  434. src_build_flags = -DJANGOE_WIFI_RELAY_NC
  435. [env:jangoe-wifi-relay-no]
  436. extends = env:esp8266-4m-base
  437. src_build_flags = -DJANGOE_WIFI_RELAY_NO
  438. [env:openenergymonitor-mqtt-relay]
  439. extends = env:esp8266-4m-base
  440. src_build_flags = -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  441. [env:jorgegarcia-wifi-relays]
  442. extends = env:esp8266-1m-base
  443. src_build_flags = -DJORGEGARCIA_WIFI_RELAYS
  444. [env:aithinker-ai-light]
  445. extends = env:esp8266-1m-base
  446. src_build_flags = -DAITHINKER_AI_LIGHT
  447. [env:lyasi-rgb-light]
  448. extends = env:esp8266-1m-base
  449. src_build_flags = -DLYASI_LIGHT
  450. [env:magichome-led-controller]
  451. extends = env:esp8266-1m-base
  452. src_build_flags = -DMAGICHOME_LED_CONTROLLER
  453. [env:magichome-led-controller-20]
  454. extends = env:esp8266-1m-base
  455. src_build_flags = -DMAGICHOME_LED_CONTROLLER_20
  456. [env:magichome-zj-wfmn-a-11]
  457. extends = env:esp8266-1m-base
  458. src_build_flags = -DMAGICHOME_ZJ_WFMN_A_11
  459. [env:magichome-zj-wfmn-b-11]
  460. extends = env:esp8266-1m-base
  461. src_build_flags = -DMAGICHOME_ZJ_WFMN_B_11
  462. [env:magichome-zj-espm-5ch-b-13]
  463. extends = env:esp8266-1m-base
  464. src_build_flags = -DMAGICHOME_ZJ_ESPM_5CH_B_13
  465. [env:magichome-zj-lb-rgbww-l]
  466. extends = env:esp8266-1m-base
  467. src_build_flags = -DMAGICHOME_ZJ_LB_RGBWW_L
  468. [env:magichome-zj-wfmn-c-11]
  469. extends = env:esp8266-1m-base
  470. src_build_flags = -DMAGICHOME_ZJ_WFMN_C_11
  471. [env:huacanxing-h801]
  472. extends = env:esp8266-1m-base
  473. src_build_flags = -DHUACANXING_H801
  474. [env:huacanxing-h802]
  475. extends = env:esp8266-1m-base
  476. src_build_flags = -DHUACANXING_H802
  477. [env:arilux-al-lc01]
  478. extends = env:esp8266-1m-base
  479. src_build_flags = -DARILUX_AL_LC01
  480. [env:arilux-al-lc02]
  481. extends = env:esp8266-1m-base
  482. src_build_flags = -DARILUX_AL_LC02
  483. [env:arilux-al-lc02-v14]
  484. extends = env:esp8266-1m-base
  485. src_build_flags = -DARILUX_AL_LC02_V14
  486. [env:arilux-al-lc06]
  487. extends = env:esp8266-1m-base
  488. src_build_flags = -DARILUX_AL_LC06
  489. [env:arilux-al-lc11]
  490. extends = env:esp8266-1m-base
  491. src_build_flags = -DARILUX_AL_LC11
  492. [env:arilux-e27]
  493. extends = env:esp8266-1m-base
  494. src_build_flags = -DARILUX_E27
  495. [env:itead-bnsz01]
  496. extends = env:esp8266-1m-base
  497. src_build_flags = -DITEAD_BNSZ01
  498. [env:wion-50055]
  499. extends = env:esp8266-1m-base
  500. src_build_flags = -DWION_50055
  501. [env:exs-wifi-relay-v31]
  502. extends = env:esp8266-4m-base
  503. src_build_flags = -DEXS_WIFI_RELAY_V31
  504. [env:exs-wifi-relay-v50]
  505. extends = env:esp8266-4m-base
  506. src_build_flags = -DEXS_WIFI_RELAY_V50
  507. [env:wemos-v9261f]
  508. extends = env:esp8266-4m-base
  509. src_build_flags = -DGENERIC_V9261F
  510. [env:esp01-v9261f]
  511. extends = env:esp8266-1m-base
  512. src_build_flags = -DGENERIC_V9261F
  513. [env:wemos-ech1560]
  514. extends = env:esp8266-4m-base
  515. src_build_flags = -DGENERIC_ECH1560
  516. [env:esp01-ech1560]
  517. extends = env:esp8266-1m-base
  518. src_build_flags = -DGENERIC_ECH1560
  519. [env:mancavemade-esplive]
  520. extends = env:esp8266-4m-base
  521. src_build_flags = -DMANCAVEMADE_ESPLIVE
  522. [env:tuya-generic-dimmer]
  523. extends = env:esp8266-1m-base
  524. src_build_flags = -DTUYA_GENERIC_DIMMER -DDEBUG_SERIAL_SUPPORT=0 -DDISABLE_POSTMORTEM_STACKDUMP
  525. [env:intermittech-quinled]
  526. extends = env:esp8266-1m-base
  527. src_build_flags = -DINTERMITTECH_QUINLED
  528. [env:xenon-sm-pw702u]
  529. extends = env:esp8266-1m-base
  530. src_build_flags = -DXENON_SM_PW702U
  531. [env:iselector-sm-pw702]
  532. extends = env:esp8266-1m-base
  533. src_build_flags = -DISELECTOR_SM_PW702
  534. [env:authometion-lyt8266]
  535. extends = env:esp8266-1m-base
  536. src_build_flags = -DAUTHOMETION_LYT8266
  537. [env:kmc-70011]
  538. extends = env:esp8266-1m-base
  539. src_build_flags = -DKMC_70011
  540. [env:yjzk-switch-1ch]
  541. extends = env:esp8266-1m-base
  542. src_build_flags = -DYJZK_SWITCH_1CH
  543. [env:yjzk-switch-2ch]
  544. extends = env:esp8266-1m-base
  545. src_build_flags = -DYJZK_SWITCH_2CH
  546. [env:yjzk-switch-3ch]
  547. extends = env:esp8266-1m-base
  548. src_build_flags = -DYJZK_SWITCH_3CH
  549. [env:generic-8ch]
  550. extends = env:esp8266-4m-base
  551. src_build_flags = -DGENERIC_8CH
  552. [env:gizwits-witty-cloud]
  553. extends = env:esp8266-4m-base
  554. src_build_flags = -DGIZWITS_WITTY_CLOUD
  555. [env:euromate-wifi-stecker-shuko]
  556. extends = env:esp8266-1m-base
  557. src_build_flags = -DEUROMATE_WIFI_STECKER_SCHUKO
  558. [env:euromate-wifi-stecker-shuko-v2]
  559. extends = env:esp8266-2m-base
  560. src_build_flags = -DEUROMATE_WIFI_STECKER_SCHUKO_V2
  561. [env:tonbux-powerstrip02]
  562. extends = env:esp8266-1m-base
  563. src_build_flags = -DTONBUX_POWERSTRIP02
  564. [env:lingan-swa1]
  565. extends = env:esp8266-1m-base
  566. src_build_flags = -DLINGAN_SWA1
  567. [env:stm-relay]
  568. extends = env:esp8266-1m-base
  569. src_build_flags = -DSTM_RELAY -DDISABLE_POSTMORTEM_STACKDUMP
  570. [env:heygo-hy02]
  571. extends = env:esp8266-1m-base
  572. src_build_flags = -DHEYGO_HY02
  573. [env:maxcio-wus002s]
  574. extends = env:esp8266-1m-base
  575. src_build_flags = -DMAXCIO_WUS002S
  576. [env:maxcio-wde004]
  577. extends = env:esp8266-1m-base
  578. src_build_flags = -DMAXCIO_WDE004
  579. [env:maxcio-wuk007s]
  580. extends = env:esp8266-1m-base
  581. src_build_flags = -DMAXCIO_WUK007S
  582. [env:yidian-xsssa05]
  583. extends = env:esp8266-1m-base
  584. src_build_flags = -DYIDIAN_XSSSA05
  585. [env:oukitel-p1]
  586. extends = env:esp8266-1m-base
  587. src_build_flags = -DOUKITEL_P1
  588. [env:tonbux-xsssa01]
  589. extends = env:esp8266-1m-base
  590. src_build_flags = -DTONBUX_XSSSA01
  591. [env:tonbux-xsssa06]
  592. extends = env:esp8266-1m-base
  593. src_build_flags = -DTONBUX_XSSSA06
  594. [env:green-esp8266relay]
  595. extends = env:esp8266-4m-base
  596. src_build_flags = -DGREEN_ESP8266RELAY
  597. [env:ike-espike]
  598. extends = env:esp8266-4m-base
  599. src_build_flags = -DIKE_ESPIKE
  600. [env:arniex-swifitch]
  601. extends = env:esp8266-4m-base
  602. src_build_flags = -DARNIEX_SWIFITCH
  603. [env:zhilde-eu44-w]
  604. extends = env:esp8266-1m-base
  605. src_build_flags = -DZHILDE_EU44_W
  606. [env:luani-hvio]
  607. extends = env:esp8266-1m-base
  608. src_build_flags = -DLUANI_HVIO
  609. [env:avatto-power-plug-wifi]
  610. extends = env:esp8266-1m-base
  611. src_build_flags = -DAVATTO_NAS_WR01W
  612. [env:neo-coolcam-power-plug-wifi]
  613. extends = env:esp8266-1m-base
  614. src_build_flags = -DNEO_COOLCAM_NAS_WR01W
  615. [env:deltaco-sh-p01]
  616. extends = env:esp8266-1m-base
  617. src_build_flags = -DDELTACO_SH_P01
  618. [env:deltaco-sh-p03usb]
  619. extends = env:esp8266-1m-base
  620. src_build_flags = -DDELTACO_SH_P03USB
  621. [env:deltaco-sh-lexxw]
  622. extends = env:esp8266-1m-base
  623. src_build_flags = -DDELTACO_SH_LEXXW
  624. [env:deltaco-sh-lexxrgb]
  625. extends = env:esp8266-1m-base
  626. src_build_flags = -DDELTACO_SH_LEXXRGB
  627. [env:estink-wifi-power-strip]
  628. extends = env:esp8266-1m-base
  629. src_build_flags = -DFORNORM_ZLD_34EU
  630. [env:iwoole-led-table-lamp]
  631. extends = env:esp8266-1m-base
  632. src_build_flags = -DIWOOLE_LED_TABLE_LAMP
  633. [env:lombex-lux-nova2-tunable-white]
  634. extends = env:esp8266-1m-base
  635. src_build_flags = -DLOMBEX_LUX_NOVA2_TUNABLE_WHITE
  636. [env:lombex-lux-nova2-white-color]
  637. extends = env:esp8266-1m-base
  638. src_build_flags = -DLOMBEX_LUX_NOVA2_WHITE_COLOR
  639. [env:heltec-touch-relay]
  640. extends = env:esp8266-1m-base
  641. src_build_flags = -DHELTEC_TOUCHRELAY
  642. [env:allnet-4duino-iot-wlan-relais]
  643. extends = env:esp8266-4m-base
  644. src_build_flags = -DALLNET_4DUINO_IOT_WLAN_RELAIS
  645. [env:tonbux-mosquito-killer]
  646. extends = env:esp8266-1m-base
  647. src_build_flags = -DTONBUX_MOSQUITO_KILLER
  648. [env:pilotak-esp-din-v1]
  649. extends = env:esp8266-1m-base
  650. src_build_flags = -DPILOTAK_ESP_DIN_V1
  651. [env:nodemcu-geiger]
  652. extends = env:esp8266-4m-base
  653. src_build_flags = -DNODEMCU_BASIC -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
  654. [env:blitzwolf-bwshpx]
  655. extends = env:esp8266-1m-base
  656. src_build_flags = -DBLITZWOLF_BWSHPX
  657. [env:blitzwolf-bwshpx-v23]
  658. extends = env:esp8266-1m-base
  659. src_build_flags = -DBLITZWOLF_BWSHPX_V23
  660. [env:blitzwolf-bwshp5]
  661. extends = env:esp8266-1m-base
  662. src_build_flags = -DBLITZWOLF_BWSHP5
  663. [env:teckin-sp21]
  664. extends = env:esp8266-1m-base
  665. src_build_flags = -DTECKIN_SP21
  666. [env:teckin-sp22-v14]
  667. extends = env:esp8266-1m-base
  668. src_build_flags = -DTECKIN_SP22_V14
  669. [env:teckin-sp23-v13]
  670. extends = env:esp8266-1m-base
  671. src_build_flags = -DTECKIN_SP23_V13
  672. [env:gosund-wp3]
  673. extends = env:esp8266-1m-base
  674. src_build_flags = -DGOSUND_WP3
  675. [env:gosund-ws1]
  676. extends = env:esp8266-1m-base
  677. src_build_flags = -DGOSUND_WS1
  678. [env:digoo-nx-sp202]
  679. extends = env:esp8266-1m-base
  680. src_build_flags = -DDIGOO_NX_SP202
  681. [env:tflag-nx-smx00]
  682. extends = env:esp8266-1m-base
  683. src_build_flags = -DTFLAG_NX_SMX00
  684. [env:homecube-16a]
  685. extends = env:esp8266-1m-base
  686. src_build_flags = -DHOMECUBE_16A
  687. [env:bh-onofre]
  688. extends = env:esp8266-4m-base
  689. src_build_flags = -DBH_ONOFRE
  690. [env:generic-ag-l4]
  691. extends = env:esp8266-1m-base
  692. src_build_flags = -DGENERIC_AG_L4
  693. [env:lohas-e27-9w]
  694. extends = env:esp8266-1m-base
  695. src_build_flags = -DLOHAS_E27_9W
  696. [env:lohas-e26-a19]
  697. extends = env:esp8266-1m-base
  698. src_build_flags = -DLOHAS_E26_A19
  699. [env:teckin-sb53]
  700. extends = env:esp8266-1m-base
  701. src_build_flags = -DTECKIN_SB53
  702. [env:allterco-shelly1]
  703. extends = env:esp8266-2m-base
  704. src_build_flags = -DALLTERCO_SHELLY1
  705. [env:allterco-shelly2]
  706. extends = env:esp8266-2m-base
  707. src_build_flags = -DALLTERCO_SHELLY2
  708. [env:allterco-shelly1pm]
  709. extends = env:esp8266-2m-base
  710. src_build_flags = -DALLTERCO_SHELLY1PM
  711. [env:allterco-shelly25]
  712. extends = env:esp8266-2m-base
  713. src_build_flags = -DALLTERCO_SHELLY25
  714. [env:xiaomi-smart-desk-lamp]
  715. extends = env:esp8266-1m-base
  716. src_build_flags = -DXIAOMI_SMART_DESK_LAMP
  717. [env:phyx-esp12-rgb]
  718. extends = env:esp8266-1m-base
  719. src_build_flags = -DPHYX_ESP12_RGB
  720. [env:bestek-mrj1011]
  721. extends = env:esp8266-1m-base
  722. src_build_flags = -DBESTEK_MRJ1011
  723. [env:gblife-rgbw-socket]
  724. extends = env:esp8266-1m-base
  725. src_build_flags = -DGBLIFE_RGBW_SOCKET
  726. [env:smartlife-mini-smart-socket]
  727. extends = env:esp8266-1m-base
  728. src_build_flags = -DSMARTLIFE_MINI_SMART_SOCKET
  729. [env:hama-wifi-steckdose-00176533]
  730. extends = env:esp8266-1m-base
  731. src_build_flags = -DHAMA_WIFI_STECKDOSE_00176533
  732. [env:teckin-sp20]
  733. extends = env:esp8266-1m-base
  734. src_build_flags = -DTECKIN_SP20
  735. [env:litesun-la-wf3]
  736. extends = env:esp8266-1m-base
  737. src_build_flags = -DLITESUN_LA_WF3
  738. [env:generic-gu10]
  739. extends = env:esp8266-1m-base
  740. src_build_flags = -DGENERIC_GU10
  741. [env:generic-e14]
  742. extends = env:esp8266-1m-base
  743. src_build_flags = -DGENERIC_E14
  744. [env:nexete-a19]
  745. extends = env:esp8266-1m-base
  746. src_build_flags = -DNEXETE_A19
  747. [env:psh-wifi-plug]
  748. extends = env:esp8266-1m-base
  749. src_build_flags = -DPSH_WIFI_PLUG
  750. [env:psh-rgbw-controller]
  751. extends = env:esp8266-4m-base
  752. src_build_flags = -DPSH_RGBW_CONTROLLER
  753. [env:psh-wifi-sensor]
  754. extends = env:esp8266-4m-base
  755. src_build_flags = -DPSH_WIFI_SENSOR
  756. [env:jinvoo-valve-sm-aw713]
  757. extends = env:esp8266-1m-base
  758. src_build_flags = -DJINVOO_VALVE_SM_AW713
  759. [env:etekcity-esw01-usa]
  760. extends = env:esp8266-1m-base
  761. src_build_flags = -DETEKCITY_ESW01_USA
  762. [env:fs-uap1]
  763. extends = env:esp8266-4m-base
  764. src_build_flags = -DFS_UAP1
  765. [env:muvit-io-miobulb001]
  766. extends = env:esp8266-1m-base
  767. src_build_flags = -DMUVIT_IO_MIOBULB001
  768. [env:hykker-smart-home-power-plug]
  769. extends = env:esp8266-1m-base
  770. src_build_flags = -DHYKKER_SMART_HOME_POWER_PLUG
  771. [env:kogan-smarter-home-plug-w-pow]
  772. extends = env:esp8266-1m-base
  773. src_build_flags = -DKOGAN_SMARTER_HOME_PLUG_W_POW
  774. [env:lsc-smart-led-light-strip]
  775. extends = env:esp8266-1m-base
  776. src_build_flags = -DLSC_SMART_LED_LIGHT_STRIP
  777. [env:linksprite-linknode-r4]
  778. extends = env:esp8266-4m-base
  779. src_build_flags = -DLINKSPRITE_LINKNODE_R4
  780. [env:ehomediy-wt02]
  781. extends = env:esp8266-1m-base
  782. src_build_flags = -DEHOMEDIY_WT02
  783. [env:ehomediy-wt03]
  784. extends = env:esp8266-1m-base
  785. src_build_flags = -DEHOMEDIY_WT03
  786. [env:kingart-curtain-switch]
  787. extends = env:esp8266-1m-base
  788. src_build_flags = -DKINGART_CURTAIN_SWITCH
  789. [env:aoycocr-x5p]
  790. extends = env:esp8266-1m-base
  791. src_build_flags = -DAOYCOCR_X5P