Geräte mit Home Manager koppeln via SEMP (Ethernet)

Sunny Home Manager, SMA Data Manager, Sunny Portal, Sunny Places

Moderator: Mod-Team

 

5.00 (4 Bewertungen)

Re: Geräte mit Home Manager koppeln via SEMP (Ethernet)

Beitragvon camueller » 31.07.2018, 21:41

Maverick78 hat geschrieben:
camueller hat geschrieben:Aber eine Unterbrechung des Ladevorgangs (z.B. durch den SHM) muss sich von einem Ladeende wegen vollständig geladenem Akku unterscheiden lassen.


So ich hoffe das ist das was du suchst:

Code: Alles auswählen
AUS via Register

EN 0 - CR LOW - VR LOW - Status B

Ladung Stop / beendet vom Fahrzeug (Akku voll)

EN 1 - CR HI -> VR LOW - Status B

:danke: - genau das suche ich.


Wenn also ein Übergang von C/D nach B erfolgt und CR=LOW. dann wurde die Ladung unterbrochen.
Wenn also ein Übergang von C/D nach B erfolgt und CR=HIGH. dann ist der Akku vollständig geladen.


Sehe ich das so richtig?

Axel
Benutzeravatar
camueller
Fleißiges Mitglied
Fleißiges Mitglied
 
Beiträge: 494
Registriert: 07.11.2015, 08:57
Wohnort: Altenstadt (Hessen)
PV-Anlage [kWp]: 9,36
Info: Betreiber

Re: Geräte mit Home Manager koppeln via SEMP (Ethernet)

Beitragvon Maverick78 » 01.08.2018, 10:47

camueller hat geschrieben:Wenn also ein Übergang von C/D nach B erfolgt und CR=LOW. dann wurde die Ladung unterbrochen.
Wenn also ein Übergang von C/D nach B erfolgt und CR=HIGH. dann ist der Akku vollständig geladen.

1. Korrekt
2. Korrekt wenn EN=1, sobald ein EN=0 folgt tritt wieder 1 in Kraft. Du muss also nach Situation 1 auf ein Status=A warten.
2,55 kWp, SMA SB2.5, 25° SW, 30° Neigung, 10x ZNShine PV-tech ZXP6-60-255/P (09/2015)
9,54 kWp, SMA STP9000TL-20, 25° SW, 7° Neigung, 36 x Heckert Solar NeMo P265W (04/2016)
24,3 kWh Hoppecke PzS, SMA SI6.0H-11 (09/2016)
2x VW e-Golf 300
1x BWWP
Benutzeravatar
Maverick78
Fleißiges Mitglied
Fleißiges Mitglied
 
Beiträge: 441
Registriert: 16.11.2015, 11:23
Wohnort: Frankenhöhe
PV-Anlage [kWp]: 12,09
Speicher [kWh]: 24,3
Info: Betreiber

Re: Geräte mit Home Manager koppeln via SEMP (Ethernet)

Beitragvon camueller » 01.08.2018, 20:03

Auf Basis der Erkenntnisse zur Unterscheidung von "Ladeunterbrechung" und "Vollständig geladen" muss das Register 204 abgefragt werden. Damit ändert sich die Konfiguration wie folgt:

Code: Alles auswählen
        <ElectricVehicleCharger>
            <EVModbusControl idref="wallbox" slaveAddress="180">
                <ModbusRegisterRead address="100" type="InputString">
                    <ModbusRegisterReadValue name="VehicleConnected" extractionRegex="(B)" />
                    <ModbusRegisterReadValue name="Charging" extractionRegex="(C|D)" />
                </ModbusRegisterRead>
                <ModbusRegisterRead address="204" type="Discrete">
                    <ModbusRegisterReadValue name="ChargingCompleted" />
                </ModbusRegisterRead>
                <ModbusRegisterWrite address="400" type="Coil">
                    <ModbusRegisterWriteValue name="StartCharging" value="1" />
                    <ModbusRegisterWriteValue name="StopCharging" value="0" />
                </ModbusRegisterWrite>
                <ModbusRegisterWrite address="300" type="Holding">
                    <ModbusRegisterWriteValue name="ChargingCurrent" value="0" />
                </ModbusRegisterWrite>
            </EVModbusControl>
        </ElectricVehicleCharger>


In diesem Zusammenhang musste ich den SAE erweitern, damit er auch "Discrete Inputs" lesen kann.
Dementsprechend gibt es einen neuen Snapshot 1.3.9:

https://github.com/camueller/SmartAppli ... r?raw=true

Axel
Benutzeravatar
camueller
Fleißiges Mitglied
Fleißiges Mitglied
 
Beiträge: 494
Registriert: 07.11.2015, 08:57
Wohnort: Altenstadt (Hessen)
PV-Anlage [kWp]: 9,36
Info: Betreiber

Re: Geräte mit Home Manager koppeln via SEMP (Ethernet)

Beitragvon Maverick78 » 01.08.2018, 21:07

Nöp, er hat nach dem Starten der Ladung sofort wieder CHARGING COMPLETE gemeldet, weil das Auto gar nicht so schnell mit dem Laden anfangen kann nachdem EN=1 kam.

