Skip to content
OBEGRÄNSAD LED

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

  1. Fork the repository and clone your fork.
  2. Create a branch with a descriptive name.
  3. Make your changes and test them on a device.
  4. Commit with Conventional Commits, for example feat(plugins): add rain plugin or fix(mqtt): keep password on save.
  5. 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 install

The 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 checks

Documentation

If you add or change a feature, update these docs in docs/pages/. Run the docs locally:

cd docs
pnpm install
pnpm dev

Every 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.