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.

143 lines
4.7 KiB

6 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
7 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 NODEMCU_LOLIN
  9. //#define WEMOS_D1_MINI_RELAYSHIELD
  10. //#define TINKERMAN_ESPURNA_H06
  11. //#define TINKERMAN_ESPURNA_H08
  12. //#define ITEAD_SONOFF_BASIC
  13. //#define ITEAD_SONOFF_RF
  14. //#define ITEAD_SONOFF_TH
  15. //#define ITEAD_SONOFF_SV
  16. //#define ITEAD_SLAMPHER
  17. //#define ITEAD_S20
  18. //#define ITEAD_SONOFF_TOUCH
  19. //#define ITEAD_SONOFF_POW
  20. //#define ITEAD_SONOFF_POW_R2
  21. //#define ITEAD_SONOFF_DUAL
  22. //#define ITEAD_SONOFF_DUAL_R2
  23. //#define ITEAD_SONOFF_4CH
  24. //#define ITEAD_SONOFF_4CH_PRO
  25. //#define ITEAD_1CH_INCHING
  26. //#define ITEAD_MOTOR
  27. //#define ITEAD_SONOFF_BNSZ01
  28. //#define ITEAD_SONOFF_RFBRIDGE
  29. //#define ITEAD_SONOFF_B1
  30. //#define ITEAD_SONOFF_LED
  31. //#define ITEAD_SONOFF_T1_1CH
  32. //#define ITEAD_SONOFF_T1_2CH
  33. //#define ITEAD_SONOFF_T1_3CH
  34. //#define ITEAD_SONOFF_S31
  35. //#define YJZK_SWITCH_2CH
  36. //#define ELECTRODRAGON_WIFI_IOT
  37. //#define WORKCHOICE_ECOPLUG
  38. //#define AITHINKER_AI_LIGHT
  39. //#define MAGICHOME_LED_CONTROLLER
  40. //#define MAGICHOME_LED_CONTROLLER_20
  41. //#define HUACANXING_H801
  42. //#define HUACANXING_H802
  43. //#define JANGOE_WIFI_RELAY_NC
  44. //#define JANGOE_WIFI_RELAY_NO
  45. //#define JORGEGARCIA_WIFI_RELAYS
  46. //#define OPENENERGYMONITOR_MQTT_RELAY
  47. //#define WION_50055
  48. //#define EXS_WIFI_RELAY_V31
  49. //#define GENERIC_V9261F
  50. //#define GENERIC_ECH1560
  51. //#define MANCAVEMADE_ESPLIVE
  52. //#define INTERMITTECH_QUINLED
  53. //#define ARILUX_AL_LC06
  54. //#define ARILUX_E27
  55. //#define XENON_SM_PW702U
  56. //#define AUTHOMETION_LYT8266
  57. //#define KMC_70011
  58. //#define GENERIC_8CH
  59. //#define ARILUX_AL_LC01
  60. //#define ARILUX_AL_LC11
  61. //#define ARILUX_AL_LC02
  62. //#define WEMOS_D1_TARPUNA_SHIELD
  63. //#define GIZWITS_WITTY_CLOUD
  64. //#define EUROMATE_WIFI_STECKER_SCHUKO
  65. //#define TONBUX_POWERSTRIP02
  66. //#define LINGAN_SWA1
  67. //#define HEYGO_HY02
  68. //#define MAXCIO_WUS002S
  69. //#define YIDIAN_XSSSA05
  70. //#define TONBUX_XSSSA06
  71. //#define GREEN_ESP8266RELAY
  72. //#define IKE_ESPIKE
  73. //#define ARNIEX_SWIFITCH
  74. //#define GENERIC_ESP01S_RELAY_V40
  75. //#define GENERIC_ESP01S_RGBLED_V10
  76. //#define GENERIC_ESP01S_DHT11_V10
  77. //#define GENERIC_ESP01S_DS18B20_V10
  78. //#define HELTEC_TOUCHRELAY
  79. //#define ZHILDE_EU44_W
  80. //#define LUANI_HVIO
  81. //#define ALLNET_4DUINO_IOT_WLAN_RELAIS
  82. //--------------------------------------------------------------------------------
  83. // Features (values below are non-default values)
  84. //--------------------------------------------------------------------------------
  85. //#define ALEXA_SUPPORT 0
  86. //#define BROKER_SUPPORT 0
  87. //#define DEBUG_SERIAL_SUPPORT 0
  88. //#define DEBUG_TELNET_SUPPORT 0
  89. //#define DEBUG_UDP_SUPPORT 1
  90. //#define DEBUG_WEB_SUPPORT 0
  91. //#define DOMOTICZ_SUPPORT 0
  92. //#define HOMEASSISTANT_SUPPORT 0
  93. //#define I2C_SUPPORT 1
  94. //#define INFLUXDB_SUPPORT 1
  95. //#define IR_SUPPORT 1
  96. //#define LLMNR_SUPPORT 1 // Only with Arduino Core 2.4.0
  97. //#define MDNS_SERVER_SUPPORT 0
  98. //#define MDNS_CLIENT_SUPPORT 1
  99. //#define MQTT_SUPPORT 0
  100. //#define NETBIOS_SUPPORT 1 // Only with Arduino Core 2.4.0
  101. //#define NOFUSS_SUPPORT 1
  102. //#define NTP_SUPPORT 0
  103. //#define RF_SUPPORT 1
  104. //#define SCHEDULER_SUPPORT 0
  105. //#define SPIFFS_SUPPORT 1
  106. //#define SSDP_SUPPORT 1
  107. //#define TELNET_SUPPORT 0
  108. //#define TERMINAL_SUPPORT 0
  109. //#define THINGSPEAK_SUPPORT 0
  110. //#define UART_MQTT_SUPPORT 1
  111. //#define WEB_SUPPORT 0
  112. //--------------------------------------------------------------------------------
  113. // Sensors (values below are non-default values)
  114. //--------------------------------------------------------------------------------
  115. //#define AM2320_SUPPORT 1
  116. //#define ANALOG_SUPPORT 1
  117. //#define BH1750_SUPPORT 1
  118. //#define BMX280_SUPPORT 1
  119. //#define CSE7766_SUPPORT 1
  120. //#define DALLAS_SUPPORT 1
  121. //#define DHT_SUPPORT 1
  122. //#define DIGITAL_SUPPORT 1
  123. //#define ECH1560_SUPPORT 1
  124. //#define EMON_ADC121_SUPPORT 1
  125. //#define EMON_ADS1X15_SUPPORT 1
  126. //#define EMON_ANALOG_SUPPORT 1
  127. //#define EVENTS_SUPPORT 1
  128. //#define GUVAS12SD_SUPPORT 1
  129. //#define HCSR04_SUPPORT 1
  130. //#define HLW8012_SUPPORT 1
  131. //#define MHZ19_SUPPORT 1
  132. //#define PMSX003_SUPPORT 1
  133. //#define PZEM004T_SUPPORT 1
  134. //#define SHT3X_I2C_SUPPORT 1
  135. //#define SI7021_SUPPORT 1
  136. //#define TMP3X_SUPPORT 1
  137. //#define V9261F_SUPPORT 1