Code: Alles auswählen
2018-08-01 21:00:05,127 DEBUG [http-nio-8080-exec-6] d.a.s.s.w.SempController [SempController.java:188] F-17051981-000000000001-00: Received control request: on=true, recommendedPowerConsumption=4600W
2018-08-01 21:00:05,145 DEBUG [http-nio-8080-exec-6] d.a.s.a.Appliance [Appliance.java:316] F-17051981-000000000001-00: setting charge power to maximum: 4600W
2018-08-01 21:00:05,162 DEBUG [http-nio-8080-exec-6] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:192] F-17051981-000000000001-00: Set charge power: 4600W corresponds to 20A
2018-08-01 21:00:05,172 DEBUG [http-nio-8080-exec-6] d.a.s.c.e.EVModbusControl [EVModbusControl.java:147] F-17051981-000000000001-00: Set charge current 20A
2018-08-01 21:00:05,201 DEBUG [http-nio-8080-exec-6] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 21:00:05,329 DEBUG [http-nio-8080-exec-6] d.a.s.m.e.ReadInputRegisterExecutor [WriteHoldingRegisterExecutor.java:63] F-17051981-000000000001-00: Write holding register=300 value=20 confirmedValue=20
2018-08-01 21:00:05,338 INFO [http-nio-8080-exec-6] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:140] F-17051981-000000000001-00: Switching on
2018-08-01 21:00:05,345 DEBUG [http-nio-8080-exec-6] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:197] F-17051981-000000000001-00: Start charging process
2018-08-01 21:00:05,353 DEBUG [http-nio-8080-exec-6] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 21:00:05,578 DEBUG [http-nio-8080-exec-6] d.a.s.m.e.WriteCoilExecutor [WriteCoilExecutor.java:64] F-17051981-000000000001-00: Write coil register=400 coil=true confirmedValue=true
2018-08-01 21:00:05,587 DEBUG [http-nio-8080-exec-6] d.a.s.a.Appliance [Appliance.java:661] F-17051981-000000000001-00: Control state has changed to on
2018-08-01 21:00:05,595 DEBUG [http-nio-8080-exec-6] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:135] F-17051981-000000000001-00: Set running=true statusChangedAt=2018-08-01T21:00:05.127
2018-08-01 21:00:05,606 DEBUG [http-nio-8080-exec-6] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-01 21:00:05,695 DEBUG [http-nio-8080-exec-6] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=362 value=[17451, 39846]
2018-08-01 21:00:05,703 DEBUG [http-nio-8080-exec-6] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:175] F-17051981-000000000001-00: Float value=686.432
2018-08-01 21:00:05,712 DEBUG [http-nio-8080-exec-6] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:205] F-17051981-000000000001-00: activeTimeframeInterval=2018-08-01T07:45:00.000+02:00/2018-08-02T07:15:00.000+02:00(07:45:00.000-07:15:00.000)
2018-08-01 21:00:05,798 DEBUG [http-nio-8080-exec-6] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:206] F-17051981-000000000001-00: runningTime=0 remainingMinRunningTime=null remainingMaxRunningTime=null
2018-08-01 21:00:05,806 DEBUG [http-nio-8080-exec-6] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:209] F-17051981-000000000001-00: running=true interrupted=false statusChangedAt=2018-08-01T21:00:05.127
2018-08-01 21:00:05,814 DEBUG [http-nio-8080-exec-6] d.a.s.a.Appliance [Appliance.java:336] F-17051981-000000000001-00: Setting appliance state to ON
2018-08-01 21:00:06,989 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:205] F-17051981-000000000001-00: activeTimeframeInterval=2018-08-01T07:45:00.000+02:00/2018-08-02T07:15:00.000+02:00(07:45:00.000-07:15:00.000)
2018-08-01 21:00:06,997 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:206] F-17051981-000000000001-00: runningTime=1 remainingMinRunningTime=null remainingMaxRunningTime=null
2018-08-01 21:00:07,002 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:209] F-17051981-000000000001-00: running=true interrupted=false statusChangedAt=2018-08-01T21:00:05.127
2018-08-01 21:00:09,627 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-01 21:00:09,709 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[16514, 45978]
2018-08-01 21:00:09,716 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=4.084424
2018-08-01 21:00:09,721 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/1/6
2018-08-01 21:00:09,933 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 21:00:10,019 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[67]
2018-08-01 21:00:10,025 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=C
2018-08-01 21:00:10,030 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:159] F-17051981-000000000001-00: Vehicle state changed: previousState=VEHICLE_CONNECTED newState=CHARGING
2018-08-01 21:00:19,628 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-01 21:00:19,711 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[17796, 8278]
2018-08-01 21:00:19,717 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=4228.042
2018-08-01 21:00:19,722 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/1/6
2018-08-01 21:00:19,961 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 21:00:20,037 DEBUG [Timer-0] d.a.s.m.e.ReadCoilExecutor [ReadDiscreteInputExecutor.java:50] F-17051981-000000000001-00: Read discrete register=204 discrete=true
2018-08-01 21:00:20,045 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:159] F-17051981-000000000001-00: Vehicle state changed: previousState=CHARGING newState=CHARGING_COMPLETED
2018-08-01 21:00:29,628 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-01 21:00:29,710 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[17795, 58081]
2018-08-01 21:00:29,716 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=4220.36
2018-08-01 21:00:29,721 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/1/6
2018-08-01 21:00:29,933 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 21:00:30,019 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[67]
2018-08-01 21:00:30,026 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=C
2018-08-01 21:00:30,031 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:159] F-17051981-000000000001-00: Vehicle state changed: previousState=CHARGING_COMPLETED newState=VEHICLE_NOT_CONNECTED
2018-08-01 21:00:30,047 DEBUG [Timer-0] d.a.s.a.Appliance [Appliance.java:411] F-17051981-000000000001-00: Deactivating schedules
2018-08-01 21:00:30,052 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:202] F-17051981-000000000001-00: Stop charging process
2018-08-01 21:00:30,061 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 21:00:30,269 DEBUG [Timer-0] d.a.s.m.e.WriteCoilExecutor [WriteCoilExecutor.java:64] F-17051981-000000000001-00: Write coil register=400 coil=false confirmedValue=false
2018-08-01 21:00:36,988 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:205] F-17051981-000000000001-00: activeTimeframeInterval=null
2018-08-01 21:00:36,994 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:206] F-17051981-000000000001-00: runningTime=31 remainingMinRunningTime=null remainingMaxRunningTime=null
2018-08-01 21:00:36,999 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:209] F-17051981-000000000001-00: running=true interrupted=false statusChangedAt=2018-08-01T21:00:05.127
2018-08-01 21:00:39,628 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-01 21:00:39,709 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[16389, 32941]
2018-08-01 21:00:39,715 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=2.0859787
2018-08-01 21:00:39,720 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/0/7
2018-08-01 21:00:39,934 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 21:00:40,037 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[66]
2018-08-01 21:00:40,043 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=B
2018-08-01 21:00:40,049 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:159] F-17051981-000000000001-00: Vehicle state changed: previousState=VEHICLE_NOT_CONNECTED newState=VEHICLE_CONNECTED
2018-08-01 21:00:40,054 DEBUG [Timer-0] d.a.s.a.Appliance [Appliance.java:403] F-17051981-000000000001-00: Activating schedules
2018-08-01 21:00:40,059 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:90] F-17051981-000000000001-00: No schedules to set
2018-08-01 21:00:49,627 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-01 21:00:49,709 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[0, 0]
2018-08-01 21:00:49,727 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=0.0
2018-08-01 21:00:49,732 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/1/7
2018-08-01 21:00:49,935 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 21:00:50,038 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[66]
2018-08-01 21:00:50,044 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=B
2018-08-01 21:00:50,049 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 21:00:50,263 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[66]
2018-08-01 21:00:50,270 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=B
2018-08-01 21:00:50,275 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:94] F-17051981-000000000001-00: Vehicle state=VEHICLE_CONNECTED
(...)
2,55 kWp, SMA SB2.5, 25° SW, 30° Neigung, 10x ZNShine PV-tech ZXP6-60-255/P (09/2015)
9,54 kWp, SMA STP9000TL-20, 25° SW, 7° Neigung, 36 x Heckert Solar NeMo P265W (04/2016)
24,3 kWh Hoppecke PzS, SMA SI6.0H-11 (09/2016)
2x VW e-Golf 300
1x BWWP
Benutzeravatar
Maverick78
Fleißiges Mitglied
Fleißiges Mitglied
 
