Skip to content

Conversation

@fnkbsi
Copy link
Contributor

@fnkbsi fnkbsi commented Nov 6, 2023

Adding a Webapi for RemoteStart, RemoteStop and Connector Status. The RestApi behaves similarly to the website. RemoteStart and RemoteStop respond with the task ID that can be used to check the result of TransactionStart/TransactionStop.

Tester and others added 29 commits October 20, 2023 10:49
…geBoxId, Integer connectorId) and getOcppTagOfTransaction(Integer transaction_pk);
…tor for RemoteStart, RemoteStop and UnlockConnector
…ere is already a active transaction, methode postUnlockCon checks no that there is no active transaction, removed the ocpp tag check; Added comments
@juherr juherr mentioned this pull request Nov 6, 2023
37 tasks
@fnkbsi
Copy link
Contributor Author

fnkbsi commented Dec 3, 2024

@agent87: thanks for the find. Please checkout the new commit 47b5784

@agent87
Copy link

agent87 commented Dec 5, 2024

@agent87: thanks for the find. Please checkout the new commit 47b5784

Thank you !

@agent87
Copy link

agent87 commented Dec 6, 2024

@agent87: thanks for the find. Please checkout the new commit 47b5784

Thank you !

@agent87: thanks for the find. Please checkout the new commit 47b5784

Another bug on the task, I am unable to retrieve a specific task id
image

Please check and let me know

@fnkbsi
Copy link
Contributor Author

fnkbsi commented Dec 6, 2024

@agent87 let me know when you find more!

@agent87
Copy link

agent87 commented Dec 9, 2024

@agent87 let me know when you find more!
Another request, is it would be awesome to have meter readdings while accessing the transacion, i.e total kwh, power etc, is it something that can be added?

Great work by the way!

@fnkbsi
Copy link
Contributor Author

fnkbsi commented Dec 20, 2024

@agent87 let me know when you find more!
Another request, is it would be awesome to have meter readdings while accessing the transacion, i.e total kwh, power etc, is it something that can be added?

Great work by the way!

You mean something like at /transactions/details/{transactionPk}? (Prototype see https://github.com/fnkbsi/steve/tree/ApiTransactionDetails)

@agent87
Copy link

agent87 commented Dec 24, 2024

Okay I will check it out.
Also, I noticed you merged the master head commit, does it mean that this remoteStart feature is compatible with the latest steve version on the master branch?

@agent87
Copy link

agent87 commented Dec 30, 2024

@agent87 let me know when you find more!

image I tried with task id but unfortunately, I amfacing the same error, probably I might be doing something wrong.

@fnkbsi
Copy link
Contributor Author

fnkbsi commented Dec 31, 2024

@agent87 let me know when you find more!

image I tried with task id but unfortunately, I amfacing the same error, probably I might be doing something wrong.

You send get method ./tasks/task?id=1 (1 is the task you looking for)?
Have you recompiled the project?

@agent87
Copy link

agent87 commented Jan 6, 2025

@agent87 let me know when you find more!

image I tried with task id but unfortunately, I amfacing the same error, probably I might be doing something wrong.

You send get method ./tasks/task?id=1 (1 is the task you looking for)? Have you recompiled the project?

Yes I am using the get method and in addition, I recompiled the project

…p_calling_logic

# resolved Conflicts:
#	src/main/java/de/rwth/idsg/steve/service/ChargePointService12_Client.java
#	src/main/java/de/rwth/idsg/steve/web/dto/ocpp/ConfigurationKeyReadWriteEnum.java
…and unlock for differentiation of internal and external tasks
@jdsalasbarrantes
Copy link

Hi @fnkbsi, is this PR going to be merged? This functionality is something that could help us!

@fnkbsi
Copy link
Contributor Author

fnkbsi commented Mar 17, 2025

Hi @fnkbsi, is this PR going to be merged? This functionality is something that could help us!

I hope so, but it's @goekay's decision.

@Safari94
Copy link

Did all that still gives the same error.

steve changed to basic auth for the api. add a api_password to the web_user in the database and try again with basic authentication. There is no website for setting the api_password, so you have to set it otherwise.

I haven't test it with the basic auth! There may be more problems.

I just try this but it doesnt work...

{
"timestamp": "2025-05-23T11:00:54.259Z",
"status": 401,
"error": "Unauthorized",
"message": "Invalid password",
"path": "http://localhost:8080/steve/api/v1/chargingProfile/add"
}

@adenijisegun
Copy link

Hi @fnkbsi

Thank you for this!
I have been trying to get the Remote/start to work, but I keep getting
"status": 500,
"error": "Internal Server Error",
"message": "Cannot invoke "java.lang.Integer.intValue()" because "connectorId" is null",
despite passing valid connectorId value, when i change to GET method, I get
{
"chargePointList": [
{
"chargeBoxId": "A20B254439517",
"connectorIds": [
1
]
}
]
}
Which means my authentication and all are fine, please could you point to what I may be doing wrongly here?

Thank you once again.

@Shivk14
Copy link

Shivk14 commented Jan 9, 2026

@fnkbsi after making changes what you told here #1291 (comment) could you please tell me what is endpoint(API) and what param i need to give while calling remotestartapi?

@juherr
Copy link
Contributor

juherr commented Jan 29, 2026

superseed by #1949

@goekay goekay closed this Jan 29, 2026
@Shivk14
Copy link

Shivk14 commented Jan 29, 2026

@juherr Thanku.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.