From 61a17db456ebef6a4ef5691851bddf2d3eb85060 Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Sun, 14 Apr 2019 15:01:46 +0200 Subject: [PATCH] correct wrong json object name --- ZgatewayRF315.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZgatewayRF315.ino b/ZgatewayRF315.ino index 6636681..329836b 100644 --- a/ZgatewayRF315.ino +++ b/ZgatewayRF315.ino @@ -145,7 +145,7 @@ boolean RF315toMQTT(){ mySwitch315.setProtocol(valuePRT,valuePLSL); mySwitch315.send(data, valueBITS); trc(F("MQTTtoRF315 OK")); - pub(subjectGTWRF315toMQTT, RFdata);// we acknowledge the sending by publishing the value to an acknowledgement topic, for the moment even if it is a signal repetition we acknowledge also + pub(subjectGTWRF315toMQTT, RF315data);// we acknowledge the sending by publishing the value to an acknowledgement topic, for the moment even if it is a signal repetition we acknowledge also }else{ trc(F("MQTTtoRF315 Fail json")); }