Repository navigation
Releases
1.56.0
1.55.7
Invert native picker icons in dark themes, widen the previous-day time field, and right-align the Reports/Settings buttons.
1.55.5
Fix backup/restore on Android (share sheet, any file type), fit chart settings on one row, put the drink dropdown above the date/time pickers for previous-day logging, and show native picker icons in dark themes.
1.55.0
SleepSense variant of the plugin
Two plugins are attached. Install one of them; both read and write the same sleep log.
caffeine-tracker-v1.55.0.zip: the standard Caffeine Tracker. No new features; its page is packed a little tighter.caffeine-tracker-sleepsense-v1.55.0.zip: Caffeine Tracker + SleepSense, a separate plugin (own id) that also logs each rated night from the SleepSense Android app (0.1.3 or newer).
What the SleepSense variant adds
- Sleep sync over MQTT: it listens to the retained
sleepsense/last_nighttopic and logs the minutes asleep and star rating into the Sleep log, even while the plugin view is closed. A night and a nap on the same day add up; a changed rating updates that night instead of adding it again. - Broker setting: Settings has a WebSocket URL box with the login in it, e.g.
ws://user:password@homeassistant.local:9001(percent-encode special characters). Saving it tests the connection and shows Connected, a bad login, an unreachable broker or a bad URL. - Your broker needs a WebSocket listener. If Super Productivity runs from an https page (e.g. on Android), plain
ws://may be blocked and you will needwss://. - Requires Super Productivity 18.8 or newer.
1.54.0
Safer sync for drinks, and logging drinks for previous days
- Fix: drink costs could be wiped by another device. A device that hadn't pulled the latest sync yet (e.g. a phone right after opening) could auto-save its old copy and overwrite newer data. Drinks (with costs) and habit marks now sync under their own keys, and background habit updates never touch your log, sleep, or drink settings
- Log drink for previous day: new Settings form — pick a date, time, and saved drink to backfill a missed drink. Its cost follows your drink settings
- Restoring a backup now restores every sync key
- Requires Super Productivity 18.8 or newer
- Refreshed mobile screenshots
Update every device — an older version on another device can still overwrite drink costs.
1.52.1
Drink cost tracking, backup/restore, and richer reports
- Cost tracking: set a cost per drink in Manage drinks (or on a custom entry). Costs are calculated live from your drink settings, so setting or changing a price updates all past entries
- Spent today stat under the gauge, plus cost in Today's log, the decay chart legend, the daily breakdown, the report summary (total + per-day average), and the Markdown export
- Editing a drink's name or mg also recalculates its past entries
- Report summary and export now include average sleep per period
- Daily Avg replaces Sleep streak under the gauge
- Today's sleep is pinned at the bottom of Today's log again
- Backup/restore in Settings: download all data as JSON, or restore from a backup file
- Wider mg/sip/cost inputs in Manage drinks, without spinner arrows
1.47.3
Small fixes and added a way in settings to add sleep data for previous days
1.47.0
Log sleep for a previous day from Settings (date + duration + rating). Sleep add/delete now also refreshes the daily breakdown.
1.44.2
fixed breakdown losing stats when you run finish day
1.44.1
Added sleep tracking, daily breakdown, and chart customization; fixed several sync bugs
- Sleep tracking: duration/star-rating entry, additive per-day totals, shown on the decay chart, daily-breakdown panels, and markdown export
- Daily breakdown: per-day decay/task/habit panels for a configurable window, with per-day stats and a persisted habit history so the habit line survives day rollover
- Settings: configurable decay chart hours-before/after and daily-breakdown day count
- Export: combined decay/task/habit mermaid chart, sleep log table
- Fixed: habit-mark cross-device sync (min-merge instead of local-wins), daily-breakdown task line sort order and DST-unsafe day math, gauge metabolized % going negative
- Two byte-budget cleanup passes (CSS rule/canvas dedup, shared themeColor helper) to keep index.html under SP's 102,400-byte plugin size cap