# node-red-contrib-roster

> Record sucessive unique messages and mark those older than a defined age

Latest version **0.0.6** (published 2016-01-15) · 0 weekly downloads

## Install

```sh
npm install node-red-contrib-roster
pnpm add node-red-contrib-roster
yarn add node-red-contrib-roster
bun add node-red-contrib-roster
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2016-01-15 |
| First published | 2016-01-05 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Michael Karliner |
| Maintainers | mkarliner |
| Keywords | node-red, thingstudio |

## Links

- npm: https://www.npmjs.com/package/node-red-contrib-roster
- Repository: https://github.com/mkarliner/node-red-roster
- Homepage: https://github.com/mkarliner/node-red-roster#readme
- Issues: https://github.com/mkarliner/node-red-roster/issues
- npm.io page: https://npm.io/package/node-red-contrib-roster

## Recent versions

- 0.0.6 (latest) — 2016-01-15
- 0.0.5 — 2016-01-05
- 0.0.4 — 2016-01-05

## README

#Node Red Roster Node

This node keeps a record of all unique messages to it
and outputs an array of them. 'Unique' is defined
as messages which contain a unique value of the index
specified by the configuration parameter 'indexProperty'

The node keeps a record of the last time that each unique
value was received. If the last message was less than
'timeout' seconds ago, the entry is marked as active 
otherwise it is marked as inactive.

Typically, this node is used to keep track of active
devices. Each device sends a periodic message with say,
a unique _deviceID_ to a single
MQTT topic, which forwards the messages to the roster 
node which uses _deviceID_ as its indexProperty.

The roster array can then be used to show all known
devices and their active state.

---
_Source: https://npm.io/package/node-red-contrib-roster · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
