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.

190 lines
6.4 KiB

6 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
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. // Firmware image
  7. //--------------------------------------------------------------------------------
  8. //#define ESPURNA_IMAGE ESPURNA_CORE
  9. //#define ESPURNA_IMAGE ESPURNA_BASIC
  10. //#define ESPURNA_IMAGE ESPURNA_DIMMER
  11. //#define ESPURNA_IMAGE ESPURNA_MY92XX
  12. //#define ESPURNA_IMAGE ESPURNA_EMON
  13. //#define ESPURNA_IMAGE ESPURNA_HLW8012
  14. //#define ESPURNA_IMAGE ESPURNA_CSE77XX
  15. //#define ESPURNA_IMAGE ESPURNA_V9261F
  16. //#define ESPURNA_IMAGE ESPURNA_ECH1560
  17. //#define ESPURNA_IMAGE ESPURNA_SENSOR
  18. //#define ESPURNA_IMAGE ESPURNA_SONOFF_DUAL
  19. //#define ESPURNA_IMAGE ESPURNA_SONOFF_RFBRIDGE
  20. //#define ESPURNA_IMAGE ESPURNA_RFM69
  21. //#define ESPURNA_IMAGE ESPURNA_STM
  22. //#define ESPURNA_IMAGE ESPURNA_GEIGER
  23. //--------------------------------------------------------------------------------
  24. // Hardware
  25. //--------------------------------------------------------------------------------
  26. //#define NODEMCU_LOLIN
  27. //#define WEMOS_D1_MINI
  28. //#define WEMOS_D1_MINI_RELAYSHIELD
  29. //#define TINKERMAN_ESPURNA_H06
  30. //#define TINKERMAN_ESPURNA_H08
  31. //#define TINKERMAN_RFM69GW
  32. //#define ITEAD_SONOFF_BASIC
  33. //#define ITEAD_SONOFF_RF
  34. //#define ITEAD_SONOFF_TH
  35. //#define ITEAD_SONOFF_SV
  36. //#define ITEAD_SLAMPHER
  37. //#define ITEAD_S20
  38. //#define ITEAD_SONOFF_TOUCH
  39. //#define ITEAD_SONOFF_POW
  40. //#define ITEAD_SONOFF_POW_R2
  41. //#define ITEAD_SONOFF_DUAL
  42. //#define ITEAD_SONOFF_DUAL_R2
  43. //#define ITEAD_SONOFF_4CH
  44. //#define ITEAD_SONOFF_4CH_PRO
  45. //#define ITEAD_1CH_INCHING
  46. //#define ITEAD_MOTOR
  47. //#define ITEAD_SONOFF_BNSZ01
  48. //#define ITEAD_SONOFF_RFBRIDGE
  49. //#define ITEAD_SONOFF_B1
  50. //#define ITEAD_SONOFF_LED
  51. //#define ITEAD_SONOFF_T1_1CH
  52. //#define ITEAD_SONOFF_T1_2CH
  53. //#define ITEAD_SONOFF_T1_3CH
  54. //#define ITEAD_SONOFF_S31
  55. //#define YJZK_SWITCH_2CH
  56. //#define ELECTRODRAGON_WIFI_IOT
  57. //#define WORKCHOICE_ECOPLUG
  58. //#define AITHINKER_AI_LIGHT
  59. //#define MAGICHOME_LED_CONTROLLER
  60. //#define MAGICHOME_LED_CONTROLLER_20
  61. //#define HUACANXING_H801
  62. //#define HUACANXING_H802
  63. //#define JANGOE_WIFI_RELAY_NC
  64. //#define JANGOE_WIFI_RELAY_NO
  65. //#define JORGEGARCIA_WIFI_RELAYS
  66. //#define OPENENERGYMONITOR_MQTT_RELAY
  67. //#define WION_50055
  68. //#define EXS_WIFI_RELAY_V31
  69. //#define GENERIC_V9261F
  70. //#define GENERIC_ECH1560
  71. //#define MANCAVEMADE_ESPLIVE
  72. //#define INTERMITTECH_QUINLED
  73. //#define ARILUX_AL_LC06
  74. //#define ARILUX_E27
  75. //#define XENON_SM_PW702U
  76. //#define AUTHOMETION_LYT8266
  77. //#define KMC_70011
  78. //#define GENERIC_8CH
  79. //#define ARILUX_AL_LC01
  80. //#define ARILUX_AL_LC11
  81. //#define ARILUX_AL_LC02
  82. //#define GIZWITS_WITTY_CLOUD
  83. //#define EUROMATE_WIFI_STECKER_SCHUKO
  84. //#define TONBUX_POWERSTRIP02
  85. //#define LINGAN_SWA1
  86. //#define HEYGO_HY02
  87. //#define MAXCIO_WUS002S
  88. //#define YIDIAN_XSSSA05
  89. //#define TONBUX_XSSSA06
  90. //#define GREEN_ESP8266RELAY
  91. //#define IKE_ESPIKE
  92. //#define ARNIEX_SWIFITCH
  93. //#define GENERIC_ESP01S_RELAY_V40
  94. //#define GENERIC_ESP01S_RGBLED_V10
  95. //#define GENERIC_ESP01S_DHT11_V10
  96. //#define GENERIC_ESP01S_DS18B20_V10
  97. //#define HELTEC_TOUCHRELAY
  98. //#define ZHILDE_EU44_W
  99. //#define LUANI_HVIO
  100. //#define ALLNET_4DUINO_IOT_WLAN_RELAIS
  101. //#define TONBUX_MOSQUITO_KILLER
  102. //#define NEO_COOLCAM_NAS_WR01W
  103. //#define ESTINK_WIFI_POWER_STRIP
  104. //#define PILOTAK_ESP_DIN_V1
  105. //#define BLITZWOLF_BWSHP2
  106. //#define BH_ONOFRE
  107. //#define ITEAD_SONOFF_IFAN02
  108. //#define GENERIC_AG_L4
  109. //#define HOMECUBE_16A
  110. //#define ALLTERCO_SHELLY1
  111. //#define LOHAS_9W
  112. //#define YJZK_SWITCH_1CH
  113. //#define YJZK_SWITCH_3CH
  114. //#define XIAOMI_SMART_DESK_LAMP
  115. //#define ALLTERCO_SHELLY2
  116. //#define PHYX_ESP12_RGB
  117. //--------------------------------------------------------------------------------
  118. // Features (values below are non-default values)
  119. //--------------------------------------------------------------------------------
  120. //#define ALEXA_SUPPORT 0
  121. //#define API_SUPPORT 0
  122. //#define BROKER_SUPPORT 0
  123. //#define BUTTON_SUPPORT 0
  124. //#define DEBUG_SERIAL_SUPPORT 0
  125. //#define DEBUG_TELNET_SUPPORT 0
  126. //#define DEBUG_UDP_SUPPORT 1
  127. //#define DEBUG_WEB_SUPPORT 0
  128. //#define DOMOTICZ_SUPPORT 0
  129. //#define ENCODER_SUPPORT 1
  130. //#define HOMEASSISTANT_SUPPORT 0
  131. //#define I2C_SUPPORT 1
  132. //#define INFLUXDB_SUPPORT 1
  133. //#define IR_SUPPORT 1
  134. //#define LED_SUPPORT 0
  135. //#define LLMNR_SUPPORT 1 // Only with Arduino Core 2.4.0
  136. //#define MDNS_CLIENT_SUPPORT 1
  137. //#define MDNS_SERVER_SUPPORT 0
  138. //#define MQTT_SUPPORT 0
  139. //#define NETBIOS_SUPPORT 1 // Only with Arduino Core 2.4.0
  140. //#define NOFUSS_SUPPORT 1
  141. //#define NTP_SUPPORT 0
  142. //#define RFM69_SUPPORT 1
  143. //#define RF_SUPPORT 1
  144. //#define SCHEDULER_SUPPORT 0
  145. //#define SENSOR_SUPPORT 1
  146. //#define SPIFFS_SUPPORT 1
  147. //#define SSDP_SUPPORT 1
  148. //#define TELNET_SUPPORT 0
  149. //#define TERMINAL_SUPPORT 0
  150. //#define THINGSPEAK_SUPPORT 0
  151. //#define UART_MQTT_SUPPORT 1
  152. //#define WEB_SUPPORT 0
  153. //--------------------------------------------------------------------------------
  154. // Sensors (values below are non-default values)
  155. //--------------------------------------------------------------------------------
  156. //#define AM2320_SUPPORT 1
  157. //#define ANALOG_SUPPORT 1
  158. //#define BH1750_SUPPORT 1
  159. //#define BMX280_SUPPORT 1
  160. //#define CSE7766_SUPPORT 1
  161. //#define DALLAS_SUPPORT 1
  162. //#define DHT_SUPPORT 1
  163. //#define DIGITAL_SUPPORT 1
  164. //#define ECH1560_SUPPORT 1
  165. //#define EMON_ADC121_SUPPORT 1
  166. //#define EMON_ADS1X15_SUPPORT 1
  167. //#define EMON_ANALOG_SUPPORT 1
  168. //#define EVENTS_SUPPORT 1
  169. //#define GEIGER_SUPPORT 1
  170. //#define GUVAS12SD_SUPPORT 1
  171. //#define HLW8012_SUPPORT 1
  172. //#define MHZ19_SUPPORT 1
  173. //#define NTC_SUPPORT 1
  174. //#define PMSX003_SUPPORT 1
  175. //#define PZEM004T_SUPPORT 1
  176. //#define SDS011_SUPPORT 1
  177. //#define SENSEAIR_SUPPORT 1
  178. //#define SHT3X_I2C_SUPPORT 1
  179. //#define SI7021_SUPPORT 1
  180. //#define SONAR_SUPPORT 1
  181. //#define TMP3X_SUPPORT 1
  182. //#define V9261F_SUPPORT 1