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.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.0.tar.gz (8.5 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.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for solarwatt_energymanager_py-1.4.0.tar.gz
Algorithm Hash digest
SHA256 afe29fa0c1cbb9367e2b8821e79b4801a26aa70c8e8061b62e483833a43f42d1
MD5 1f3b1648118b0c0f39a18f1a1690fb1f
BLAKE2b-256 101457f964a32b2b5bfe49ffbbb03f52b87976ee2e434fb63e3a64232c01bcb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for solarwatt_energymanager_py-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d70b4d72d17abb052902ac3b7677c9da9499f457ca9ab7dd4458254def6663a5
MD5 65897665145c2a671fcf345787646129
BLAKE2b-256 dabbc8e3b5adbbf85d6ace1e7261924318f424b85a7ed99c781cec1e085e8158

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