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.

214 lines
6.8 KiB

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 AITHINKER_AI_LIGHT
  9. //#define ALLNET_4DUINO_IOT_WLAN_RELAIS
  10. //#define ALLTERCO_SHELLY1
  11. //#define ALLTERCO_SHELLY2
  12. //#define ARILUX_AL_LC01
  13. //#define ARILUX_AL_LC02
  14. //#define ARILUX_AL_LC02_V14
  15. //#define ARILUX_AL_LC06
  16. //#define ARILUX_AL_LC11
  17. //#define ARILUX_E27
  18. //#define ARNIEX_SWIFITCH
  19. //#define AUTHOMETION_LYT8266
  20. //#define BESTEK_MRJ1011
  21. //#define BH_ONOFRE
  22. //#define BLITZWOLF_BWSHPX
  23. //#define BLITZWOLF_BWSHPX_V23
  24. //#define DIGOO_NX_SP202
  25. //#define ELECTRODRAGON_WIFI_IOT
  26. //#define ESPURNA_CORE
  27. //#define EUROMATE_WIFI_STECKER_SCHUKO
  28. //#define EUROMATE_WIFI_STECKER_SCHUKO_V2
  29. //#define EXS_WIFI_RELAY_V31
  30. //#define EXS_WIFI_RELAY_V50
  31. //#define FORNORM_ZLD_34EU
  32. //#define FOXEL_LIGHTFOX_DUAL
  33. //#define GBLIFE_RGBW_SOCKET
  34. //#define GENERIC_8CH
  35. //#define GENERIC_AG_L4
  36. //#define GENERIC_ECH1560
  37. //#define GENERIC_ESP01S_DHT11_V10
  38. //#define GENERIC_ESP01S_DS18B20_V10
  39. //#define GENERIC_ESP01S_RELAY_V40
  40. //#define GENERIC_ESP01S_RGBLED_V10
  41. //#define GENERIC_GU10
  42. //#define GENERIC_V9261F
  43. //#define GIZWITS_WITTY_CLOUD
  44. //#define GOSUND_WS1
  45. //#define GREEN_ESP8266RELAY
  46. //#define HAMA_WIFI_STECKDOSE_00176533
  47. //#define HELTEC_TOUCHRELAY
  48. //#define HEYGO_HY02
  49. //#define HOMECUBE_16A
  50. //#define HUACANXING_H801
  51. //#define HUACANXING_H802
  52. //#define IKE_ESPIKE
  53. //#define INTERMITTECH_QUINLED
  54. //#define ITEAD_1CH_INCHING
  55. //#define ITEAD_BNSZ01
  56. //#define ITEAD_MOTOR
  57. //#define ITEAD_S20
  58. //#define ITEAD_SLAMPHER
  59. //#define ITEAD_SONOFF_4CH
  60. //#define ITEAD_SONOFF_4CH_PRO
  61. //#define ITEAD_SONOFF_B1
  62. //#define ITEAD_SONOFF_BASIC
  63. //#define ITEAD_SONOFF_BNSZ01
  64. //#define ITEAD_SONOFF_DUAL
  65. //#define ITEAD_SONOFF_DUAL_R2
  66. //#define ITEAD_SONOFF_IFAN02
  67. //#define ITEAD_SONOFF_LED
  68. //#define ITEAD_SONOFF_POW
  69. //#define ITEAD_SONOFF_POW_R2
  70. //#define ITEAD_SONOFF_RF
  71. //#define ITEAD_SONOFF_RFBRIDGE
  72. //#define ITEAD_SONOFF_S31
  73. //#define ITEAD_SONOFF_SV
  74. //#define ITEAD_SONOFF_T1_1CH
  75. //#define ITEAD_SONOFF_T1_2CH
  76. //#define ITEAD_SONOFF_T1_3CH
  77. //#define ITEAD_SONOFF_TH
  78. //#define ITEAD_SONOFF_TOUCH
  79. //#define IWOOLE_LED_TABLE_LAMP
  80. //#define JANGOE_WIFI_RELAY_NC
  81. //#define JANGOE_WIFI_RELAY_NO
  82. //#define JINVOO_VALVE_SM_AW713
  83. //#define JORGEGARCIA_WIFI_RELAYS
  84. //#define KMC_70011
  85. //#define LINGAN_SWA1
  86. //#define LITESUN_LA_WF3
  87. //#define LOHAS_9W
  88. //#define LOMBEX_LUX_NOVA2_TUNABLE_WHITE
  89. //#define LOMBEX_LUX_NOVA2_WHITE_COLOR
  90. //#define LUANI_HVIO
  91. //#define LYASI_LIGHT
  92. //#define MAGICHOME_LED_CONTROLLER
  93. //#define MAGICHOME_LED_CONTROLLER_20
  94. //#define MAGICHOME_ZJ_WFMN_A_11
  95. //#define MAGICHOME_ZJ_WFMN_B_11
  96. //#define MAGICHOME_ZJ_ESPM_5CH_B_13
  97. //#define MANCAVEMADE_ESPLIVE
  98. //#define MAXCIO_WDE004
  99. //#define MAXCIO_WUS002S
  100. //#define NEO_COOLCAM_NAS_WR01W
  101. //#define NEXETE_A19
  102. //#define NODEMCU_BASIC
  103. //#define NODEMCU_LOLIN
  104. //#define OPENENERGYMONITOR_MQTT_RELAY
  105. //#define ORVIBO_B25
  106. //#define OUKITEL_P1
  107. //#define PHYX_ESP12_RGB
  108. //#define PILOTAK_ESP_DIN_V1
  109. //#define SMARTLIFE_MINI_SMART_SOCKET
  110. //#define STM_RELAY
  111. //#define TECKIN_SP20
  112. //#define TECKIN_SP22_V14
  113. //#define TINKERMAN_ESPURNA_H06
  114. //#define TINKERMAN_ESPURNA_H08
  115. //#define TINKERMAN_ESPURNA_SWITCH
  116. //#define TINKERMAN_RFM69GW
  117. //#define TONBUX_MOSQUITO_KILLER
  118. //#define TONBUX_POWERSTRIP02
  119. //#define TONBUX_XSSSA01
  120. //#define TONBUX_XSSSA06
  121. //#define VANZAVANZU_SMART_WIFI_PLUG_MINI
  122. //#define WEMOS_D1_MINI
  123. //#define WEMOS_D1_MINI_RELAYSHIELD
  124. //#define WEMOS_D1_TARPUNA_SHIELD
  125. //#define WION_50055
  126. //#define WORKCHOICE_ECOPLUG
  127. //#define XENON_SM_PW702U
  128. //#define XIAOMI_SMART_DESK_LAMP
  129. //#define YIDIAN_XSSSA05
  130. //#define YJZK_SWITCH_1CH
  131. //#define YJZK_SWITCH_2CH
  132. //#define YJZK_SWITCH_3CH
  133. //#define ZHILDE_EU44_W
  134. //--------------------------------------------------------------------------------
  135. // Features (values below are non-default values)
  136. //--------------------------------------------------------------------------------
  137. //#define ALEXA_SUPPORT 0
  138. //#define API_SUPPORT 0
  139. //#define BROKER_SUPPORT 0
  140. //#define BUTTON_SUPPORT 0
  141. //#define DEBUG_SERIAL_SUPPORT 0
  142. //#define DEBUG_TELNET_SUPPORT 0
  143. //#define DEBUG_UDP_SUPPORT 1
  144. //#define DEBUG_WEB_SUPPORT 0
  145. //#define DOMOTICZ_SUPPORT 0
  146. //#define ENCODER_SUPPORT 1
  147. //#define HOMEASSISTANT_SUPPORT 0
  148. //#define I2C_SUPPORT 1
  149. //#define INFLUXDB_SUPPORT 1
  150. //#define IR_SUPPORT 1
  151. //#define LED_SUPPORT 0
  152. //#define LLMNR_SUPPORT 1 // Only with Arduino Core 2.4.0
  153. //#define MDNS_CLIENT_SUPPORT 1
  154. //#define MDNS_SERVER_SUPPORT 0
  155. //#define MQTT_SUPPORT 0
  156. //#define NETBIOS_SUPPORT 1 // Only with Arduino Core 2.4.0
  157. //#define NOFUSS_SUPPORT 1
  158. //#define NTP_SUPPORT 0
  159. //#define RF_SUPPORT 1
  160. //#define RFM69_SUPPORT 1
  161. //#define SCHEDULER_SUPPORT 0
  162. //#define SENSOR_SUPPORT 1
  163. //#define SPIFFS_SUPPORT 1
  164. //#define SSDP_SUPPORT 1
  165. //#define TELNET_SUPPORT 0
  166. //#define TERMINAL_SUPPORT 0
  167. //#define THINGSPEAK_SUPPORT 0
  168. //#define UART_MQTT_SUPPORT 1
  169. //#define WEB_SUPPORT 0
  170. //--------------------------------------------------------------------------------
  171. // Sensors (values below are non-default values)
  172. //--------------------------------------------------------------------------------
  173. //#define AM2320_SUPPORT 1
  174. //#define ANALOG_SUPPORT 1
  175. //#define BH1750_SUPPORT 1
  176. //#define BMP180_SUPPORT 1
  177. //#define BMX280_SUPPORT 1
  178. //#define CSE7766_SUPPORT 1
  179. //#define DALLAS_SUPPORT 1
  180. //#define DHT_SUPPORT 1
  181. //#define DIGITAL_SUPPORT 1
  182. //#define ECH1560_SUPPORT 1
  183. //#define EMON_ADC121_SUPPORT 1
  184. //#define EMON_ADS1X15_SUPPORT 1
  185. //#define EMON_ANALOG_SUPPORT 1
  186. //#define EVENTS_SUPPORT 1
  187. //#define EZOPH_SUPPORT 1
  188. //#define GEIGER_SUPPORT 1
  189. //#define GUVAS12SD_SUPPORT 1
  190. //#define HLW8012_SUPPORT 1
  191. //#define LDR_SUPPORT 1
  192. //#define MAX6675_SUPPORT 1
  193. //#define MHZ19_SUPPORT 1
  194. //#define MICS2710_SUPPORT 1
  195. //#define MICS5525_SUPPORT 1
  196. //#define NTC_SUPPORT 1
  197. //#define PMSX003_SUPPORT 1
  198. //#define PULSEMETER_SUPPORT 1
  199. //#define PZEM004T_SUPPORT 1
  200. //#define SDS011_SUPPORT 1
  201. //#define SENSEAIR_SUPPORT 1
  202. //#define SHT3X_I2C_SUPPORT 1
  203. //#define SI7021_SUPPORT 1
  204. //#define SONAR_SUPPORT 1
  205. //#define TMP3X_SUPPORT 1
  206. //#define V9261F_SUPPORT 1
  207. //#define VEML6075_SUPPORT 1
  208. //#define VL53L1X_SUPPORT 1