Skip to content

OpenFamily 2.2.0: Birthdays and pantry

Choose a tag to compare

@NexaFlowFrance NexaFlowFrance released this 16 Nov 18:39

Two things a family uses every week, and a door open to the people who want to help.

Birthdays

  • A family member with a date of birth on the Family page now has a birthday in the calendar, every year, with the age reached. There is nothing to type a second time, and changing the date of birth moves the birthday.
  • Birthdays appear wherever the calendar does: the app, the kiosk, a display link on an e-paper frame, the calendar feed in Google Calendar or Apple Calendar, and the API, so the Gladys Assistant integration and Home Assistant see them too.
  • On the morning of the day, by the family's clocks, every account of the family is told, once, in its own language.
  • For someone outside the family (grandparents, friends), an appointment repeated every year does the job.

Pantry

A new optional section: what you have at home.

  • Each product is under the place it is kept (fridge, freezer, cupboard, elsewhere), with a quantity and a use-by date. What must be eaten first comes first, and the page says how many products are past their date or within three days of it.
  • One tap for one more, one less, or to send a product to the shopping list.
  • A barcode names the product. Type it, read it with a handheld scanner, or scan it with the camera where the browser has a barcode detector of its own (Chrome, Edge and Samsung Internet on Android, over HTTPS). The Android app has no access to the camera yet: there, the barcode is typed.
  • The lookup asks your own pantry first, so a product you already named keeps your name for it. Otherwise the server asks Open Food Facts, the free and open database of food products. Only the digits of the barcode are sent, nothing about your family, and only when you ask.
  • A family that does not need it hides it in Settings.

Taking part

  • Translations can arrive one text at a time. A language no longer has to be complete to be merged: the app shows what is missing in English. The eight complete languages stay complete. TRANSLATING.md says where the texts are and how to start a language.
  • CONTRIBUTING.md says how to run the project and what a pull request needs, and how to help without writing code.
  • Discussions are open, for ideas and questions.

For other programs

  • Appointments asked with a range now include the birthdays, marked kind: birthday. They cannot be changed or deleted through the API.
  • New routes for the pantry: /api/pantry and /api/pantry/lookup/{barcode}, described in the server's own OpenAPI document.
  • PUT /api/auth/language accepts a language the interface has and the server does not yet. What the server writes to that person is then in English.

Upgrading

Nothing to do: pull the new images, or run the new Windows installer, as usual. The database is updated by itself at start. There is no new setting.

Full Changelog: v2.1.0...v2.2.0