Coder Social home page Coder Social logo

jlchntoz / hardware2vrcosc Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 51 KB

Quick an dirty helper application for sending hardware real-time information (load, temperature, memory usage etc) to VRChat via OSC. Using OpenHardwareMonitor and OscCore.

License: MIT License

C# 100.00%
csharp vrchat vrchat-avatars vrchat-osc vrchat-tool

hardware2vrcosc's Introduction

Hardware to VRChat OSC Reporter

This is a simple tool that could constantly sends hardware status of your computer rig to VRChat via OSC channels, so that you can synchronize these status to your own avatars. It is powered by Open Hardware Monitor. It supports every hardware what Open Hardware Monitor supports, including loads, temperatures of CPU, GPU, RAM, fan, water cooling, etc. Additionally, it can be also configurated to send datetime information, useful for gadget like watches.

To use it, just double-click the exe-file, and it will appears as a console window. You can then copy the listed OSC channel path of your desired hardware information to the input section of parameters in the config json file of your avatar (assume you have already prepare float parameters for receiving such data in your avatar), and you are ready to use. Alternatively, instead of modifying the JSON file, you can set an alias to the channel path, for example, you want your GPU temperature redirects to gpu_temp parameter of your avatar, you can add an entry to channelAliases section in the config.yml like this:

channelAliases:
  /hardwares/*gpu/0/temperature/0: /avatar/parameters/gpu_temp

If you see theres some channels says "ignored" and you want to use those, or even you want some other types of hardware to be sent, you may need to edit config.yml besides the exe file. While editing, you can leave the program running and it will auto refreshes when you saves it.

Here are the available options in the config file:

  • ipAddress: The IP address of your VRChat client, if it is the same machine, leave it 127.0.0.1
  • port: The OSC listening port of your VRChat client, default is 9000, no need to change it unless you changed that for your client.
  • updateInterval: The interval between updates in milliseconds, default is 1000
  • ram: Should RAM be monitored (true/false)
  • mainboard: Should mother board be monitored (true/false)
  • cpu: Should CPU be monitored (true/false)
  • gpu: Should GPU be monitored (true/false)
  • hdd: Should harddrives be monitored (true/false)
  • fanController: Should fan controllers be monitored (true/false)
  • network: Should network card be monitored (true/false)
  • patternConfigs: You can adjusts the configuration by sent channel paths, it matches using glob (*).
    • ignored: The channel will not be sent if this is true
    • min: The minimum readings to be sent
    • max: The maximum readings to be sent, if min and max both are set, it will remaps the value to 0-1 (this is intentional for VRChat syncing parameters)
    • stepped: It will rounds the value to nearest integer before remaps it if this is true.
  • channelAliases: Alternatively you can set an alias for specific channel output path, it also matches using glob (*).

If you see channel default prefixes with /hardwares/, it will be a hardware realtime info; if it is prefixes with /datetime/, it is just datetime info provided by system clock.

License

MIT

hardware2vrcosc's People

Contributors

jlchntoz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.