1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
Go to file
Nick O'Leary b8f1386ad0
Dynamic MQTT connections (#3189)
* add mqtt-control
- adds auto-connect option to broker
- add new node mqtt-control
- adds i18n messages
- adds documentation

* documentation tweaks

* built in documentation improvements

* fix tip layout causing oversized editor

* remove unused requires

* add missing `unsubscribe` dropdown option
- oddly forgotten - now added

* ensure clientid is updated dynamically

* [rewrite] move mqtt-control login into mqtt-in

* Remove dynamic label

* remove redundant mqtt-control code left overs

* Callback for brokerConn.connect (improve done())
- done is now called on connect callback

* fix race condition if connect/disconnect too fast
- node.connected and node.client.connected getting out of sync

* fix connection fail when switching protocol 3 ~ 5
- ensure protocolId is correct for protocolVersion

* change msg.subscribe prop to `msg.topic`

* unsub all topics if msg.topic is `true`

* delete temprary debugger statements

* Final rework of dynamic mqtt connections

Co-authored-by: Steve-Mcl <sdmclaughlin@gmail.com>
2021-10-14 12:05:06 +01:00
.github Merge branch 'master' into dev 2021-07-20 11:04:25 +01:00
packages/node_modules Dynamic MQTT connections (#3189) 2021-10-14 12:05:06 +01:00
scripts Add support for maintenance streams in generate-publish-script 2021-07-30 13:19:36 +01:00
test Merge pull request #3166 from node-red/output-discarded-rate-limit 2021-10-06 17:34:44 +01:00
.gitattributes Prevent github from suppressing diffs 2018-09-24 22:02:18 +01:00
.gitignore rework of DE translation (#2806) 2021-03-12 13:07:12 +00:00
.jshintrc add allow es6 to .jshintrc 2017-06-23 21:49:35 +01:00
.nodemonignore Fix grunt dev monitoring of src 2018-09-28 16:21:49 +01:00
API.md Update api docs header 2021-04-27 17:30:30 +01:00
CHANGELOG.md Update changelog 2021-10-07 09:37:24 +01:00
CODE_OF_CONDUCT.md Add CoC.md 2016-04-07 21:51:12 +01:00
CONTRIBUTING.md Update contributing docs 2021-07-20 11:10:41 +01:00
Gruntfile.js Add autoComplete widget and add to TypedInput for msg. props 2021-10-05 17:59:44 +01:00
jsdoc.json More api documentation updates 2019-01-28 14:40:42 +00:00
LICENSE Update top-level copyright statements 2020-09-29 20:28:15 +01:00
package.json Update to latest node-red-admin 2021-10-11 09:58:55 +01:00
README.md Update top-level copyright statements 2020-09-29 20:28:15 +01:00
SECURITY.md Update top-level copyright statements 2020-09-29 20:28:15 +01:00

Node-RED

http://nodered.org

Build Status Coverage Status

Low-code programming for event-driven applications.

Node-RED: Low-code programming for event-driven applications

Quick Start

Check out http://nodered.org/docs/getting-started/ for full instructions on getting started.

  1. sudo npm install -g --unsafe-perm node-red
  2. node-red
  3. Open http://localhost:1880

Getting Help

More documentation can be found here.

For further help, or general discussion, please use the Node-RED Forum or slack team.

Developers

If you want to run the latest code from git, here's how to get started:

  1. Clone the code:

     git clone https://github.com/node-red/node-red.git
     cd node-red
    
  2. Install the node-red dependencies

     npm install
    
  3. Build the code

     npm run build
    
  4. Run

     npm start
    

Contributing

Before raising a pull-request, please read our contributing guide.

This project adheres to the Contributor Covenant 1.4. By participating, you are expected to uphold this code. Please report unacceptable behavior to any of the project's core team at team@nodered.org.

Authors

Node-RED is a project of the OpenJS Foundation.

It was created by IBM Emerging Technology.

Copyright OpenJS Foundation and other contributors, https://openjsf.org under the Apache 2.0 license.