I am trying to simulate Fenecon Battery Home. I followed the page Implementing a device :: Open Energy Management System
In BatterySimulatedImpl.java, I changed the defineModbusProtocol() function:
In Config.java, I added Battery-Type attribute:
I got the following log output, and State: FAULT.
2023-11-03T16:49:42,236 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:80 %|L:910 W Grid:0 W Production:27 W Consumption:937 W] battery0[Battery Implementation|State:FAULT: Modbus Communication failed] ess0[SoC:80 %|L:910 kW|Allowed:-10000;10000 W] meter0[0 W] meter1[27 W] modbus0[CycleDelay:988 ms]
Could anyone suggest? If my implementation is wrong, where should I modify it?
Thank you in advance.