From: Martin Mares Date: Tue, 14 Aug 2018 09:27:06 +0000 (+0200) Subject: Bugfix X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=ac25739aaf0538289b3c72704247ff02e670d84e;p=home-hw.git Bugfix --- diff --git a/ssr/host/burrow-ssrd.c b/ssr/host/burrow-ssrd.c index 2a46b62..d999bc5 100644 --- a/ssr/host/burrow-ssrd.c +++ b/ssr/host/burrow-ssrd.c @@ -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); } }