Pi3open
a pishock to openshock api translation layer
Install / Use
/learn @k01e-01/Pi3openREADME
pi3open
a PiShock to OpenShock api translation layer ^w^
the api can be found at https://pi3open.isso.moe/, and the documention can be found at https://pishock.com/
usage
note: the GetShockerInfo endpoint is currently not implemented, this may cause issues with some clients
1. get your OpenShock Api Token and Device Id
on the OpenShock website, find the shocker you'd like to use, and press edit, this should bring up a menu, take note of the ID field
now, open Api Tokens, and generate a new one, take note of the token provded to you and do not share it
2. configure the PiShock client
- ignore the
Usernamefield, it is unused - add anything to the
Namefield, it will be used in the OpenShock shocker logs in theBy Userfield - set the
Codefield to the Device ID you got earlier - set the
Api Keyfield to the Api Token you got earlier
note: these value names may be different from what the client actually calls them
if your PiShock client has an Api Endpoint field, set it to https://pi3open.isso.moe/ and skip the next step, you are done :D
3. redirect PiShock api calls to pi3open
note: HERE BE DRAGONS! this step may require some technical knowldege, feel free to contact me on Discord @k01e if you encounter issues
note: my server may be assigned a new ip, in which case you will need to reopen the hosts file and change the ip
note: more technical users may want to use a dns proxy instead of editing
/etc/hosts, such as Acrylic (Windows) or dnsmasq (Linux & MacOS)
Windows
- fetch the current ip address of
pi3open.isso.moehere, as of the time of writing it is140.238.199.3 - download the
do.pishock.com.crtfile in this repo, take note of the path it downloaded to, likely something such asC:\Users\<USERNAME>\Downloads\do.pishock.com.crt - open a new PowerShell window as Administrator
- type
notepad C:\Windows\System32\drivers\etc\hostsand hit enter - in the notepad window, append
<IP HERE> do.pishock.comto the end of the file, replacing<IP HERE>with the ip you got in step 1 - save and close the file
- type
ipconfig /flushdnsand hit enter - type
Import-Certificate -FilePath "<PATH TO CERT>" -CertStoreLocation Cert:\LocalMachine\Root, replacing<PATH TO CERT>with the path you got in step 2 (making sure the path is between quotes, "like this"), then hit enter - close and reopen your browser
if everything is working correctly, opening https://do.pishock.com/ in the broswer should bring you back here (it may show a security warning first, this is expected and okay)
note: the new certificate may not be recognised by some programs until you restart your computer
MacOS and Linux
note: this documentation is unfinished, please feel free to contribute
support
if you are encountering issues with pi3open, please feel free to reach out to me on Discord @k01e, i am happy to help :3
Related Skills
node-connect
338.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
338.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.6kCommit, push, and open a PR
