FDDB Food Diary Sensors for Home Assistant: A Scraper-Based Integration, v0.2.4

FDDB Food Diary Sensors for Home Assistant: A Scraper-Based Integration, v0.2.4. AutoMatter

Filed under

,

A community developer has released a custom integration that brings an fddb.info food diary into Home Assistant. FDDB is a German food and calorie diary. It has no public API, so the integration logs in with your account, reads the diary page and turns what it finds into sensors. The forum announcement is here. It is a niche project, but it shows a pattern we see often, and it is worth knowing what you are signing up for.

What it provides

  • Today’s calories, fat, carbs, sugar, protein and fibre, plus alcohol, bread units, salt and cholesterol.
  • Calories per meal, if your diary is grouped by meals.
  • 20 vitamins and minerals, disabled by default.
  • Yesterday, this week and this month, 7 and 30 day averages, and a logging streak.
  • A daily calorie goal (from FDDB or your own) with remaining calories and progress, plus FDDB’s energy balance and profile values such as weight and BMI.
  • Today’s diary entries as an attribute for cards and reports, and actions to refresh on demand or fetch any day.
  • A Problem sensor when FDDB cannot be read. Other values keep their last state instead of going unavailable.

It only reads your diary. It does not log food. The interface is in English and German, and several accounts are supported.

What to check before installing

The developer lists the current version as v0.2.4 and says it has run in their own Home Assistant daily since mid-October. That is a short track record. A few points matter for an installed system:

  • It scrapes web pages. When fddb.info changes its layout, the integration can break. The developer says that already happened once and was fixed in 0.2.4. Treat the sensors as useful rather than critical, and do not hang anything important on them.
  • Your FDDB login is stored in Home Assistant like any other integration credential. Use a password you do not reuse elsewhere.
  • It is a HACS custom repository, not a default listing. A pull request for the HACS default list is open, but it is not confirmed as accepted. Install is through custom repositories, then a restart, then adding the integration under Devices & services.
  • It needs Home Assistant 2025.8 or newer.
  • Code provenance: the developer says the code was written with AI assistance, has tests and CI, and is MIT licensed. That is disclosed openly, which we appreciate, but it is still code from a single maintainer. Read the repository before you hand it credentials.

A related option if you want your own archive

The integration is based on what fddb-exporter does. That separate project exports your FDDB data to MongoDB or InfluxDB, and its page says FDDB keeps entries for only up to 2 years for premium members and less for free users. If you care about long-term history, an export like that is the safer home for it, not Home Assistant’s recorder. Know the cost, though: the project says the service typically uses around 950 MB of RAM, needs Docker or Java 21+ plus a database, and sends some anonymous usage data to the author’s server (it describes what is sent and says no diary content is included). Weigh that against a small Home Assistant box.

Our take

If you already log meals in FDDB and want a calorie gauge on a dashboard or a nightly nutrition summary, this looks like a reasonable thing to try. Install it on a test setup first, watch the Problem sensor, and expect occasional breakage after FDDB site changes. If you do not already use FDDB, there is no reason to start because of this. We have not run it ourselves, and everything above comes from the developer’s own announcement and the exporter’s project page.

Sources