Pylontech Home battery API trough Domoticz

Python and python framework

Moderator: leecollings

Post Reply
Jeweettoch13
Posts: 43
Joined: Saturday 23 July 2022 16:42
Target OS: NAS (Synology & others)
Domoticz version: 2026.4
Location: Netherlands
Contact:

Pylontech Home battery API trough Domoticz

Post by Jeweettoch13 »

Recently i installed a Pylontech Home battery in my house, but i want it to speak trough Domoticz.

I'm not, if not a noob, not good at coding, so i asked OpenAI what route to take best. Initially i went the modbus route but since Pylontech doesn't give the modbusdata to any stranger trough NDA i tried to make one trough the online API, a bit like the SEMS+ Portal does from JanJaapKostelijk.

I made a first try from the available data. I was amazed just from how much sensors are monitored trough the API. (even more trough modbus, about 500+ datapoints)

I'm not a whiz-kid when it comes to coding, but i made a nice overall plugin for you guys to try, IF you have a Pylontech Force X3H battery installed at home.

A global ress account is required via https://global-ress.pylontech.com.cn/login to monitor the Domoticz plugin.

Feel free to try and maybe modify to your own preferences. Since i have the plugin to work only trough the Force H3X system, no updates are pushed unless i have troubles trough my own system.

info you can find on https://github.com/Jeweettoch13/Pylontech-Domoticz

Only the PV-output data is not corresponding with any actual data (static), so thats a minor.

Tested on a FH3X-15K-3P-EU system, Synology DSM 7.0-41890, latest Docker, Domoticz 2026.4

Cheerz :)
Pylontech.jpg
Pylontech.jpg (337.6 KiB) Viewed 136 times
Post Reply