Can use cURL to request fronius production

This commit is contained in:
2024-10-18 21:18:00 +02:00
parent ec594c0e4d
commit 45029f24cc
3 changed files with 25 additions and 7 deletions

View File

@ -39,8 +39,12 @@ pub enum ConsumptionBackend {
/// Fronius inverter consumption
Fronius {
/// The origin of the domain where the webserver of the Fronius Symo can be reached
#[clap(short, long, env = "FRONIUS_ORIG")]
origin: String,
#[clap(short, long, env)]
fronius_orig: String,
/// Use cURL instead of reqwest to perform request
#[clap(short, long)]
curl: bool,
},
}