@actyx-contrib/node-red-contrib-actyx-pond

0.1.1 • Public • Published

Node-RED Actyx Pond V2 integration

Node-red contribution to write you fish as nodes or emit events to ActyxOS

Screen shoot

installation:

  1. Install in node red: Menu -> Manage Pallet -> Install -> @actyx-contrib/node-red-contrib-actyx-pond

  2. Install in node-project: npm install @actyx-contrib/node-red-contrib-actyx-pond

New Nodes

Fore new nodes are added to node-red in the 'Actyx Pond' Category

  • Pond Emit
  • Fish
  • Pond Observe
  • Pond Observe

Pond Emit:

pond emit node

Behaves like Pond.emit(tag, payload).

msg.payload is used as the payload of the published event.

If the tags are defined as mustache template it is rendered with the data in the msg (e.g.: {{topic}} machine:{{payload.name}})

You will finde more details in the Node Help.

Fish:

pond fish

Behaves like Fish<State, Event>

Fish definition for Pond Observe Fish

Except from the FishId.version, all fields support mustache as template engine (e.g.: Name: {{payload.name}})

You will finde more details in the Node Help.

Pond Observe Fish:

pond observe fish

Behaves like Pond.observe(Fish(parameter), onStateChanged).

Observe the fish in the input signal and emit signals when the fish state changes.

Use the Fish node to inject a fish property into the signal

You will finde more details in the Node Help.

Pond Observe:

pond observe

Behaves like Pond.observe(Fish, onStateChanged).

Combines Fish and observe Fish in one node. This Node do not support inputs and can be used for singleton fish.

You will finde more details in the Node Help.

Package Sidebar

Install

npm i @actyx-contrib/node-red-contrib-actyx-pond

Weekly Downloads

4

Version

0.1.1

License

Apache-2.0

Unpacked Size

223 kB

Total Files

27

Last publish

Collaborators

  • alex(actyx)
  • ostollmann
  • roland.kuhn