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.

154 lines
5.0 KiB

6 years ago
7 years ago
7 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
6 years ago
7 years ago
7 years ago
6 years ago
  1. //--------------------------------------------------------------------------------
  2. // These settings are normally provided by PlatformIO
  3. // Uncomment the appropiate line(s) to build from the Arduino IDE
  4. //--------------------------------------------------------------------------------
  5. //--------------------------------------------------------------------------------
  6. // Hardware
  7. //--------------------------------------------------------------------------------
  8. //#define NODEMCU_LOLIN
  9. //#define WEMOS_D1_MINI
  10. //#define WEMOS_D1_MINI_RELAYSHIELD
  11. //#define TINKERMAN_ESPURNA_H06
  12. //#define TINKERMAN_ESPURNA_H08
  13. //#define TINKERMAN_RFM69GW
  14. //#define ITEAD_SONOFF_BASIC
  15. //#define ITEAD_SONOFF_RF
  16. //#define ITEAD_SONOFF_TH
  17. //#define ITEAD_SONOFF_SV
  18. //#define ITEAD_SLAMPHER
  19. //#define ITEAD_S20
  20. //#define ITEAD_SONOFF_TOUCH
  21. //#define ITEAD_SONOFF_POW
  22. //#define ITEAD_SONOFF_POW_R2
  23. //#define ITEAD_SONOFF_DUAL
  24. //#define ITEAD_SONOFF_DUAL_R2
  25. //#define ITEAD_SONOFF_4CH
  26. //#define ITEAD_SONOFF_4CH_PRO
  27. //#define ITEAD_1CH_INCHING
  28. //#define ITEAD_MOTOR
  29. //#define ITEAD_SONOFF_BNSZ01
  30. //#define ITEAD_SONOFF_RFBRIDGE
  31. //#define ITEAD_SONOFF_B1
  32. //#define ITEAD_SONOFF_LED
  33. //#define ITEAD_SONOFF_T1_1CH
  34. //#define ITEAD_SONOFF_T1_2CH
  35. //#define ITEAD_SONOFF_T1_3CH
  36. //#define ITEAD_SONOFF_S31
  37. //#define YJZK_SWITCH_2CH
  38. //#define ELECTRODRAGON_WIFI_IOT
  39. //#define WORKCHOICE_ECOPLUG
  40. //#define AITHINKER_AI_LIGHT
  41. //#define MAGICHOME_LED_CONTROLLER
  42. //#define MAGICHOME_LED_CONTROLLER_20
  43. //#define HUACANXING_H801
  44. //#define HUACANXING_H802
  45. //#define JANGOE_WIFI_RELAY_NC
  46. //#define JANGOE_WIFI_RELAY_NO
  47. //#define JORGEGARCIA_WIFI_RELAYS
  48. //#define OPENENERGYMONITOR_MQTT_RELAY
  49. //#define WION_50055
  50. //#define EXS_WIFI_RELAY_V31
  51. //#define GENERIC_V9261F
  52. //#define GENERIC_ECH1560
  53. //#define MANCAVEMADE_ESPLIVE
  54. //#define INTERMITTECH_QUINLED
  55. //#define ARILUX_AL_LC06
  56. //#define ARILUX_E27
  57. //#define XENON_SM_PW702U
  58. //#define AUTHOMETION_LYT8266
  59. //#define KMC_70011
  60. //#define GENERIC_8CH
  61. //#define ARILUX_AL_LC01
  62. //#define ARILUX_AL_LC11
  63. //#define ARILUX_AL_LC02
  64. //#define GIZWITS_WITTY_CLOUD
  65. //#define EUROMATE_WIFI_STECKER_SCHUKO
  66. //#define TONBUX_POWERSTRIP02
  67. //#define LINGAN_SWA1
  68. //#define HEYGO_HY02
  69. //#define MAXCIO_WUS002S
  70. //#define YIDIAN_XSSSA05
  71. //#define TONBUX_XSSSA06
  72. //#define GREEN_ESP8266RELAY
  73. //#define IKE_ESPIKE
  74. //#define ARNIEX_SWIFITCH
  75. //#define GENERIC_ESP01S_RELAY_V40
  76. //#define GENERIC_ESP01S_RGBLED_V10
  77. //#define GENERIC_ESP01S_DHT11_V10
  78. //#define GENERIC_ESP01S_DS18B20_V10
  79. //#define HELTEC_TOUCHRELAY
  80. //#define ZHILDE_EU44_W
  81. //#define LUANI_HVIO
  82. //#define ALLNET_4DUINO_IOT_WLAN_RELAIS
  83. //#define TONBUX_MOSQUITO_KILLER
  84. //#define NEO_COOLCAM_NAS_WR01W
  85. //#define ESTINK_WIFI_POWER_STRIP
  86. //#define PILOTAK_ESP_DIN_V1
  87. //#define BLITZWOLF_BWSHP2
  88. //#define BH_ONOFRE
  89. //#define ITEAD_SONOFF_IFAN02
  90. //#define GENERIC_AG_L4
  91. //--------------------------------------------------------------------------------
  92. // Features (values below are non-default values)
  93. //--------------------------------------------------------------------------------
  94. //#define ALEXA_SUPPORT 0
  95. //#define BROKER_SUPPORT 0
  96. //#define DEBUG_SERIAL_SUPPORT 0
  97. //#define DEBUG_TELNET_SUPPORT 0
  98. //#define DEBUG_UDP_SUPPORT 1
  99. //#define DEBUG_WEB_SUPPORT 0
  100. //#define DOMOTICZ_SUPPORT 0
  101. //#define HOMEASSISTANT_SUPPORT 0
  102. //#define I2C_SUPPORT 1
  103. //#define INFLUXDB_SUPPORT 1
  104. //#define IR_SUPPORT 1
  105. //#define LLMNR_SUPPORT 1 // Only with Arduino Core 2.4.0
  106. //#define MDNS_SERVER_SUPPORT 0
  107. //#define MDNS_CLIENT_SUPPORT 1
  108. //#define MQTT_SUPPORT 0
  109. //#define NETBIOS_SUPPORT 1 // Only with Arduino Core 2.4.0
  110. //#define NOFUSS_SUPPORT 1
  111. //#define NTP_SUPPORT 0
  112. //#define RF_SUPPORT 1
  113. //#define SCHEDULER_SUPPORT 0
  114. //#define SPIFFS_SUPPORT 1
  115. //#define SSDP_SUPPORT 1
  116. //#define TELNET_SUPPORT 0
  117. //#define TERMINAL_SUPPORT 0
  118. //#define THINGSPEAK_SUPPORT 0
  119. //#define UART_MQTT_SUPPORT 1
  120. //#define WEB_SUPPORT 0
  121. //--------------------------------------------------------------------------------
  122. // Sensors (values below are non-default values)
  123. //--------------------------------------------------------------------------------
  124. //#define AM2320_SUPPORT 1
  125. //#define ANALOG_SUPPORT 1
  126. //#define BH1750_SUPPORT 1
  127. //#define BMX280_SUPPORT 1
  128. //#define CSE7766_SUPPORT 1
  129. //#define DALLAS_SUPPORT 1
  130. //#define DHT_SUPPORT 1
  131. //#define DIGITAL_SUPPORT 1
  132. //#define ECH1560_SUPPORT 1
  133. //#define EMON_ADC121_SUPPORT 1
  134. //#define EMON_ADS1X15_SUPPORT 1
  135. //#define EMON_ANALOG_SUPPORT 1
  136. //#define EVENTS_SUPPORT 1
  137. //#define GUVAS12SD_SUPPORT 1
  138. //#define HLW8012_SUPPORT 1
  139. //#define MHZ19_SUPPORT 1
  140. //#define NTC_SUPPORT 1
  141. //#define PMSX003_SUPPORT 1
  142. //#define PZEM004T_SUPPORT 1
  143. //#define SHT3X_I2C_SUPPORT 1
  144. //#define SI7021_SUPPORT 1
  145. //#define SONAR_SUPPORT 1
  146. //#define TMP3X_SUPPORT 1
  147. //#define V9261F_SUPPORT 1
  148. //#define GEIGER_SUPPORT 1