Beiträge: 441
Registriert: 16.11.2015, 11:23
Wohnort: Frankenhöhe
PV-Anlage [kWp]: 12,09
Speicher [kWh]: 24,3
Info: Betreiber

Re: Geräte mit Home Manager koppeln via SEMP (Ethernet)

Beitragvon camueller » 01.08.2018, 22:02

Maverick78 hat geschrieben:Nöp, er hat nach dem Starten der Ladung sofort wieder CHARGING COMPLETE gemeldet, weil das Auto gar nicht so schnell mit dem Laden anfangen kann nachdem EN=1 kam.


Ich habe die Status-Übergänge jetzt so geändert, dass die Prüfung von Register 204 nur im Status B erfolgt. Damit sollte die bei Dir aufgetretene Sitution nicht mehr auftreten können.

Es gibt einen neuen Snapshot 1.3.10:
https://github.com/camueller/SmartAppli ... r?raw=true

Axel
Benutzeravatar
camueller
Fleißiges Mitglied
Fleißiges Mitglied
 
Beiträge: 494
Registriert: 07.11.2015, 08:57
Wohnort: Altenstadt (Hessen)
PV-Anlage [kWp]: 9,36
Info: Betreiber

Re: Geräte mit Home Manager koppeln via SEMP (Ethernet)

Beitragvon Maverick78 » 01.08.2018, 22:38

passiert genau das gleiche, er macht schon das CHarging complete bevor der Controller auf Status C geht

