Skip to main content

Client to query the SOLARWATT EnergyManager.

Project description

solarwatt-energymanager

An unofficial python package for querying data from the SOLARWATT Energy Manager.

This package provides well defined types so that it is easy to find the data you need.

Note: Most of the interesting data is located in the location_device. Multiple batteries are supported.

Usage

import solarwatt_energymanager as em

mgr = em.EnergyManager('192.168.178.62')
guid = await mgr.test_connection()
print(f'EnergyManager GUID={guid}')
data = await mgr.get_data()
print(f'power_in={data.location_device.power_in}')
print(f'power_out={data.location_device.power_out}')

Changelog

[1.2.1] - 2023-03-05

Added

  • Added support to read IdName from Device via get_device_name()

[1.2.0] - 2023-03-04

Added

  • Added support for S0 counters and EV stations.

[1.1.0] - 2023-04-04

Changed

  • Renamed voltage_battery_cell_string to voltage_battery_string.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

solarwatt-energymanager-py-1.2.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

solarwatt_energymanager_py-1.2.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file solarwatt-energymanager-py-1.2.1.tar.gz.

File metadata

  • Download URL: solarwatt-energymanager-py-1.2.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for solarwatt-energymanager-py-1.2.1.tar.gz
Algorithm Hash digest
SHA256 b90d404874c668f99fd9bdfcd74427c6501545a5cc319baea9d62f35dba880b2
MD5 45cff97d8e2b49ed5da3459943cbe053
BLAKE2b-256 933159a79ff889cf97a12a1841d101475ef91002782fa15831574d62c7b92d15

See more details on using hashes here.

File details

Details for the file solarwatt_energymanager_py-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: solarwatt_energymanager_py-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for solarwatt_energymanager_py-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7950af24644b80d135a3211ccc7cb26c1d45eb390650b94f96cdd8ed9f480f29
MD5 98fa25e312ae8b7cf8b90aefb23c67f7
BLAKE2b-256 48f1b46175e559550c319f68417f60126e06cd9100e9bbe5d54b39562453cf69

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page