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

Not able to trigger services which flows from central system to charging point. #32

Open
aishwaryatakale opened this issue Oct 30, 2023 · 0 comments

Comments

@aishwaryatakale
Copy link

I am trying to trigger functions such as GetConfiguration, RemoteStartTransaction(basically things that flows from central system to CP). below is a code snippet that i am using :

@app.get("/get-configuration/{charge_point_id}")
async def get_configuration(charge_point_id: str):
    cp_obj=None
    for obj in cs.charge_point_v16_objs:
            if obj.charge_point_id == charge_point_id:
                cp_obj = obj
                break
    await cp_obj.get_configuration(config_list=[ConfigurationKey.get_configuration_max_keys])
    return {}

I am hitting an fastapi endpoint which will trigger this function and so on. I am using "./start.sh --v" command followed by accessing "http://localhost:3000/?connectTemplate=$connectUrl&cp=$chargePointName". When i hit api to trigger function(such as GetConfiguration, RemoteStartTransaction) i can see it returns status=NotImplemented. I am not sure rather i dont understand the steps of adding answerTriggerMessage stuff. Can anybody help with this issue?

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

1 participant