Contributing
Contributions are welcome: bug reports, new plugins, fixes and documentation.
Report an issue
Check the issue tracker first. If your issue is new, open one with as many details as possible: board, firmware version, steps to reproduce and the serial log.
Submit a change
- Fork the repository and clone your fork.
- Create a branch with a descriptive name.
- Make your changes and test them on a device.
- Commit with Conventional Commits, for example
feat(plugins): add rain pluginorfix(mqtt): keep password on save. - Push the branch and open a pull request. Explain what you changed and why.
Code style
Match the style of the surrounding code. The repository uses pre-commit hooks for formatting:
pip install pre-commit
pre-commit installThe hooks run clang-format for C and C++, ruff for Python, and checks for YAML, TOML and whitespace.
JavaScript, TypeScript, JSON and YAML are linted with oxlint and formatted with oxfmt from the repository root:
pnpm install
pnpm lint # pnpm lint:fix fixes what it can
pnpm format # pnpm format:check only checksDocumentation
If you add or change a feature, update these docs in docs/pages/. Run the docs locally:
cd docs
pnpm install
pnpm devEvery page has an Edit this page on GitHub link at the bottom.
Code of Conduct
This project follows a Code of Conduct. Please follow it in all project spaces.