Code: Alles auswählen
018-08-01 22:35:55,988 DEBUG [http-nio-8080-exec-9] d.a.s.a.Appliance [Appliance.java:527] F-17051981-000000000001-00: energy metered: 0.0 kWh
2018-08-01 22:35:56,006 DEBUG [http-nio-8080-exec-9] d.a.s.a.Appliance [Appliance.java:466] F-17051981-000000000001-00: requesting optional energy for electric vehicle: 0s--1s:0Wh-40000Wh
2018-08-01 22:35:56,013 DEBUG [http-nio-8080-exec-9] d.a.s.s.w.SempController [SempController.java:316] F-17051981-000000000001-00: Timeframe created: 0s--1s:0W/40000W
2018-08-01 22:35:56,032 DEBUG [http-nio-8080-exec-9] d.a.s.s.w.SempController [SempController.java:269] F-17051981-000000000001-00: Timeframe added to PlanningRequest: 0s--1s:0W/40000W
2018-08-01 22:35:56,039 DEBUG [http-nio-8080-exec-9] d.a.s.s.w.SempController [SempController.java:316] F-17051981-000000000001-00: Timeframe created: 0s-31145s:716W/716W
2018-08-01 22:35:56,056 DEBUG [http-nio-8080-exec-9] d.a.s.s.w.SempController [SempController.java:269] F-17051981-000000000001-00: Timeframe added to PlanningRequest: 0s-31145s:716W/716W
2018-08-01 22:35:56,071 DEBUG [http-nio-8080-exec-9] d.a.s.s.w.SempController [SempController.java:316] F-17051981-000000000001-00: Timeframe created: 32945s-117545s:716W/716W
2018-08-01 22:35:56,078 DEBUG [http-nio-8080-exec-9] d.a.s.s.w.SempController [SempController.java:269] F-17051981-000000000001-00: Timeframe added to PlanningRequest: 32945s-117545s:716W/716W
2018-08-01 22:35:56,096 DEBUG [http-nio-8080-exec-9] d.a.s.s.w.SempController [SempController.java:316] F-17051981-000000000001-00: Timeframe created: 119345s-203945s:716W/716W
2018-08-01 22:35:56,112 DEBUG [http-nio-8080-exec-9] d.a.s.s.w.SempController [SempController.java:269] F-17051981-000000000001-00: Timeframe added to PlanningRequest: 119345s-203945s:716W/716W
2018-08-01 22:35:56,944 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:205] F-17051981-000000000001-00: activeTimeframeInterval=2018-08-01T07:45:00.000+02:00/2018-08-02T07:15:00.000+02:00(07:45:00.000-07:15:00.000)
2018-08-01 22:35:56,956 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:206] F-17051981-000000000001-00: runningTime=0 remainingMinRunningTime=null remainingMaxRunningTime=null
2018-08-01 22:35:56,961 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:209] F-17051981-000000000001-00: running=false interrupted=false statusChangedAt=null
2018-08-01 22:36:00,554 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-01 22:36:00,641 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[0, 0]
2018-08-01 22:36:00,653 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=0.0
2018-08-01 22:36:00,659 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/1/6
2018-08-01 22:36:00,735 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 22:36:00,955 DEBUG [Timer-0] d.a.s.m.e.ReadCoilExecutor [ReadDiscreteInputExecutor.java:50] F-17051981-000000000001-00: Read discrete register=204 discrete=false
2018-08-01 22:36:00,961 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 22:36:00,995 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[66]
2018-08-01 22:36:01,001 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=B
2018-08-01 22:36:01,006 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 22:36:01,214 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[66]
2018-08-01 22:36:01,221 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=B
2018-08-01 22:36:01,227 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:94] F-17051981-000000000001-00: Vehicle state=VEHICLE_CONNECTED
2018-08-01 22:36:07,228 DEBUG [http-nio-8080-exec-1] d.a.s.s.w.SempController [SempController.java:188] F-17051981-000000000001-00: Received control request: on=true, recommendedPowerConsumption=4600W
2018-08-01 22:36:07,237 DEBUG [http-nio-8080-exec-1] d.a.s.a.Appliance [Appliance.java:316] F-17051981-000000000001-00: setting charge power to maximum: 4600W
2018-08-01 22:36:07,245 DEBUG [http-nio-8080-exec-1] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:190] F-17051981-000000000001-00: Set charge power: 4600W corresponds to 20A
2018-08-01 22:36:07,253 DEBUG [http-nio-8080-exec-1] d.a.s.c.e.EVModbusControl [EVModbusControl.java:147] F-17051981-000000000001-00: Set charge current 20A
2018-08-01 22:36:07,270 DEBUG [http-nio-8080-exec-1] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 22:36:07,499 DEBUG [http-nio-8080-exec-1] d.a.s.m.e.ReadInputRegisterExecutor [WriteHoldingRegisterExecutor.java:63] F-17051981-000000000001-00: Write holding register=300 value=20 confirmedValue=20
2018-08-01 22:36:07,509 INFO [http-nio-8080-exec-1] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:138] F-17051981-000000000001-00: Switching on
2018-08-01 22:36:07,516 DEBUG [http-nio-8080-exec-1] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:195] F-17051981-000000000001-00: Start charging process
2018-08-01 22:36:07,524 DEBUG [http-nio-8080-exec-1] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 22:36:07,734 DEBUG [http-nio-8080-exec-1] d.a.s.m.e.WriteCoilExecutor [WriteCoilExecutor.java:64] F-17051981-000000000001-00: Write coil register=400 coil=true confirmedValue=true
2018-08-01 22:36:07,744 DEBUG [http-nio-8080-exec-1] d.a.s.a.Appliance [Appliance.java:661] F-17051981-000000000001-00: Control state has changed to on
2018-08-01 22:36:07,751 DEBUG [http-nio-8080-exec-1] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:135] F-17051981-000000000001-00: Set running=true statusChangedAt=2018-08-01T22:36:07.227
2018-08-01 22:36:07,762 DEBUG [http-nio-8080-exec-1] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-01 22:36:08,231 DEBUG [http-nio-8080-exec-1] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=362 value=[17451, 40534]
2018-08-01 22:36:08,292 DEBUG [http-nio-8080-exec-1] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:175] F-17051981-000000000001-00: Float value=686.474
2018-08-01 22:36:08,313 DEBUG [http-nio-8080-exec-1] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:205] F-17051981-000000000001-00: activeTimeframeInterval=2018-08-01T07:45:00.000+02:00/2018-08-02T07:15:00.000+02:00(07:45:00.000-07:15:00.000)
2018-08-01 22:36:08,436 DEBUG [http-nio-8080-exec-1] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:206] F-17051981-000000000001-00: runningTime=0 remainingMinRunningTime=null remainingMaxRunningTime=null
2018-08-01 22:36:08,444 DEBUG [http-nio-8080-exec-1] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:209] F-17051981-000000000001-00: running=true interrupted=false statusChangedAt=2018-08-01T22:36:07.227
2018-08-01 22:36:08,452 DEBUG [http-nio-8080-exec-1] d.a.s.a.Appliance [Appliance.java:336] F-17051981-000000000001-00: Setting appliance state to ON
2018-08-01 22:36:09,963 DEBUG [http-nio-8080-exec-4] d.a.s.a.Appliance [Appliance.java:481] F-17051981-000000000001-00: Active schedules: 1
2018-08-01 22:36:10,009 DEBUG [http-nio-8080-exec-4] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-01 22:36:10,101 DEBUG [http-nio-8080-exec-4] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=362 value=[17451, 40534]
2018-08-01 22:36:10,117 DEBUG [http-nio-8080-exec-4] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:175] F-17051981-000000000001-00: Float value=686.474
2018-08-01 22:36:10,125 DEBUG [http-nio-8080-exec-4] d.a.s.m.PollEnergyMeter [PollEnergyMeter.java:62] F-17051981-000000000001-00: energy=0.0kWh started=true totalEnergyCounter=null startEnergyCounter=686.474 stopEnergyCounter=686.474
2018-08-01 22:36:10,136 DEBUG [http-nio-8080-exec-4] d.a.s.a.Appliance [Appliance.java:653] F-17051981-000000000001-00: Energy request created: 0s-31130s:716Wh-716Wh
2018-08-01 22:36:10,144 DEBUG [http-nio-8080-exec-4] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-01 22:36:10,277 DEBUG [http-nio-8080-exec-4] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=362 value=[17451, 40534]
2018-08-01 22:36:10,286 DEBUG [http-nio-8080-exec-4] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:175] F-17051981-000000000001-00: Float value=686.474
2018-08-01 22:36:10,293 DEBUG [http-nio-8080-exec-4] d.a.s.m.PollEnergyMeter [PollEnergyMeter.java:62] F-17051981-000000000001-00: energy=0.0kWh started=true totalEnergyCounter=null startEnergyCounter=686.474 stopEnergyCounter=686.474
2018-08-01 22:36:10,315 DEBUG [http-nio-8080-exec-4] d.a.s.a.Appliance [Appliance.java:653] F-17051981-000000000001-00: Energy request created: 32930s-117530s:716Wh-716Wh
2018-08-01 22:36:10,333 DEBUG [http-nio-8080-exec-4] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-01 22:36:10,469 DEBUG [http-nio-8080-exec-4] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=362 value=[17451, 40534]
2018-08-01 22:36:10,478 DEBUG [http-nio-8080-exec-4] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:175] F-17051981-000000000001-00: Float value=686.474
2018-08-01 22:36:10,486 DEBUG [http-nio-8080-exec-4] d.a.s.m.PollEnergyMeter [PollEnergyMeter.java:62] F-17051981-000000000001-00: energy=0.0kWh started=true totalEnergyCounter=null startEnergyCounter=686.474 stopEnergyCounter=686.474
2018-08-01 22:36:10,501 DEBUG [http-nio-8080-exec-4] d.a.s.a.Appliance [Appliance.java:653] F-17051981-000000000001-00: Energy request created: 119330s-203930s:716Wh-716Wh
2018-08-01 22:36:10,508 DEBUG [http-nio-8080-exec-4] d.a.s.s.w.SempController [SempController.java:316] F-17051981-000000000001-00: Timeframe created: 0s-31130s:716W/716W
2018-08-01 22:36:10,515 DEBUG [http-nio-8080-exec-4] d.a.s.s.w.SempController [SempController.java:269] F-17051981-000000000001-00: Timeframe added to PlanningRequest: 0s-31130s:716W/716W
2018-08-01 22:36:10,522 DEBUG [http-nio-8080-exec-4] d.a.s.s.w.SempController [SempController.java:316] F-17051981-000000000001-00: Timeframe created: 32930s-117530s:716W/716W
2018-08-01 22:36:10,529 DEBUG [http-nio-8080-exec-4] d.a.s.s.w.SempController [SempController.java:269] F-17051981-000000000001-00: Timeframe added to PlanningRequest: 32930s-117530s:716W/716W
2018-08-01 22:36:10,539 DEBUG [http-nio-8080-exec-4] d.a.s.s.w.SempController [SempController.java:316] F-17051981-000000000001-00: Timeframe created: 119330s-203930s:716W/716W
2018-08-01 22:36:10,546 DEBUG [http-nio-8080-exec-4] d.a.s.s.w.SempController [SempController.java:269] F-17051981-000000000001-00: Timeframe added to PlanningRequest: 119330s-203930s:716W/716W
2018-08-01 22:36:10,554 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-01 22:36:10,715 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[16477, 35476]
2018-08-01 22:36:10,752 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=3.4615831
2018-08-01 22:36:10,762 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/1/6
2018-08-01 22:36:10,767 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 22:36:10,885 DEBUG [Timer-0] d.a.s.m.e.ReadCoilExecutor [ReadDiscreteInputExecutor.java:50] F-17051981-000000000001-00: Read discrete register=204 discrete=true
2018-08-01 22:36:10,913 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:157] F-17051981-000000000001-00: Vehicle state changed: previousState=VEHICLE_CONNECTED newState=CHARGING_COMPLETED
2018-08-01 22:36:20,555 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-01 22:36:20,635 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[17798, 33947]
2018-08-01 22:36:20,642 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=4304.5757
2018-08-01 22:36:20,647 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/0/7
2018-08-01 22:36:20,768 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 22:36:20,885 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[67]
2018-08-01 22:36:20,891 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=C
2018-08-01 22:36:20,897 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:157] F-17051981-000000000001-00: Vehicle state changed: previousState=CHARGING_COMPLETED newState=VEHICLE_NOT_CONNECTED
2018-08-01 22:36:20,902 DEBUG [Timer-0] d.a.s.a.Appliance [Appliance.java:411] F-17051981-000000000001-00: Deactivating schedules
2018-08-01 22:36:20,907 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:200] F-17051981-000000000001-00: Stop charging process
2018-08-01 22:36:20,912 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 22:36:21,134 DEBUG [Timer-0] d.a.s.m.e.WriteCoilExecutor [WriteCoilExecutor.java:64] F-17051981-000000000001-00: Write coil register=400 coil=false confirmedValue=false
2018-08-01 22:36:26,917 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:205] F-17051981-000000000001-00: activeTimeframeInterval=null
2018-08-01 22:36:26,923 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:206] F-17051981-000000000001-00: runningTime=19 remainingMinRunningTime=null remainingMaxRunningTime=null
2018-08-01 22:36:26,928 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:209] F-17051981-000000000001-00: running=true interrupted=false statusChangedAt=2018-08-01T22:36:07.227
2018-08-01 22:36:30,556 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-01 22:36:30,636 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[0, 0]
2018-08-01 22:36:30,643 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=0.0
2018-08-01 22:36:30,648 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/1/7
2018-08-01 22:36:30,767 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-01 22:36:30,874 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[66]
2018-08-01 22:36:30,880 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=B
2018-08-01 22:36:30,886 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:157] F-17051981-000000000001-00: Vehicle state changed: previousState=VEHICLE_NOT_CONNECTED newState=VEHICLE_CONNECTED
2018-08-01 22:36:30,891 DEBUG [Timer-0] d.a.s.a.Appliance [Appliance.java:403] F-17051981-000000000001-00: Activating schedules
2018-08-01 22:36:30,896 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:90] F-17051981-000000000001-00: No schedules to set
2,55 kWp, SMA SB2.5, 25° SW, 30° Neigung, 10x ZNShine PV-tech ZXP6-60-255/P (09/2015)
9,54 kWp, SMA STP9000TL-20, 25° SW, 7° Neigung, 36 x Heckert Solar NeMo P265W (04/2016)
24,3 kWh Hoppecke PzS, SMA SI6.0H-11 (09/2016)
2x VW e-Golf 300
1x BWWP
Benutzeravatar
Maverick78
Fleißiges Mitglied
Fleißiges Mitglied
 
