]> mj.ucw.cz Git - home-hw.git/commitdiff
Bugfix
authorMartin Mares <mj@ucw.cz>
Tue, 14 Aug 2018 09:27:06 +0000 (11:27 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 14 Aug 2018 09:27:06 +0000 (11:27 +0200)
ssr/host/burrow-ssrd.c

index 2a46b624edc9635a1098dd34f65c87f0ea8cb001..d999bc55d903828d739bc324747e34c5d49b89f8 100644 (file)
@@ -238,6 +238,6 @@ int main(int argc UNUSED, char **argv)
                int t = get_u32_be(resp+4);
                msg(L_DEBUG, "Measured raw temperature %d", t);
 
-               mqtt_publish("burrow/loft/temperature", "%.3f %llu", t / 1000., (unsigned long long) now);
+               mqtt_publish("burrow/temp/loft", "%.3f %llu", t / 1000., (unsigned long long) now);
        }
 }