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

NotImplemented The action 'RemotStartTransaction' you are looking for is not found #1323

Closed
3 tasks done
yuhui6688 opened this issue Dec 5, 2023 · 18 comments
Closed
3 tasks done

Comments

@yuhui6688
Copy link

yuhui6688 commented Dec 5, 2023

Checklist

  • I checked other issues already and found no answer
  • I checked the documentation and found no answer
  • I am running the latest version and the feature i am requesting is not implemented there

Describe the problem you are trying to solve

I have successfully deployed the Steve server and attempted to connect using websocket, but received an error message when sending the Remote Start Transaction. I am not sure why, please advise. Thank you very much!

ERROR Code:
[4,"4","NotImplemented","The action 'RemotStartTransaction' you are looking for is not found",{}]
...

Describe the solution you'd like

...

Describe alternative solutions or features you've considered

...

Additional context

...

@yuhui6688
Copy link
Author

This is a partial sending code:
image

@juherr
Copy link
Contributor

juherr commented Dec 5, 2023

The remote start message is from CSMS to the station and not from the station to the CSMS:
image

What are you trying to do?

@yuhui6688
Copy link
Author

yuhui6688 commented Dec 6, 2023

Thank you for answering my question in your busy schedule. I originally wanted to send instructions through the simulated App to start the charging transaction. According to the ocpp specifications, RemoteStartTrasaction can only be issued from the server. Should I send the instruction to CSMS through the APP, and then CSMS will send it again? What about instructions to ChargePoint? If this is the case, does it mean that the corresponding API needs to be added to Steve, or other methods, please give me some advice, thank you very much!

@juherr
Copy link
Contributor

juherr commented Dec 6, 2023

What is the simulated App you refer?

I think you want to make a StartTransaction:
image

Have a look at #1000 for the API subject.

@yuhui6688
Copy link
Author

As shown in the picture below, this is the goal I want to achieve. I don’t know how to do it. Please give me your advice. Thank you very much!
1701846021437

@yuhui6688
Copy link
Author

Assuming that the ChangePoint status is online, should the App send instructions directly to the Central System or ChangePoint?

@goekay
Copy link
Member

goekay commented Dec 6, 2023

should the App send instructions directly to the Central System or ChangePoint?

to the central system, i.e. steve. steve is responsible for all bidirectional communication with charge points.

@yuhui6688
Copy link
Author

Does your explanation mean that the APP sends the StartTransaction command to Steve, and then Steve sends the command to the ChargePoint to start the charging function? How does the app know whether it is successful or not? Thank you very much for your patient guidance!

@goekay
Copy link
Member

goekay commented Dec 6, 2023

Does your explanation mean that the APP sends the StartTransaction command to Steve, and then Steve sends the command to the ChargePoint to start the charging function?

yes. but, the api call "app -> steve" will be an independent one. it is not the StartTransaction or RemoteStartTransaction of ocpp. you can define it as you want, including the payload. steve would need to understand it, map it to a RemoteStartTransaction and send this to the station.

How does the app know whether it is successful or not?

the api call "app -> steve" will be waiting for the response from station to arrive at steve. steve will map it to a response payload that you specify and return it.

something like this:

remote-start

@yuhui6688
Copy link
Author

Does Steve have this API, or do you need to implement the service yourself? Thank you so much!

@goekay
Copy link
Member

goekay commented Dec 6, 2023

it does not, and hence the issue reference above from @juherr

@yuhui6688
Copy link
Author

yuhui6688 commented Dec 6, 2023

@jpires If Steve does not have a relevant API, how can I implement this service interface based on Steve's source code? Can this be achieved by connecting to Steve using Nodejs? Thank you so much!

@juherr
Copy link
Contributor

juherr commented Dec 6, 2023

See #1291

@yuhui6688
Copy link
Author

@juherr Your reply has given me great encouragement and help! Thank you very much!
I have modified Steve's code according to your method and compiled it successfully, but when I browsed in chrome, I got an error:
image
Check the views folder that is not generated at all in the project.
image
I think I am in trouble. I have tried many methods to no avail. Can you help me?

@juherr
Copy link
Contributor

juherr commented Dec 7, 2023

I'm sorry: I won't be able to make support for a feature developed by someone else that I don't use myself.

@yuhui6688
Copy link
Author

OK,Thanks very much!

@fnkbsi
Copy link
Contributor

fnkbsi commented Dec 7, 2023

The compiled jsp-Files can found under "\target\classes\org\apache\jsp\WEB_002dINF\views". As I see in the picture, your folder org is missing. Have you tried a clean recompiling (mvn clean package)?

@yuhui6688
Copy link
Author

yuhui6688 commented Dec 7, 2023

@fnkbsi Thank you, the two steps were executed successfully, OhYeah!
image

@goekay goekay closed this as completed Dec 11, 2023
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

No branches or pull requests

4 participants