Beiträge: 441
Registriert: 16.11.2015, 11:23
Wohnort: Frankenhöhe
PV-Anlage [kWp]: 12,09
Speicher [kWh]: 24,3
Info: Betreiber

Re: Geräte mit Home Manager koppeln via SEMP (Ethernet)

Beitragvon camueller » 04.08.2018, 08:17

Maverick78 hat geschrieben:passiert genau das gleiche, er macht schon das CHarging complete bevor der Controller auf Status C geht

Bisher habe ich immer nur den aktuellen Status betrachtet und geprüft, welcher neue Status erreicht ist. Jetzt wird dabei auch die Historie der vergangen Statusse berücksichtigt, d.h. es kann keinen CHARGING_COMPLETED geben, wenn wir nie im Status CHARGING waren.
Es ist mir wichtig, dass diese Logik so implementiert ist, dass sie auch mit anderen Ladecontrollern als dem PhoenixContact klarkommt. Das macht die Sache aber jetzt am Anfang komplizierter, vor allem, wenn man selbst keine Auto zum testen hat.
In den automatischen Tests (Unit-Tests) teste ich jetzt auch komplette Ladeabläufe (ohne Unterbrechung, mit Unterbrechung, mit Abbruch, mehrere Ladezyklen), sodass die Tests näher an der Realität sind.

