From fbf4205c87f6cd9f8d0df80b52dc2696e3d403df Mon Sep 17 00:00:00 2001 From: Pi User Date: Fri, 3 Oct 2025 20:14:19 +1300 Subject: [PATCH] Update .env.example to use wlan0 IP as default - Set CONTROL_SERVER_URI to ws://10.42.0.1:8765 (wlan0 IP) - Better default for remote connections from desktop - Add comments for localhost and custom IP options --- .env.example | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index 24f560c..e2c4e6a 100644 --- a/.env.example +++ b/.env.example @@ -3,9 +3,11 @@ # WebSocket URI for the control server # Used by UI client and test scripts to connect to the control server # -# For local development (running on same machine as control server): -CONTROL_SERVER_URI=ws://localhost:8765 +# Default: Use wlan0 IP for remote connections +CONTROL_SERVER_URI=ws://10.42.0.1:8765 # -# For remote connection (running on different machine from control server): -# Replace with your control server's IP address -# CONTROL_SERVER_URI=ws://10.1.1.117:8765 +# For local development (running on same machine as control server): +# CONTROL_SERVER_URI=ws://localhost:8765 +# +# For custom IP (if your Pi has a different address): +# CONTROL_SERVER_URI=ws://YOUR_PI_IP:8765