Smappee Charger with Postman

Interesting topic I stumbled upon here.

I have been using the smappee charger in combination with the OCPP integration, but since Smappee doesn’t adhere to the OCPP spec (next to others, changing amps doesnt work for example), I am left to fumbling with their widely unintuitive app half of the time.

My biggest concern at this point is pausing the charging session, and in a later stage I would like to change the amps as well (currently I keep it on 6A minimum). How would you accomplish this with your code? Do you put the amps on 0 to pause?

How did you manage to figure out how this works? Did you do some reverse engineering? Or using the public documentation?

I figured it out using the API docs and Postman and then coded it up in python (as above).

https://smappee.atlassian.net/wiki/spaces/DEVAPI/pages/2803367937/Set+the+charging+mode+of+one+of+the+connectors+of+a+charging+station

You can see that you can set the mode to PAUSED or you can set the current to a target (or out it in smart if that smappee mode works for your setup).

My AppDaemon code (a lot more than shared above) is working well for my particular needs.

Happy to help/share more if you have any questions.

Hey Brody,

I’m new to HA , bought the HA green one.

I have huawei battery & solar panels which are now connected to HA.
Volkswagen app connected to HA.
So at the moment with automated actions I can control when my car goes on or off for charging.

But I rather set my charging station to charge at a certain power and turn it on/off.

Is it possible with your implementation?
Like when 1500 kwh is coming into battery & there is still leftover sun rest goes to the charging station?
At the moment i’m almost forced to wait until my battery is fully charged.
Or I can manually constantly control how much solar power is coming in and adjust in app when neccessary.

Sadly the huawei API updates very slowly (every 5-10min) I sent a mail to hopefully increase the API updates.

Yes, that is the kind of control I do. I adapt charging based on car SoC, House battery SoC and the excess of solar vs house load power. It also checks my electricity provider cost at the time (I am on dynamic/wholesale pricing) as well as the CO2 intensity of the grid to decide if importing is a good idea.

It is quite custom for my setup in python though - directly getting updates on powerwall entities, my electricity company’s (Amber) integration, CO2signal and the smappee control.

I’m happy to tidy it and share if you feel comfortable re-customising it for your situation.

I read your post. I am very interested.
Can you post the link to the latest version of your script? Thanks.