Jedenfalls gibt es pünktlilch zum Wochenende den neuen Snapshot 1.3.11:
https://github.com/camueller/SmartAppli ... r?raw=true

Axel
Benutzeravatar
camueller
Fleißiges Mitglied
Fleißiges Mitglied
 
Beiträge: 494
Registriert: 07.11.2015, 08:57
Wohnort: Altenstadt (Hessen)
PV-Anlage [kWp]: 9,36
Info: Betreiber

Re: Geräte mit Home Manager koppeln via SEMP (Ethernet)

Beitragvon Maverick78 » 04.08.2018, 17:42

Hmm passiert irgendwie genau das selbe.

Code: Alles auswählen
2018-08-04 17:33:28,509 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=B
2018-08-04 17:33:28,515 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:177] F-17051981-000000000001-00: Vehicle state changed: previousState=VEHICLE_NOT_CONNECTED newState=VEHICLE_CONNECTED
2018-08-04 17:33:28,521 DEBUG [Timer-0] d.a.s.a.Appliance [Appliance.java:403] F-17051981-000000000001-00: Activating schedules
2018-08-04 17:33:28,526 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:90] F-17051981-000000000001-00: No schedules to set
2018-08-04 17:33:37,907 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-04 17:33:37,988 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[0, 0]
2018-08-04 17:33:37,995 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=0.0
2018-08-04 17:33:38,000 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/1/6
2018-08-04 17:33:38,295 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-04 17:33:38,503 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[66]
2018-08-04 17:33:38,509 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=B
2018-08-04 17:33:38,515 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-04 17:33:38,536 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[66]
2018-08-04 17:33:38,542 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=B
2018-08-04 17:33:38,547 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:98] F-17051981-000000000001-00: Vehicle state=VEHICLE_CONNECTED
2018-08-04 17:33:44,984 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:205] F-17051981-000000000001-00: activeTimeframeInterval=null
2018-08-04 17:33:44,988 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:206] F-17051981-000000000001-00: runningTime=null remainingMinRunningTime=null remainingMaxRunningTime=null
2018-08-04 17:33:44,994 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:209] F-17051981-000000000001-00: running=false interrupted=false statusChangedAt=null
2018-08-04 17:33:47,908 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-04 17:33:47,990 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[0, 0]
2018-08-04 17:33:47,996 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=0.0
2018-08-04 17:33:48,001 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/1/6
2018-08-04 17:33:48,295 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-04 17:33:48,503 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[66]
2018-08-04 17:33:48,509 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=B
2018-08-04 17:33:48,526 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-04 17:33:48,733 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[66]
2018-08-04 17:33:48,740 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=B
2018-08-04 17:33:48,745 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:98] F-17051981-000000000001-00: Vehicle state=VEHICLE_CONNECTED
2018-08-04 17:33:56,236 DEBUG [http-nio-8080-exec-9] d.a.s.s.w.SempController [SempController.java:210] F-17051981-000000000001-00: Reporting device status from control
2018-08-04 17:33:56,254 DEBUG [http-nio-8080-exec-9] d.a.s.s.w.SempController [SempController.java:228] F-17051981-000000000001-00: DeviceStatus{eMSignalsAccepted=true, status=Off, errorCode=null}
2018-08-04 17:33:56,271 DEBUG [http-nio-8080-exec-9] d.a.s.s.w.SempController [SempController.java:232] F-17051981-000000000001-00: Reporting power info from meter.
2018-08-04 17:33:56,277 DEBUG [http-nio-8080-exec-9] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:66] F-17051981-000000000001-00: average power = 0W
2018-08-04 17:33:56,291 DEBUG [http-nio-8080-exec-9] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:73] F-17051981-000000000001-00: min power = 0W
2018-08-04 17:33:56,301 DEBUG [http-nio-8080-exec-9] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:80] F-17051981-000000000001-00: max power = 0W
2018-08-04 17:33:56,311 DEBUG [http-nio-8080-exec-9] d.a.s.s.w.SempController [SempController.java:250] F-17051981-000000000001-00: PowerInfo{averagePower=0, minPower=0, maxPower=0, timestamp=0, averagingInterval=60}
2018-08-04 17:33:56,326 DEBUG [http-nio-8080-exec-9] d.a.s.a.Appliance [Appliance.java:520] F-17051981-000000000001-00: No timeframes found
2018-08-04 17:33:56,340 DEBUG [http-nio-8080-exec-9] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-04 17:33:56,429 DEBUG [http-nio-8080-exec-9] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=362 value=[17451, 41779]
2018-08-04 17:33:56,438 DEBUG [http-nio-8080-exec-9] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:175] F-17051981-000000000001-00: Float value=686.55
2018-08-04 17:33:56,446 DEBUG [http-nio-8080-exec-9] d.a.s.m.PollEnergyMeter [PollEnergyMeter.java:62] F-17051981-000000000001-00: energy=0.0kWh started=false totalEnergyCounter=null startEnergyCounter=null stopEnergyCounter=686.55
2018-08-04 17:33:56,454 DEBUG [http-nio-8080-exec-9] d.a.s.a.Appliance [Appliance.java:527] F-17051981-000000000001-00: energy metered: 0.0 kWh
2018-08-04 17:33:56,466 DEBUG [http-nio-8080-exec-9] d.a.s.a.Appliance [Appliance.java:466] F-17051981-000000000001-00: requesting optional energy for electric vehicle: 0s-172800s:0Wh-40000Wh
2018-08-04 17:33:56,477 DEBUG [http-nio-8080-exec-9] d.a.s.s.w.SempController [SempController.java:316] F-17051981-000000000001-00: Timeframe created: 0s-172800s:0W/40000W
018-08-04 17:33:56,486 DEBUG [http-nio-8080-exec-9] d.a.s.s.w.SempController [SempController.java:269] F-17051981-000000000001-00: Timeframe added to PlanningRequest: 0s-172800s:0W/40000W
2018-08-04 17:33:57,908 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-04 17:33:57,989 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[0, 0]
2018-08-04 17:33:57,996 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=0.0
2018-08-04 17:33:58,001 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/1/6
2018-08-04 17:33:58,295 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-04 17:33:58,512 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[66]
2018-08-04 17:33:58,518 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=B
2018-08-04 17:33:58,524 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-04 17:33:58,542 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[66]
2018-08-04 17:33:58,556 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=B
2018-08-04 17:33:58,560 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:98] F-17051981-000000000001-00: Vehicle state=VEHICLE_CONNECTED
2018-08-04 17:34:05,369 DEBUG [http-nio-8080-exec-1] d.a.s.s.w.SempController [SempController.java:188] F-17051981-000000000001-00: Received control request: on=true, recommendedPowerConsumption=4278W
2018-08-04 17:34:05,379 DEBUG [http-nio-8080-exec-1] d.a.s.a.Appliance [Appliance.java:320] F-17051981-000000000001-00: setting charge power to recommendation: 4278W
2018-08-04 17:34:05,387 DEBUG [http-nio-8080-exec-1] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:215] F-17051981-000000000001-00: Set charge power: 4278W corresponds to 18A
2018-08-04 17:34:05,394 DEBUG [http-nio-8080-exec-1] d.a.s.c.e.EVModbusControl [EVModbusControl.java:147] F-17051981-000000000001-00: Set charge current 18A
2018-08-04 17:34:05,411 DEBUG [http-nio-8080-exec-1] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-04 17:34:05,540 DEBUG [http-nio-8080-exec-1] d.a.s.m.e.ReadInputRegisterExecutor [WriteHoldingRegisterExecutor.java:63] F-17051981-000000000001-00: Write holding register=300 value=18 confirmedValue=18
2018-08-04 17:34:05,549 INFO [http-nio-8080-exec-1] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:158] F-17051981-000000000001-00: Switching on
2018-08-04 17:34:05,557 DEBUG [http-nio-8080-exec-1] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:220] F-17051981-000000000001-00: Start charging process
2018-08-04 17:34:05,564 DEBUG [http-nio-8080-exec-1] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-04 17:34:05,782 DEBUG [http-nio-8080-exec-1] d.a.s.m.e.WriteCoilExecutor [WriteCoilExecutor.java:64] F-17051981-000000000001-00: Write coil register=400 coil=true confirmedValue=true
2018-08-04 17:34:05,792 DEBUG [http-nio-8080-exec-1] d.a.s.a.Appliance [Appliance.java:661] F-17051981-000000000001-00: Control state has changed to on
2018-08-04 17:34:05,799 DEBUG [http-nio-8080-exec-1] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:135] F-17051981-000000000001-00: Set running=true statusChangedAt=2018-08-04T17:34:05.369
2018-08-04 17:34:06,150 DEBUG [http-nio-8080-exec-1] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-04 17:34:06,242 DEBUG [http-nio-8080-exec-1] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=362 value=[17451, 41779]
2018-08-04 17:34:06,262 DEBUG [http-nio-8080-exec-1] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:175] F-17051981-000000000001-00: Float value=686.55
2018-08-04 17:34:06,276 DEBUG [http-nio-8080-exec-1] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:205] F-17051981-000000000001-00: activeTimeframeInterval=null
2018-08-04 17:34:06,283 DEBUG [http-nio-8080-exec-1] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:206] F-17051981-000000000001-00: runningTime=null remainingMinRunningTime=null remainingMaxRunningTime=null
018-08-04 17:34:06,290 DEBUG [http-nio-8080-exec-1] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:209] F-17051981-000000000001-00: running=true interrupted=false statusChangedAt=2018-08-04T17:34:05.369
2018-08-04 17:34:06,298 DEBUG [http-nio-8080-exec-1] d.a.s.a.Appliance [Appliance.java:336] F-17051981-000000000001-00: Setting appliance state to ON
2018-08-04 17:34:07,908 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-04 17:34:07,988 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[16781, 34873]
2018-08-04 17:34:07,995 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=17.691515
2018-08-04 17:34:08,000 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/0/7
2018-08-04 17:34:08,296 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-04 17:34:08,415 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[67]
2018-08-04 17:34:08,421 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=C
2018-08-04 17:34:08,426 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:177] F-17051981-000000000001-00: Vehicle state changed: previousState=VEHICLE_CONNECTED newState=CHARGING
2018-08-04 17:34:14,984 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:205] F-17051981-000000000001-00: activeTimeframeInterval=null
2018-08-04 17:34:15,001 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:206] F-17051981-000000000001-00: runningTime=null remainingMinRunningTime=null remainingMaxRunningTime=null
2018-08-04 17:34:15,005 DEBUG [Timer-0] d.a.s.a.RunningTimeMonitor [RunningTimeMonitor.java:209] F-17051981-000000000001-00: running=true interrupted=false statusChangedAt=2018-08-04T17:34:05.369
2018-08-04 17:34:17,907 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-04 17:34:17,989 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[17775, 61740]
2018-08-04 17:34:17,997 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=3839.0732
2018-08-04 17:34:18,002 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/1/7
2018-08-04 17:34:18,308 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-04 17:34:18,434 DEBUG [Timer-0] d.a.s.m.e.ReadCoilExecutor [ReadDiscreteInputExecutor.java:50] F-17051981-000000000001-00: Read discrete register=204 discrete=true
2018-08-04 17:34:18,441 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:177] F-17051981-000000000001-00: Vehicle state changed: previousState=CHARGING newState=CHARGING_COMPLETED
2018-08-04 17:34:27,907 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-04 17:34:27,989 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[17775, 19631]
2018-08-04 17:34:27,995 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=3828.7927
2018-08-04 17:34:28,000 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/2/6
2018-08-04 17:34:28,296 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-04 17:34:28,416 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[67]
2018-08-04 17:34:28,423 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=C
2018-08-04 17:34:28,427 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:177] F-17051981-000000000001-00: Vehicle state changed: previousState=CHARGING_COMPLETED newState=VEHICLE_NOT_CONNECTED
2018-08-04 17:34:28,433 DEBUG [Timer-0] d.a.s.a.Appliance [Appliance.java:411] F-17051981-000000000001-00: Deactivating schedules
2018-08-04 17:34:28,438 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:225] F-17051981-000000000001-00: Stop charging process
2018-08-04 17:34:28,443 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-04 17:34:28,662 DEBUG [Timer-0] d.a.s.m.e.WriteCoilExecutor [WriteCoilExecutor.java:64] F-17051981-000000000001-00: Write coil register=400 coil=false confirmedValue=false
2018-08-04 17:34:37,907 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus modbus@127.0.0.1:502
2018-08-04 17:34:37,989 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=16 value=[0, 0]
2018-08-04 17:34:37,995 DEBUG [Timer-0] d.a.s.m.ModbusElectricityMeter [ModbusElectricityMeter.java:132] F-17051981-000000000001-00: Float value=0.0
2018-08-04 17:34:38,000 DEBUG [Timer-0] d.a.s.m.PollPowerMeter [PollPowerMeter.java:65] F-17051981-000000000001-00: timestamps added/removed/total: 1/0/7
2018-08-04 17:34:38,296 DEBUG [Timer-0] d.a.s.m.ModbusSlave [ModbusSlave.java:74] F-17051981-000000000001-00: Connecting to modbus wallbox@192.168.42.51:502
2018-08-04 17:34:38,404 DEBUG [Timer-0] d.a.s.m.e.ReadInputRegisterExecutor [ReadInputRegisterExecutor.java:56] F-17051981-000000000001-00: Input register=100 value=[66]
2018-08-04 17:34:38,410 DEBUG [Timer-0] d.a.s.c.e.EVModbusControl [EVModbusControl.java:117] F-17051981-000000000001-00: Register value=B
2018-08-04 17:34:38,416 DEBUG [Timer-0] d.a.s.c.e.ElectricVehicleCharger [ElectricVehicleCharger.java:177] F-17051981-000000000001-00: Vehicle state changed: previousState=VEHICLE_NOT_CONNECTED newState=VEHICLE_CONNECTED
(...)


