PhotonVision Simulation - Keeps FRC Web Components from connecting

When running in simulation mode with PhotonVision - which works great BTW! - FRC Web Components will not connect. If I remove the code that starts the PhotonVision simulation FRC Web Components works again. I am sure it something simple, or simply a limitation. Is there something I can do to get them both working at the same time? - Jason

Hi Jason, could you tell me what version of FRC Web Components you’re using? Is it the tauri app, or are you creating a dashboard using the @frc-web-components/fwc npm module? If it’s the npm module which version are you using? Could you try one of the examples here to see if one of those work? GitHub - frc-web-components/examples

I presume you mean the PhotonVision hardware in the loop simulation? What address did you configure frc web components to connect to? How does that compare to where photonvision is running?

I am using the tauri app. I will have a look at the examples you sighted - thank you, Jason

Yes I am referring to the PhotonVision HIL simulation. I am just using the default “photonvision.local” in code to set the server, since I have not yet set the device for a custom static IP. I am using the default 127.0.0.1 to connect FRC Web COmponents, based on prior success. Than you for helping - Jason

If the server is now on the photonvision hardware, then you can’t have FRC Web Components connect to 127.0.0.1 (the local computer). You need to have it connect to the PhotonVision IP address.

Ok, thank you, I will look at how to do that next. - Jason