diff --git a/User_config.h b/User_config.h index bddfc17..5c8a7d6 100644 --- a/User_config.h +++ b/User_config.h @@ -152,6 +152,7 @@ const byte subnet[] = { 255, 255, 255, 0 }; //ip adress // global MQTT subject listened by the gateway to execute commands (send RF, IR or others) #define subjectMQTTtoX Base_Topic Gateway_Name "/commands/#" #define subjectMultiGTWKey "toMQTT" +#define subjectGTWSendKey "MQTTto" //variables to avoid duplicates #define time_avoid_duplicate 3000 // if you want to avoid duplicate mqtt message received set this to > 0, the value is the time in milliseconds during which we don't publish duplicates diff --git a/tests/Test_config.h b/tests/Test_config.h index 329d59b..9850bf1 100644 --- a/tests/Test_config.h +++ b/tests/Test_config.h @@ -203,6 +203,7 @@ const byte subnet[] = { 255, 255, 255, 0 }; //ip adress // global MQTT subject listened by the gateway to execute commands (send RF, IR or others) #define subjectMQTTtoX Base_Topic Gateway_Name "/commands/#" #define subjectMultiGTWKey "toMQTT" +#define subjectGTWSendKey "MQTTto" #define valueAsASubject true