Und dann geht das im loop
2,55 kWp, SMA SB2.5, 25° SW, 30° Neigung, 10x ZNShine PV-tech ZXP6-60-255/P (09/2015)
9,54 kWp, SMA STP9000TL-20, 25° SW, 7° Neigung, 36 x Heckert Solar NeMo P265W (04/2016)
24,3 kWh Hoppecke PzS, SMA SI6.0H-11 (09/2016)
2x VW e-Golf 300
1x BWWP
Benutzeravatar
Maverick78
Fleißiges Mitglied
Fleißiges Mitglied
 
Beiträge: 441
Registriert: 16.11.2015, 11:23
Wohnort: Frankenhöhe
PV-Anlage [kWp]: 12,09
Speicher [kWh]: 24,3
Info: Betreiber

Re: Geräte mit Home Manager koppeln via SEMP (Ethernet)

Beitragvon camueller » 04.08.2018, 20:05

Maverick78 hat geschrieben:Hmm passiert irgendwie genau das selbe.

Simmt - wir hatten ja eigentlich gesagt, dass CHARGING_COMPLETED aus der Überprüfung von CR UND Status=B besteht. Letzteres wurde nicht geprüft - deshalb das von Dir beobachte Verhalten. Die im letzten Post erwähnten Tests arbeiten eine Ebene über der Modbus-Ansteuerung, deshalb ist der Fehler nicht aufgefallen. Ich werde wohl eine Register-Simulation bauen für die Tests, damit so etwas künftig auch auffällt. Ich habe einiges umbauen müssen, damit für einen Registernamen (ChargingCompleted) mehrere Register (CR UND Status=B) ausgewertet werden. Dementsprechend musst Du die Konfiguration anpassen zu:
Code: Alles auswählen
        <ElectricVehicleCharger>
            <EVModbusControl idref="wallbox" slaveAddress="180">
                <ModbusRegisterRead address="100" type="InputString">
                    <ModbusRegisterReadValue name="VehicleConnected" extractionRegex="(B)" />
                    <ModbusRegisterReadValue name="Charging" extractionRegex="(C|D)" />
                    <ModbusRegisterReadValue name="ChargingCompleted" extractionRegex="(B)" />
                </ModbusRegisterRead>
                <ModbusRegisterRead address="204" type="Discrete">
                    <ModbusRegisterReadValue name="ChargingCompleted" />
                </ModbusRegisterRead>
                <ModbusRegisterWrite address="400" type="Coil">
                    <ModbusRegisterWriteValue name="StartCharging" value="1" />
                    <ModbusRegisterWriteValue name="StopCharging" value="0" />
                </ModbusRegisterWrite>
                <ModbusRegisterWrite address="300" type="Holding">
                    <ModbusRegisterWriteValue name="ChargingCurrent" value="0" />
                </ModbusRegisterWrite>
            </EVModbusControl>
        </ElectricVehicleCharger>

