Skip to main content

Library to communicate with EnaSolar inverters

Project description

pyenasolar

This library was created to communicate with EnaSolar solar inverters within Home Assistant. It is based on the pysma and pysaj components written by @kellerza and @fredericvl

Data regarding the capabilities and serial number are extracted by applying regular expressions to the javascript in the header of the root and Settings.html web pages.

It was established that requesting the metrics at the same rate as the website i.e. every 1 second for a extended period of time (several hours) resulted in the site denying further requests. A polling frequency of approx every minute seems to be stable and provides sufficiently granular data to enable Home Assistant to plot decent graphs.

If the website becomes unresponsive, the only cure found was to reset the inverter by turning the AC switch off and on again.

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

pyenasolar-1.0.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

pyenasolar-1.0.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file pyenasolar-1.0.0.tar.gz.

File metadata

  • Download URL: pyenasolar-1.0.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pyenasolar-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2cc8816514eca2cff228b41ac4b00d87677d3130601268af20cfa8df74cb7771
MD5 9556ebb6070b14975c70a950828fa41b
BLAKE2b-256 2260be8c4029051668025a10fe2d7b095a2e46cb7018b91c0fc4a9587a62776f

See more details on using hashes here.

File details

Details for the file pyenasolar-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pyenasolar-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pyenasolar-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8bd33eecef8b914803351969a1d19516a2b972a7b97a32a5cd3847098a0f12ec
MD5 0ac4fd6c803306e286a96038b7b5380d
BLAKE2b-256 549e0686d05e92889b707a7602d6e7013c9accb2d767a8cb72ffb936caab8386

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