Skip to main content

Solis

This is a Python module to interact with Solis Invertors connected via the Solarman v5 data loggers.

It builds on top of the pysolarmanv5 module to provide structured data output that can be consumed without needing to the know the registers and data formats of the underlying device.

CLI Usage

Usage: solis [OPTIONS] COMMAND [ARGS]...

Options:
  --ip TEXT         [required]
  --serial INTEGER  [required]
  --port INTEGER
  --help            Show this message and exit.

Showing stats

$ solis --ip 10.42.2.145 --serial xxxx stats
                  Serial: xxxx
                     DSP: 37
           Battery Level: 75%
          Battery Health: 100%
             DC volage 1: 4.2V
             DC volage 2: 4.0V
              Temperture: 38.5°C
-------
  Power Generation Today: 20400Wh
    Battery Charge Today: 3300Wh
 Battery Discharge Today: 4400Wh
        House Load Today: 10100Wh
     Grid Imported Today: 4000Wh
     Grid Exported Today: 15000Wh
------
        Power Generation: 0W
              House Load: 276W
             Backup Load: 0W
              Grid Usage: 3W
        Battery charging: -448W

Setting charging from grid

$ solis --ip 10.42.2.145 --serial xxxxx charge
Enabling charging from grid
$ solis --ip 10.42.2.145 --serial xxxxx charge --disable
Disabling charging from grid

Module usage

Due to the overhead of the modbus protocol of reading a small number of registers each time, the module has been designed to read all registers at once using the Solis.async_update() method, then various properties provide formatted access to relavant registers. e.g.

solis = await Solis.create(ip, serial, port)
await solis.async_update()
print(solis.bastt_change_level)

See solis.py for exposed registers.

Metadata

Release files for solis 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for solis 0.1.1
File Size Uploaded Provenance Actions
solis-0.1.1.tar.gz 4.9 kB Without provenance Details for solis-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for solis 0.1.1
File Interpreter ABI Platform Actions
solis-0.1.1-py3-none-any.whl Python 3 none any Details for solis-0.1.1-py3-none-any.whl

Total release size: 11.0 kB

Release files / solis-0.1.1.tar.gz

Download URL solis-0.1.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1e096ca8bfdb6baee5c9280c2bdb5f16fc57ea880e7a9d594cf921412e7326ba
BLAKE2b-256 checksum
How to use checksums
30c49b723df0f51eaa8c1f014f58d2e15c228e3aed493829c7b96befd05c0939
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / solis-0.1.1-py3-none-any.whl

Download URL solis-0.1.1-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d938c637ff8d5d6875c32ce41573f6a03ac9a8d4db64ba5d2a846ff8ac1eb9ad
BLAKE2b-256 checksum
How to use checksums
51a6cc3d2f7b016484aca2444b843ed5aae553ac13e013ef188d1804d3aa89ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for solis 0.1.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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