evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Add support for Amina S charger

Open wesleylancel opened this issue 3 months ago • 10 comments

Describe the solution you'd like I'd like to use my Amina S charger using evcc.

wesleylancel avatar Aug 31 '25 14:08 wesleylancel

Does it have an API? Does it support ocpp?

StefanSchoof avatar Aug 31 '25 15:08 StefanSchoof

It's Zigbee controlled. I just ran into the Plugins part in the documentation and suppose it might be possible to use HTTP or MQTT since it's already linked to HomeAssistant using Zigbee2MQTT. That documentation seems to be in German only however. Is there a complete example available of all parameters that need to be linked?

wesleylancel avatar Aug 31 '25 15:08 wesleylancel

We have english docs, too ;)

andig avatar Aug 31 '25 16:08 andig

@andig the plugins section shows in German for me even when I have English selected.

wesleylancel avatar Aug 31 '25 16:08 wesleylancel

/cc @naltatis could you check?

andig avatar Aug 31 '25 17:08 andig

@wesleylancel here is the english version https://github.com/evcc-io/docs/blob/main/i18n/en/docusaurus-plugin-content-docs/current/devices/plugins.md

@naltatis vermutlich ist die datei endung falsch mit .md müsste wohl .mdx sein...

spuky avatar Sep 06 '25 08:09 spuky

@spuky fixed the plugins issue: https://docs.evcc.io/en/docs/devices/plugins

Closing here for now. Feel free to comment here or open a dedicated PR if it makes sense to add a specific template for Amina S.

naltatis avatar Sep 10 '25 13:09 naltatis

I'm really struggling to get this Amina s with mqtt in evcc with the custom charger option. Converting the json output to match the correct syntax is giving me a headache.

Did anyone here succeed to do so? If so, please enlighten me with a working config..

mc157 avatar Dec 15 '25 21:12 mc157

@mc157 I used the API:

chargers:
  - name: amina
    type: custom
    enabled:
      source: http
      uri: https://xxx/api/states/switch.laadpaal
      jq: if .state == "on" then 1 else 0 end
      auth:
        type: bearer
        token: xxx
    status:
      source: http
      uri: https://xxx/api/states/sensor.laadpaal_ev_status
      jq: if .state == "Not Connected" then "A" elif .state == "EV Connected" then "C" elif .state == "Charging" then "C" else "" end
      auth:
        type: bearer
        token: xxx
    power:
      source: http
      uri: https://xxx/api/states/sensor.laadpaal_total_active_power
      jq: .state|tonumber * 1000
      auth:
        type: bearer
        token: xxx    
    enable:
      source: http
      uri: https://xxx/api/services/switch/{{if .enable}}turn_on{{else}}turn_off{{end}}
      method: POST
      body: "{\"entity_id\": \"switch.laadpaal\"}"
      auth:
        type: bearer
        token: xxx
    maxcurrent:
      source: http
      uri: https://xxx/api/services/number/set_value
      method: POST
      body: "{\"entity_id\": \"number.laadpaal_charge_limit\", \"value\": \"${maxcurrent}\"}"
      auth:
        type: bearer
        token: xxx

wesleylancel avatar Dec 15 '25 21:12 wesleylancel

Let's implement it as charger.

Is there an interface documention available?

premultiply avatar Dec 16 '25 07:12 premultiply

@premultiply I used the Home Assistant API. It doesn't have its own API and can only be connected to through Zigbee (and possibly Bluetooth but I can't find any decent info on that).

wesleylancel avatar Dec 17 '25 12:12 wesleylancel