<h1>
<img src="https://github.com/Raphiiko/OyasumiVR/assets/111654848/53f56237-9cde-48df-a446-8eaad76c8206">
</h1>
<h3 align="center">
💤 A utility to assist with sleeping in virtual reality. 💤
</h3>
<p align="center">
<a><img alt="Latest Version" src="https://img.shields.io/github/v/tag/Raphiiko/Oyasumi?color=informational&label=version&sort=semver"></a>
<a><img alt="Development Build Status" src="https://github.com/Raphiiko/Oyasumi/actions/workflows/build-development.yml/badge.svg"/></a>
<a href="https://github.com/Raphiiko/Oyasumi/blob/develop/LICENSE"><img alt="License" src="https://img.shields.io/github/license/Raphiiko/Oyasumi"></a>
<br>
<a href="https://discord.gg/7MqdPJhYxC"><img alt="Discord Badge" src="https://img.shields.io/discord/1023672078672609382?color=5865f2&label=Discord&logo=discord&logoColor=https%3A%2F%2Fshields.io%2Fcategory%2Fother"/></a>
<a href="https://store.steampowered.com/app/2538150/OyasumiVR__VR_Sleeping_Utilities"><img alt="Steam Page" src="https://img.shields.io/badge/Store-Steam-black?logo=steam"/></a>
<br>
<a href="https://patreon.com/Raphii"><img alt="Patreon Page" src="https://github.com/Raphiiko/OyasumiVR/assets/111654848/7d3d83a5-0900-4ccc-a514-ed1d616cb2ce"/></a>
<br>
<br>
If you want to come chat, join our <a href="https://discord.gg/7MqdPJhYxC"><img src="https://user-images.githubusercontent.com/111654848/192362041-f09cc066-a964-446f-aa2c-fa7a7a31ec05.png" width="16" style="fill: white" /> Discord Server!</a>
<br>
<br>
<table align="center">
<tr>
<td align="center">English</td>
<td align="center">Japanese<br>日本語</td>
<td align="center">Korean<br>한국어</td>
</tr>
<tr>
<td align="center">
<a href="https://store.steampowered.com/app/2538150/OyasumiVR__VR_Sleeping_Utilities/?l=english">Steam</a> | <a href="https://github.com/Raphiiko/OyasumiVR/blob/develop/docs/readmes/generated/README_EN.md">Readme</a>
</td>
<td align="center">
<a href="https://store.steampowered.com/app/2538150/OyasumiVR__VR_Sleeping_Utilities/?l=japanese">Steam</a> | <a href="https://github.com/Raphiiko/OyasumiVR/blob/develop/docs/readmes/generated/README_JA.md">Readme</a>
</td>
<td align="center">
<a href="https://store.steampowered.com/app/2538150/OyasumiVR__VR_Sleeping_Utilities/?l=korean">Steam</a> | <a href="https://github.com/Raphiiko/OyasumiVR/blob/develop/docs/readmes/generated/README_KO.md">Readme</a>
</td>
</tr>
<tr>
<td align="center">Simplified Chinese<br>简体中文</td>
<td align="center">Traditional Chinese<br>繁體中文</td>
<td align="center">Bahasa Indonesia</td>
</tr>
<tr>
<td align="center">
<a href="https://store.steampowered.com/app/2538150/OyasumiVR__VR_Sleeping_Utilities/?l=schinese">Steam</a> | <a href="https://github.com/Raphiiko/OyasumiVR/blob/develop/docs/readmes/generated/README_CN.md">Readme</a>
</td>
<td align="center">
<a href="https://store.steampowered.com/app/2538150/OyasumiVR__VR_Sleeping_Utilities/?l=tchinese">Steam</a> | <a href="https://github.com/Raphiiko/OyasumiVR/blob/develop/docs/readmes/generated/README_TW.md">Readme</a>
</td>
<td align="center">
<a href="https://store.steampowered.com/app/2538150/OyasumiVR__VR_Sleeping_Utilities/?l=indonesian">Steam</a> | <a href="https://github.com/Raphiiko/OyasumiVR/blob/develop/docs/readmes/generated/README_ID.md">Readme</a>
</td>
</tr>
<tr>
<td align="center">Russian</td>
<td align="center"></td>
<td align="center"></td>
</tr>
<tr>
<td align="center">
<a href="https://store.steampowered.com/app/2538150/OyasumiVR__VR_Sleeping_Utilities/?l=russian">Steam</a> | <a href="https://github.com/Raphiiko/OyasumiVR/blob/develop/docs/readmes/generated/README_RU.md">Readme</a>
</td>
<td align="center">
</td>
<td align="center">
</td>
</tr>
</table>
</p>
<p align="center">
<img src="https://github.com/Raphiiko/OyasumiVR/assets/111654848/563abe4d-2a8d-43e2-9515-39ea8d772d09" width="640">
</p>
Download & Install
<img align="right" src="https://github.com/user-attachments/assets/f68dbaeb-717c-4862-8c52-b7639d65cb32" width="130">
Grab our latest installer from whichever place you prefer:
Just run the installer and you should be good to go!
What is OyasumiVR?
OyasumiVR is a desktop application containing various utilities and automations to help you sleep with a virtual reality headset on. Most of these utilities are built specifically for use within the social vr-platform VRChat.
OyasumiVR can detect when you are asleep, and help you in various ways such as:
- 🔋 Saving electricity and battery overnight
- 🔅 Dimming your headset brightness
- ✨ Triggering avatar animations based on your sleeping pose
- 📩 Automatically handling invite requests
- 🔵 Automating your VRChat status
- 🎤 Muting your microphone when you fall asleep
- 🛠️ Automating various SteamVR settings
...and many more! Please see the upcoming "Features" section to read more about what functionality OyasumiVR has to offer.
Support OyasumiVR
OyasumiVR itself is completely free, and will always be free. However, if you want to support me and the development of OyasumiVR, here's a few places you can do so:
<a href="https://patreon.com/Raphii"><img alt="Patreon Page" src="https://github.com/Raphiiko/OyasumiVR/assets/111654848/7d3d83a5-0900-4ccc-a514-ed1d616cb2ce"/></a>
By supporting me, you help me dedicate more time to developing new features, improving the current functionality, offsetting some of the costs that come with the development process, and fueling my coffee addiction ☕.
I'm not done with OyasumiVR anytime soon: there is a lot more I want to work on!
Features
💤 Sleep Detection
<table>
<tr>
<td>
OyasumiVR can detect automatically when you are asleep, based on your movement! Simply calibrate once, enable the automation, and you're set.
<br><br>
If automatic detection is not what you're looking for, there's various alternative automations you can use, that are based on:
<br><br>
<ul>
<li>A time schedule</li>
<li>Controller & tracker battery levels</li>
<li>Controller & tracker power states</li>
<li>SteamVR status</li>
<li>Heart Rate</li>
<li>Sitting Upright</li>
<li>VRChat players joining or leaving</li>
</ul>
</td>
<td width="380"><img src="https://github.com/Raphiiko/OyasumiVR/assets/111654848/48775fe7-2646-4d0b-ba8c-f7d7eb3a5d86"></td>
</tr>
</table>
📲 SteamVR Overlay
<table>
<tr>
<td>
OyasumiVR comes with its own SteamVR overlay, which allows you control some of its features from within VR!
<br><br>
By default, double press the A button on your right controller, and it should pop up in front of you.
</td>
<td width="380"><img src="https://github.com/Raphiiko/OyasumiVR/assets/111654848/1fc76470-fbea-43de-af80-38ee38a927ba"></td>
</tr>
</table>
🔋 Power Automations
<table>
<tr>
<td>
<b>Controllers & Trackers</b>
<br>
Automatically have your controllers and/or trackers turn off when you sleep, and save their battery! You'll be happy when you wake up in the morning and find they'll still have some juice left in them!
<br>
<br>
Additionally, you can have your controllers and/or trackers turn off at certain battery levels, or when you put them on the charger. Ideal for hotswapping controllers!
</td>
<td width="380"><img src="https://github.com/Raphiiko/OyasumiVR/assets/111654848/aff14677-c2fe-4309-8b96-950dff59e3b9"></td>
</tr>
<tr>
<td>
<b>Windows Power Policy</b>
<br>
Save some electricity by automatically setting Windows' Power Policy when you go to sleep and wake up! Simply have it set a more conservative policy (like "Power Saver") when you go to sleep, and then restore a higher performance policy when you wake up again.
</td>
<td width="380"><img src="https://github.com/Raphiiko/OyasumiVR/assets/111654848/05398894-a058-4715-b66a-067857b90e43"></td>
</tr>
<tr>
<td>
<b>Base Stations</b>
<br>
Have OyasumiVR turn your base stations on and off together with SteamVR. A bit like SteamVR's own base station power management, but <b>compatible with any HMD!</b> As long as your PC supports Bluetooth and is in range of the base stations, you're good to go.
</td>
<td width="380"><img src="https://github.com/Raphiiko/OyasumiVR/assets/111654848/f624681d-7e52-4b83-900d-6d7f7b45428d"></td>
</tr>
</table>
🎮 Device Control
<table>
<tr>
<td>
OyasumiVR can allow you to easily control many of your SteamVR devices, from controllers, to trackers, to base stations.
<br><br>
Easily read detailed battery level and charge status for your controllers and trackers, or turn your base stations on and off with a single click!
</td>
<td width="380"><img src="https://github.com/Raphiiko/OyasumiVR/assets/111654848/7c6a6f7d-fa5a-44e0-bc0f-b690e26dad31"></td>
</tr>
</table>
🔌 GPU Automations
<table>
<tr>
<td>
<b>GPU Power Limiting</b>
<br>
Save electricity by automatically power limiting your GPU when you go to sleep, and restoring its full power when you wake up! Simply set the desired watt limits and OyasumiVR will set them when needed.
<br><br>
<i>Power limiting is only available on Nvidia GPUs. AMD users can instead make use of the MSI Afterburner automations.</i>