Skip to content

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

@aishwaryatakale

Description

@aishwaryatakale

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions