Open
Conversation
add(component): Sciosense ENS161 MOX gas sensor
add(i2c): Sensirion SGP41 (NOX/VOC index+raw)
fix(sgp41): use close up image instead of shop default
…ypes, update sensor types Co-authored-by: tyeth <6692083+tyeth@users.noreply.github.com> Agent-Logs-Url: https://github.com/adafruit/Wippersnapper_Components/sessions/56b0d21c-f097-4880-ae88-e5943926c0b6
…ocumentation Rewrite README: document all 9 component types, replace TODO placeholders, update sensor types
Add TMP119 sensor (via skill use)
Worth us adding more to agents.md eventually - see here for guidance https://github.blog/ai-and-ml/github-copilot/how-to-write-a-great-agents-md-lessons-from-over-2500-repositories
Companion to adafruit/Adafruit_Wippersnapper_Arduino#892. AS7331 is a triple-channel UV sensor (UVA/UVB/UVC) by ams-OSRAM, exposing UVB as a raw subcomponent. I2C addresses 0x74-0x77. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use the actual Adafruit learn guide instead of the GitHub library repo. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add guards in three places: - Arguments section: treat PR-provided definitions as hints, not verified data - Step 0 callout: must independently verify every field even when a PR supplies a definition - documentationURL guidance: explicitly forbid GitHub library repo URLs for Adafruit products Motivated by a bad PR where documentationURL was copied from a firmware PR as a GitHub repo link instead of the actual learn guide. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Points 3 and 4 in the image selection guidance contradicted each other — point 3 said "straight-on" and "avoid angled shots" while point 4 said "slight angle". The correct style is the standard Adafruit isometric product photo (typically CDN image 00). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The CDN image numbering isn't fixed at 04 — increment from 00 until a 404 instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Image numbers on Adafruit CDN aren't contiguous — scrape all available image URLs from the product page gallery instead of iterating through a hardcoded range. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add skill v1
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add APDS9999 component definition
Update SPA06-003 definition to publish the component
Publish TMP119 + APDS-9999
Add AS7331 UV spectral sensor component definition
Set AS7331 published status to true
Added a description field for the AS7331 sensor.
Add description to AS7331 definition
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
All 92 components covered. Here's what's now in the spreadsheet and script: What was added i2c_address_jumper_info.json — cached jumper info for all 92 components: - default_address, has_address_jumper, address_jumper_info, per-address descriptions, Learn Guide URLs - 89 high confidence, 3 low (MLX90632 variants — no Adafruit Learn Guide) Sheet 1 (Component Matrix) — 3 new columns: - Has Jumper — Yes/No/? - Jumper Info — full description of how to change address - Guide URL — link to Learn Guide pinout page Sheet 2 (HIL Mux Layout) — channel blocks and linear list both have: - Jumper Config column — highlighted orange when non-default, shows the specific instructions needed - Has Jumper, Guide URL columns in the linear list Auto-fetch for new components — when the script runs and finds a component missing from the JSON: 1. Prints a warning listing missing components 2. 5-second countdown (Ctrl+C to skip) 3. Calls claude -p with a prompt to research the jumper info 4. Parses the JSON response and updates i2c_address_jumper_info.json 5. Reloads and continues with the spreadsheet generation
…tion - Replace verbose jumper info with short pad notation in channel blocks (e.g. "A0:1 A1:1", "SDO:GND", "ADDR:closed", "ADR:VDD") - Linear list now has both "Jumper Setting" (short) and "Jumper Details" (full) - Cross-platform claude CLI finder: handles .cmd/.exe/.ps1 on Windows, checks npm global paths, shell=True for .cmd shims - Fix edge cases: ADR pin (sht3x), fixed-addr sensors, range-key lookups - Reorder channel block columns: Jumper Setting next to Assigned Addr Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Groups all 92 components by what they physically measure (temperature, humidity, pressure, light, gas/VOC, proximity, current/voltage, PM, IR temp, percent) with suggested test fixtures per phenomenon. Includes multi-phenomenon sensor summary and per-group detail blocks with channel assignments and jumper settings.
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.
Summary
generate_hil_spreadsheet.py): reads allcomponents/i2c/*/definition.jsonfiles and produces a 3-sheet Excel workbook:i2c_address_jumper_info.json): address jumper/solder pad details for all 92 components, sourced from Adafruit Learn Guidesclaude -pto research and cache the info automatically. Cross-platform (Windows/WSL/Linux/macOS).hil_i2c_components.xlsxincluded for immediate useHardware config
{0x71, 0x77}Key stats
Test plan
python generate_hil_spreadsheet.py— verify 92 placed, 0 conflicts, spreadsheet generatedhil_i2c_components.xlsx— check all 3 sheets render correctlyclaude -pauto-fetch triggersclaudeCLI detection🤖 Generated with Claude Code