Smappee EV

Hi all

I recently worked on a new version of the Smappee EV Charger integration, based on the original fork of gvnuland/smappee_ev. You can find my updated version here. It is based on API calls to the Smappee API.

:rotating_light: Why?? The original Smappee integration does not support EV Chargers!

This new HACS integration has a few purposes:

  1. Trigger actions in Home Assistant to set the charging mode (SOLAR, SMART, STANDARD), as well as control the charging current/speed. It also includes some interesting actions like setting LED brightness :wink:
    An important one might be setting the station as available or unavailable — handy when you’re on holiday.

  2. Provide a way to link the charger to open-source (or other) Energy Management Systems.

One such EMS is EVCC. This integration creates a custom sensor specifically for that. There are still some open-ended challenges — for instance, the Smappee charger internally handles 1-phase / 3-phase switching automatically (depending on your installation of course), and there’s no API call to control this. This could have implications for integration and optimization. More testing is needed to figure out the best way of working.

Finally, as I own a Smappee EV Wall Home with Infinity Series meter (Connect, not the Genius). The Genius supports MQTT for easy integration with Home Assistant, the Connect does not! Therefore, I explored using Modbus instead. It appears to provide real-time sensor data: currents, voltages, power, and energy. A how-to is included in the GitHub repo as well.

Let me know if you’ve tested it and whether it fits your use case. Looking forward to seeing your integrations and getting inspired by what you build, but also to discover the best way of integrating it with EVCC for example.

2 Likes

Hi There,

Thanks for this…
I have a similar installation, only I have 3-phase and so even with 6A I have 4440 Wh charging.

This is in Belgium not pleasant as you probably already know.
We have something called “capaciteitstarief” witch measure the heaviest load during a 15 min interval and locks that number. It’s then multiplied with 4.5 EURO.
If you only do 14000 kn/year slow charging is a must otherwise you quickly throw away 500 Euro a year.

What I therefore would like to see is the power with wat the car is charged, a way to only charge over 1-phase without changing the cable.

Thanks for reading

Hi

Indeed, I have the same issue. 3 phase and min 6A implies about 4000W.
Via the modbus integration, power can be read out and shown in Home Assistant. For now, I have figured out how to use it with third party apps, like EVCC, but one major challenge remains: how to switch from 3 phases to 1 phase, especially in winter.
Until now, I do not see an option via API-calls. Let’s hope it may get enabled at some time or someone finds a trick.

Let,s ask Smappee directly via support…
Why did they not use a kWh Slider instead of there %

Thanks for reading
Guy From Wijnegem

Kan je me vertellen hoe je de modbus integratie werkend kreeg.
Moet ik iets in de Smappee Home wall box zelf steken?

Een wifi dongle of zoiets?, of is het enkel instellingen in Home assistant?
ps. ik heb Smappee gecontacteerd voor deze waarde in api te krijgen en een kWh slider te gebruiken ipv hun percenten

Mvg,
Guy Forssman

Beste

op de github beschrijf ik de stappen om MODBUS aan de praat te krijgen.

Let op, dit werkt enkel als je een Infinity hebt, met Smappee Connect.

Ivm de slider: in de HA integratie heb ik stroom (in A) als primaire bron voorzien. Gebaseerd op de stroom, kan je de power eenvoudig berekenen. Je zou hier een HA template sensor voor kunnen maken die de omzetting doet.

Thanks for creating the Smappee integration in HCAS.
I was looking for an integration that can control the Smappee as well.
I’ve a fixed 3 phase installation.
As already stated in a other post charging at a low Amp rating is the best option. I’ve set the max charge at 6 Amp in the Smappee dashboard. However, when I flip the “EVCC charge controller 1” to on, I get this error:

Failed to perform the action switch/turn_on. Invalid current range: 6 == 6

When I set the “Maximale stroomsterkte bij connector Rechts” to 7 A, than switching the “EVCC charging control 1” is not giving an error.
As I (almost) always want tot charge with the minimum value on a 3phase system, ie 6 Amp, it is not so handy and save to have to set the minimum on the Smappee dashboard higher than 6 Amp.

Having in the Smappee dashboard the connector at Solar (with max charge 6 Amp) and change that to Normal via the Home-assistant API integration i get

Failed to perform the action button/press. set_charging_mode failed: “/ by zero”

Is there a solution for this?

Is it possible to read the connector status via the API? In order to have the connector status in Home-Assistant to reflect the actual status.

1 Like

Hi

i worked hard and have a new version out, as I discovered the MQTT service:
mqtt.smappee.net

Moreover, in that version, normally, I fixed the 6A issue of you, hopefully :wink:

Additionally, the connector status is now being read via MQTT, which should give you the same status as on the online Smappee Dashboard.

Let me know if things work (or don’t work)

1 Like