Spaces:
Paused
Paused
Deploy Aureon OS (deploy/selfhost stack: nginx edge + fusion API x2 + console + HNC organ + redis + postgres; paper mode) (part 19)
da0ce7b verified |
Download server/README.md from GaryLeckey/aureon-os: direct link, hf CLI and curl.
- Browser
- Download file 2.32 kB
-
https://huggingface.co/spaces/GaryLeckey/aureon-os/resolve/main/server/README.md
- Command line
-
hf download hf://spaces/GaryLeckey/aureon-os/server/README.md
-
curl -L -o README.md https://huggingface.co/spaces/GaryLeckey/aureon-os/resolve/main/server/README.md
2.32 kB
Earth Live Data Server (Component)
Scope: Optional development server for simulated data feeds. For the unified trading engine overview and run path, see ../README.md and ../docs/ARCHITECTURE.md.
This WebSocket server simulates Schumann Resonance and biometric sensor data for the AUREON Quantum Trading System.
Quick Start
- Install dependencies:
npm install ws
- Run the server:
node server/earth-live-data-server.js
- Verify connection:
Open your AUREON dashboard at
/aureonand the sensors should automatically connect.
Server Endpoints
Schumann Resonance:
ws://localhost:8787/schumann- Frequency (Hz)
- Amplitude
- Quality
- Variance
Biometric Sensors:
ws://localhost:8788/biometrics- HRV (Heart Rate Variability)
- Heart Rate (BPM)
- Alpha waves (8-13 Hz)
- Theta waves (4-8 Hz)
- Delta waves (0.5-4 Hz)
- Beta waves (13-30 Hz)
- Coherence index
Data Format
Schumann Resonance
{
"frequency": 7.83,
"amplitude": 0.85,
"quality": 0.78,
"variance": 0.03,
"timestamp": "2025-11-18T16:52:00.000Z"
}
Biometric Data
{
"hrv": 65.5,
"heartRate": 72,
"alpha": 0.35,
"theta": 0.28,
"delta": 0.17,
"beta": 0.20,
"coherenceIndex": 0.68,
"sensorStatus": "connected",
"timestamp": "2025-11-18T16:52:00.000Z"
}
Integration with Real Hardware
To connect real sensors:
- Replace the simulated data in
sendSchumannData()andsendBiometricData()with readings from your hardware - Common interfaces:
- HRV monitors: Bluetooth/ANT+ (Polar H10, Garmin HRM)
- EEG headsets: Bluetooth (Muse, OpenBCI, Emotiv)
- Schumann monitors: Serial/USB data loggers
Troubleshooting
Port already in use:
# Find and kill process using port 8787
lsof -ti:8787 | xargs kill -9
lsof -ti:8788 | xargs kill -9
Connection refused:
- Ensure the server is running
- Check firewall settings
- Verify WebSocket support in your browser
No data received:
- Check browser console for WebSocket errors
- Verify server logs show "sensor connected"
- Ensure correct WebSocket URLs in the React hooks