Read data from BYD energy storage using Python and TCP

BYD.read(your_ip, 8080)
"soc": state of charge (%)
"maxvolt": max cell voltage (V)
"minvolt": min cell voltage (V)
"soh": state of health (%)
"ampere": actual ampere (A)
"battvolt": actual battery voltage (V)
"maxtemp": max cell temperature
"mintemp": min cell temperature
"battemp": actual battery temperature
"error": will switch from 0 to 1 if an error occurs
"outvolt": actual output voltage (V)
"power": actual power (W)
"diffvolt": difference max and min cell voltage (V)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store