Skip to main content

Adding Fault Codes

When a boiler or heat pump shows a fault code, the WebUI can explain it: what the code means, the possible cause and what to do. The explanations are not part of the firmware. They live in their own repository, emsesp/faultcodes, and anyone can add a missing code, correct a text or translate. You do not need to program anything.

Installing the explanations​

  1. Download the pack of your manufacturer and language from the latest release, for example buderus.en.json.
  2. In the WebUI go to Settings > Download/Upload and drop the file on the fault code section. The gateway stores it without a restart.
  3. The explanations then show in the Dashboard menu, on the Dashboard tiles and under Maintenance & faults, in every browser and without internet.

A pack is only accepted if a device of its manufacturer is on the gateway, because the same code can mean something else for another brand. The language of the explanation follows the language of the WebUI, then English, then the language of the manufacturer's document.

caution

The explanations come from the manufacturers' documents and are provided without any guarantee that they are correct or complete. Use them at your own risk and follow the documentation of your product.

The Fault Code Editor​

Use the Fault Code Editor to improve the lists. It looks and works like the Entity Translation Editor and the WebUI Translation Editor.

  • Open the lists loads them from GitHub. You can also open a clone of the repository on your computer, or single files.
  • Codes: search a code, or add a missing one. Say how serious it is, what it means, the possible cause and the remedy, and choose the devices the code is for from a list.
  • Translations: every language side by side. Missing texts are marked, and texts that were translated by a machine carry a machine label until a person has checked them. Changing a text counts as checking it.
  • Settings: the manufacturer, its languages and the groups of devices. Use New manufacturer or Add language to start a new list or language.
  • Send: shows everything you changed. Send my changes on GitHub opens an issue in emsesp/faultcodes with everything filled in; you press one more button. You need a free GitHub account, or you copy the text and send it to the maintainers another way.

Your work stays in your browser until you send it, also if you close the page. The maintainers check a suggestion before it is used. Only add texts you may share: from the display or the manual of your own device.

A code without an explanation, and no wish to use the editor? Open an issue in emsesp/faultcodes with the form "A code has no explanation".

For maintainers​

The lists are in brands/<brand>/ (brand.json, codes.json and texts/<lang>.json); the packs in packs/ are built from them. The format is described in FORMAT.md of the repository.

  • Suggestions arrive as issues titled Suggestion: ... with the label suggestion and a data block. Copy the text of the issue into a file and run node tools/apply-suggestion.mjs <file> --dry-run, then without --dry-run. Look at git diff, then run node tools/validate.mjs and node tools/build.mjs, and commit.

  • Saving without issues: in the editor choose Open the lists with a clone of the repository and use Save into the folder, or download the changed files.

  • Translations can be filled in with DeepL, the same way as for the other editors. Existing texts are never changed, and generated texts are marked as machine translated:

    DEEPL_API_KEY=xxx node scripts/translate-faultcodes.js --dir <clone of emsesp/faultcodes> [--brand buderus] [--locale nl] [--add-lang sv] [--dry-run]
  • Releases: a tag such as v2026-11-28 in emsesp/faultcodes runs a workflow that publishes every pack and index.json as files of a release. Run node tools/validate.mjs and node tools/build.mjs --check before tagging.