From 2c6526fcdb0cb61ea0bac2d45a62188136b3311c Mon Sep 17 00:00:00 2001 From: Chris van Marle Date: Sat, 30 Jan 2021 21:53:45 +0100 Subject: [PATCH] Publish state to same channel as received signals (#855) Received signals are published to the subjectRF2toMQTT topic (/RF2toMQTT). However, echos of mqtt messages are published to the topic subjectGTWRF2toMQTT (/433toMQTT). That seems quite inconsistent. --- main/config_RF.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/config_RF.h b/main/config_RF.h index 07558c1..0b07eae 100644 --- a/main/config_RF.h +++ b/main/config_RF.h @@ -66,7 +66,7 @@ extern void MQTTtoPilight(char* topicOri, JsonObject& RFdata); //433Mhz newremoteswitch MQTT Subjects and keys #define subjectMQTTtoRF2 "/commands/MQTTtoRF2" #define subjectRF2toMQTT "/RF2toMQTT" -#define subjectGTWRF2toMQTT "/433toMQTT" +#define subjectGTWRF2toMQTT "/RF2toMQTT" #define RF2codeKey "ADDRESS_" // code will be defined if a subject contains RF2codeKey followed by a value of 7 digits #define RF2periodKey "PERIOD_" // period will be defined if a subject contains RF2periodKey followed by a value of 3 digits #define RF2unitKey "UNIT_" // number of your unit value will be defined if a subject contains RF2unitKey followed by a value of 1-2 digits