HowTo: Node Red – Read live data of an SMA EV CHARGER 22 Wallbox

I recently added an SMA EV Charger 22 Wallbox to my network. Of course, this is primarily used to charge an electric car.

Nevertheless, I was of course curious which values could be read out and processed there.

The Node Red code presented below is my current status. It can already be used to read out the most common consumption and production data. So you can access individual values of the electricity network as well as the connected car.

More information is summarized in this article.

Safety instructions

I know the following hints are always a bit annoying and seem unnecessary. But unfortunately, many people who knew it "better" from carelessness lost their eyes, fingers or other things or hurt themselves. In comparison, a loss of data is almost not worth mentioning, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Even the coolest project is worth no injury or other annoyance.

Affiliate links / advertising links

The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and shop via this link, receives a commission from the online shop or provider concerned. The price doesn't change for you. If you do your purchases via these links, you will support in being able to offer further useful projects in the future. 🙂


Helpful articles:
So that you can install new nodes, NodeRed should of course already be installed on your RaspberryPi.
How to prepare a RaspberryPi and then install NodeRed on it is described in the following articles.

In the following lists you will find all the parts you need to implement this article.

Required tool:

1xSchraubendreher Set  Bei Amazon kaufen
1xSD Kartenleser  Bei Amazon kaufen

Required material:

1xSONOFF Zigbee 3.0 USB Dongle Plus  Bei Amazon kaufen
1xUSB Verlängerungskabel  Bei Amazon kaufen
1x Raspberry Pi  Bei Amazon kaufen
1x Raspberry Pi Netzteil  Bei Amazon kaufen
1x Raspberry Pi Gehäuse  Bei Amazon kaufen
1x Micro SD Karte 64GB  Bei Amazon kaufen

Import Node Red code

In this section you will find the Node Red code you need. How you can import this into your NodeRed environment is described in the article NodeRed – importing and exporting node code.

In order to be able to use the node code linked below with your ESPEasy device, you have to make a few changes. These are described in the next section.

You can find the Node Red code in the Nerdiy Git repository under the following link:

In the gallery below you can see a photo of the flow in the configuration view. As you can see, I was able to assign/read most of the values. For some (in my opinion less important) the correct assignment is still missing. If you find this out, please leave me a comment.

Another view of the Node Red Flow in the configuration interface.

In order for the Node Red Flow to work correctly, you must set the access data for the standard user of your wallbox in the area marked in red.

The retrieved data is displayed in the dashboard. Of course, you can adapt the code as you wish and process the recorded data further.

More articles related to Node Red

In the following categories you will find further links on the subject of Node Red.

Have fun with the project

I hope everything worked as described. If not or you have any other questions or suggestions, please let me know in the comments. Also, ideas for new projects are always welcome. 🙂

P.S. Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you appreciate it that I share these information with you, I would be happy about a small donation to the coffee box. 🙂

Buy Me a Coffee at   


  1. Hallo,
    wie kann ich den Code anpassen um die Daten aus dem Wechselrichter und dem Batteriewechselrichter auslesen zu können?
    Freue mich über eine Antwort.

Leave a Reply

Your email address will not be published. Required fields are marked *