Oculus Quest Meet the Smart Home!

Hey Everyone! We hope you all had a great new years and holidays spent with the family! This past holiday season had some pretty cool toys going around. Cool toys to us mean more things to tinker with. One of the most popular gifts this year was no doubt the Oculus Quest and to be honest, how could it not be right?

Naturally, working on the Android app some of us wondered how does the app perform on such a device? Well, it actually works pretty well and you can start building automations based on your usage today!

![](upload://moQayow9yqg9Wt7lJk8nfonD1li.png)

Oculus Quest data in Home Assistant

Home Assistant Companion for Quest gives you access in Home Assistant to over 40 data points about your headset. For example, our interactive sensor updates as soon as the screen comes on, which means you’re wearing the headset. This allows you to make sure your lights are bright enough to play VR.

Ever play on your headset until it dies and then sits around waiting for it to charge up? Using the battery sensors you can get notified when your headset is fully charged and ready to play that next round.

Keep the music on in the background while you are playing? Automate your media player volume level based on whether your Quest microphone is muted.

It is not all about automations either. You can open the Home Assistant interface on your Quest (in 2D) and see who rang the doorbell. You can even talk back if your doorbell supports it!

We are just getting started with things. As usual our users are really good at finding more unique use cases that we didn’t even consider. So get your device set up with Sidequest, install the app and start automating today!

Hello Sidequest!

Wait Sidequest, what is that? Sidequest is the alternative App Store for the Oculus Quest.

In VR terminology our app is a “2D app”. The official Oculus Quest store only recently started allowing 2D apps and we are still working on a version that meets their requirements. So while we are waiting, we wanted to release something so we can get feedback how you are using it to automate things.

The app on Sidequest is the minimal version of the Home Assistant Companion Android app. While the Quest runs Android, it doesn’t have the Google services. This means no widgets, no shortcuts, and no support for the standard notifications.

2022.1 Release for Android

We can’t just make a post like this and ignore the new release for the Phone app that just went out the other day without highlighting it right?! While the 2022.1 release may not be as jam-packed as 2021.12 we do still have some neat features to cover.

  • A new sensor to determine if your devices work profile is active by zmarties. This sensor will update as soon as a state change is detected allowing you to make unique automations based on the profile being active.
  • dshokouhi has added a new sensor allowing you to see what the Last Used App was. Pair this new sensor with the Quest and you can make specific automations based on what game you are currently playing!

  • jpelgrom has worked on our WebSocket implementation to finally bring in areas to the app. Device controls are the first feature to get area support so you can easily add entities from areas. The area will also be shown in the device control button itself. Be on the lookout for more area support in other parts of the app as it should make finding entities a lot easier.
  • JBassett has also made more progress on the WebSocket implementation by bringing in better error handling to prevent the application from crashing and producing a lot of unnecessary errors.
  • For the Wear OS app SkechyWolf has added support for the back button to properly function and exit the app.

A big thank you to all of our contributors and users for bringing in awesome features and great feedback/bugs. We look forward to improving the android app even further in 2022! As always please remember to add your feature requests and bugs to GitHub.

Changelog


This is a companion discussion topic for the original entry at https://www.home-assistant.io/blog/2022/01/07/android-quest/
5 Likes

Sweet! I was doing this via ADB before, but this should hopefully work better and have less disconnects

1 Like

This is fantastic, thank you! Does it require the app being open the whole time to get this sensor data?
I am working on a 3D VR environment to HA instance setup, which would run as a separate app.

1 Like

No it doesn’t, the sensor worker runs as a foreground service in the background. Just make sure to grant the app background access under the Companion App settings so the system doesn’t kill the app. The sensor worker will also start on device boot after you login :slight_smile:

1 Like

Same here, adb just wasn’t reliable enough

Sweet love it!

This is great. I was thinking of setting up something to toggle my IR Illuminator. I wasn’t expecting a full integration.

1 Like

Very nice work!

Where does the firmware version come from? (listed under Device Info; I can’t find if there’s an entity that has it)

Both of my Quests (a Q1 and a Q2) are on v35, but it’s reporting firmware as 29. Is it, by any chance, processing it as Octal (035)? If so, it’ll break in 3 more versions :wink:

Firmware version is the Android API level which both devices are API 29 which is Android 10

Ah, I didn’t realize it was the API version. Yes, 29 makes sense in that context (not sure what use it is, but it makes sense). 035 was just a nice coincidence :wink:

It is nice of course, that new fetures are relesed. But with half working tuya lights and non working most of my xiaomi equipment, one counts for sth very diffrent…

Android releases have nothing to do with HA core, different team of developers.

Looks like some people are investing their free time where they want instead of where you need it.

1 Like

To me it seems like the last_used_app sensor has very limited functionality, when it only updates every 15 minutes. Shouldn’t it update on state change?

there is no intent for it to be updated on a state change, try enabling more sensors to trigger more updates. the phone app has the same issue

This is amazing. I just ran through the steps and it installed perfectly.