TS-MPPT-60 driver module
This is python driver module to get the following status of TS-MPPT-60.
- Amp Hours
- Array Current
- Array Voltage
- Battery Temperature
- Battery Voltage
- Charge Current
- Heat Sink Temperature
- Kilowatt Hours
- Output Power
- Sweep Pmax
- Sweep Vmp
- Sweep Voc
- Target Voltage
Requirement
- requests
How to install
pip install tsmppt60-driver
How to use
SystemStatus class object is iterator containing all live status data of TS-MPPT-60. Try the following line.
print(SystemStatus("192.168.1.20").get())
The result is like following.
{'Amp Hours': {'group': 'Counter', 'unit': 'Ah', 'value': 18097.9},
'Array Current': {'group': 'Array', 'unit': 'A', 'value': 1.4},
'Array Voltage': {'group': 'Array', 'unit': 'V', 'value': 53.41},
'Battery Voltage': {'group': 'Battery', 'unit': 'V', 'value': 23.93},
'Charge Current': {'group': 'Battery', 'unit': 'A', 'value': 3.2},
'Heat Sink Temperature': {'group': 'Temperature', 'unit': 'C', ...},
'Kilowatt Hours': {'group': 'Counter', 'unit': 'kWh', 'value': 237.0},
'Target Voltage': {'group': 'Battery', 'unit': 'V', 'value': 28.6}}
The above data is limited information. You can disable the limitter by setting False to the second argument as SystemStatus() class.
print(SystemStatus("192.168.1.20").get(False))
The result is like following.
{'Amp Hours': {'group': 'Counter', 'unit': 'Ah', 'value': 18097.8},
'Array Current': {'group': 'Array', 'unit': 'A', 'value': 1.3},
'Array Voltage': {'group': 'Array', 'unit': 'V', 'value': 53.41},
'Battery Temperature': {'group': 'Temperature', 'unit': 'C', ...},
'Battery Voltage': {'group': 'Battery', 'unit': 'V', 'value': 24.01},
'Charge Current': {'group': 'Battery', 'unit': 'A', 'value': 3.2},
'Heat Sink Temperature': {'group': 'Temperature', 'unit': 'C', ...},
'Kilowatt Hours': {'group': 'Counter', 'unit': 'kWh', 'value': 237.0},
'Output Power': {'group': 'Battery', 'unit': 'W', 'value': 76.0},
'Sweep Pmax': {'group': 'Array', 'unit': 'W', 'value': 73.0},
'Sweep Vmp': {'group': 'Array', 'unit': 'V', 'value': 53.41},
'Sweep Voc': {'group': 'Array', 'unit': 'V', 'value': 60.05},
'Target Voltage': {'group': 'Battery', 'unit': 'V', 'value': 28.6}}
JSON string can be got with following code.
$ python -c "from tsmppt60_driver import *; import json; print(json.dumps(SystemStatus('192.168.1.20').get()))" | jq '."Battery Voltage"'
{
"group": "Battery",
"value": 28.6,
"unit": "V"
}
Metadata
Release files for tsmppt60-driver 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tsmppt60_driver-0.2.3.tar.gz | 7.9 kB | With provenance | Details for tsmppt60_driver-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tsmppt60_driver-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for tsmppt60_driver-0.2.3-py3-none-any.whl |
Total release size: 21.1 kB
Release files / tsmppt60_driver-0.2.3.tar.gz
| Download URL | tsmppt60_driver-0.2.3.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74eaa50b627a89f4aeb865f69e9ab8a9a201d756827d39fd7aa0c4e74fb1a3f2
|
|
BLAKE2b-256 checksum How to use checksums |
aecacae813c8be173c566b07dedccaa557f19d2e09e1cfa4b9865aa673e73804
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / tsmppt60_driver-0.2.3-py3-none-any.whl
| Download URL | tsmppt60_driver-0.2.3-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4d99e203ac99ff32c635daa5c95ff30f3da5d2853de01956de568c0a7eec958
|
|
BLAKE2b-256 checksum How to use checksums |
da54390a5c3f00fba00928c444dd4f62066d014c2703942084e6b8eb6645a171
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logSecurity for tsmppt60-driver 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for tsmppt60_driver-0.2.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.