Skip to content

1.55.0

Choose a tag to compare

@BigWebstas BigWebstas released this 12 Oct 20:43
· 15 commits to main since this release

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_night topic 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 need wss://.
  • Requires Super Productivity 18.8 or newer.