Matterbridge eve motion with history
July 17, 2026 · View on GitHub
This plugin shows how to use the Matter history and how to create a passive device in Matterbridge.
It creates a virtual motion sensor with a light sensor device that continuously changes state.
If you like this project and find it useful, please consider giving it a star on GitHub and sponsoring it.
Prerequisites
Matterbridge
See the guidelines on Matterbridge for more information.
Repository setup
Note: This repository uses a new toolchain. It replaces the traditional TypeScript / ESLint / Prettier / Jest stack with a faster, lighter setup.
- No
typescriptpackage — replaced by TypeScript Native. Thetypescriptpackage is kept only as a publish-time dependency while tsgo is still in preview. - No ESLint, no Prettier — replaced by the oxc stack: oxlint for linting and oxfmt for formatting.
- No Jest — replaced by Vitest, which is much faster and natively supports ESM without extra configuration.
- Far fewer development dependencies — the number of installed packages drops from ~600 to ~100. A clean install is much faster.
- Much faster linting and formatting — oxlint and oxfmt run in a fraction of the time required by the ESLint / Prettier pipeline.
- Much faster builds — tsgo compiles the project in a fraction of the time required by the standard
tscbuild. - Editor support — use the VS Code extensions for tsgo and oxc to get the same experience in the editor.
Style guide
See also the Style Guide for JSDoc, naming, and logging conventions used in this repository.