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.

194 lines
6.2 KiB

6 years ago
6 years ago
7 years ago
7 years ago
6 years ago
7 years ago
7 years ago
6 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 ORVIBO_B25
  38. //#define YJZK_SWITCH_2CH
  39. //#define ELECTRODRAGON_WIFI_IOT
  40. //#define WORKCHOICE_ECOPLUG
  41. //#define AITHINKER_AI_LIGHT
  42. //#define LYASI_LIGHT
  43. //#define MAGICHOME_LED_CONTROLLER
  44. //#define MAGICHOME_LED_CONTROLLER_20
  45. //#define HUACANXING_H801
  46. //#define HUACANXING_H802
  47. //#define JANGOE_WIFI_RELAY_NC
  48. //#define JANGOE_WIFI_RELAY_NO
  49. //#define JORGEGARCIA_WIFI_RELAYS
  50. //#define OPENENERGYMONITOR_MQTT_RELAY
  51. //#define WION_50055
  52. //#define EXS_WIFI_RELAY_V31
  53. //#define GENERIC_V9261F
  54. //#define GENERIC_ECH1560
  55. //#define MANCAVEMADE_ESPLIVE
  56. //#define INTERMITTECH_QUINLED
  57. //#define ARILUX_AL_LC06
  58. //#define ARILUX_E27
  59. //#define XENON_SM_PW702U
  60. //#define AUTHOMETION_LYT8266
  61. //#define KMC_70011
  62. //#define GENERIC_8CH
  63. //#define ARILUX_AL_LC01
  64. //#define ARILUX_AL_LC11
  65. //#define ARILUX_AL_LC02
  66. //#define WEMOS_D1_TARPUNA_SHIELD
  67. //#define GIZWITS_WITTY_CLOUD
  68. //#define EUROMATE_WIFI_STECKER_SCHUKO
  69. //#define EUROMATE_WIFI_STECKER_SCHUKO_V2
  70. //#define TONBUX_POWERSTRIP02
  71. //#define LINGAN_SWA1
  72. //#define HEYGO_HY02
  73. //#define MAXCIO_WUS002S
  74. //#define OUKITEL_P1
  75. //#define YIDIAN_XSSSA05
  76. //#define TONBUX_XSSSA06
  77. //#define TONBUX_XSSSA01
  78. //#define GREEN_ESP8266RELAY
  79. //#define IKE_ESPIKE
  80. //#define ARNIEX_SWIFITCH
  81. //#define GENERIC_ESP01S_RELAY_V40
  82. //#define GENERIC_ESP01S_RGBLED_V10
  83. //#define GENERIC_ESP01S_DHT11_V10
  84. //#define GENERIC_ESP01S_DS18B20_V10
  85. //#define HELTEC_TOUCHRELAY
  86. //#define ZHILDE_EU44_W
  87. //#define LUANI_HVIO
  88. //#define ALLNET_4DUINO_IOT_WLAN_RELAIS
  89. //#define TONBUX_MOSQUITO_KILLER
  90. //#define NEO_COOLCAM_NAS_WR01W
  91. //#define ESTINK_WIFI_POWER_STRIP
  92. //#define PILOTAK_ESP_DIN_V1
  93. //#define BLITZWOLF_BWSHPX
  94. //#define BH_ONOFRE
  95. //#define ITEAD_SONOFF_IFAN02
  96. //#define GENERIC_AG_L4
  97. //#define ALLTERCO_SHELLY1
  98. //#define LOHAS_9W
  99. //#define YJZK_SWITCH_1CH
  100. //#define YJZK_SWITCH_3CH
  101. //#define XIAOMI_SMART_DESK_LAMP
  102. //#define ALLTERCO_SHELLY2
  103. //#define PHYX_ESP12_RGB
  104. //#define IWOOLE_LED_TABLE_LAMP
  105. //#define EXS_WIFI_RELAY_V50
  106. //#define TECKIN_SP22_V14
  107. //#define LOMBEX_LUX_NOVA2_TUNABLE_WHITE
  108. //#define LOMBEX_LUX_NOVA2_WHITE_COLOR
  109. //#define MAGICHOME_ZJ_WFMN_A_11
  110. //#define MAGICHOME_ZJ_WFMN_B_11
  111. //#define GBLIFE_RGBW_SOCKET
  112. //#define SMARTLIFE_MINI_SMART_SOCKET
  113. //#define GOSUND_SP1_V23
  114. //#define GOSUND_WS1
  115. //#define ARILUX_AL_LC02_V14
  116. //#define BLITZWOLF_BWSHPX_V23
  117. //--------------------------------------------------------------------------------
  118. // Features (values below are non-default values)
  119. //--------------------------------------------------------------------------------
  120. //#define ALEXA_SUPPORT 0
  121. //#define API_SUPPORT 0
  122. //#define BROKER_SUPPORT 0
  123. //#define BUTTON_SUPPORT 0
  124. //#define DEBUG_SERIAL_SUPPORT 0
  125. //#define DEBUG_TELNET_SUPPORT 0
  126. //#define DEBUG_UDP_SUPPORT 1
  127. //#define DEBUG_WEB_SUPPORT 0
  128. //#define DOMOTICZ_SUPPORT 0
  129. //#define ENCODER_SUPPORT 1
  130. //#define HOMEASSISTANT_SUPPORT 0
  131. //#define I2C_SUPPORT 1
  132. //#define INFLUXDB_SUPPORT 1
  133. //#define IR_SUPPORT 1
  134. //#define LED_SUPPORT 0
  135. //#define LLMNR_SUPPORT 1 // Only with Arduino Core 2.4.0
  136. //#define MDNS_CLIENT_SUPPORT 1
  137. //#define MDNS_SERVER_SUPPORT 0
  138. //#define MQTT_SUPPORT 0
  139. //#define NETBIOS_SUPPORT 1 // Only with Arduino Core 2.4.0
  140. //#define NOFUSS_SUPPORT 1
  141. //#define NTP_SUPPORT 0
  142. //#define RFM69_SUPPORT 1
  143. //#define RF_SUPPORT 1
  144. //#define SCHEDULER_SUPPORT 0
  145. //#define SENSOR_SUPPORT 1
  146. //#define SPIFFS_SUPPORT 1
  147. //#define SSDP_SUPPORT 1
  148. //#define TELNET_SUPPORT 0
  149. //#define TERMINAL_SUPPORT 0
  150. //#define THINGSPEAK_SUPPORT 0
  151. //#define UART_MQTT_SUPPORT 1
  152. //#define WEB_SUPPORT 0
  153. //--------------------------------------------------------------------------------
  154. // Sensors (values below are non-default values)
  155. //--------------------------------------------------------------------------------
  156. //#define AM2320_SUPPORT 1
  157. //#define ANALOG_SUPPORT 1
  158. //#define BH1750_SUPPORT 1
  159. //#define BMP180_SUPPORT 1
  160. //#define BMX280_SUPPORT 1
  161. //#define CSE7766_SUPPORT 1
  162. //#define DALLAS_SUPPORT 1
  163. //#define DHT_SUPPORT 1
  164. //#define DIGITAL_SUPPORT 1
  165. //#define ECH1560_SUPPORT 1
  166. //#define EMON_ADC121_SUPPORT 1
  167. //#define EMON_ADS1X15_SUPPORT 1
  168. //#define EMON_ANALOG_SUPPORT 1
  169. //#define EVENTS_SUPPORT 1
  170. //#define GEIGER_SUPPORT 1
  171. //#define GUVAS12SD_SUPPORT 1
  172. //#define HLW8012_SUPPORT 1
  173. //#define MHZ19_SUPPORT 1
  174. //#define MICS2710_SUPPORT 1
  175. //#define MICS5525_SUPPORT 1
  176. //#define NTC_SUPPORT 1
  177. //#define PMSX003_SUPPORT 1
  178. //#define PULSEMETER_SUPPORT 1
  179. //#define PZEM004T_SUPPORT 1
  180. //#define SDS011_SUPPORT 1
  181. //#define SENSEAIR_SUPPORT 1
  182. //#define SHT3X_I2C_SUPPORT 1
  183. //#define SI7021_SUPPORT 1
  184. //#define SONAR_SUPPORT 1
  185. //#define TMP3X_SUPPORT 1
  186. //#define V9261F_SUPPORT 1
  187. //#define VL53L1X_SUPPORT 1
  188. //#define EZOPH_SUPPORT 1