From 2fb60ef0370936facadecaf581a5c87abc75c2e5 Mon Sep 17 00:00:00 2001 From: Lazar Obradovic Date: Wed, 11 Apr 2018 00:40:54 +0200 Subject: [PATCH] new parms. --- code/espurna/config/general.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/espurna/config/general.h b/code/espurna/config/general.h index 1a7b9b26..57f78115 100644 --- a/code/espurna/config/general.h +++ b/code/espurna/config/general.h @@ -902,10 +902,16 @@ PROGMEM const char* const custom_reset_string[] = { #define LIGHT_MAX_VALUE 255 // Maximum light value #endif +#ifndef LIGHT_MAX_BRIGHTNESS #define LIGHT_MAX_BRIGHTNESS 255 // Maximun brightness value +#endif //#define LIGHT_MIN_MIREDS 153 // NOT USED (yet)! // Default to the Philips Hue value that HA has always assumed //#define LIGHT_MAX_MIREDS 500 // NOT USED (yet)! // https://developers.meethue.com/documentation/core-concepts +#ifndef LIGHT_DEFAULT_MIREDS #define LIGHT_DEFAULT_MIREDS 153 // Default value used by MQTT. This value is __NEVRER__ applied! +#endif + +#ifndef LIGHT_STEP #define LIGHT_STEP 32 // Step size #endif