Hello! I’ve been running Home Assistant on a Raspberry Pi for the past few months and have been learning more about adding devices without an existing integration.
For the renovation of my house, I’ve been buying more and more into the Parkside brand. They recently released a new “Parkside Performance” charger that allows setting things such as charging current.
It turns out it runs on Tuya, so you can add it in Home Assistant with the Tuya/LocalTuya integration. I prefer non-cloud based configurations so I added it using LocalTuya after plugging/unplugging batteries and changing options in the Lidl Home app.
Here’s the overview of the Id’s and their purpose. I didn’t find all of them, I’m guessing they are used for when a “smart battery” (with inbuilt Bluetooth) is connected.
ID
Description
Values
Type
1
Charge Start Switch
True/False
Switch
2
Name
PLGS 2012 A1
Sensor
3
Charge Current (mA)
967, 963, 537
Sensor
4
Battery Voltage (/1000)
18754, 18928, 18974
Sensor
5
Battery percentage (%)
49, 50, 51, 52
Sensor
6
?
0
?
7
Charge Type
ECO, quick (Performance), standard (Balance), individual (Expert)
Sensor
8
60% Switch
True/False
Switch
9
Overheated notification
True/False
Switch
10
?
0
?
11
?
0
?
101
Max charge current (mA)
3800
Sensor
102
Time to Full (in minutes)
19, 61, 60, 103
Sensor
103
10 minutes to full charge notification
True/False
Switch
104
Fully charged notification
True/False
Switch
I configured it for LocalTuya in configuration.yaml:
The sensors work great and I can use them to create graphs/glances for the charging status.
However, the switches do not work. I can see the current on/off status updating when I change toggles in the Lidl Home app, but toggling the switches from Home Assistant does not work (toggle switches to the previous state after a few seconds). Is there a step/configuration in the YAML I’m missing to make switches work? Help would be appreciated!
It turns out that switches won’t work if the Tuya app is running on your phone. Closing the app made the switches work.
Hey Nicolae, here’s a picture of the entities and switches. There are two more unknown entities which I’m sure are used for the new bluetooth smart batteries, I’ll be able to test/add those as soon as the battery arrives. It has one charging slot.
Hi, i have also the same charger of Parkside… but do you have add this device first to Tuya website? and connect with the Lidl Home App? i can’t find this steps…
Looks good! I’m not sure how to set the charge mode. I tried getting help on this, but got the response to look into making custom components, templates, etc but I couldn’t figure it out using the documentation.
You can connect the charger in the Tuya app (Lidl-Home app is simply a copy of the Tuya app with a custom theme) and then access the charger in HA by using the LocalTuya integration. You’ll have to fetch the localkey using tuya-cli.
Hi, maybe you must reset your charger. (Hold 2 buttons on charger) And then you can add charger to “Tuya Smart” app. Then you need set up Tuya Local integration (in HA) with a Tuya IOT development account. (Tuya - Home Assistant). it’s a little complicated process.
Does anyone know if it’s possible to link the batteries into home assistant too?
I’m not sure how they work. Do they have to be connected to the phone via bluetooth or can batteries connect to the changer with bluetooth and then the charger acts as a hub and relays that information through wifi?
If it’s the latter, seems like we could show the batteries themselves on home assistant
As far as I can tell, no, the charger does not seem to act as a bluetooth proxy. It remains to be seen if it can be forced into doing that.
However, if you enable the bluetooth integration in home assistant and use the tuya BLE integration (a fork because the main one seems broken with the most recent versions of HA), the parkside batteries are visible and can be added.
However, the integration is not configurable using the UI as the localtuya one is, so in order to add the mapping between the tuya IDs of each field and HA entities, you need to edit the python files of the integration itself.
I started doing that with some of the fields and it does work. I need to build bluetooth proxies with ESP32 boards because my server is way too far from the place my tools are stored, but with proxies being as cheap as 4-5€, if they work, it would be easy to add a few proxies around the home so batteries can report their status reliably.
From your video,I too replaced the wifi module to make this device work with esphome.
But in my case,I swapped the wbr3 chip with an esp12f chip.
I had to solder a bridge between gnd and gpio15 allow esp to boot.