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.

217 lines
6.9 KiB

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