Skip to main content

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)

Source distribution for tsmppt60-driver 0.2.3
File Size Uploaded
tsmppt60_driver-0.2.3.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tsmppt60-driver 0.2.3
File Interpreter ABI Platform
tsmppt60_driver-0.2.3-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page