Update Config file and Inverter state
This commit is contained in:
parent
486abbdf56
commit
12b0c94d78
|
@ -51,17 +51,9 @@ public class Config //TODO: let IE choose from config files (Json) and connect t
|
||||||
AmptIp = new() { Host = "localhost", Port = 5005},
|
AmptIp = new() { Host = "localhost", Port = 5005},
|
||||||
RelaysIp = new() { Host = "localhost", Port = 5006},
|
RelaysIp = new() { Host = "localhost", Port = 5006},
|
||||||
BatteryIp = new() { Host = "localhost", Port = 5007},
|
BatteryIp = new() { Host = "localhost", Port = 5007},
|
||||||
BatteryNodes = new []{ 2, 3, 4, 5, 6 },
|
BatteryNodes = new []{ 2, 3, 4, 5, 6 }
|
||||||
},
|
},
|
||||||
S3 = new()
|
S3 = null
|
||||||
{
|
|
||||||
Bucket = "saliomameiringen",
|
|
||||||
Region = "sos-ch-dk-2",
|
|
||||||
Provider = "exo.io",
|
|
||||||
ContentType = "text/plain; charset=utf-8",
|
|
||||||
Key = "EXO2bf0cbd97fbfa75aa36ed46f",
|
|
||||||
Secret = "Bn1CDPqOG-XpDSbYjfIJxojcHTm391vZTc8z8l_fEPs"
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
public static Config Default => new()
|
public static Config Default => new()
|
||||||
|
|
|
@ -9,5 +9,6 @@ public enum InverterState : UInt16
|
||||||
AcSyncToGrid = 4,
|
AcSyncToGrid = 4,
|
||||||
AcCloseContactor = 5,
|
AcCloseContactor = 5,
|
||||||
AcConnected = 6,
|
AcConnected = 6,
|
||||||
|
AcOpenContactor = 7,
|
||||||
Alarm = 99
|
Alarm = 99
|
||||||
}
|
}
|
Loading…
Reference in New Issue