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.

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