Repository navigation
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.