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.

114 lines
3.9 KiB

7 years ago
6 years ago
7 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 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_DUAL
  21. //#define ITEAD_SONOFF_DUAL_R2
  22. //#define ITEAD_SONOFF_4CH
  23. //#define ITEAD_SONOFF_4CH_PRO
  24. //#define ITEAD_1CH_INCHING
  25. //#define ITEAD_MOTOR
  26. //#define ITEAD_SONOFF_BNSZ01
  27. //#define ITEAD_SONOFF_RFBRIDGE
  28. //#define ITEAD_SONOFF_B1
  29. //#define ITEAD_SONOFF_LED
  30. //#define ITEAD_SONOFF_T1_1CH
  31. //#define ITEAD_SONOFF_T1_2CH
  32. //#define ITEAD_SONOFF_T1_3CH
  33. //#define YJZK_SWITCH_2CH
  34. //#define ELECTRODRAGON_WIFI_IOT
  35. //#define WORKCHOICE_ECOPLUG
  36. //#define AITHINKER_AI_LIGHT
  37. //#define MAGICHOME_LED_CONTROLLER
  38. //#define MAGICHOME_LED_CONTROLLER_20
  39. //#define HUACANXING_H801
  40. //#define HUACANXING_H802
  41. //#define JANGOE_WIFI_RELAY_NC
  42. //#define JANGOE_WIFI_RELAY_NO
  43. //#define JORGEGARCIA_WIFI_RELAYS
  44. //#define OPENENERGYMONITOR_MQTT_RELAY
  45. //#define WION_50055
  46. //#define EXS_WIFI_RELAY_V31
  47. //#define GENERIC_V9261F
  48. //#define GENERIC_ECH1560
  49. //#define MANCAVEMADE_ESPLIVE
  50. //#define INTERMITTECH_QUINLED
  51. //#define ARILUX_AL_LC06
  52. //#define ARILUX_E27
  53. //#define XENON_SM_PW702U
  54. //#define AUTHOMETION_LYT8266
  55. //#define GENERIC_8CH
  56. //#define ARILUX_AL_LC01
  57. //#define ARILUX_AL_LC11
  58. //#define ARILUX_AL_LC02
  59. //#define WEMOS_D1_TARPUNA_SHIELD
  60. //#define MAGICHOME_LED_CONTROLLER_23
  61. //--------------------------------------------------------------------------------
  62. // Features (values below are non-default values)
  63. //--------------------------------------------------------------------------------
  64. //#define ALEXA_SUPPORT 0
  65. //#define DEBUG_SERIAL_SUPPORT 0
  66. //#define DEBUG_TELNET_SUPPORT 0
  67. //#define DEBUG_UDP_SUPPORT 1
  68. //#define DOMOTICZ_SUPPORT 0
  69. //#define HOMEASSISTANT_SUPPORT 0
  70. //#define I2C_SUPPORT 1
  71. //#define INFLUXDB_SUPPORT 1
  72. //#define IR_SUPPORT 1
  73. //#define LLMNR_SUPPORT 1 // Only with Arduino Core 2.4.0
  74. //#define MDNS_SERVER_SUPPORT 0
  75. //#define MDNS_CLIENT_SUPPORT 1
  76. //#define BROKER_SUPPORT 0
  77. //#define MQTT_SUPPORT 0
  78. //#define NETBIOS_SUPPORT 1 // Only with Arduino Core 2.4.0
  79. //#define NOFUSS_SUPPORT 1
  80. //#define NTP_SUPPORT 0
  81. //#define RF_SUPPORT 1
  82. //#define SCHEDULER_SUPPORT 0
  83. //#define SPIFFS_SUPPORT 1
  84. //#define SSDP_SUPPORT 1
  85. //#define TELNET_SUPPORT 0
  86. //#define TERMINAL_SUPPORT 0
  87. //#define THINGSPEAK_SUPPORT 0
  88. //#define WEB_SUPPORT 0
  89. //--------------------------------------------------------------------------------
  90. // Sensors (values below are non-default values)
  91. //--------------------------------------------------------------------------------
  92. //#define ANALOG_SUPPORT 1
  93. //#define BH1750_SUPPORT 1
  94. //#define BMX280_SUPPORT 1
  95. //#define DALLAS_SUPPORT 1
  96. //#define DHT_SUPPORT 1
  97. //#define DIGITAL_SUPPORT 1
  98. //#define ECH1560_SUPPORT 1
  99. //#define EMON_ADC121_SUPPORT 1
  100. //#define EMON_ADS1X15_SUPPORT 1
  101. //#define EMON_ANALOG_SUPPORT 1
  102. //#define EVENTS_SUPPORT 1
  103. //#define HLW8012_SUPPORT 1
  104. //#define MHZ19_SUPPORT 1
  105. //#define PMSX003_SUPPORT 1
  106. //#define SHT3X_I2C_SUPPORT 1
  107. //#define SI7021_SUPPORT 1
  108. //#define V9261F_SUPPORT 1