Skip to content

weaseel/vartastorage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vartastorage

With this Python module you can read modbus registers and xml api values from various VARTA batteries. Tested on my VARTA element/12 battery. Should work for other VARTA element, pulse, pulse neo, link and flex storage devices as well.

Setup

pip3 install vartastorage

Usage with login

from vartastorage.vartastorage import VartaStorage

#ip and port for modbus host
varta = VartaStorage('10.0.2.3',502,'pass123456')

Usage without login

from vartastorage.vartastorage import VartaStorage

#ip and port for modbus host
varta = VartaStorage('10.0.2.3',502)
#update all values provided by modbus server
varta.get_all_data()

#show current grid power
print(varta.grid_power)

#update only state of charge
varta.get_soc()

#show battery SoC
print(varta.soc)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%