2018-11-20 14:00:24 +00:00
|
|
|
/*
|
2019-10-27 10:13:24 +00:00
|
|
|
support_features.ino - feature support for Tasmota
|
2018-11-20 14:00:24 +00:00
|
|
|
|
2021-01-01 12:44:04 +00:00
|
|
|
Copyright (C) 2021 Theo Arends
|
2018-11-20 14:00:24 +00:00
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*********************************************************************************************\
|
2023-11-09 13:59:31 +00:00
|
|
|
* Feature list
|
2023-11-09 14:32:43 +00:00
|
|
|
*
|
|
|
|
* Note: When extending/updating feature[] also extend/update a_features in decode-status.py
|
2018-11-20 14:00:24 +00:00
|
|
|
\*********************************************************************************************/
|
|
|
|
|
2023-11-09 13:59:31 +00:00
|
|
|
constexpr uint32_t feature[] = {
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_ENERGY_MARGIN_DETECTION)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000001 | // xdrv_03_energy.ino
|
2019-08-01 14:42:58 +01:00
|
|
|
#endif
|
2019-06-16 15:43:23 +01:00
|
|
|
#ifdef USE_LIGHT
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000002 | // tasmota.ino, xdrv_04_light.ino
|
2019-06-16 15:43:23 +01:00
|
|
|
#endif
|
2018-11-20 14:00:24 +00:00
|
|
|
#ifdef USE_I2C
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000004 | // tasmota.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_SPI
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000008 | // tasmota.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_DISCOVERY
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000010 | // tasmota.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_ARDUINO_OTA
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000020 | // tasmota.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_MQTT_TLS
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000040 | // xdrv_02_mqtt.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_WEBSERVER
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000080 | // xdrv_01_webserver.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_WEBSERVER) && defined(WEBSERVER_ADVERTISE)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000100 | // xdrv_01_webserver.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_WEBSERVER) && defined(USE_EMULATION_HUE)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000200 | // xdrv_20_hue.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-04-14 16:36:36 +01:00
|
|
|
//#if (MQTT_LIBRARY_TYPE == MQTT_PUBSUBCLIENT)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000400 | // xdrv_02_mqtt.ino
|
2020-04-14 16:36:36 +01:00
|
|
|
//#endif
|
|
|
|
//#if (MQTT_LIBRARY_TYPE == MQTT_TASMOTAMQTT)
|
2023-11-02 16:44:29 +00:00
|
|
|
// 0x00000800 | // xdrv_02_mqtt.ino
|
2020-04-14 16:36:36 +01:00
|
|
|
//#endif
|
2022-07-20 09:41:02 +01:00
|
|
|
#ifdef USE_MODBUS_BRIDGE
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00001000 | // xdrv_63_modbus_bridge.ino
|
2022-07-20 09:41:02 +01:00
|
|
|
#endif
|
2020-07-05 11:15:26 +01:00
|
|
|
#if defined(USE_DISCOVERY) && defined(MQTT_HOST_DISCOVERY)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00002000 | // xdrv_02_mqtt.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_LIGHT) && defined(USE_ARILUX_RF)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00004000 | // xdrv_04_light.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2019-06-16 15:43:23 +01:00
|
|
|
#if defined(USE_LIGHT) && defined(USE_WS2812)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00008000 | // xdrv_04_light.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_LIGHT) && defined(USE_WS2812) && defined(USE_WS2812_DMA)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00010000 | // xdrv_04_light.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2019-08-28 21:01:01 +01:00
|
|
|
#if defined(USE_IR_REMOTE) || defined(USE_IR_REMOTE_FULL)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00020000 | // xdrv_05_irremote.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_IR_HVAC
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00040000 | // xdrv_05_irremote.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_IR_REMOTE) && defined(USE_IR_RECEIVE)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00080000 | // xdrv_05_irremote.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_DOMOTICZ
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00100000 | // xdrv_07_domoticz.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_DISPLAY
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00200000 | // xdrv_13_display.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_HOME_ASSISTANT
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00400000 | // xdrv_12_home_assistant.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_SERIAL_BRIDGE
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00800000 | // xdrv_08_serial_bridge.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_TIMERS
|
2023-11-02 16:44:29 +00:00
|
|
|
0x01000000 | // xdrv_09_timers.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_TIMERS) && defined(USE_SUNRISE)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x02000000 | // xdrv_09_timers.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_TIMERS) && defined(USE_TIMERS_WEB)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x04000000 | // xdrv_09_timers.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2019-05-18 12:34:52 +01:00
|
|
|
#ifdef USE_RULES
|
2023-11-02 16:44:29 +00:00
|
|
|
0x08000000 | // xdrv_10_rules.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_KNX
|
2023-11-02 16:44:29 +00:00
|
|
|
0x10000000 | // xdrv_11_knx.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_WPS
|
2023-11-02 16:44:29 +00:00
|
|
|
0x20000000 | // support.ino - removed with version 6.6.0.21
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_SMARTCONFIG
|
2023-11-02 16:44:29 +00:00
|
|
|
0x40000000 | // support.ino - removed with version 6.6.0.21
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_ENERGY_POWER_LIMIT)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x80000000 | // xdrv_03_energy.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2023-11-09 13:59:31 +00:00
|
|
|
0,
|
2018-11-20 14:00:24 +00:00
|
|
|
#ifdef USE_CONFIG_OVERRIDE
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000001 | // user_config(_override).h
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2019-02-08 13:55:45 +00:00
|
|
|
#ifdef FIRMWARE_MINIMAL
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000002 | // user_config(_override).h
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2019-02-08 13:55:45 +00:00
|
|
|
#ifdef FIRMWARE_SENSORS
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000004 | // user_config(_override).h
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2019-02-08 13:55:45 +00:00
|
|
|
#ifdef FIRMWARE_CLASSIC
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000008 | // user_config(_override).h
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2019-02-08 13:55:45 +00:00
|
|
|
#ifdef FIRMWARE_KNX_NO_EMULATION
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000010 | // user_config(_override).h
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_DISPLAY) && defined(USE_DISPLAY_MODES1TO5)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000020 | // xdrv_13_display.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_DISPLAY) && defined(USE_DISPLAY_GRAPH)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000040 | // xdrv_13_display.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-05 11:15:26 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_DISPLAY) && defined(USE_DISPLAY_LCD)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000080 | // xdsp_01_lcd.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-05 11:15:26 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_DISPLAY) && defined(USE_DISPLAY_SSD1306)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000100 | // xdsp_02_ssd1306.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-05 11:15:26 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_DISPLAY) && defined(USE_DISPLAY_MATRIX)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000200 | // xdsp_03_matrix.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-05 11:15:26 +01:00
|
|
|
#if defined(USE_SPI) && defined(USE_DISPLAY) && defined(USE_DISPLAY_ILI9341)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000400 | // xdsp_04_ili9341.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-05 11:15:26 +01:00
|
|
|
#if defined(USE_SPI) && defined(USE_DISPLAY) && defined(USE_DISPLAY_EPAPER_29)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000800 | // xdsp_05_epaper.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-05 11:15:26 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_DISPLAY) && defined(USE_DISPLAY_SH1106)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00001000 | // xdsp_07_sh1106.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_MP3_PLAYER
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00002000 | // xdrv_14_mp3.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2023-07-24 14:30:48 +01:00
|
|
|
#if defined(USE_I2C) && (defined(USE_PCA9685) || defined(USE_PCA9685_V2))
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00004000 | // xdrv_15_pca9685.ino or xdrv_15_pca9685_v2.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2019-09-03 12:23:05 +01:00
|
|
|
#if defined(USE_LIGHT) && defined(USE_TUYA_MCU)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00008000 | // xdrv_16_tuyadimmer.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_RC_SWITCH
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00010000 | // xdrv_17_rcswitch.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2019-06-16 15:43:23 +01:00
|
|
|
#if defined(USE_LIGHT) && defined(USE_ARMTRONIX_DIMMERS)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00020000 | // xdrv_18_armtronixdimmer.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2019-06-16 15:43:23 +01:00
|
|
|
#if defined(USE_LIGHT) && defined(USE_SM16716)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00040000 | // xdrv_04_light.ino
|
2019-02-04 06:08:29 +00:00
|
|
|
#endif
|
2019-05-18 12:34:52 +01:00
|
|
|
#ifdef USE_SCRIPT
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00080000 | // xdrv_10_scripter.ino
|
2019-05-18 12:34:52 +01:00
|
|
|
#endif
|
2020-07-05 11:15:26 +01:00
|
|
|
#if defined(USE_WEBSERVER) && defined(USE_EMULATION_WEMO)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00100000 | // xdrv_21_wemo.ino
|
2019-05-20 14:09:42 +01:00
|
|
|
#endif
|
2019-08-01 14:42:58 +01:00
|
|
|
#ifdef USE_SONOFF_IFAN
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00200000 | // xdrv_22_sonoff_ifan.ino
|
2019-08-01 14:42:58 +01:00
|
|
|
#endif
|
2019-08-10 16:52:26 +01:00
|
|
|
#ifdef USE_ZIGBEE
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00400000 | // xdrv_23_zigbee.ino
|
2019-08-10 16:52:26 +01:00
|
|
|
#endif
|
2018-11-20 14:00:24 +00:00
|
|
|
#ifdef NO_EXTRA_4K_HEAP
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00800000 | // sonoff_post.h
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef VTABLES_IN_IRAM
|
2023-11-02 16:44:29 +00:00
|
|
|
0x01000000 | // platformio.ini
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef VTABLES_IN_DRAM
|
2023-11-02 16:44:29 +00:00
|
|
|
0x02000000 | // platformio.ini
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef VTABLES_IN_FLASH
|
2023-11-02 16:44:29 +00:00
|
|
|
0x04000000 | // platformio.ini
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef PIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
|
2023-11-02 16:44:29 +00:00
|
|
|
0x08000000 | // platformio.ini
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
|
2023-11-02 16:44:29 +00:00
|
|
|
0x10000000 | // platformio.ini
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
2023-11-02 16:44:29 +00:00
|
|
|
0x20000000 | // platformio.ini
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef DEBUG_THEO
|
2023-11-02 16:44:29 +00:00
|
|
|
0x40000000 | // xdrv_99_debug.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_DEBUG_DRIVER
|
2023-11-02 16:44:29 +00:00
|
|
|
0x80000000 | // xdrv_99_debug.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2023-11-09 13:59:31 +00:00
|
|
|
0,
|
2019-06-16 15:43:23 +01:00
|
|
|
#ifdef USE_COUNTER
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000001 | // xsns_01_counter.ino
|
2019-06-16 15:43:23 +01:00
|
|
|
#endif
|
2020-08-03 17:21:34 +01:00
|
|
|
#if defined(USE_ADC_VCC) || defined(USE_ADC)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000002 | // xsns_02_analog.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_ENERGY_SENSOR
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000004 | // xdrv_03_energy.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_PZEM004T)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000008 | // xnrg_03_pzem004t.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_DS18B20
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000010 | // xsns_05_ds18b20.ino - no more support since 6.6.0.18
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_DS18x20_LEGACY
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000020 | // xsns_05_ds18x20_legacy.ino - no more support since 6.6.0.14
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_DS18x20
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000040 | // xsns_05_ds18x20.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_DHT
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000080 | // xsns_06_dht.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_SHT)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000100 | // xsns_07_sht1x.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_HTU)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000200 | // xsns_08_htu21.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_BMP)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000400 | // xsns_09_bmp.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2022-01-19 16:05:39 +00:00
|
|
|
#if defined(USE_I2C) && defined(USE_BMP) && defined(USE_BME68X)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000800 | // xsns_09_bmp.ino - BME68x
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_BH1750)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00001000 | // xsns_10_bh1750.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_VEML6070)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00002000 | // xsns_11_veml6070.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_ADS1115_I2CDEV)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00004000 | // xsns_12_ads1115_i2cdev.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_ADS1115)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00008000 | // xsns_12_ads1115.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_INA219)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00010000 | // xsns_13_ina219.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_SHT3X)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00020000 | // xsns_14_sht3x.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_MHZ19
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00040000 | // xsns_15_mhz19.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_TSL2561)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00080000 | // xsns_16_tsl2561.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_SENSEAIR
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00100000 | // xsns_17_senseair.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_PMS5003
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00200000 | // xsns_18_pms5003.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_MGS)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00400000 | // xsns_19_mgs.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_NOVA_SDS
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00800000 | // xsns_20_novasds.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_SGP30)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x01000000 | // xsns_21_sgp30.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_SR04
|
2023-11-02 16:44:29 +00:00
|
|
|
0x02000000 | // xsns_22_sr04.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_SDM120)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x04000000 | // xnrg_08_sdm120.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_SI1145)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x08000000 | // xsns_24_si1145.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_SDM630)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x10000000 | // xnrg_10_sdm630.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_LM75AD)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x20000000 | // xsns_26_lm75ad.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_APDS9960)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x40000000 | // xsns_27_apds9960.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_TM1638
|
2023-11-02 16:44:29 +00:00
|
|
|
0x80000000 | // xdrv_66_tm1638.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2023-11-09 13:59:31 +00:00
|
|
|
0,
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_MCP230xx)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000001 | // xsns_29_mcp230xx.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_MPR121)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000002 | // xsns_30_mpr121.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2023-07-24 14:30:48 +01:00
|
|
|
#if defined(USE_I2C) && (defined(USE_CCS811) || defined(USE_CCS811_V2))
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000004 | // xsns_31_ccs811.ino or xsns_31_ccs811_v2.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_MPU6050)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000008 | // xsns_32_mpu6050.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_MCP230xx) && defined(USE_MCP230xx_OUTPUT)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000010 | // xsns_29_mcp230xx.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_MCP230xx) && defined(USE_MCP230xx_DISPLAYOUTPUT)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000020 | // xsns_29_mcp230xx.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_HLW8012)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000040 | // xnrg_01_hlw8012.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_CSE7766)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000080 | // xnrg_02_cse7766.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_MCP39F501)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000100 | // xnrg_04_mcp39f501.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_PZEM_AC)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000200 | // xnrg_05_pzem_ac.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_DS3231)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000400 | // xsns_33_ds3231.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_HX711
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000800 | // xsns_34_hx711.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_PZEM_DC)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00001000 | // xnrg_06_pzem_dc.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2021-07-11 15:44:56 +01:00
|
|
|
#if defined(USE_TX20_WIND_SENSOR) || defined(USE_TX23_WIND_SENSOR) || defined(USE_WS2300_WIND_SENSOR)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00002000 | // xsns_35_tx20.ino
|
2018-11-20 14:00:24 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_MGC3130)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00004000 | // xsns_36_mgc3130.ino
|
2018-11-22 14:41:30 +00:00
|
|
|
#endif
|
2018-12-11 13:24:52 +00:00
|
|
|
#ifdef USE_RF_SENSOR
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00008000 | // xsns_37_rfsensor.ino
|
2018-12-11 13:24:52 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_RF_SENSOR) && defined(USE_THEO_V2)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00010000 | // xsns_37_rfsensor.ino
|
2018-12-11 13:24:52 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_RF_SENSOR) && defined(USE_ALECTO_V2)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00020000 | // xsns_37_rfsensor.ino
|
2018-12-11 13:24:52 +00:00
|
|
|
#endif
|
2018-12-18 09:22:41 +00:00
|
|
|
#ifdef USE_AZ7798
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00040000 | // xsns_38_az7798.ino
|
2019-01-01 12:45:44 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_MAX31855
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00080000 | // xsns_39_max31855.ino
|
2018-12-18 09:22:41 +00:00
|
|
|
#endif
|
2019-02-08 13:25:46 +00:00
|
|
|
#ifdef USE_PN532_HSU
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00100000 | // xsns_40_pn532.ino
|
2019-01-03 09:09:49 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_MAX44009)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00200000 | // xsns_41_max44009.ino
|
2019-03-13 17:06:20 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_SCD30)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00400000 | // xsns_42_scd30.ino
|
2019-03-28 10:25:38 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_HRE
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00800000 | // xsns_43_hre.ino
|
2019-03-13 17:06:20 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_ADE7953)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x01000000 | // xnrg_07_ade7953.ino
|
2019-04-15 17:12:42 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_SPS30)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x02000000 | // xsns_44_sps30.ino
|
2019-08-01 14:42:58 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_VL53L0X)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x04000000 | // xsns_45_vl53l0x.ino
|
2019-08-01 14:42:58 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_MLX90614)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x08000000 | // xsns_46_MLX90614.ino
|
2019-08-01 14:42:58 +01:00
|
|
|
#endif
|
|
|
|
#ifdef USE_MAX31865
|
2023-11-02 16:44:29 +00:00
|
|
|
0x10000000 | // xsns_47-max31865.ino
|
2019-08-01 14:42:58 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_CHIRP)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x20000000 | // xsns_48_chirp.ino
|
2019-08-07 11:08:13 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_SOLAX_X1)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x40000000 | // xnrg_12_solaxX1.ino
|
2019-08-19 10:47:59 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_PAJ7620)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x80000000 | // xsns_50_paj7620.ino
|
2019-08-19 10:47:59 +01:00
|
|
|
#endif
|
2023-11-09 13:59:31 +00:00
|
|
|
0,
|
2019-08-12 16:28:09 +01:00
|
|
|
#ifdef USE_BUZZER
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000001 | // xdrv_24_buzzer.ino
|
2019-08-12 16:28:09 +01:00
|
|
|
#endif
|
2019-08-19 10:47:59 +01:00
|
|
|
#ifdef USE_RDM6300
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000002 | // xsns_51_rdm6300.ino
|
2019-08-19 10:47:59 +01:00
|
|
|
#endif
|
2019-08-25 11:29:48 +01:00
|
|
|
#ifdef USE_IBEACON
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000004 | // xsns_52_ibeacon.ino
|
2019-08-25 11:29:48 +01:00
|
|
|
#endif
|
2019-09-08 10:26:54 +01:00
|
|
|
#ifdef USE_SML_M
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000008 | // xsns_53_sml.ino
|
2019-09-08 10:26:54 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_INA226)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000010 | // xsns_54_ina226.ino
|
2019-09-08 10:26:54 +01:00
|
|
|
#endif
|
2019-10-15 19:30:04 +01:00
|
|
|
#ifdef USE_A4988_STEPPER
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000020 | // xdrv_25_A4988.ino
|
2019-09-07 13:03:07 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_DDS2382)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000040 | // xnrg_09_dds2382.ino
|
2019-09-10 14:14:51 +01:00
|
|
|
#endif
|
2020-07-05 11:15:26 +01:00
|
|
|
#if defined(USE_LIGHT) && defined(USE_SM2135)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000080 | // xdrv_026_sm2135.ino
|
2019-10-01 15:45:53 +01:00
|
|
|
#endif
|
|
|
|
#ifdef USE_SHUTTER
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000100 | // xdrv_027_shutter.ino
|
2019-10-01 15:45:53 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_PCF8574)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000200 | // xdrv_028_pcf8574.ino
|
2019-10-01 15:45:53 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_DDSU666)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000400 | // xnrg_11_ddsu666.ino
|
2019-10-03 09:06:51 +01:00
|
|
|
#endif
|
2019-10-14 16:01:24 +01:00
|
|
|
#ifdef USE_DEEPSLEEP
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000800 | // xdrv_029_deepsleep.ino
|
2019-10-14 16:01:24 +01:00
|
|
|
#endif
|
2019-10-14 17:15:43 +01:00
|
|
|
#ifdef USE_SONOFF_SC
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00001000 | // xsns_04_snfsc.ino
|
2019-10-14 17:15:43 +01:00
|
|
|
#endif
|
2019-10-15 14:37:22 +01:00
|
|
|
#ifdef USE_SONOFF_RF
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00002000 | // xdrv_06_snfbridge.ino
|
2019-10-15 10:40:21 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_LIGHT) && defined(USE_SONOFF_L1)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00004000 | // xlgt_05_sonoff_l1.ino
|
2019-10-18 16:29:19 +01:00
|
|
|
#endif
|
2020-07-05 11:15:26 +01:00
|
|
|
#if defined(USE_LIGHT) && defined(USE_EXS_DIMMER)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00008000 | // xdrv_30_exs_dimmer.ino
|
2019-10-17 11:20:26 +01:00
|
|
|
#endif
|
2020-06-18 15:05:55 +01:00
|
|
|
#ifdef USE_TASMOTA_CLIENT
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00010000 | // xdrv_31_tasmota_client.ino
|
2019-10-21 11:36:08 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_HIH6)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00020000 | // xsns_55_hih_series.ino
|
2019-11-02 16:18:51 +00:00
|
|
|
#endif
|
2019-11-06 13:05:17 +00:00
|
|
|
#ifdef USE_HPMA
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00040000 | // xsns_56_hpma.ino
|
2019-11-06 13:05:17 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_TSL2591)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00080000 | // xsns_57_tsl2591.ino
|
2019-11-13 09:17:52 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_DHT12)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00100000 | // xsns_58_dht12.ino
|
2019-12-20 14:48:40 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_DS1624)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00200000 | // xsns_59_ds1624.ino
|
2019-12-28 09:42:00 +00:00
|
|
|
#endif
|
2019-12-23 14:39:07 +00:00
|
|
|
#ifdef USE_GPS
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00400000 | // xsns_60_GPS.ino
|
2019-12-23 14:39:07 +00:00
|
|
|
#endif
|
2020-07-05 11:15:26 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_HOTPLUG)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00800000 | // xdrv_32_hotplug.ino
|
2020-02-07 09:50:06 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_NRF24
|
2023-11-02 16:44:29 +00:00
|
|
|
0x01000000 | // xsns_33_nrf24l01.ino
|
2020-02-07 09:50:06 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_MIBLE
|
2023-11-02 16:44:29 +00:00
|
|
|
0x02000000 | // xsns_61_MI_BLE.ino
|
2020-02-07 09:50:06 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_HM10
|
2023-11-02 16:44:29 +00:00
|
|
|
0x04000000 | // xsns_62_MI_HM10.ino
|
2019-12-28 20:12:46 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_LE01MR)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x08000000 | // xnrg_13_fif_le01mr.ino
|
2020-01-05 00:06:30 +00:00
|
|
|
#endif
|
2021-09-20 14:30:12 +01:00
|
|
|
#if defined(USE_I2C) && (defined(USE_AHT1x) || defined(USE_AHT2x))
|
2023-11-02 16:44:29 +00:00
|
|
|
0x10000000 | // xsns_63_aht1x.ino
|
2020-02-18 08:11:31 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_WEMOS_MOTOR_V1)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x20000000 | // xdrv_34_wemos_motor_v1.ino
|
2020-02-20 05:55:20 +00:00
|
|
|
#endif
|
2020-02-27 14:10:42 +00:00
|
|
|
#ifdef USE_DEVICE_GROUPS
|
2023-11-02 16:44:29 +00:00
|
|
|
0x40000000 | // support_device_groups.ino
|
2020-02-27 14:10:42 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_PWM_DIMMER
|
2023-11-02 16:44:29 +00:00
|
|
|
0x80000000 | // xdrv_35_pwm_dimmer
|
2020-02-27 14:10:42 +00:00
|
|
|
#endif
|
2023-11-09 13:59:31 +00:00
|
|
|
0,
|
2020-02-28 15:35:19 +00:00
|
|
|
#ifdef USE_KEELOQ
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000001 | // xdrv_36_keeloq.ino
|
2020-03-01 13:20:19 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_HRXL
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000002 | // xsns_64_hrxl.ino
|
2020-02-28 15:35:19 +00:00
|
|
|
#endif
|
2020-03-01 14:31:08 +00:00
|
|
|
#ifdef USE_SONOFF_D1
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000004 | // xdrv_37_sonoff_d1.ino
|
2020-03-01 14:31:08 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_HDC1080)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000008 | // xsns_65_hdc1080.ino
|
2020-03-14 11:43:02 +00:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_IAQ)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000010 | // xsns_66_iAQ.ino
|
2020-04-09 13:22:44 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_DISPLAY) && defined(USE_DISPLAY_SEVENSEG)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000020 | // xdsp_11_sevenseg.ino
|
2020-04-10 15:05:43 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_AS3935)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000040 | // xsns_67_as3935.ino
|
2020-04-11 00:48:37 +01:00
|
|
|
#endif
|
2020-04-11 13:51:08 +01:00
|
|
|
#ifdef USE_PING
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000080 | // xdrv_38_ping.ino
|
2020-04-11 13:51:08 +01:00
|
|
|
#endif
|
2020-04-28 17:09:10 +01:00
|
|
|
#ifdef USE_WINDMETER
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000100 | // xsns_68_windmeter.ino
|
2020-05-07 15:03:27 +01:00
|
|
|
#endif
|
|
|
|
#ifdef USE_OPENTHERM
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000200 | // xsns_69_opentherm.ino
|
2020-04-28 17:09:10 +01:00
|
|
|
#endif
|
2020-04-20 21:50:53 +01:00
|
|
|
#ifdef USE_THERMOSTAT
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000400 | // xdrv_39_heating.ino
|
2020-04-17 09:31:53 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_VEML6075)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000800 | // xsns_70_veml6075.ino
|
2020-05-12 20:24:44 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_VEML7700)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00001000 | // xsns_71_veml7700.ino
|
2020-05-12 20:24:44 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_MCP9808)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00002000 | // xsns_72_mcp9808.ino
|
2020-06-02 07:35:49 +01:00
|
|
|
#endif
|
2021-09-21 17:25:52 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && (defined(USE_BL0940) || defined(USE_BL09XX))
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00004000 | // xnrg_14_bl09xx.ino
|
2020-06-07 16:21:29 +01:00
|
|
|
#endif
|
2020-06-11 16:30:33 +01:00
|
|
|
#ifdef USE_TELEGRAM
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00008000 | // xdrv_40_telegram.ino
|
2020-06-11 16:30:33 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_HP303B)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00010000 | // xsns_73_hp303b.ino
|
2020-06-16 17:36:49 +01:00
|
|
|
#endif
|
|
|
|
#ifdef USE_TCP_BRIDGE
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00020000 | // xdrv_41_tcp_bridge.ino
|
2020-06-06 21:35:41 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_TELEINFO)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00040000 | // xnrg_15_teleinfo.ino
|
2020-06-12 15:33:16 +01:00
|
|
|
#endif
|
2020-06-17 16:22:41 +01:00
|
|
|
#ifdef USE_LMT01
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00080000 | // xsns_74_lmt01.ino
|
2020-06-17 16:22:41 +01:00
|
|
|
#endif
|
2020-06-27 10:52:44 +01:00
|
|
|
#ifdef USE_PROMETHEUS
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00100000 | // xsns_75_prometheus.ino
|
2020-06-27 10:52:44 +01:00
|
|
|
#endif
|
2020-07-12 16:52:24 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_IEM3000)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00200000 | // xnrg_16_iem3000.ino
|
2020-07-12 16:52:24 +01:00
|
|
|
#endif
|
2020-08-17 15:25:24 +01:00
|
|
|
#ifdef USE_DYP
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00400000 | // xsns_76_dyp.ino
|
2020-08-17 15:25:24 +01:00
|
|
|
#endif
|
2020-09-06 17:41:39 +01:00
|
|
|
#ifdef USE_I2S_AUDIO
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00800000 | // xdrv_42_i2s_audio.ino
|
2020-09-06 17:41:39 +01:00
|
|
|
#endif
|
2020-09-14 10:49:33 +01:00
|
|
|
#ifdef USE_MLX90640
|
2023-11-02 16:44:29 +00:00
|
|
|
0x01000000 | // xdrv_43_mlx90640.ino
|
2020-09-14 10:49:33 +01:00
|
|
|
#endif
|
2020-09-01 16:24:36 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_VL53L1X)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x02000000 | // xsns_77_vl53l1x.ino
|
2020-09-01 16:24:36 +01:00
|
|
|
#endif
|
2020-10-02 14:10:21 +01:00
|
|
|
#ifdef USE_MIEL_HVAC
|
2023-11-02 16:44:29 +00:00
|
|
|
0x04000000 | // xdrv_44_miel_hvac.ino
|
2020-10-02 14:10:21 +01:00
|
|
|
#endif
|
2020-10-02 15:37:43 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_WE517)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x08000000 | // xnrg_17_ornowe517.ino
|
2020-10-02 15:37:43 +01:00
|
|
|
#endif
|
2020-10-18 13:10:12 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_EZOPH)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x10000000 | // xsns_78_ezoph.ino
|
2020-10-18 13:10:12 +01:00
|
|
|
#endif
|
2020-09-06 17:41:39 +01:00
|
|
|
#if defined(ESP32) && defined(USE_TTGO_WATCH)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x20000000 | // xdrv_83_esp32watch.ino
|
2020-09-06 17:41:39 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(ESP32) && defined(USE_ETHERNET)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x40000000 | // xdrv_82_ethernet.ino
|
2020-06-15 17:36:26 +01:00
|
|
|
#endif
|
2020-07-04 17:34:23 +01:00
|
|
|
#if defined(ESP32) && defined(USE_WEBCAM)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x80000000 | // xdrv_81_webcam.ino
|
2020-05-07 15:53:56 +01:00
|
|
|
#endif
|
2023-11-09 13:59:31 +00:00
|
|
|
0,
|
2020-10-18 13:10:12 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_EZOORP)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000001 | // xsns_78_ezoorp.ino
|
2020-10-18 13:10:12 +01:00
|
|
|
#endif
|
2020-10-20 10:09:07 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_EZORTD)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000002 | // xsns_78_ezortd.ino
|
2020-10-23 15:56:03 +01:00
|
|
|
#endif
|
|
|
|
#if defined(USE_I2C) && defined(USE_EZOHUM)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000004 | // xsns_78_ezohum.ino
|
2020-10-24 11:41:08 +01:00
|
|
|
#endif
|
|
|
|
#if defined(USE_I2C) && defined(USE_EZOEC)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000008 | // xsns_78_ezoec.ino
|
2020-10-20 10:09:07 +01:00
|
|
|
#endif
|
2020-10-25 08:21:01 +00:00
|
|
|
#if defined(USE_I2C) && defined(USE_EZOCO2)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000010 | // xsns_78_ezoco2.ino
|
2020-10-25 08:21:01 +00:00
|
|
|
#endif
|
2020-10-28 10:37:59 +00:00
|
|
|
#if defined(USE_I2C) && defined(USE_EZOO2)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000020 | // xsns_78_ezoo2.ino
|
2020-10-29 10:53:25 +00:00
|
|
|
#endif
|
|
|
|
#if defined(USE_I2C) && defined(USE_EZOPRS)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000040 | // xsns_78_ezoprs.ino
|
2020-10-28 10:37:59 +00:00
|
|
|
#endif
|
2020-11-01 14:15:10 +00:00
|
|
|
#if defined(USE_I2C) && defined(USE_EZOFLO)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000080 | // xsns_78_ezoflo.ino
|
2020-11-01 14:15:10 +00:00
|
|
|
#endif
|
2020-11-02 10:58:23 +00:00
|
|
|
#if defined(USE_I2C) && defined(USE_EZODO)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000100 | // xsns_78_ezodo.ino
|
2020-11-02 10:58:23 +00:00
|
|
|
#endif
|
2020-11-03 13:34:02 +00:00
|
|
|
#if defined(USE_I2C) && defined(USE_EZORGB)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000200 | // xsns_78_ezorgb.ino
|
2020-11-07 10:35:33 +00:00
|
|
|
#endif
|
|
|
|
#if defined(USE_I2C) && defined(USE_EZOPMP)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000400 | // xsns_78_ezopmp.ino
|
2020-11-03 13:34:02 +00:00
|
|
|
#endif
|
2020-11-10 14:04:45 +00:00
|
|
|
#ifdef USE_AS608
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000800 | // xsns_79_as608.ino
|
2020-11-10 14:04:45 +00:00
|
|
|
#endif
|
2020-11-14 15:43:32 +00:00
|
|
|
#if defined(USE_SHELLY_DIMMER)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00001000 | // xdrv_45_shelly_dimmer.ino
|
2020-11-14 15:43:32 +00:00
|
|
|
#endif
|
2020-11-30 16:54:40 +00:00
|
|
|
#ifdef USE_RC522
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00002000 | // xsns_80_mfrc522.ino
|
2020-11-30 16:54:40 +00:00
|
|
|
#endif
|
2020-12-22 15:47:24 +00:00
|
|
|
#ifdef USE_FTC532
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00004000 | // xdrv_47_ftc532.ino
|
2020-12-22 15:47:24 +00:00
|
|
|
#endif
|
2021-01-01 14:05:58 +00:00
|
|
|
#if defined(USE_SPI) && defined(USE_DISPLAY) && defined(USE_DISPLAY_EPAPER_42)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00008000 | // xdsp_06_epaper_42.ino
|
2021-01-01 14:05:58 +00:00
|
|
|
#endif
|
2021-11-17 21:48:48 +00:00
|
|
|
// #if defined(USE_SPI) && defined(USE_DISPLAY) && defined(USE_DISPLAY_ILI9488)
|
2023-11-02 16:44:29 +00:00
|
|
|
// 0x00010000 | // xdsp_08_ILI9488.ino
|
2021-11-17 21:48:48 +00:00
|
|
|
// #endif
|
2021-01-01 14:05:58 +00:00
|
|
|
#if defined(USE_SPI) && defined(USE_DISPLAY) && defined(USE_DISPLAY_SSD1351)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00020000 | // xdsp_09_SSD1351.ino
|
2021-01-01 14:05:58 +00:00
|
|
|
#endif
|
|
|
|
#if defined(USE_SPI) && defined(USE_DISPLAY) && defined(USE_DISPLAY_RA8876)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00040000 | // xdsp_10_RA8876.ino
|
2021-01-01 14:05:58 +00:00
|
|
|
#endif
|
|
|
|
#if defined(USE_SPI) && defined(USE_DISPLAY) && defined(USE_DISPLAY_ST7789)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00080000 | // xdsp_12_ST7789.ino
|
2021-01-01 14:05:58 +00:00
|
|
|
#endif
|
2021-01-01 15:05:06 +00:00
|
|
|
#if defined(USE_SPI) && defined(USE_DISPLAY) && defined(USE_DISPLAY_SSD1331)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00100000 | // xdsp_14_SSD1331.ino
|
2021-01-01 15:05:06 +00:00
|
|
|
#endif
|
2021-01-06 13:41:23 +00:00
|
|
|
#ifdef USE_UFILESYS
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00200000 | // xdrv_50_filesystem.ino
|
2021-01-07 14:07:14 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_TIMEPROP
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00400000 | // xdrv_48_timeprop.ino
|
2021-01-07 14:07:14 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_PID
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00800000 | // xdrv_49_pid.ino
|
2021-01-06 13:41:23 +00:00
|
|
|
#endif
|
2021-01-07 15:39:41 +00:00
|
|
|
#ifdef USE_BS814A2
|
2023-11-02 16:44:29 +00:00
|
|
|
0x01000000 | // xdrv_51_bs814a2.ino
|
2021-01-07 15:39:41 +00:00
|
|
|
#endif
|
2021-01-22 15:48:41 +00:00
|
|
|
#if defined(USE_I2C) && defined(USE_SEESAW_SOIL)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x02000000 | // xsns_81_seesaw_soil.ino
|
2021-01-11 13:13:20 +00:00
|
|
|
#endif
|
2021-01-16 14:39:33 +00:00
|
|
|
#ifdef USE_WIEGAND
|
2023-11-02 16:44:29 +00:00
|
|
|
0x04000000 | // xsns_82_wiegand.ino
|
2021-01-16 14:39:33 +00:00
|
|
|
#endif
|
2021-01-20 14:06:27 +00:00
|
|
|
#ifdef USE_NEOPOOL
|
2023-11-02 16:44:29 +00:00
|
|
|
0x08000000 | // xsns_83_neopool.ino
|
2021-01-20 14:06:27 +00:00
|
|
|
#endif
|
2021-01-22 15:48:41 +00:00
|
|
|
#if defined(USE_I2C) && defined(USE_TOF10120)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x10000000 | // xsns_84_tof10120
|
2021-01-22 15:48:41 +00:00
|
|
|
#endif
|
2021-02-09 15:13:40 +00:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_SDM72)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x20000000 | // xnrg_18_sdm72.ino
|
2021-02-09 15:13:40 +00:00
|
|
|
#endif
|
2021-02-17 11:32:36 +00:00
|
|
|
#if defined(USE_DISPLAY) && defined(USE_DISPLAY_TM1637)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x40000000 |
|
2021-02-17 11:32:36 +00:00
|
|
|
#endif
|
2021-02-27 21:28:29 +00:00
|
|
|
#ifdef USE_PROJECTOR_CTRL
|
2023-11-02 16:44:29 +00:00
|
|
|
0x80000000 | // xdrv_53_projector_ctrl.ino
|
2021-02-27 21:28:29 +00:00
|
|
|
#endif
|
2023-11-09 13:59:31 +00:00
|
|
|
0,
|
2021-06-27 12:53:19 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_MPU_ACCEL)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000001 | // xsns_85_mpu6886.ino
|
2021-03-23 11:57:56 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_TFMINIPLUS
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000002 | // xsns_86_tfminiplus.ino
|
2021-03-23 11:57:56 +00:00
|
|
|
#endif
|
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_CSE7761)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000004 | // xnrg_19_cse7761.ino
|
2021-03-23 11:57:56 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_BERRY
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000008 | // xdrv_52_9_berry.ino
|
2021-03-23 11:57:56 +00:00
|
|
|
#endif
|
2021-06-27 12:53:19 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_BM8563)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000010 | // xdrv_56_BM8563_RTC.ino
|
2021-06-27 12:53:19 +01:00
|
|
|
#endif
|
2021-04-06 11:08:07 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_ENERGY_DUMMY)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000020 | // xnrg_30_dummy.ino
|
2021-04-06 11:08:07 +01:00
|
|
|
#endif
|
2021-06-27 12:53:19 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_AM2320)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000040 | // xsns_88_am2320.ino
|
2021-06-27 12:53:19 +01:00
|
|
|
#endif
|
2021-07-13 10:40:13 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_T67XX)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000080 | // xsns_89_t67xx.ino
|
2021-07-13 10:40:13 +01:00
|
|
|
#endif
|
2021-07-17 14:16:48 +01:00
|
|
|
#if defined(USE_SPI) && defined(USE_MCP2515)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000100 | // xsns_87_mcp2515.ino
|
2021-07-17 14:16:48 +01:00
|
|
|
#endif
|
2021-08-02 10:05:02 +01:00
|
|
|
#ifdef USE_TASMESH
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000200 | // xdrv_57_9_tasmesh.ino
|
2021-08-02 10:05:02 +01:00
|
|
|
#endif
|
|
|
|
#ifdef USE_WIFI_RANGE_EXTENDER
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000400 | // xdrv_58_range_extender.ino
|
2021-08-02 10:05:02 +01:00
|
|
|
#endif
|
2021-08-12 21:43:53 +01:00
|
|
|
#ifdef USE_INFLUXDB
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000800 | // xdrv_59_influxdb.ino
|
2021-08-12 21:43:53 +01:00
|
|
|
#endif
|
2021-08-25 16:25:11 +01:00
|
|
|
#ifdef USE_HRG15
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00001000 | // xsns_90_hrg15.ino
|
2021-08-25 16:25:11 +01:00
|
|
|
#endif
|
2021-08-26 10:16:28 +01:00
|
|
|
#ifdef USE_VINDRIKTNING
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00002000 | // xsns_91_vindriktning.ino
|
2021-08-26 10:16:28 +01:00
|
|
|
#endif
|
2021-09-15 12:26:39 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_SCD40)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00004000 | // xsns_92_scd40.ino
|
2021-09-15 12:26:39 +01:00
|
|
|
#endif
|
2021-10-08 12:59:11 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_HM330X)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00008000 | // xsns_93_hm330x.ino
|
2021-10-08 12:59:11 +01:00
|
|
|
#endif
|
2021-11-11 10:33:08 +00:00
|
|
|
#if defined(USE_I2C) && defined(USE_HDC2010)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00010000 | // xsns_94_hdc2010.ino
|
2021-11-11 10:33:08 +00:00
|
|
|
#endif
|
2021-11-30 15:03:57 +00:00
|
|
|
#if defined(USE_LIGHT) && defined(USE_LSC_MCSL)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00020000 | // xlgt_07_lsc_mcsl.ino
|
2021-11-30 15:03:57 +00:00
|
|
|
#endif
|
2021-12-01 10:21:56 +00:00
|
|
|
#ifdef USE_SONOFF_SPM
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00040000 | // xdrv_86_esp32_sonoff_spm.ino
|
2021-12-01 10:21:56 +00:00
|
|
|
#endif
|
2021-12-05 13:49:49 +00:00
|
|
|
#ifdef USE_SHIFT595
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00080000 | // xdrv_60_shift595.ino
|
2021-12-05 13:49:49 +00:00
|
|
|
#endif
|
2022-01-15 14:02:45 +00:00
|
|
|
#ifdef USE_SDM230
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00100000 | // xnrg_21_sdm230.ino
|
2022-01-15 14:02:45 +00:00
|
|
|
#endif
|
2022-01-26 12:03:21 +00:00
|
|
|
#ifdef USE_CM110x
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00200000 | // xsns_95_cm110x.ino
|
2022-02-16 14:41:37 +00:00
|
|
|
#endif
|
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_BL6523)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00400000 | // xnrg_22_bl6523.ino
|
2022-01-26 11:25:10 +00:00
|
|
|
#endif
|
2022-03-11 15:54:57 +00:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_I2C) && defined(USE_ADE7880)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00800000 | // xnrg_23_ade7880.ino
|
2022-03-12 16:38:49 +00:00
|
|
|
#endif
|
|
|
|
#if defined(USE_I2C) && defined(USE_PCF85363)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x01000000 | // xdrv_56_rtc_chips.ino
|
2022-03-11 15:54:57 +00:00
|
|
|
#endif
|
2022-03-17 15:03:40 +00:00
|
|
|
#if defined(USE_I2C) && defined(USE_DS3502)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x02000000 | // xdrv_61_ds3502.ino
|
2022-03-17 15:03:40 +00:00
|
|
|
#endif
|
2022-04-02 10:43:29 +01:00
|
|
|
#ifdef USE_IMPROV
|
2023-11-02 16:44:29 +00:00
|
|
|
0x04000000 | // xdrv_62_improv.ino
|
2022-04-02 10:43:29 +01:00
|
|
|
#endif
|
2022-04-27 15:49:16 +01:00
|
|
|
#ifdef USE_FLOWRATEMETER
|
2023-11-02 16:44:29 +00:00
|
|
|
0x08000000 | // xsns_96_flowratemeter.ino
|
2022-04-27 07:20:30 +01:00
|
|
|
#endif
|
2022-05-30 10:34:29 +01:00
|
|
|
#if defined(USE_LIGHT) && defined(USE_BP5758D)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x10000000 | // xlgt_08_bp5758d.ino
|
2022-05-30 10:34:29 +01:00
|
|
|
#endif
|
2022-05-31 13:56:09 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_HYT)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x20000000 | // xsns_97_hyt.ino
|
2022-05-31 13:56:09 +01:00
|
|
|
#endif
|
2022-06-21 06:32:56 +01:00
|
|
|
#if defined(USE_LIGHT) && defined(USE_SM2335)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x40000000 | // xlgt_09_sm2335.ino
|
2022-06-21 06:32:56 +01:00
|
|
|
#endif
|
2022-07-06 15:58:27 +01:00
|
|
|
#ifdef USE_DISPLAY_TM1621_SONOFF
|
2023-11-02 16:44:29 +00:00
|
|
|
0x80000000 | // xdrv_87_esp32_sonoff_tm1621.ino
|
2022-07-06 15:58:27 +01:00
|
|
|
#endif
|
2023-11-09 13:59:31 +00:00
|
|
|
0,
|
2022-08-25 20:51:51 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_SGP40)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000001 | // xsns_98_sgp40.ino
|
2022-08-25 20:51:51 +01:00
|
|
|
#endif
|
2022-09-02 12:13:47 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_LUXV30B)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000002 | // xsns_99_luxv30b.ino
|
2022-09-29 13:31:40 +01:00
|
|
|
#endif
|
|
|
|
#if defined(USE_SPI) && defined(USE_CANSNIFFER)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000004 | // xsns_87_can_sniffer.ino
|
2022-09-02 12:13:47 +01:00
|
|
|
#endif
|
2022-10-05 14:00:03 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_QMC5883L)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000008 | // xsns_33_qmc5882l.ino
|
2022-10-05 14:00:03 +01:00
|
|
|
#endif
|
2022-10-08 15:14:11 +01:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_MODBUS_ENERGY)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000010 | // xnrg_29_modbus.ino
|
2022-10-08 15:14:11 +01:00
|
|
|
#endif
|
2022-11-07 10:06:17 +00:00
|
|
|
#if defined(USE_SPI) && defined(USE_SHELLY_PRO)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000020 | // xdrv_88_esp32_shelly_pro.ino
|
2022-11-07 10:06:17 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_DALI
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000040 | // xdrv_89_esp32_dali.ino
|
2022-11-07 10:06:17 +00:00
|
|
|
#endif
|
|
|
|
#if defined(USE_LIGHT) && defined(USE_BP1658CJ)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000080 | // xlgt_10_bp1658cj.ino
|
2022-11-07 10:06:17 +00:00
|
|
|
#endif
|
2022-11-10 12:54:05 +00:00
|
|
|
#ifdef USE_DINGTIAN_RELAY
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000100 | // xdrv_90_dingtian_relay.ino
|
2022-11-10 12:54:05 +00:00
|
|
|
#endif
|
2022-11-15 10:11:32 +00:00
|
|
|
#if defined(USE_I2C) && defined(USE_HMC5883L)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000200 | // xsns_101_hmc5883l.ino
|
2022-11-15 10:11:32 +00:00
|
|
|
#endif
|
2022-11-26 16:49:25 +00:00
|
|
|
#ifdef USE_LD2410
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000400 | // xsns_102_ld2410.ino
|
2022-11-26 16:49:25 +00:00
|
|
|
#endif
|
2022-12-14 10:52:26 +00:00
|
|
|
#ifdef USE_ME007
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00000800 | // xsns_23_me007.ino
|
2022-12-14 10:52:26 +00:00
|
|
|
#endif
|
2022-12-31 08:19:53 +00:00
|
|
|
#if defined(USE_I2C) && defined(USE_DISPLAY) && defined(USE_DISPLAY_TM1650)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00001000 | // xdsp_20_tm1650.ino
|
2022-12-31 08:19:53 +00:00
|
|
|
#endif
|
2023-01-01 13:29:41 +00:00
|
|
|
#if defined(USE_I2C) && defined(USE_PCA9632)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00002000 | // xdrv_64_pca9632.ino
|
2023-01-01 13:29:41 +00:00
|
|
|
#endif
|
2023-01-08 16:35:45 +00:00
|
|
|
#ifdef USE_TUYAMCUBR
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00004000 | // xdrv_65_tuyamcubr.ino
|
2023-01-08 16:35:45 +00:00
|
|
|
#endif
|
2023-01-29 07:06:25 +00:00
|
|
|
#if defined(USE_I2C) && defined(USE_SEN5X)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00008000 | // xsns_103_sen5x.ino
|
2023-01-29 07:06:25 +00:00
|
|
|
#endif
|
2023-02-05 13:29:42 +00:00
|
|
|
#if defined(USE_ENERGY_SENSOR) && defined(USE_BIOPDU)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00010000 | // xnrg_24_biopdu.ino
|
2023-02-05 13:29:42 +00:00
|
|
|
#endif
|
2023-03-01 09:12:47 +00:00
|
|
|
#if (defined(USE_I2C) || defined(USE_SPI)) && defined(USE_MCP23XXX_DRV)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00020000 | // xdrv_67_mcp23xxx.ino
|
2023-03-01 09:12:47 +00:00
|
|
|
#endif
|
2023-03-20 08:52:22 +00:00
|
|
|
#if defined(USE_I2C) && defined(USE_PMSA003I)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00040000 | // xsns_104_pmsa003i.ino
|
2023-03-20 08:52:22 +00:00
|
|
|
#endif
|
2023-04-06 08:52:15 +01:00
|
|
|
#ifdef USE_LOX_O2
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00080000 | // xsns_105_lox_o2.ino
|
2023-04-06 08:52:15 +01:00
|
|
|
#endif
|
2023-04-14 14:29:00 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_GDK101)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00100000 | // xsns_106_gdk101.ino
|
2023-04-14 14:29:00 +01:00
|
|
|
#endif
|
2023-05-01 15:26:07 +01:00
|
|
|
#ifdef USE_GM861
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00200000 | // xsns_107_gm861.ino
|
2023-05-01 15:26:07 +01:00
|
|
|
#endif
|
|
|
|
#if defined(USE_I2C) && defined(USE_TC74)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00400000 | // xsns_108_tc74.ino
|
2023-05-01 15:26:07 +01:00
|
|
|
#endif
|
2023-05-14 14:08:09 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_PCA9557)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x00800000 | // xdrv_69_pca9557.ino
|
2023-05-14 14:08:09 +01:00
|
|
|
#endif
|
2023-06-29 08:04:08 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_SGP4X)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x01000000 | // xdrv_109_sgp4x.ino
|
2023-06-29 08:04:08 +01:00
|
|
|
#endif
|
2023-07-22 13:55:20 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_MAX17043)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x02000000 | // xsns_110_max17043
|
2023-07-22 13:55:20 +01:00
|
|
|
#endif
|
2023-09-24 17:30:15 +01:00
|
|
|
#if defined(USE_I2C) && defined(USE_ENS16x)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x04000000 | // xsns_111_ens16x.ino
|
2023-09-24 17:30:15 +01:00
|
|
|
#endif
|
|
|
|
#if defined(USE_I2C) && defined(USE_ENS210)
|
2023-11-02 16:44:29 +00:00
|
|
|
0x08000000 | // xsns_112_ens210.ino
|
2023-10-13 13:50:51 +01:00
|
|
|
#endif
|
|
|
|
#ifdef USE_HC8
|
2023-11-02 16:44:29 +00:00
|
|
|
0x10000000 | // xsns_113_hc8.ino
|
2023-09-24 17:30:15 +01:00
|
|
|
#endif
|
2023-11-09 14:32:43 +00:00
|
|
|
#ifdef USE_HDMI_CEC
|
2024-01-10 10:13:19 +00:00
|
|
|
0x20000000 | // xdrv_70_1_hdmi_cec.ino
|
2023-11-09 14:32:43 +00:00
|
|
|
#endif
|
|
|
|
#ifdef USE_BLE_ESP32
|
|
|
|
0x40000000 | // xdrv_79_esp32_ble.ino
|
|
|
|
#endif
|
|
|
|
#ifdef USE_MATTER_DEVICE
|
|
|
|
0x80000000 | // xdrv_52_9_berry.ino
|
|
|
|
#endif
|
2023-11-09 13:59:31 +00:00
|
|
|
0,
|
2024-01-10 10:13:19 +00:00
|
|
|
#ifdef USE_MAGIC_SWITCH
|
|
|
|
0x00000001 | // xdrv_71_magic_switch.ino
|
|
|
|
#endif
|
|
|
|
#ifdef USE_PIPSOLAR
|
|
|
|
0x00000002 | // xdrv_72_pipsolar.ino
|
|
|
|
#endif
|
|
|
|
#ifdef USE_GPIO_VIEWER
|
|
|
|
0x00000004 | // xdrv_121_gpioviewer.ino
|
|
|
|
#endif
|
2023-11-09 13:25:24 +00:00
|
|
|
// 0x00000008 | //
|
|
|
|
// 0x00000010 | //
|
|
|
|
// 0x00000020 | //
|
|
|
|
// 0x00000040 | //
|
|
|
|
// 0x00000080 | //
|
|
|
|
// 0x00000100 | //
|
|
|
|
// 0x00000200 | //
|
|
|
|
// 0x00000400 | //
|
|
|
|
// 0x00000800 | //
|
|
|
|
// 0x00001000 | //
|
|
|
|
// 0x00002000 | //
|
|
|
|
// 0x00004000 | //
|
|
|
|
// 0x00008000 | //
|
|
|
|
// 0x00010000 | //
|
|
|
|
// 0x00020000 | //
|
|
|
|
// 0x00040000 | //
|
|
|
|
// 0x00080000 | //
|
|
|
|
// 0x00100000 | //
|
|
|
|
// 0x00200000 | //
|
|
|
|
// 0x00400000 | //
|
|
|
|
// 0x00800000 | //
|
|
|
|
// 0x01000000 | //
|
|
|
|
// 0x02000000 | //
|
|
|
|
// 0x04000000 | //
|
|
|
|
// 0x08000000 | //
|
|
|
|
// 0x10000000 | //
|
|
|
|
// 0x20000000 | //
|
|
|
|
// 0x40000000 | //
|
|
|
|
// 0x80000000 | //
|
2023-11-09 13:59:31 +00:00
|
|
|
0 };
|
2022-05-29 14:49:57 +01:00
|
|
|
|
2020-10-28 10:37:59 +00:00
|
|
|
/*********************************************************************************************/
|
2020-08-17 15:25:24 +01:00
|
|
|
|
2023-11-02 16:44:29 +00:00
|
|
|
void ResponseAppendFeatures(void) {
|
2023-11-09 14:32:43 +00:00
|
|
|
ResponseAppend_P(PSTR(",\"" D_JSON_FEATURES "\":[\"%04X\""), LANGUAGE_LCID); // Locale ID
|
2023-11-09 13:59:31 +00:00
|
|
|
for (uint32_t i = 0; i < (sizeof(feature) / sizeof(uint32_t)); i++) {
|
2023-11-09 14:32:43 +00:00
|
|
|
ResponseAppend_P(PSTR(",\"%08X\""), feature[i]); // Tasmota feature list
|
2023-11-09 13:59:31 +00:00
|
|
|
}
|
|
|
|
ResponseAppend_P(PSTR("]"));
|
2020-10-28 10:37:59 +00:00
|
|
|
}
|