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.3.1] - 2023-06-25

Changed

  • Added None to type hint return values

[1.3.0] - 2023-06-25

Changed

  • get_tag_value_as_* methods return None instead of empty string or zero if an error occurs

[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.3.1.tar.gz (8.2 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.3.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: solarwatt-energymanager-py-1.3.1.tar.gz
  • Upload date:
  • Size: 8.2 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.3.1.tar.gz
Algorithm Hash digest
SHA256 86805653bf852b286906f8f0c267029cae858696a97e553bfe93896f71d54730
MD5 ec4a02bfde5ae57d3eb33546f8c5af17
BLAKE2b-256 8f4e2f2a13e930873b17b26d3456e631d21b6f82c370a5fd8540d12e8241e140

See more details on using hashes here.

File details

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

File metadata

  • Download URL: solarwatt_energymanager_py-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 10.8 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6915978c820a98dc000e85aa9ce154ec4badc44f3a8f8719316390fc7e4d05d4
MD5 fd903762571a5d8d99f4aa6356147c36
BLAKE2b-256 f5227f568862c066281771e0de31dc6eb52ff4a4efce25bf98e67f0d4229a380

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