Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return more precise values for newer Envoys #70

Open
wants to merge 152 commits into
base: main
Choose a base branch
from
Open

Return more precise values for newer Envoys #70

wants to merge 152 commits into from

Conversation

gtdiehl
Copy link
Collaborator

@gtdiehl gtdiehl commented Apr 15, 2021

Envoy-S return float values that are more precise as they have values 3 decimal points to the right. For these the API will return the actual value and not a rounded integer value

Fixes #55

Pull request recommendations:

  • Name your pull request your-development-type/short-description. Ex: feature/read-tiff-files
  • Link to any relevant issue in the PR description.
  • Provide context of changes.
  • Provide relevant tests for your feature or bug fix.
  • Provide or update documentation for any feature added by your pull request.

Thanks for contributing!

gtdiehl and others added 29 commits December 28, 2020 13:03
Add retries when gathering Inverter data
Return None for Inverter data for Envoy with <3.9 firmware
- support passing in shared httpx client
- get pylint rating to 10/10
Cleanup detection and avoid calling endpoints that are not present
Bumping version for clean up in PR #64
* Rename master to main
Envoy-S return float values that are more precise as they have values 3 decimal points to the right. For these the API will return the actual value and not a rounded integer value
Precise values only come when a CT is used.  When production metering is enabled the API returns a float, otherwise an integer is returned.
Given directory names to indicate if Production/Consumption metering is enabled. Updated tests for new float values
@gtdiehl gtdiehl requested a review from jesserizzo April 16, 2021 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Production and Consumption values are rounded for some Envoy devices
7 participants