CubicMeter 1.1 normalized output and schema update #828
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Updated the decoder property and bug fix for Quandify CubicMeter 1.1
Added schema to support normalized output for metering and water temperature
Changes
Checklist for Reviewers
profileIDs
should not bevendorID
and should be a unique value for every profile.index.yaml
file.Notes for Reviewers
Extended water schema to include temperature.
The min, max, avg, current was added to allow for different types of devices and sampling rates.
Our device samples once a second and can therefore show more values than a sensor that samples just before sending.
Added metering schema which could be extended for electricity and gas in the future.
Would be interesting to investigate JSON schema 2020-12 generic types in the future.
This could bring a generalised structure for all measurements where sampling is done multiple times between uplinks.
This would require all current measurements to migrate to the "current" property.
Release Notes