Node-RED
Official package: node-red-contrib-dearscenario-player
(shipped under ecosystem/node-red-contrib-dearscenario-player in the DearScenario Player repository).
Nodes talk to the same HTTP API as every other integrator: POST /api/command
and GET /api/status.
Install
In Node-RED (Palette Manager) or:
cd ~/.node-red
npm install <path-or-package-for-node-red-contrib-dearscenario-player>Restart Node-RED after install.
Access requirements
DearScenario Player does not use a shared control token. Run Node-RED where it can reach
the configured listener. If
network.controller_ip_whitelist is non-empty, add the Node-RED host's exact
source IP.
Nodes
| Node | Role |
|---|---|
diria-config | Shared host / port for other Diria nodes |
diria-command | Sends a command via POST /api/command |
diria-status | On-demand GET /api/status |
Command overrides
msg.cmdoverrides the configured command name- object
msg.payloadbecomesparams
Success leaves msg.payload as response.result. Failures use a second output
with a normalized msg.error.
Minimal flow
- Add
diria-configwith the player IP andbase_port(default18290). - Wire an inject →
diria-command(play/load/seek, …). - Optionally add
diria-statuswhen a flow needs playback feedback.
Use the Command Reference for parameter schemas. For playback observation, see Status API.
The Node-RED command dropdown is a static snapshot of the current public
catalog (lib/commands.json), not a runtime /api/spec query (removed) and not
yet the future stable 10-command core. Narrowing that list is C1/C3. msg.cmd
can still send any command the player accepts.
Related
Previous / Next
- Previous: Companion
- Next: Status API

