Update config file

This commit is contained in:
atef 2024-06-05 16:17:21 +02:00
parent c725ebc4bf
commit 69cfa2e7d7
1 changed files with 4 additions and 4 deletions

View File

@ -8,8 +8,8 @@ public static class Config
public const String Version = "1.0"; public const String Version = "1.0";
public const String BusName = "com.victronenergy.grid.Schnieder"; public const String BusName = "com.victronenergy.grid.Schnieder";
public const Byte ModbusNodeId = 1; public const Byte ModbusNodeId = 1;
public const String OwnAddress = "10.0.0.1"; public const String OwnAddress = "192.168.1.246";
public const String PeerAddress = "10.0.0.2"; public const String PeerAddress = "192.168.1.82";
//public const String PeerAddress = "127.0.0.1"; //public const String PeerAddress = "127.0.0.1";
public const UInt16 PeerPort = 502; public const UInt16 PeerPort = 502;
@ -33,7 +33,7 @@ public static class Config
new(s => s.ActivePowerL1, "/Ac/L1/Power", "0 W"), new(s => s.ActivePowerL1, "/Ac/L1/Power", "0 W"),
new(s => s.ActivePowerL2, "/Ac/L2/Power", "0 W"), new(s => s.ActivePowerL2, "/Ac/L2/Power", "0 W"),
new(s => s.ActivePowerL3, "/Ac/L3/Power", "0 W"), new(s => s.ActivePowerL3, "/Ac/L3/Power", "0 W"),
new(s => (s.ActivePowerL1 + s.ActivePowerL2 + s.ActivePowerL3), "/Ac/Power", "0 W"), //new(s => (s.ActivePowerL1 + s.ActivePowerL2 + s.ActivePowerL3), "/Ac/Power", "0 W"),
// new(s => s.EnergyImportL123, "Ac/Energy/Forward", "0.00 kWh"), // new(s => s.EnergyImportL123, "Ac/Energy/Forward", "0.00 kWh"),
// new(s => s.EnergyExportL123, "Ac/Energy/Reverse", "0.00 kWh"), // new(s => s.EnergyExportL123, "Ac/Energy/Reverse", "0.00 kWh"),
@ -51,7 +51,7 @@ public static class Config
public static VeProperties DefaultProperties => new VeProperties public static VeProperties DefaultProperties => new VeProperties
{ {
new("/ProductName" , "Grid meter" ), new("/ProductName" , "Grid meter" ),
new("/CustomName" , "Schneider Professional II"), new("/CustomName" , "Schneider Professional"),
new("/DeviceInstance" , 30), new("/DeviceInstance" , 30),
new("/DeviceType" , 72), new("/DeviceType" , 72),
new("/Mgmt/Connection" , "Modbus TCP"), new("/Mgmt/Connection" , "Modbus TCP"),