Remote Control¶
Control r0astr from your tablet, phone, or any device on your network.
Overview¶
r0astr includes a remote control interface that lets you control panels from a secondary device. Perfect for:
- Using an iPad as a control surface while coding on your laptop
- Triggering panels from a phone during live performance
- Controlling
r0astrfrom across the room
Quick Start¶
1. Start r0astr¶
Run r0astr on your main computer:
Or launch the desktop app.
2. Find Your IP Address¶
3. Connect from Your Device¶
On your tablet or phone:
- Make sure you're on the same WiFi network
- Open your browser
- Go to:
http://YOUR-IP:5173/remote.html
For example: http://192.168.1.100:5173/remote.html
Network Requirements¶
Same Network Required
The remote device MUST be on the same local network as the computer running r0astr.
Requirements¶
| Requirement | Details |
|---|---|
| Same WiFi | Both devices on the same network |
| Port 5173 | Must not be blocked by firewall |
| No VPN | VPN can interfere with local connections |
Guest Networks¶
Most "guest" WiFi networks isolate devices from each other. If you can't connect, try the main network instead.
Remote Interface Features¶
The remote interface provides:
Panel Controls¶
- Play/Pause buttons for each panel
- Visual indicators showing which panels are playing
- Panel numbering matches the main interface
Global Controls¶
- Stop All - Immediately stops all panels
- Connection status - Shows if connected to
r0astr
Auto-Reconnection¶
If the connection drops:
- The interface shows "Disconnected"
- Automatically attempts to reconnect
- Reconnects when
r0astrbecomes available again
Troubleshooting¶
"Disconnected" Status¶
Cause: Cannot reach the r0astr server.
Solutions:
- Verify
r0astris running on your computer - Check you're using the correct IP address
- Ensure both devices are on the same WiFi
- Try refreshing the remote page
Can't Connect Initially¶
Common issues:
| Problem | Solution |
|---|---|
| Wrong IP | Re-check your computer's IP address |
| Different networks | Connect both devices to same WiFi |
| Guest network | Use main network instead |
| Firewall blocking | Allow port 5173 in firewall settings |
| VPN active | Disable VPN on both devices |
Intermittent Disconnects¶
Possible causes:
- Weak WiFi signal
- Network congestion
- Sleep/standby modes
Solutions:
- Move closer to WiFi router
- Keep devices awake during performance
- Consider a dedicated WiFi for performances
Finding Your IP - Common Mistakes¶
| Mistake | Correct Approach |
|---|---|
Using localhost |
Use your actual network IP (192.168.x.x) |
Using 127.0.0.1 |
This only works on the same machine |
| Old IP after network change | Re-check IP address after WiFi changes |
Security & Authentication¶
By default, r0astr allows connections from any device on the network without credentials. You can optionally require an API key for remote connections.
Setting Up an API Key¶
Edit server.config.json in your project root (copy from server.config.example.json if it doesn't exist):
Restart r0astr after changing the config. Once an API key is set:
- Localhost connections (the machine running
r0astr) are always allowed without a key - Remote devices must provide the key to connect
The remote interface will prompt for the API key when it detects that authentication is required.
Restricting Allowed Origins (CORS)¶
To limit which origins can access the REST API, replace "*" with specific origins:
Note
CORS only affects browser-based REST API access. WebSocket connections are controlled by API key authentication, not CORS.
Security Recommendations¶
| Scenario | Recommendation |
|---|---|
| Home studio, private WiFi | No API key needed — default config is fine |
| Shared network or venue WiFi | Set an API key to prevent others from controlling your session |
| Public internet | Not recommended — r0astr is designed for local networks |
Tips for Live Performance¶
- Test the connection at the venue beforehand
- Bookmark the remote URL on your device
- Disable auto-sleep on your remote device
- Use Stop All for clean transitions
- Have a backup plan if WiFi fails
WebSocket Protocol¶
The remote control uses WebSocket for real-time communication. See the API Reference for the full protocol specification.
Related¶
- API Reference — REST and WebSocket endpoints
- Troubleshooting
- FAQ