Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reservation is still active after connector has been set to inoperative #1398

Open
3 of 4 tasks
lategoodbye opened this issue Feb 28, 2024 · 0 comments
Open
3 of 4 tasks
Labels

Comments

@lategoodbye
Copy link
Contributor

lategoodbye commented Feb 28, 2024

Checklist

  • I checked other issues already, but found no answer/solution
  • I checked the documentation and wiki, but found no answer/solution
  • I am running the latest version and the issue still occurs
  • I am sure that this issue is about SteVe (and not about the charging station software or something unrelated to SteVe)

Specifications

SteVe Version     : 3.5.0
Operating system  : Debian 11
JDK               : OpenJDK 17.0.4
Database          : Maria DB 10.5

I checked to changelog of 3.6.0 and couldn't find a relevant fix.

Expected Behavior

According to OCPP 1.6

A reservation SHALL be terminated on the Charge Point when either (1) a transaction is started for the reserved
idTag or parent idTag and on the reserved connector or any connector when the reserved connectorId is 0, or (2)
when the time specified in expiryDate is reached, or (3) when the Charge Point or connector are set to Faulted or
Unavailable.

In case we set a connector with an active reservation to Inoperative, our expectation is that on the reservation page this reservation is marked as inactive or canceled.

Actual Behavior

After setting the connector with an active reservation to Inoperative, the reservation is still displayed as active.

Steps to Reproduce the Problem

  1. Reserve connector 1 with an id tag in the near future of a dual charging station (uses EVerest 2024.01)
  2. Wait that reservation has been accepted
  3. Change Availability of connector 1 to Inoperative
  4. Change Availability of connector 2 to Operative
  5. Check the reservations page of Steve

Additional context

[INFO ] 2024-02-28 06:29:47,833 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Sending: [2,"7d7651e9-61d4-4fca-80f5-8480ddebbd32","ReserveNow",{"connectorId":1,"expiryDate":"2024-02-29T07:29:00.000Z","idTag":"DEADBEEF","reservationId":23}]
[INFO ] 2024-02-28 06:29:48,235 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Received: [3,"7d7651e9-61d4-4fca-80f5-8480ddebbd32",{"status":"Accepted"}]
[INFO ] 2024-02-28 06:29:48,279 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Received: [2,"6436b127-7989-40c5-a591-f12996b936f7","StatusNotification",{"connectorId":1,"errorCode":"NoError","status":"Reserved","timestamp":"2024-02-28T06:29:50.482Z"}]
[INFO ] 2024-02-28 06:29:48,282 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Sending: [3,"6436b127-7989-40c5-a591-f12996b936f7",{}]
[INFO ] 2024-02-28 06:29:57,759 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Received: [2,"084548f8-f3c4-436e-864a-39ebd09a9ad4","MeterValues",{"connectorId":1,"meterValue":[{"sampledValue":[{"context":"Sample.Clock","format":"Raw","location":"Outlet","measurand":"Energy.Active.Import.Register","unit":"Wh","value":"971.18"}],"timestamp":"2024-02-28T06:29:56.582Z"}]}]
[INFO ] 2024-02-28 06:29:57,765 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Sending: [3,"084548f8-f3c4-436e-864a-39ebd09a9ad4",{}]
[INFO ] 2024-02-28 06:29:57,831 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Received: [2,"5f0636c9-e367-416d-b156-d1b14eeaf168","MeterValues",{"connectorId":2,"meterValue":[{"sampledValue":[{"context":"Sample.Clock","format":"Raw","location":"Outlet","measurand":"Energy.Active.Import.Register","unit":"Wh","value":"1790.00"},{"context":"Sample.Clock","format":"Raw","location":"Outlet","measurand":"Energy.Active.Import.Register","phase":"L1","unit":"Wh","value":"1790.00"},{"context":"Sample.Clock","format":"Raw","location":"Outlet","measurand":"Energy.Active.Import.Register","phase":"L2","unit":"Wh","value":"0.00"},{"context":"Sample.Clock","format":"Raw","location":"Outlet","measurand":"Energy.Active.Import.Register","phase":"L3","unit":"Wh","value":"0.00"}],"timestamp":"2024-02-28T06:29:52.771Z"}]}]
[INFO ] 2024-02-28 06:29:57,836 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Sending: [3,"5f0636c9-e367-416d-b156-d1b14eeaf168",{}]
[INFO ] 2024-02-28 06:30:22,747 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Sending: [2,"dad00ff3-8bc4-404c-8bad-69ecd0d0a131","ChangeAvailability",{"connectorId":1,"type":"Inoperative"}]
[INFO ] 2024-02-28 06:30:23,045 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Received: [3,"dad00ff3-8bc4-404c-8bad-69ecd0d0a131",{"status":"Accepted"}]
[INFO ] 2024-02-28 06:30:23,046 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Received: [2,"d8db423a-3446-4bf4-a3c0-3942d77c0b2d","StatusNotification",{"connectorId":1,"errorCode":"NoError","status":"Unavailable","timestamp":"2024-02-28T06:30:25.248Z"}]
[INFO ] 2024-02-28 06:30:23,052 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Sending: [3,"d8db423a-3446-4bf4-a3c0-3942d77c0b2d",{}]
[INFO ] 2024-02-28 06:30:23,063 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Received: [2,"3010c17e-0044-4885-ac96-b88bfdb4fb77","StatusNotification",{"connectorId":1,"errorCode":"NoError","status":"Available","timestamp":"2024-02-28T06:30:25.337Z"}]
[INFO ] 2024-02-28 06:30:23,067 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Sending: [3,"3010c17e-0044-4885-ac96-b88bfdb4fb77",{}]
[INFO ] 2024-02-28 06:30:23,078 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Received: [2,"ae35fadb-f827-4107-a075-ecd8395609b9","StatusNotification",{"connectorId":1,"errorCode":"NoError","status":"Unavailable","timestamp":"2024-02-28T06:30:25.355Z"}]
[INFO ] 2024-02-28 06:30:23,082 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Sending: [3,"ae35fadb-f827-4107-a075-ecd8395609b9",{}]
[INFO ] 2024-02-28 06:30:39,122 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Sending: [2,"83e04c71-b358-49b6-897b-d5b9ba4db094","ChangeAvailability",{"connectorId":1,"type":"Operative"}]
[INFO ] 2024-02-28 06:30:39,430 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Received: [3,"83e04c71-b358-49b6-897b-d5b9ba4db094",{"status":"Accepted"}]
[INFO ] 2024-02-28 06:30:39,431 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Received: [2,"40357948-1394-477b-96f2-3e2a44f9d8af","StatusNotification",{"connectorId":1,"errorCode":"NoError","status":"Available","timestamp":"2024-02-28T06:30:41.637Z"}]
[INFO ] 2024-02-28 06:30:39,436 de.rwth.idsg.steve.ocpp.ws.WebSocketLogger - [chargeBoxId=lesbos_left, sessionId=e6f0c07b-46a0-1529-5688-f32f51727f02] Sending: [3,"40357948-1394-477b-96f2-3e2a44f9d8af",{}]

Screenshot 2024-02-28 at 07-31-45 SteVe - Steckdosenverwaltung

@goekay goekay added the bug label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants