Reduce poll interval for Hoymiles to 5 minutes
This commit is contained in:
parent
536b1564b9
commit
01416ee136
|
@ -18,7 +18,7 @@ use crate::Status;
|
||||||
const BASE_URL: &str = "https://global.hoymiles.com/platform/api/gateway";
|
const BASE_URL: &str = "https://global.hoymiles.com/platform/api/gateway";
|
||||||
|
|
||||||
/// The interval between data polls (in seconds).
|
/// The interval between data polls (in seconds).
|
||||||
const POLL_INTERVAL: u64 = 900;
|
const POLL_INTERVAL: u64 = 300;
|
||||||
|
|
||||||
/// The configuration necessary to access the Hoymiles.
|
/// The configuration necessary to access the Hoymiles.
|
||||||
#[derive(Debug, Deserialize)]
|
#[derive(Debug, Deserialize)]
|
||||||
|
|
Loading…
Reference in New Issue