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-0.2.0.tar.gz (5.4 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pyenasolar-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8544bf7d06bc7a0044e9d3afb1810bd8f9d05fd8ec7784f2a4a6f746897dfc4d
MD5 e5338e6b18bcd70a04e161b0928c0820
BLAKE2b-256 46720d7b3a12a60e28ee924bd7f739cd1863cb7294bff8bdd210fc4e649d5a32

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