Wind -- m/s
Dir --°
Temp --°C
Connecting...
TX
MQTT Interface
Farm ID: -

// Devices

This farm contains 4 wind turbines:
IDNameLocation
turbine-alphaAlphaNorth Platform
turbine-betaBetaNorth Platform
turbine-gammaGammaSouth Platform
turbine-deltaDeltaEast Platform

// Device Publishes (subscribe to receive)

PUB
Telemetry data sent every 5 seconds per turbine.
{
  "turbineId": "turbine-alpha",
  "turbineName": "Alpha",
  "farmId": "your-farm-id",
  "timestamp": "2024-01-15T10:30:00.000Z",
  "windSpeed": 8.5,
  "windDirection": 245.3,
  "ambientTemperature": 12.4,
  "rotorSpeed": 14.2,
  "powerOutput": 1250.5,
  "nacelleDirection": 243.1,
  "bladePitch": 7.2,
  "generatorTemp": 52.3,
  "gearboxTemp": 48.1,
  "vibration": 2.45,
  "status": "running" //can also be "stopped"
}
PUB
Alerts triggered when sensor values exceed thresholds.
{
  "turbineId": "turbine-alpha",
  "farmId": "your-farm-id",
  "timestamp": "2024-01-15T10:30:00.000Z",
  "severity": "warning",
  "message": "Generator temperature elevated"
}

// Device Subscribes (publish to control)

SUB
Send commands to control turbine behavior. Replace {turbineId} with specific ID.
Set Reporting Interval
{
  "action": "setInterval",
  "value": 10
}
action string - must be "setInterval" value number - interval in seconds (1-60)
Stop Turbine
{
  "action": "stop",
  "reason": "maintenance"
}
action string - must be "stop" reason string (optional) - reason for stopping
Start Turbine
{
  "action": "start"
}
action string - must be "start"
Set Blade Pitch
{
  "action": "setPitch",
  "angle": 15.5
}
action string - must be "setPitch" angle number - pitch angle in degrees (0-30)