Skip to content

openGym v0.11.0 — Voice control, statistics & progress

Choose a tag to compare

@JImmyB0nes JImmyB0nes released this 17 Nov 11:29
· 13 commits to main since this release
e84827a

Major feature release: openGym can now be controlled by voice, appears in the logbook and brings your complete training history into Home Assistant's long-term statistics. There is also a fourth card. Nothing needs to be migrated, existing entity IDs stay the same.

✨ New (#24)

🗣️ Voice control (Assist): works in German and English with no setup, for example:

  • "When is my next workout?" / "Wann ist mein nächstes Training?"
  • "How often did I work out this week?" / "Wie oft habe ich diese Woche trainiert?"
  • "When did I last work out?" / "Wann habe ich zuletzt trainiert?"
  • "Log 80.4 kilos" / "Trag 80,4 Kilo ein" (pounds are converted)
  • "Start a 90 second rest" and "Stop the rest" / "Starte 90 Sekunden Pause" und "Stoppe die Pause"

The integration creates the sentences itself in config/custom_sentences/. If you customize a file yourself, delete its first line and it will be left untouched. Can be disabled in the options.

📖 Logbook: finished workouts, new records and weigh-ins appear as readable entries, e.g. "openGym finished Push (12,400 kg volume, 18 sets, 54 min)".

📈 Long-term statistics: body weight, volume per training day and the estimated 1RM of your 8 most-performed exercises are imported retroactively back to your first workout. This way the statistics graph card also shows the time before installation. Can be disabled in the options.

📊 Progress card custom:opengym-progress-card: 1RM history per exercise, body weight with goal line and a timeline of your records.

🎛️ New controls:

  • select.opengym_today_s_routine picks today's routine or a rest day and writes it to the plan.
  • number.opengym_rest_timer_duration sets the rest-timer length (15 s to 10 min).

🔧 Improved

  • Entity names in your language: names now follow Home Assistant's language (German/English). Entity IDs stay English so automations and cards keep working.
  • Code split: the evaluation logic now lives in its own module state.py.
  • More tests: CI additionally tests against a real Home Assistant, including the spoken sentences.
  • README: new sections on voice control, statistics, progress card and development. The documented muscle entity IDs are corrected (e.g. shoulders instead of deltoids).

⚠️ Notes

  • Update entity: fresh installs now get update.opengym_opengym_instance. Existing installations keep update.opengym_opengym_instanz.
  • After the update, restart Home Assistant once and clear the browser cache (Ctrl+F5) so the new card appears.
  • Voice control with an AI agent (e.g. an LLM): enable "Prefer handling commands locally" in the voice assistant's settings.