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.

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