moving time to avoid duplicate parameter

#133
This commit is contained in:
1technophile committed 2017-10-20 21:03:52 +02:00
1 parent 9185bb51c3
commit 37dd233a96
2 files changed
+3 -3

No files matched your search

+3
View File
@@ -116,5 +116,8 @@ const byte subnet[] = { 255, 255, 255, 0 }; //ip adress
#define subjectMQTTtoX "home/commands/#"
#define subjectMultiGTWKey "toMQTT"
//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
/*-------------------ACTIVATE TRACES----------------------*/
#define TRACE 1 // 0= trace off 1 = trace on
-3
View File
@@ -50,9 +50,6 @@ RF supported protocols
//RF number of signal repetition
#define RF_EMITTER_REPEAT 20
//variables to avoid duplicates for RF
#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
/*-------------------RF2 topics & parameters----------------------*/
//433Mhz newremoteswitch MQTT Subjects and keys
#define subjectMQTTtoRF2 "home/commands/MQTTtoRF2"