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.4.1] - 2025-03-16

Changed

  • Disabled content type check when querying data from Energy Manager.

[1.4.0] - 2024-09-14

Changed

  • Added support for Power Meter device

[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.4.1.tar.gz (8.7 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.4.1-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file solarwatt_energymanager_py-1.4.1.tar.gz.

File metadata

File hashes

Hashes for solarwatt_energymanager_py-1.4.1.tar.gz
Algorithm Hash digest
SHA256 79b36f7c4be401acd8a8ef4bdd4c38bf66788e84cad73aa90e207873276eae02
MD5 12cb3ffd05e280c63a6971ec0fe473e3
BLAKE2b-256 1dcdc9cfbd2179a61c843a962e702705f366c59a224c388a28915b694bd256dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for solarwatt_energymanager_py-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25db83e99f95b63131bf3a3947bc7c85f5e1149190f10e67a3f79081ec97f6dc
MD5 1072a7f8d065e5ff644224a57d99fab8
BLAKE2b-256 ff8bacbfd83569726a8a9e3dbb98e9301f57872a216a2cd6f188d61da0a9b9ca

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