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.

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