Skip to content

Add remote_carb_edit customization - #87

Open
bjorkert wants to merge 4 commits into
mainfrom
remote_carb_edit
Open

bjorkert wants to merge 4 commits into
mainfrom
remote_carb_edit

Conversation

@bjorkert

@bjorkert bjorkert commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Adds remote delete and edit of carb entries in Loop, sent from LoopFollow. Handle is the entry's syncIdentifier. Delete sends carbs-delete. Edit sends carbs-edit with carbs-edit-entry, carbs-edit-absorption-time and carbs-edit-start-time, and carbs-edit-food-type when set. OTP, sent-at and expiration are required. Only entries created by Loop within the last 24 hours can be changed. Loop shows a local notification on success and failure and answers with a return push carrying sync_identifier.

Loop advertises the supported commands in devicestatus as loop.testingDetails.remoteCommands on every loop cycle. LoopFollow only shows the actions when that list is present.

Includes combined variants for use together with remote_window, in both orders. The selector picks the right file automatically.

Generated against LoopWorkspace 3.14.8. Verified to apply together with every other customization that applies to 3.14.8.

LoopFollow side: loopandlearn/LoopFollow#756

Selector entry: loopandlearn/lnl-scripts#107

Every devicestatus upload carries loop.testingDetails.remoteCommands with
the notification keys the patched build accepts, so LoopFollow can gate
the carb delete and edit actions on it. All three patch files are
regenerated from clean trees.
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.

1 participant