Skip to main content

Nuanic and Moodmetric BLE ring data extraction SDK

Project description

Nuanic & Moodmetric Ring BLE SDK

Code style: black CI/CD License: MIT Python 3.10+

A Python library for connecting, monitoring, and capturing raw electrodermal activity (EDA) and IMU waveforms from Nuanic and legacy Moodmetric BLE rings. Includes a real-time Moodmetric-like Arousal Scoring pipeline and a live Matplotlib dashboard.


🚀 Quick Start

1. Installation

python -m venv .venv
# Windows
.\.venv\Scripts\Activate.ps1
# Linux/Mac
source .venv/bin/activate

pip install -e ".[dev]"

2. Connect & Monitor

# Start standard monitoring (lazy-logs session data to CSV)
nuanic-ring-monitor --calibration-seconds 60

# Launch live dashboard visualization
nuanic-ring-monitor --waveform

# Run post-session analysis on a log
nuanic-ring-analyzer data/ring_logs/my_session.csv

🔗 Multi-Ring Setup

# Connect to all discovered Nuanic rings
nuanic-ring-monitor --monitor-all --target-hz 16

# Explicitly target specific MAC addresses
nuanic-ring-monitor --ring-addrs MAC1,MAC2 --target-hz 16 --reset-bt

🛠️ Usage in Code

import asyncio
from nuanic_ring.monitor import NuanicMonitor

async def run_sensor():
    # Initialize monitor with a 60-second baseline calibration window
    monitor = NuanicMonitor(calibration_seconds=60)
    
    # Run the monitor for 120 seconds
    await monitor.run(duration_seconds=120)

asyncio.run(run_sensor())

For advanced multi-ring orchestration, see Python API Usage in the Master Guide.


📖 Documentation Directory

Refer to the detailed documents below for deep dives into SDK features, file formats, and hardware interpretations:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nuanic_ring-0.1.1.tar.gz (54.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nuanic_ring-0.1.1-py3-none-any.whl (52.8 kB view details)

Uploaded Python 3

File details

Details for the file nuanic_ring-0.1.1.tar.gz.

File metadata

  • Download URL: nuanic_ring-0.1.1.tar.gz
  • Upload date:
  • Size: 54.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for nuanic_ring-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d706a35d0e68494d26fb639bf55ef5f8a8208282fd9d5e3c95cd6b35687d726e
MD5 9cbc379ca56d0a6ba28e7db0bc8bab47
BLAKE2b-256 0499757aa677d61daa4ea7e6c56b6ab227a520e921be4f45304fef543b7a4831

See more details on using hashes here.

File details

Details for the file nuanic_ring-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: nuanic_ring-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 52.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for nuanic_ring-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b6fb0906de330763b7c5ad88527ddd490d4e5ed98598be78cc3a151bb4840847
MD5 da307e86b9965b6267ea2744bbfc0662
BLAKE2b-256 44f58ef1f35de005b9efd5a7462d0bc5ab24eabb716442e626316aa4e4117544

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page