Skip to content

Return more precise values for newer Envoys#70

Open
gtdiehl wants to merge 152 commits intojesserizzo:mainfrom
gtdiehl:precise_values
Open

Return more precise values for newer Envoys#70
gtdiehl wants to merge 152 commits intojesserizzo:mainfrom
gtdiehl:precise_values

Conversation

@gtdiehl
Copy link
Copy Markdown
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