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.

226 lines
7.1 KiB

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