From 01416ee1367bfcf3b315e3cef625c6513d3ca017 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Sat, 14 Jan 2023 13:03:26 +0100 Subject: [PATCH] Reduce poll interval for Hoymiles to 5 minutes --- src/services/hoymiles.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/hoymiles.rs b/src/services/hoymiles.rs index be8258b..74adc31 100644 --- a/src/services/hoymiles.rs +++ b/src/services/hoymiles.rs @@ -18,7 +18,7 @@ use crate::Status; const BASE_URL: &str = "https://global.hoymiles.com/platform/api/gateway"; /// The interval between data polls (in seconds). -const POLL_INTERVAL: u64 = 900; +const POLL_INTERVAL: u64 = 300; /// The configuration necessary to access the Hoymiles. #[derive(Debug, Deserialize)]