From: Martin Mares Date: Sun, 12 Aug 2018 10:15:52 +0000 (+0200) Subject: SSR MQTT: Changed timestamp attribute X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=bfeaa63ea9f79d4c2f89850b57c6f9f4ff9befc7;p=home-hw.git SSR MQTT: Changed timestamp attribute --- diff --git a/ssr/host/burrow-ssrd.c b/ssr/host/burrow-ssrd.c index 8f3ec0e..da650ad 100644 --- a/ssr/host/burrow-ssrd.c +++ b/ssr/host/burrow-ssrd.c @@ -238,6 +238,6 @@ int main(int argc UNUSED, char **argv) msg(L_DEBUG, "Measured raw temperature %d", t); mqtt_publish("burrow/loft/temperature", "%.3f", t / 1000.); - mqtt_publish("burrow/loft/timestamp", "%llu", (unsigned long long) now); + mqtt_publish("burrow/loft/temperature_timestamp", "%llu", (unsigned long long) now); } }