https://github.com/arkane-systems/node-red-contrib-offline
https://github.com/arkane-systems/node-red-contrib-offline
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arkane-systems/node-red-contrib-offline
- Owner: arkane-systems
- License: mit
- Created: 2021-04-28T05:25:43.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-28T05:26:02.000Z (about 4 years ago)
- Last Synced: 2025-01-16T13:54:36.305Z (4 months ago)
- Language: HTML
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-red-contrib-offline
Reports when data has not arrived in a configurable timeYou can find source code and more information here:
- GitHub: https://github.com/clough42/node-red-contrib-offline
- NpmJS: https://www.npmjs.com/package/node-red-contrib-offline
- Node-Red: http://flows.nodered.org/node/node-red-contrib-offlineUse this node to monitor a message stream and report if data
does not arrive in a configurable time. This provides a good way
to tell if a device has gone off-line.The timer starts on startup and is reset every time a message
arrives. If the time expires with no data arriving, the most recently received
message is sent to the output. If no message was ever received, a new message
is sent with the default topic and a payload of "false".## Settings
- `Name` - The name to display for this node. Leave blank to use the default.
- `Time` - The allowable gap between messages, in seconds.
If no data arrives before the timer expires, the most recent message (or
a default message) is sent to the output.## Settings
- `Name` - The name to display for this node. Leave blank to use the default.
- `Time` - The allowable gap between messages, in seconds.
If no data arrives before the timer expires, the most recent message (or
a default message) is sent to the output.- `Default Topic` - The topic that will be used to generate a
message on timeout if no packet was ever received.## Status
While it is running, the node displays its status:
- 'No data' - No messages have been received.
- 'Offline' - The timeout has expired without a message arriving.
- 'OK' - The message source is on-line and messages are being received.