From bfeaa63ea9f79d4c2f89850b57c6f9f4ff9befc7 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 12 Aug 2018 12:15:52 +0200 Subject: [PATCH] SSR MQTT: Changed timestamp attribute --- ssr/host/burrow-ssrd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.39.2