Repository navigation
v0.3.1-preview:網頁開關插座 - #5
Merged
Merged
Conversation
POST /admin/relay-on and /admin/relay-off (session + CSRF, operation lock) queue a request on the existing admin-to-matterd channel; matterd issues the MCU command and reports complete only after MCU confirmation, otherwise relay-busy, relay-failed or relay-timeout. HomeKit mode is refused with 409. The overview card gains a toggle button that asks before switching off, and guests are sent to the login dialog. Tests cover the HTTP rules, and the Matter VM test drives the real API through matterd to the simulated MCU, including web/Matter exclusion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The factory web install now uses commandkit-matter-v0.3.1-public-first-install.bin. Screenshots show the new relay toggle, the site and READMEs mention web on/off, and the release, public audit and first-install verification for v0.3.1 are recorded. Co-Authored-By: Claude Opus 5.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.
摘要
v0.3.1-preview(software version 15):管理後台可以直接開關插座。
功能
POST /admin/relay-on/relay-off(session+CSRF、操作鎖;不接受 body),沿用既有管理服務 → Matter 程式的請求通道relay-busy/relay-failed/relay-timeout,網頁顯示對應提示;Matter OnOff 狀態自動同步驗證
complete回執、/measurements與 Matter OnOff 屬性;MCU 不確認回報relay-failed;網頁與 Matter 指令雙向互斥validate_catalog_upgrade14→15;v0.2.11 與 v0.3.0 頁面的更新篩選都會選到 0.3.1🤖 Generated with Claude Code