thermferm/mqtt.c

changeset 541
a5530abb16dd
parent 540
5a26429abbf8
child 543
34e19966114b
--- a/thermferm/mqtt.c	Mon Jul 16 17:23:22 2018 +0200
+++ b/thermferm/mqtt.c	Mon Jul 16 21:56:24 2018 +0200
@@ -571,7 +571,7 @@
     if (Config.temp_address || Config.hum_address) {
 	if (comma)
 	    payload = xstrcat(payload, (char *)",");
-	payload = xstrcat(payload, (char *)"\"HT\":{");
+	payload = xstrcat(payload, (char *)"\"THB\":{");
 	if (Config.temp_address) {
 	    payload = xstrcat(payload, (char *)"\"temperature\":");
 	    sprintf(buf, "%.1f", Config.temp_value / 1000.0);

mercurial