Die einzige Änderung gegenüber Deiner aktuellen Konfiguration sollte sein, dass ChargingCompleted jetzt auch für Register 100 angegeben ist.
Außerdem brauchst Du den neuen Snapshot 1.3.12:
https://github.com/camueller/SmartAppli ... r?raw=true

Sorry, dass das so zäh läuft :( :(

Axel
Benutzeravatar
camueller
Fleißiges Mitglied
Fleißiges Mitglied
 
Beiträge: 494
Registriert: 07.11.2015, 08:57
Wohnort: Altenstadt (Hessen)
PV-Anlage [kWp]: 9,36
Info: Betreiber

Re: Geräte mit Home Manager koppeln via SEMP (Ethernet)

Beitragvon camueller » 05.08.2018, 09:07

camueller hat geschrieben:Ich werde wohl eine Register-Simulation bauen für die Tests, damit so etwas künftig auch auffällt.

Es gibt jetzt auch Unit-Tests für die Modbus-Ebene. Diese bestätigen, dass sich der Snapshot 1.3.12 verhält wie erwartet.

Axel
Benutzeravatar
camueller
Fleißiges Mitglied
Fleißiges Mitglied
 
Beiträge: 494
Registriert: 07.11.2015, 08:57
Wohnort: Altenstadt (Hessen)
PV-Anlage [kWp]: 9,36
Info: Betreiber

VorherigeNächste

Zurück zu SMA - Anlagenüberwachung



Ähnliche Beiträge


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast