Cury scripts: production-ready structure, docs, and manifest/index sync#191
Merged
orlin369 merged 37 commits intoALLTERCO:mainfrom Feb 23, 2026
Merged
Cury scripts: production-ready structure, docs, and manifest/index sync#191orlin369 merged 37 commits intoALLTERCO:mainfrom
orlin369 merged 37 commits intoALLTERCO:mainfrom
Conversation
- Resolve manifest path relative to script location - Argument is now optional, defaults to ../examples-manifest.json Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New UART loopback test for verifying wiring and communication, with proper two-header format, standard section structure, and subfolder README. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
put_script.py now calls Script.SetConfig to rename the script slot to match the uploaded file's basename before uploading code. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds a variant of the Deye SG02LP1 reader that updates user-defined virtual number components on the device instead of logging only. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Move mb308v.shelly.js into the_pill/MODBUS/ComWinTop/; add README - Move Deye scripts into the_pill/MODBUS/Deye/; mark @status production; fix @link URLs; register both scripts in examples-manifest.json; add README - Add JK200 BMS MODBUS-RTU reader (the_pill/MODBUS/JK200-MBS/) for Jikong JK-PB series BMS via RS485; add README - Trim parent MODBUS/README.md to cross-reference subdirectory docs - Update CHANGELOG.md and SHELLY_MJS.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Restructure MODBUS into per-device subdirs; add JK200 BMS reader. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Promote all 6 scripts in the_pill/ys_irtm/ to @status production, register them in examples-manifest.json, remove Under Development banner from README.md, and regenerate SHELLY_MJS.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Set BAUD_RATE to 115200 (actual protocol rate for JK BMS RS485 Modbus V1.0) - Fix parseCellBlock: stride-1 (regs[i] not regs[i*2]); read CELL_COUNT regs - Fix parseMainBlock: correct offsets for stride-1 WORDs / stride-2 DWORDs (voltage regs[3..4], power regs[5..6], current regs[7..8], temps regs[9..10], alarms regs[11..12], balance reg[13], SOC reg[14]) - Remove temporary KVS debug dumps - Replace non-ASCII characters with ASCII equivalents (mJS compatibility) - Enable DEBUG; mark @status production Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove "Under Development" notice; script is production - Update baud rate to 115200 (protocol 001 - JK BMS RS485 Modbus V1.0) - Correct Block A: qty CELL_COUNT (stride-1, no padding) - Correct Block B offsets to actual stride-1/stride-2 layout - Update CONFIG example and console output example with real values - Note ASCII-only requirement for mJS compatibility Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Move Cury scripts into light-language, button-control, and legacy folders - Add and expand README files with use cases, personas, and variant notes - Standardize JSDoc metadata headers across Cury .shelly.js scripts - Update moved script links and record the work in CHANGELOG.md Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
# Conflicts: # CHANGELOG.md
- Mark Cury scripts as production and refresh related script headers - Apply readability beautification to legacy cury-mini script formatting - Align Cury set by removing duplicate passive-listener variant file Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update examples-manifest.json from script metadata - Regenerate SHELLY_MJS.md from manifest entries Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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 PR finalizes the Cury script set by reorganizing files, standardizing metadata headers, improving docs, and syncing generated indexes.
Changes included
Reorganized cury/ into clear functional folders:
cury/light-language/
cury/button-control/
cury/legacy/
Added/updated README documentation:
Use cases per script/folder
User persona per use case
Duplicate/variant analysis notes
Standardized JSDoc headers in Cury scripts with:
@title, @description, @status, @link
Marked Cury scripts as @status production
Removed duplicate listener variant:
cury-btn-listener 1.shelly.js
Beautified legacy script formatting:
cury-mini.shelly.js (readability/style pass, no intended behavior change)
Synced generated project files:
examples-manifest.json
SHELLY_MJS.md
Updated CHANGELOG.md
Validation performed
sync-manifest-md.py --remove-missing --extract-metadata
examples-manifest.json
check-manifest-integrity.py --check-headers --check-sync
Result
Manifest and index are in sync
Integrity checks pass
Cury production scripts are properly registered and documented