Add support for Amina S charger
Does it have an API? Does it support ocpp?
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?
We have english docs, too ;)
@andig the plugins section shows in German for me even when I have English selected.
/cc @naltatis could you check?
@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 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.
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 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
Let's implement it as charger.
Is there an interface documention available?
@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).