Socket
Socket
Sign inDemoInstall

node-red-contrib-clock-generator

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-red-contrib-clock-generator

A clock generator for Node-RED


Version published
Weekly downloads
25
Maintainers
1
Install size
22.0 kB
Created
Weekly downloads
 

Changelog

Source

[v1.2.0] - 2020-09-24

Added

  • Option for sending init-messages after deploy

Changed

  • Node icon is now SVG
  • Status indicator below node now flashes in cycles

Readme

Source

node-red-contrib-clock-generator

A controllable clock generator for Node-RED that runs through the individual clock cycles with the set period duration.

Features:

  • Controllable by incoming messages
  • Period duration adjustable
  • Format of outgoing messages configurable
  • Second output with inverted signal
  • Initial output messages (optional)

Installation

Open Node-RED and select Manage palette from the menu to open the Palette Manager. Go to the Install tab, search for node-red-contrib-clock-generator and click install.

Alternatively, you can run the following command in your Node-RED user directory (typically ~/.node-red):

npm i node-red-contrib-clock-generator

Example

[{"id":"9a4bf51a.487868","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"b3dadd62.3cac8","type":"clock-generator","z":"9a4bf51a.487868","name":"","topic":"","period":"1","output":"1","x":500,"y":300,"wires":[["1b0aa96a.7bb347"],["f51b8080.60a75"]]},{"id":"1b0aa96a.7bb347","type":"debug","z":"9a4bf51a.487868","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":690,"y":240,"wires":[]},{"id":"f51b8080.60a75","type":"debug","z":"9a4bf51a.487868","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":690,"y":360,"wires":[]},{"id":"e8bed9a3.fbe7e8","type":"inject","z":"9a4bf51a.487868","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":310,"y":240,"wires":[["b3dadd62.3cac8"]]},{"id":"e635fbab.621658","type":"inject","z":"9a4bf51a.487868","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"false","payloadType":"bool","x":310,"y":360,"wires":[["b3dadd62.3cac8"]]}]

License

MIT

Keywords

FAQs

Last updated on 24 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc