Add - Sensor Settings#327
Open
brentru wants to merge 3 commits into
Open
Conversation
lorennorman
approved these changes
May 14, 2026
Member
lorennorman
left a comment
There was a problem hiding this comment.
this is great, very helpful to see how this will be used across many components
Member
Author
|
@tyeth Could you please review this PR? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request allows users to select options such as gain, oversampling, measurement rate, power mode, etc. a new
settingsfield has been added to the device definition schema.Spec
PLZ see the Protobuf PR for the Specification ": adafruit/Wippersnapper_Protobuf#197
Schema and Definition Enhancements:
settingdefinition and a top-levelsettingsarray tocomponents/expanders/schema.json, specifying the structure for configurable device settings (e.g., name, display name, options, default) and ensuring validation across all supported components. [1] [2]Component Definition Updates:
Added
settingsto I2C sensor definitions:apds9999,bme280,bme680,bme688,bmp280,bmp388,bmp390,bmp580,bmp581,bmp585,ens160,ina219,ltr303,ltr329, andmax44009. Each device now exposes relevant configuration options for end-user selection. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]Added
settingsto expander definitions:gainsetting to both theads1015andads1115expander definitions, allowing users to select the programmable gain amplifier setting. [1] [2]