mblackstock
44a75c1291
move to two lines, add publish on close
2018-05-03 13:47:14 -07:00
Nick O'Leary
73ee657d74
Add TLS options to WebSocket client
2018-01-25 20:26:35 +00:00
Nick O'Leary
45913e5ee8
Don't end mqtt client on first error
...
Fixes #1566
2018-01-25 16:58:42 +00:00
Nick O'Leary
f3cf58c8ff
Remove mqtt debug
2018-01-22 23:15:20 +00:00
Nick O'Leary
25f4a018d9
Merge branch '0.18' into projects
2018-01-16 11:21:54 +00:00
Nick O'Leary
548f45cd56
Publish null/undefined to mqtt as blank not toString
...
Fixes #1521
2018-01-13 22:53:58 +00:00
Nick O'Leary
bedb2d943e
Merge branch 'pr_1231' into 0.18
2018-01-11 22:46:18 +00:00
delbozkester
af5df890a5
Add MQTT via WebSocket communication option ( #1544 )
...
* Add MQTT via WebSocket communication option
Add option in MQTT broker configuration node to enable MQTT via WebSoket comunication
* MQTT over WS error correction
Minimal correction of values and erase debug console.log unnecessary
* original package.json
Erase some changes on grunt build at package.json. Erase package-lock.json and back to the original package.json
* .gitignore
* .gitignore again
* No tabs
2018-01-11 21:22:02 +00:00
Nick O'Leary
b1cd13d629
Initial projects implementation
2017-09-20 10:30:07 +01:00
Simon Hailes
8dcc114873
MQTT node - if Server/URL config contains '//' use it as a complete url; enabled ws:// and wss://
2017-04-12 18:31:49 +01:00
Dave Conway-Jones
0c1c710afe
make sure MQTT client closes if redeploy during reconnect
...
to close #1193
Thanks @tedhuang for the excellent problem determination
2017-03-12 22:04:38 +00:00
Nick O'Leary
0a96259ddf
Update copyright header for JS Foundation
2017-01-11 15:24:33 +00:00
Nick O'Leary
39d90fe881
Update mqtt-broker node to use fully name-space qualified status messages
2016-09-19 09:36:38 +01:00
Nick O'Leary
d944298dd7
Tidy up mqtt nodes - linting and done handling
...
Closes #935
2016-07-26 21:33:00 +01:00
Nick O'Leary
2b9bfbc309
MQTT In subscription qos not defaulting properly
2016-06-20 21:35:43 +01:00
Nick O'Leary
1e2521c37a
Add TLS node and update MQTT/HTTP nodes to use it
2016-04-27 12:33:02 +01:00
Nick O'Leary
627a80419a
Fix hang on partial deploy with disconnected mqtt node
2016-04-18 13:54:05 +01:00
Nick O'Leary
44dc37ef6d
Add qos option to MQTT In node
2016-04-11 08:49:50 -07:00
Nick O'Leary
c6ad2c9ad2
Don't force reconnect mqtt client if message arrives
...
Fixes the annoying mqtt connect/disconnect cycle
2016-02-19 22:52:43 +00:00
Nick O'Leary
3a97e20bde
Validate MQTT In topics
...
Fixes #792
2016-02-10 22:38:59 +00:00
Nick O'Leary
62694da7e6
Ensure last mqtt node turns off the lights before closing
...
The mqtt-broker node disconnects when the last node using it
is closed. But that node-close was not waiting for the disconnect
to complete. This led to a race-condition where the using node
was recreated and started trying to use the broker node whilst it
was still disconnecting.
2015-12-22 23:31:22 +00:00
Nick O'Leary
d840d0b67d
Fix mqtt node lifecycle with partial deployments
2015-11-17 22:19:56 +00:00
Nick O'Leary
c1d694a97c
Add birth message to MQTT node
2015-10-02 21:27:30 +01:00
Nick O'Leary
c33d02c53f
Ensure MQTT node cleansession/keepalive defaults are used
2015-10-02 21:27:29 +01:00
Nick O'Leary
fa5e37993e
Update mqtt node options to include will/cleansession/keepalive
2015-10-02 21:27:29 +01:00
Richard Ruston
437b2d506b
Update MQTT node to use MQTT.js 1.2 and enable secure connections
2015-10-02 21:27:29 +01:00
Nick O'Leary
726069bc4b
NLS status text in editor not runtime
2015-07-02 10:49:40 +01:00
Scott Yoshizawa
2fe859b111
NLS Core nodes
...
NLS exec node
NLS function/temple/delay nodes
NLS function/template/delay/trigger/comment nodes
NLS io nodes (mqtt/httpin/websocket/watch/serial)
NLS messages.json for tcpin
NLS io nodes (tcpin & udp half)
NLS io nodes (udp)
NLS logic nodes (switch/change)
NLS logic (range) and parsers (csv&html) nodes
NLS parser nodes (json/xml)
NLS test case update for logic/parsers
NLS analysis and hardware nodes
NLS storage nodes (file/redisout/mongodb) and test
NLS storage node (tail)
NLS social nodes (feedparse/email/irc)
NLS socal node (twitter half change)
NLS social node (twitter) and core node (unknown)
2015-07-02 10:46:57 +01:00
Nick O'Leary
faa7d948a7
Update MQTT Out node status if already connected
2015-04-27 20:08:00 +01:00
dceejay
105d38c885
MQTT node - don't report missing topic if payload is missing...
2015-04-14 18:39:42 +01:00
dceejay
d7bdcd69fc
fix exec missing addpayload,
...
improve switch null test (to include null object)
check mqtt has payload before sending
2015-04-14 17:15:56 +01:00
Nick O'Leary
f48ee01a03
Ensure MQTT nodes unsubscribe before disconnect
...
Fixes #609
Needed for partial deployment - the nodes assumed the
connection would always be closed when a deploy occurs.
2015-04-09 20:10:34 +01:00
dceejay
2a47951e46
make sure MQTT msg has a topic
2015-03-16 17:07:46 +00:00
Dave C-J
273acc0ec4
Let MQTT input node receive binary packets
...
Try to auto select output type to be string or buffer to be backwards compatible
Fixes #435
2014-11-04 21:56:15 +00:00
Mark Hindess
5d9c16ffbf
Remove redundant msg != null checks.
2014-09-08 21:10:06 +01:00
Dave C-J
cba4791b65
MQTT node better check for topic existing
2014-09-08 20:19:25 +01:00
Dave C-J
ab4d3c025e
MQTT node should only send message if topic actually specified (string)
2014-09-08 20:01:28 +01:00
Dave C-J
a8ade083d4
Add QoS and Retain to the MQtt node options
2014-08-22 12:44:54 +01:00
Dave C-J
0b308deb79
Slight tidy to MQTT - move to fa icons - use built in close method.
2014-07-21 20:29:10 +01:00
Nick O'Leary
760dd022dc
Migrate MQTT nodes to new credentials api
2014-07-19 00:25:22 +01:00
Mark Hindess
5073cf8dd7
Reduce scope of variable declaration to be consistent with MQTTInNode code.
2014-07-16 21:45:02 +01:00
Mark Hindess
77f6652fa9
Remove spurious variable declaration.
2014-07-16 21:45:02 +01:00
Nick O'Leary
70147d0b6b
Remove 'retined' property from node.status calls
2014-05-30 20:30:26 +01:00
Dave C-J
7ad28de52a
Add use strict to mqtt node, allow will parm to be passed.
2014-05-29 09:00:28 +01:00
Nick O'Leary
7e85eb297d
Make status display toggleable and add to MQTT nodes
2014-05-10 23:33:02 +01:00
Nick O'Leary
ff49d2b217
Migrate to new node function style
2014-05-03 23:32:04 +01:00
Nick O'Leary
7c24d4d760
Separate out httpAdmin and httpNode
2014-02-16 00:39:30 +00:00
Nicholas O'Leary
7040aaa179
Add clientid/username/password to MQTT nodes
...
Alternative implementation, closes #42
The username/password as not stored in the main flow file for security reasons;
they are stored in the adjacent credentials file. This does mean an extra step
to importing an MQTT node, as the user has to manually edit it to re-add username
and password if needed.
2013-11-25 22:50:08 +00:00
Nicholas O'Leary
48dabffefc
Move all nodes into core subdirectory
...
This makes it easier to distinguish core nodes from those added later
2013-11-14 15:52:19 +00:00