diff --git a/sonoff/sonoff_post.h b/sonoff/sonoff_post.h index 86b2c810d..9e62c4b53 100644 --- a/sonoff/sonoff_post.h +++ b/sonoff/sonoff_post.h @@ -107,7 +107,9 @@ void KNX_CB_Action(message_t const &msg, void *arg); #define USE_MP3_PLAYER // Use of the DFPlayer Mini MP3 Player RB-DFR-562 commands: play, volume and stop #define MP3_VOLUME 10 // Set the startup volume on init, the range can be 0..30(max) #define USE_TUYA_DIMMER // Add support for Tuya Serial Dimmer +#ifndef TUYA_DIMMER_ID #define TUYA_DIMMER_ID 0 // Default dimmer Id +#endif #define USE_PZEM004T // Add support for PZEM004T Energy monitor (+2k code) #define USE_PZEM_AC // Add support for PZEM014,016 Energy monitor (+1k1 code) #define USE_PZEM_DC // Add support for PZEM003,017 Energy monitor (+1k1 code)