node-red-contrib-wave-core 0.1.3
Core nodes for integrating Wisenet WAVE VMS into Node-RED
node-red-contrib-wave-core
Core nodes for integrating Wisenet WAVE VMS into Node-RED.
Install
cd ~/.node-red
npm install node-red-contrib-wave-core
Restart Node-RED after installation.
Nodes
- Create login Session (
wave-core): Logs into WAVE VMS via/rest/v3/login/sessions, supports cloud relay and local server, stores token optionally in flow context. - Delete login Session (
wave-delete-session): Deletes an existing session token via/rest/v3/login/sessions, supports cloud/local routing and optional flow token cleanup.
Configuration
Common options (can be set in the editor or via msg):
useCloud/cloudSystemId: Route via WAVE Sync relay ({id}.relay.vmsproxy.com).useLocal/server: Direct server URL/host (https).username,password(login).token/tokenFlowKey(logout).timeoutMs: Per-request timeout in ms.setCookie/storeTokenToFlow/clearTokenFromFlow: Cookie and flow-token handling.
Example Flow (outline)
- Inject credentials → Create login Session → store
msg.token/ flow token. - Do your calls using the token.
- Delete login Session with
msg.token(or flow token) to clean up.
Development
- Node entry files:
wave-core.js,wave-delete-session.js - UI definitions:
wave-core.html,wave-delete-session.html - Icon:
icons/wave.png
To verify publish contents:
npm pack --dry-run