markviews / VRChatVibratorController

Lets you control your friends bluetooth vibrator in vrchat using your vr controllers.
GNU General Public License v3.0
21 stars 4 forks source link

Webpage does not connect to Toy #30

Closed M1zuke closed 2 years ago

M1zuke commented 2 years ago

Hey, i tried this mod out. But sadly i couldn't get the website to work for me. My Smarphone is reachable on the IP 192.168.178.22 in my local network. and i wrote this ip into the website. eiter with dashes or with dots. didnt make a difference.

My Smartphone is an Apple Iphone. and i allowed the lovense control app to be able to look through network. but it still does not resolve the webpage request.

is there something I'm missing.

image

M1zuke commented 2 years ago

Okay Update: I get back an empty list of toys. even tho my toy is connected in the lovense connect app. How do I make my toy appear. It uses the same network as my pc.

My iphone wireless 5ghz. pc: LAN

I would appreciate the help

Er1807 commented 2 years ago

From what I have seen is that it only works on the local device. After one update of lovense I was unable to connect it from my PC to my phone. Instead I used the PC version. Maybe it works if you open the website on the phone too

M1zuke commented 2 years ago

Sadly. This doesn't fix the issue. Opened the website in the phone but it still didn't show any toys :(

markviews commented 2 years ago

That's strange you would get an empty list of toys.. I'll look into this when I get home.

For now make sure your using the Lovense Connect app (the pink one NOT the blue one) also make sure your toy is toggled on in the app so part of the toggle thing turns green.

M1zuke commented 2 years ago

For now make sure your using the Lovense Connect app (the pink one NOT the blue one) also make sure your toy is toggled on in the app so part of the toggle thing turns green.

I did exactly that. I followed every step in your instruction of the README.dm file but sadly my toy is not being found.

I have the suspicioun that my iphone might block this somehow? my Iphone uses the new iOS 15 if this helps somehow.

markviews commented 2 years ago

oops I didn't mean to close this issue, I just uploaded the webpage code to the github. I'm working on fixing it rn.

M1zuke commented 2 years ago

Hey, update on this issue since your last push: I get the empty list, but it throws an certification error on the requests. image

markviews commented 2 years ago

hmm, i gotta update my SSL I think. i'll try that when I get home

markviews commented 2 years ago

strange.. i'm not getting this error. The webpage is hosted in 2 places, maybe try both 🤷 https://remote.markstuff.net/ https://control.markstuff.net/

rekcity commented 2 years ago

I'm having the same exact issue, toy is the hush. tried connecting on both webpages and neither worked.

markviews commented 2 years ago

ohhhh, I think I trusted the webpage in my google chrome settings, I get this error in microsoft edge. I'll figure out how to fix this and make sure it works in both my browsers without manually trusting the site in my settings 🙂 oops.

markviews commented 2 years ago

ok I changed the connection to the lovense app to http so certificates don't matter because they seem to cause problems.

To fix this error you'll have to allow "Insecure content" on the webpage because it uses http and https https://experienceleague.adobe.com/docs/target/using/experiences/vec/troubleshoot-composer/mixed-content.html Alternatively you could download the webpage and open it locally on your computer

rekcity commented 2 years ago

trying to allow insecure content still did not work, and gave the same results. however when I downloaded the web page, it works fine.

M1zuke commented 2 years ago

I can confirm when downloading the webpage and starting it locally it does work :3

markviews commented 2 years ago

hm.. that's good that it's working! I guess I should change the instructions to download the webpage instead of enabling Insecure Content

markviews commented 2 years ago

I removed SSL from the server so if you downloaded the webpage you'll have to edit "wss" to "ws" on line 2 of script.js

My server was having some strange issues so I switch to a new host and am kinda busy rn so no SSL for now. side note, this server has better specs and costs less 🎉