Skip to content

Kavex/PiShock-to-OpenShock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 

Repository files navigation

PiShock-to-OpenShock

This is for the PiShock Hub 2023 Model and the PiShock CaiXianlin

ESP32 Driver

  1. Download drivers from here CP210x Universal Windows Driver
  2. Extract the zip file
  3. Run the CP210xVCPInstaller_x64.exe installer file then reboot your computer

Flashing PiShock Hub

  1. Plug in the PiShock Hub into the computer with a USB C that works with Data
  2. Go to https://next.openshock.app/flashtool
  3. Select the COM the PiShock Hub is on. Would look like COM14 or something
  4. Select the PiShock 2023 Board
  5. Check Erase before flashing and flash the device
  6. Once done unplug the Hub and replug back in
  7. Go to https://openshock.app on your PC and make an account
  8. Grab your phone and connect to the SSID with OpenShock (OpenShock-XX:XX:XX:XX:XX:XX)
  9. Once connected open the browser on the phone and go to 10.10.10.10 or openshock.local
  10. Find your router's Wi-Fi network in the web-interface. (Does not support 5Ghz)

image

  1. Log into https://openshock.app on your PC and go to Hub and click on the green circle with a white plus
  2. It's going to make a New Hub, Go to the three dots and click on pair. It will give you a code.
  3. Put that code in the web-interface on the phone and it will link your account.
  4. Go to the Shockers on https://openshock.app on your PC and click on the green circle with a white plus
  5. It's going to make a new shocker and you will want to pick the hub you just made and rename the shocker to something simple
  6. Pick the model CaiXianlin and hit create
  7. Turn on the shocker by clicking the power button once. You should hear one beep.
  8. Now hold the shocker's power button until it blinking fast. `
  9. While it's blinding fast click on the speaker icon under your shockers on https://openshock.app
  10. Shocker should now be paired with OpenShock

ShockOSC App

  1. Download and install the latest ShockOSC
  2. Sign in with your OpenShock Account
  3. You can follow this guide https://wiki.openshock.org/guides/shockosc-basic/
  4. Make a group with named whatever you want (I used GroupName) and make sure to check your shocker that is linked

image

image

  1. Set your configurion

image

  1. Move onto setting your VRChat Avatar

VRChat Setup

  1. Go to Kyobinoyo's Openshock VRChat Prefab
  2. Download Shocker, Remote Trigger, Settings Menu and import them into Unity
  3. Go to Openshock\ShockOsc\Shocker\VRChat and Add the ShockOsc_VRChat_Shocker.prefab to your avatar. Move it to the Left leg or wherever.
  4. Unpack the prefab and go to ShockOsc_VRChat_Shocker > Shocker > VRC Contact Reciever and change it to your group name (I used GroupName).

image

image

  1. You may want to add other Collision Tags and add Allow Self like i have
  2. Go to Openshock\ShockOsc\Settings Menu and add ShockOsc_Settings.prefab to your avatar
  3. Go to Openshock\ShockOsc\Remote Trigger and add ShockOSC_Receiver.prefab and ShockOSC_Sender.prefab
  4. Unpack and go to ShockOSC_Receiver > Receiver and change Custom to OpenShock and Parameter to your group name (I used GroupName). If you want to have it shock yourself then select Allow Self.

image

image

  1. Unpack and go ShockOSC_Sender > Sender and set Custom to OpenShock

image

image

About

Using the PiShock Hub and PiShock Shocker on OpenShock

Topics

Resources

Stars

Watchers

Forks