개발자

5분 안에 첫 연결

MQTT, REST API, SDK 중 선택하세요. 모든 언어와 플랫폼을 지원합니다.

퀵스타트

3단계로 시작하기

1

계정 생성

neuriot.net에서 무료 계정을 만들고 API 키를 발급받으세요. 신용카드 없이 즉시 시작 가능합니다.

2

SDK 설치

원하는 언어로 SDK를 설치하세요.

pip install neuriot-sdk
3

연결 시작

코드 몇 줄로 디바이스를 연결하고 데이터를 전송하세요.

MQTT 연결 (Python)
import neuriot

client = neuriot.Client(
    host="broker.neuriot.net",
    port=8883,
    device_id="my-sensor",
    api_key="nr_live_xxxx"
)

@client.on_connect
def connected(rc):
    print("✓ 연결됨")
    client.publish(
        "sensors/temp",
        {"value": 24.5, "unit": "°C"}
    )

client.connect()
REST API (JavaScript)
// REST API로 데이터 조회
const response = await fetch(
    'https://api.neuriot.net/v1/devices',
    {
        headers: {
            'Authorization': `Bearer ${API_KEY}`,
            'Content-Type': 'application/json'
        }
    }
);

const devices = await response.json();
console.log(`연결된 디바이스: ${devices.total}`);
Edge AI 추론 (Python)
from neuriot.edge import EdgeAI

# ONNX 모델 로드
ai = EdgeAI("anomaly_detector.onnx")

@client.on_message("sensors/+")
def process(data):
    # 엣지에서 AI 추론
    result = ai.predict(data)

    if result.anomaly_score > 0.8:
        client.alert({
            "type": "anomaly",
            "score": result.anomaly_score,
            "device": data.device_id
        })
WebSocket 스트리밍 (JS)
// 실시간 데이터 스트리밍
const ws = new WebSocket(
    'wss://stream.neuriot.net/v1'
);

ws.onopen = () => {
    ws.send(JSON.stringify({
        action: 'subscribe',
        topics: ['factory/+/telemetry'],
        api_key: API_KEY
    }));
};

ws.onmessage = ({ data }) => {
    const msg = JSON.parse(data);
    updateDashboard(msg);
};
SDK 지원

모든 언어, 완벽한 지원

🐍
Python
🟨
JavaScript
🦫
Go
🦀
Rust
Java
🔷
C/C++

GitHub에서 예제 코드 확인

수십 개의 샘플 프로젝트와 튜토리얼로 빠르게 시작하세요.