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.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.0.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.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for solarwatt-energymanager-py-1.3.0.tar.gz
Algorithm Hash digest
SHA256 7573a7212bf388403d1c0c94d354ab4855739c750826700df2c98050ce783329
MD5 2fb51774e4c8ec7ec802ce058e49d061
BLAKE2b-256 46f4d01cc9b7f95b5b9b64462c92b87ee4099f9b850e2b2242151db113c25e4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for solarwatt_energymanager_py-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89df7e9cbb69df67d1af046e7db550285ea73fb7760bb20645f03bcf179d551d
MD5 fdce80ada74dc4df6666e66654f34398
BLAKE2b-256 ba72aff4cc88d90dd9309a83a1150b52c3ac43946ac3a393666588843e810f86

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