diff --git a/BUILDS.md b/BUILDS.md index 44b82d93a..4b3681d80 100644 --- a/BUILDS.md +++ b/BUILDS.md @@ -216,6 +216,7 @@ Note: `minimal` variant is not listed as it shouldn't be used outside of the [up | USE_HRE | - | - / x | - | x | - | - | | USE_A4988_STEPPER | - | - / - | - | - | - | - | | USE_NEOPOOL | - | - / - | - | - | - | - | +| USE_FLOWMETER | - | - / - | - | - | - | - | | | | | | | | | | Feature or Sensor | l | t | k | s | i | d | Remarks | USE_DISPLAY | - | - / - | - | - | - | x | diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index 6a197c5d5..3fdeca42c 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -948,6 +948,8 @@ //#define USE_NEOPOOL // Add support for Sugar Valley NeoPool Controller - also known under brands Hidrolife, Aquascenic, Oxilife, Bionet, Hidroniser, UVScenic, Station, Brilix, Bayrol and Hay (+6k flash, +60 mem) // #define NEOPOOL_MODBUS_ADDRESS 1 // Any modbus address +//#define FLOWMETER // Add support for water flow meter YF-DN50 and similary (+1k5 code) + // -- Thermostat control ---------------------------- //#define USE_THERMOSTAT // Add support for Thermostat #define THERMOSTAT_CONTROLLER_OUTPUTS 1 // Number of outputs to be controlled independently diff --git a/tasmota/support_features.ino b/tasmota/support_features.ino index c2e6535c7..b1ac73281 100644 --- a/tasmota/support_features.ino +++ b/tasmota/support_features.ino @@ -806,7 +806,9 @@ void ResponseAppendFeatures(void) #ifdef USE_IMPROV feature8 |= 0x04000000; // xdrv_62_improv.ino #endif -// feature8 |= 0x08000000; +#ifdef USE_FLOWMETER + feature8 |= 0x08000000; // nsns_96_flowmeter.ino +#endif // feature8 |= 0x10000000; // feature8 |= 0x20000000;