Smappee integration: control charging point

If anyone is still trying to control their smappee charger trough Home Assistant for solar or dynamic pricing optimized charging, I made a basic integration installable trough HACS/custom repo. For now it does about the same as @brodykenrick 's app, it exposes a Home Assistant service (now called action by the way) to set the charging speed. You can find the repo here : GitHub - scruysberghs/home-assistant-smappee-charging-profiles

You have mode NORMAL (that allows you to set charging power in AMPERE or PERCENTAGE), SMART en PAUSED)
But feel free to go over the other availalbe EV line api’s here https://smappee.atlassian.net/wiki/spaces/DEVAPI/pages/2804875635/EV+Line and let me know if there is anything else you would like to see implemented in home assistant.
Or feel free to expand functionality yourself of course :slight_smile:
Basicly setting charging speed and mode is all I need for now, I might look at adding a slider and mode selector for the ui in the integration if I find the time.

3 Likes

another option to look at is setting op the evcc.io addon + integration and point your smappee OCPP backend to that. Haven’t tried myself but should be possible. Too bad smappee support has to whitelist a OCPP backend adres before you can use it with your own equipment… That together with the fact that realtime data is not availalble trough the api smells a bit like trying to protect an ecosystem from Smappee’s side… Long way away from what the open home foundation en Home Assistant stands for.

1 Like

Looks very nifty. Good work.

I’ll have a look (one day) to see if I can extend it for my use cases easily.

For the OCPP path note that Smappee didn’t support setting a charge rate over OCPP (unless they added it in the last year). Essentially just on/off and whatever value it had previously. I used that for a while but eventually I wanted more flexibility.

Great plugin, thanks!

Is the PAUSE mode not working though? Is it at Smappee side that this part of the API doesn’t work, or some bug in your code? https://smappee.atlassian.net/wiki/spaces/DEVAPI/pages/2803367937/Set+the+charging+mode+of+one+of+the+connectors+of+a+charging+station

Personally, I’ll combine it with the realtime measurements from the P1 reader, PV inverters and home battery status/inverter. Too bad there is no simple way to read out the current power consumption of the EV charger and its total power delivery.

PAUSE should work. At least it did when I had a Smappee charger available for testing. If not you could also set charging vurrent below 6A to stop charging.

Thanks. I thought you removed “PAUSE” mode from the source code at git?

It is not in the code, it is just a parameter you pass to the API if I remember correctly. Do you get an error message when you call the action with mode PAUSED?

Sorry, my mistake, it’s added in the latest release instead of removed. Was looking at the wrong commit… :see_no_evil:

Just a question: if you switch to your private OCPP endpoint, does it mean you can no longer get a CSV log of the charging sessions from the Smappee service itself? You only have your HA loggings left over to rely on for employer reimbursements?