0.0.1 • Published 7 years ago

node-red-contrib-helloworld-button v0.0.1

Weekly downloads
6
License
Apache-2.0
Repository
github
Last release
7 years ago

about node-red-contrib-helloworld-button

This is example of node with button.

install

npm install node-red-contrib-helloworld-button

Features

1. helloworld-button

This is similar to injection node. When button is pushed, this node send out message of "helloworld".

explanation

"helloworld-button.html" sends trigger of button by ajax. "helloworld-button.js" receives REST message from html.

2. helloworld-button2

This is similar to debug node. When button is active, node send "hello world2" every one second. But button is not hidden in disable like debug.

explanation

"helloworld-button2.html" sends state of button by REST API. "helloworld-button2.js" receives the state of button.