Auto Offline is a Decky Loader plugin for the Steam Deck. You give it a list of times and statuses, and it changes your Steam friends status when each time comes round. Go invisible late at night, Away over lunch, back Online in the morning. The code is on GitHub.
A friend asked me for it. He plays on his Deck over lunch and in quiet moments at work, and didn’t want his friends list showing exactly when. Changing the status by hand every time is easy to forget, so the Deck does it for him.
The schedule
Each rule is a time and a status. The statuses are Online, Away, Invisible, Do Not Disturb and Offline. The rule that started most recently wins. The default schedule looks like this:
| Time | Status |
|---|---|
| 02:00 | Offline |
| 08:00 | Online |
| 13:00 | Away |
| 14:00 | Online |
| 23:00 | Invisible |
Before the first rule of the day, the last rule from the previous day still applies. So at 00:30 you are still Invisible from 23:00. That wrap-around is the one bit of logic worth testing, and the test file checks it, along with the rule boundaries (07:59 is Offline, 08:00 is Online).
You edit the list from the Quick Access menu, under Decky, Auto Offline. You can add rules, change a time or status, delete one, or switch the whole schedule off. Times go in 15 minute steps.
It only switches when a rule starts
The plugin checks the clock every 30 seconds, so a change can be up to half a minute late. It uses a poll rather than a timer set for the next rule, with the comment “so it catches up after sleep”: if the Deck was asleep when a rule came due, the next check picks it up.
It also only acts when the active rule changes. If you set your status by hand, it stays that way until the next rule starts. The plugin doesn’t keep fighting you.
Two things Steam made awkward
Do Not Disturb isn’t a status. Steam treats it as a separate setting. The steam://friends/status/dnd link
does nothing, so a Do Not Disturb rule sets you Online and turns the DND flag on. Any other rule turns DND off.
The friends list loads after the rest of the UI. Setting DND too early wipes the friend settings, so the plugin waits until the friends store and your own profile are there before it does anything.
Settings are saved to disk
The settings live in ~/homebrew/settings/auto-offline/settings.json. The code comment explains why: Steam’s UI
localStorage drops writes on reload, so the plugin’s Python side writes the file instead. It writes to a temporary
file and then renames it over the real one, so a half-written file can’t replace good settings. When the plugin reads
the settings back, it throws away any rule with a time outside the day or a status it doesn’t know.
Installing it
It isn’t on the Decky Plugin Store, which doesn’t accept plugins written with AI assistance, and this one was. To install it from a release instead:
- In Decky’s settings, under General, turn on Developer mode.
- Under Developer, choose Install plugin from URL and paste the
auto-offline.ziplink from the latest release.
I’ve run it on my own Deck since I installed it, and it has worked fine. That’s SteamOS 3.9.5 with Decky Loader 3.3.1; I haven’t tried other versions, so I can’t promise it works there.
Credit
It started from the official decky-plugin-template and keeps its BSD-3-Clause licence.
What’s next
Per-day schedules are the obvious next step: a different plan for weekends than for workdays.