From 333307d78204385492e578a07b8f7d4066f398e1 Mon Sep 17 00:00:00 2001
From: Eric Duminil <eric.duminil@gmail.com>
Date: Wed, 23 Feb 2022 21:32:08 +0100
Subject: [PATCH] MQTT less often

---
 ampel-firmware/config.public.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ampel-firmware/config.public.h b/ampel-firmware/config.public.h
index 5c1fa03..4d7c3b5 100644
--- a/ampel-firmware/config.public.h
+++ b/ampel-firmware/config.public.h
@@ -148,7 +148,7 @@
 // How often should measurements be sent to MQTT server?
 // Set to 0 if you want to send values after each measurement
 // #  define MQTT_SENDING_INTERVAL MEASUREMENT_TIMESTEP * 5 // [s]
-#  define MQTT_SENDING_INTERVAL 60 // [s]
+#  define MQTT_SENDING_INTERVAL 300 // [s]
 #  define MQTT_SERVER "test.mosquitto.org"  // MQTT server URL or IP address
 #  define MQTT_PORT 8883
 #  define MQTT_ENCRYPTED true // Set to false for unencrypted MQTT (e.g. with port 1883). If undefined, MQTT_ENCRYPTED will be set to true.
-- 
GitLab