This works fine. Here is what I'm doing on VRON on my PC with Eventghost for anyone looking to automate
Now that ALVR client is on the app store can we have more automations?
I don't want to touch my PC so I'd like to always run ALVC server on the tray and whenever my "auto-connect" client starts up the server should "Start Server". Also after disconnection from clients and after X secs of inactivity I'd like it to stop the server and maybe kill the steam vr services so my CPU doesn't burn to the ground.
Maybe add wake on lan as well so that whenever the client starts it wakes up the last server it connected to.
This way I'll never have to go to my PC room ever again.
You could also allow me to automate this manually. What I'd like is on the server side: "Run this app on connect" , "Run this app on disconnect". On client side I'm not sure I can do the wake on lan thing externally. I think whatever oculus app is on foreground everything else like tasker stops working. It would be cool though if I could run a tasker task on startup.
- 点赞 评论 复制链接分享
It's an interesting idea. It would be nice if users can ignore all bothersome operations.
"Run this app on connect" , "Run this app on disconnect".
It's a good idea. It can be used for general purpose and very useful. I will add this feature on next release.
On client side I'm not sure I can do the wake on lan thing externally.
I think I can add WoL on client side, but this lacks versatility. As you said, Using Tasker may be good. But can Oculus Go run Tasker?点赞 评论 复制链接分享
I tried to run a tasker task on application start on alvr client but it doesn't run until i close the app so oculus probably blocks it. I don't know if you can do this by integrating tasker manually within the client点赞 评论 复制链接分享
Okay. I will try to integrate with Tasker.
This document may help us. https://tasker.joaoapps.com/developers.html
Server side has been done on the new release, v2.0.4.点赞 评论 复制链接分享
What is the usecase for the run app on connect or disconnect?点赞 评论 复制链接分享
To start steam vr or stop steam vr and launcher, raise volume to full, change soundcard to bluetooth, disable notications and/or automatically starting last game played without touching the pc点赞 评论 复制链接分享
Yah ok fair bump点赞 评论 复制链接分享
- weixin_39600823 5月前
I think that the biggest challenge to the usefulness of this idea is the fact that the controller and speakers/headphones still need to be connected to the PC. You might be able to go one room over if this is implemented, but that's about it. And we'd have to figure out a way to get SteamVR to open in Big Picture Mode as soon as ALVR connects, otherwise you wouldn't have a way of launching games if you're not in front of the computer.
So overall I agree with adding some automation, but the ability to have your controller paired to your headset needs to be revisited. I've been using Moonlight lately to stream 2D Games to my Oculus Go, and it works extremely well with the controller paired to the headset. Other users have used VirtualHere with ALVR to be able to pair the controller to the headset. I know that there have been concerns about it affecting latency, but it doesn't appear to be with 3rd party implementation. And you'd think that having another App running at the same time would add even more potential latency. So a native implementation seems to be viable.点赞 评论 复制链接分享
I have replaced steam vr home with bigpicture beta so I can launch games remotely without touching the pc.点赞 评论 复制链接分享
you have to change a vrmanifest file in steam folder to do that点赞 评论 复制链接分享
I agree though. If somehow instead of reimplementing moonlight you could integrate it it would be awesome点赞 评论 复制链接分享
I managed to get my steam controller working using steam link running on the go today. So can control big picture with it. But i realised it was better and easier to do that through my phone so i didnt have extra shit running on the GO. It worked for playing 2d games thru virtualhere, but I dont have any vr games that use gamepad controller so wasnt able to test if it worked for native vr games too. But i agree, an inbuilt solution is best.点赞 评论 复制链接分享
Now that run command on connect/disconnect is in can you make it so server starts by default and listen for client connections without steam VR open and only run steam VR whenever a client connects? That way I can leave ALVR server on all the time点赞 评论 复制链接分享
listen for client connections without steam VR open
All communication with client is done in Steam VR driver. So we cannot implement it by design. It is possible to create external tool to listen client broadcast and start ALVR.
For example: https://gist.github.com/polygraphene/d4b5ebe6946a8526ce7015098c991a7d点赞 评论 复制链接分享
nice!! thanks!点赞 评论 复制链接分享
Ok I modified your code to this for my raspberry pi that is always online so that it automatically wakes up the PC and starts all the VR services / changes resolution / priorities etc:
Haven't tested it yet though. Guessing it will work点赞 评论 复制链接分享