1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
Commit Graph

191 Commits

Author SHA1 Message Date
Dave Conway-Jones
9a17460b0e
fix as proposed to close #319
(assuming this node is still relevant :-)
2017-08-27 17:53:44 +01:00
Dave Conway-Jones
f6e71bf962
"revert" serial port and base64 nodes forwards....
undo buffer syntax updates
2017-06-30 19:52:20 +01:00
Dave Conway-Jones
0609645375
bump snap node version for incoming PR 2017-06-26 23:04:20 +01:00
mscbpi
24b0cd60bb SNMP Set Node (#325)
* snmp set node

* updated readme

* readme

* added missing {}

* corrected naming in variables, removed unused ones

* Use snmpObjectType to map types in SnmpSNode

* added varbinds as node property

* edit priority between node and message

* edit help

* updated doc

* try catch JSON.parse§

* corrected typo in html

* Error message in case of JSON parsing error

* removing try/catch on JSON.parse for varbinds, as a wrong varbinds will be
catched/handled in Session.set() method

* edit doc for better presentation
2017-06-26 23:02:34 +01:00
Dave Conway-Jones
6c3c16f210
update "core" extra nodes to use newer Buffer syntax 2017-06-24 13:53:22 +01:00
Dave Conway-Jones
f1fa9524f6
revert snmp version mixup.
Apologies to all !
to close #326
2017-06-05 17:15:40 +01:00
Dave Conway-Jones
fcdcbe4118
better error handling in mdns node
bump package for npm
2017-05-31 22:02:41 +01:00
Dave Conway-Jones
b18be401ec
bump snmp package (correctly) 2017-05-31 20:40:46 +01:00
Dave Conway-Jones
80760af36a
bump snmp package for nom 2017-05-31 20:25:43 +01:00
bimalyn-IBM
78a6af1770 Fix snmp community default issue (#324) 2017-05-31 20:24:01 +01:00
Dave Conway-Jones
31769472fa
Bump package and publish to nom 2017-05-30 17:17:13 +01:00
bimalyn-IBM
2204d5835f Fix: SNMP fails to close/destroy sessions when it errors (#318)
* I've modified the snmp libraries so that the server and the community can be defined by the msg.
Error will be thrown if you try to override what was defined in the node.
Verified that the contents of msg is no longer clobbered.

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* Replaced tabs with 4 spaces.
Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* fix extra spacing

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* Standardise node.error to include msg so that errors can caught

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* Update documentation for snmp nodes

fixed documentation as noted, removed conflict and iff from documention
remove node.warns if host or community are set in both the node config and msg

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* FIX: Close net-snmp sessions
Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* Fix 2: The previous push did not cleanly address the problem.

This commit uses a singleton aproach to create socket.
It still needs to be tested to see if there is any issue to the never-close,
but reuse socket model. My only concern is if a socket dies, do we need to do something to reestablish it?

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>
2017-05-30 17:15:36 +01:00
bimalyn-IBM
a3211a5e80 Update documentation for snmp nodes (#301)
* I've modified the snmp libraries so that the server and the community can be defined by the msg.
Error will be thrown if you try to override what was defined in the node.
Verified that the contents of msg is no longer clobbered.

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* Replaced tabs with 4 spaces.
Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* fix extra spacing

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* Standardise node.error to include msg so that errors can caught

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* Update documentation for snmp nodes

fixed documentation as noted, removed conflict and iff from documention
remove node.warns if host or community are set in both the node config and msg

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>
2017-04-22 15:53:04 +01:00
Dave Conway-Jones
4168fe7845
bump snap package to release PR 2017-04-15 12:14:34 +01:00
bimalyn-IBM
0f7e8385b8 Allow msg to set parameters for snmp nodes. (#299)
* I've modified the snmp libraries so that the server and the community can be defined by the msg.
Error will be thrown if you try to override what was defined in the node.
Verified that the contents of msg is no longer clobbered.

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* Replaced tabs with 4 spaces.
Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>
2017-04-15 12:04:47 +01:00
Dave Conway-Jones
ec96d3622b
patch mdns resolver sequence to stay working on Pi. 2017-04-12 20:33:55 +01:00
Dave Conway-Jones
8abfd4841d
pin mins pre-req to old working level
new one breaks with a deprecation…
need to look for another library
2017-04-12 09:35:26 +01:00
Dave Conway-Jones
100cf9a38d
bump levels and mins dependancies 2017-04-12 09:21:05 +01:00
Dave Conway-Jones
a06ad8f1a7 line up discovery node wording in docs
to close #290
Thanks @ukmoose
2017-04-03 19:51:49 +01:00
Dave Conway-Jones
7e421db642 emoncms - improve check for no input
to close #275
2017-02-06 22:30:00 +00:00
Julian Hille
0ad4a7bc4d Add freebsd as a valid platform (#274)
Freebsd ping command equals darwins ping command
2017-02-06 22:13:19 +00:00
Dave Conway-Jones
316a2fd272 Re-lint a load of nodes 2017-01-29 17:45:44 +00:00
Dave Conway-Jones
b2634ab4f2 fix error logging in snap node
to close #267
2017-01-18 18:55:10 +00:00
Dave Conway-Jones
dcd2ede2c4 bump serial port package 2017-01-09 20:53:43 +00:00
Nathanaël Lécaudé
5c1edc641a node-red-node-wol: add host field to set target IP address (#252)
Thanks @nlecaude
2016-11-13 09:51:31 +00:00
Dave Conway-Jones
dd685209d9 fix MQlight out topic to close #251
Thanks @mkpurcell
2016-11-10 20:02:24 +00:00
Dave Conway-Jones
a7247e898a Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
Dave Conway-Jones
36e834fdf1 bump serial port to 4.0.3 library 2016-10-13 14:12:08 +01:00
Dave Conway-Jones
f70cd1d640 snap node - remove extraneous console logging 2016-09-01 11:17:18 +01:00
Dave Conway-Jones
0321bf8150 add a v0.3 serial port to help with node5/6 2016-05-26 19:41:47 +01:00
Dave Conway-Jones
49b9277c26 Bump underlying serial port nam version 2016-04-14 09:17:40 +01:00
Dave Conway-Jones
d087281a11 slight edits to snmp to pass jslint-ing 2016-04-12 19:18:48 +01:00
Mika Karaila
163345cf5c Added subtree and walker nodes. (#200)
Thanks @mikakaraila  - very useful.
2016-04-12 18:39:19 +01:00
Dave Conway-Jones
48bcd3c7df load of tiny listing fixes, undef, unused, etc 2016-04-09 18:00:20 +01:00
Dave Conway-Jones
68bd4cc036 Add "other" baud rates to serialport
to Close #194
Uses typed widget so needs NR 0.13.4.
2016-04-01 08:55:58 +01:00
Dave Conway-Jones
0880ad3987 update io nodes info style 2016-03-02 13:27:52 +00:00
Dave Conway-Jones
eff8327971 Info/Doc style updates to core/pi nodes 2016-03-02 13:27:52 +00:00
Dave Conway-Jones
c000993be8 revert ping node package to remove dep not needed 2016-02-22 18:58:34 +00:00
Dave Conway-Jones
73269848ba revert ping node experimental changes
oops…
2016-02-13 11:15:02 +00:00
Dave Conway-Jones
dd250a77bc core to Pi node-red-nodes info updates
to be more consistent style
2016-02-12 13:14:12 +00:00
Dave Conway-Jones
5a95e9c404 update snap node docs to make outputs more obvious 2016-02-11 22:50:30 +00:00
Dave Conway-Jones
d5b95cf7a7 flag current error with ping command on Pi 2016-01-11 21:23:23 +00:00
Dave Conway-Jones
9e9a5e21be Updated mins node to use default resolve order
Should help remove issue #159
2016-01-01 14:31:55 +00:00
Dave Conway-Jones
ce677d221b tidy up Ping node close 2015-12-26 19:21:24 +00:00
Dave Conway-Jones
5f1513bed3 update Stomp to support v1.1
Thanks @ozomer - to close #141
2015-12-17 17:15:01 +00:00
Dave Conway-Jones
f74a2f4d04 Revert emoncms label change 2015-12-13 09:47:26 +00:00
Dave Conway-Jones
c28f46ec9d Fix mins Name resolution ordering - thanks @PTS93
Fix to close #155
Pushed to npm as 0.0.10
2015-12-10 17:03:20 +00:00
Dave Conway-Jones
d1e5025566 Finally upgrade serial port to serialport2
To address #139
2015-12-10 12:49:12 +00:00
Dave Conway-Jones
bbed4bab9a Emoncms - drop time if not a number
and update docs.
2015-12-09 13:21:42 +00:00
Dave Conway-Jones
25eab38abc bump emoncms package number 2015-11-30 16:56:53 +00:00
Dave Conway-Jones
396173525b let emoncms node accept simple objects 2015-11-30 14:23:52 +00:00
Dave Conway-Jones
b6bbcbd52f Stop serialport open loop 2015-11-09 15:57:10 +00:00
Nick O'Leary
d82ce7c58a Tidy up emoncms json parse on success 2015-11-03 11:03:02 +00:00
Nick O'Leary
f5950211af Merge pull request #136 from glynhudson/master
Add 'Emoncms in' to fetch latest feed value from emoncms server
2015-11-03 10:52:10 +00:00
Dave Conway-Jones
fe2ae9c0a3 Let serialport node only report errors once
instead of repeating
2015-11-02 10:40:53 +00:00
Glyn Hudson
6bf034cabb don't log success and don't pass 'time' as an API parameter for emoncms-in 2015-10-27 15:24:45 +00:00
Glyn Hudson
dc3c1b7cc4 Don't log when all is good, parse JSON retun 2015-10-26 00:47:55 +00:00
Glyn Hudson
1467575f6c change emoncms-out node name back to 'emoncms' to avoid breaking current user flows 2015-10-25 10:07:54 +00:00
Glyn Hudson
df6fe4b17c Add 'Emoncms in' to fetch latest feed value from emoncms server 2015-10-21 12:08:30 +01:00
Dave Conway-Jones
834115907c update serial port package ver so can republish 2015-08-25 21:04:27 +01:00
Dave Conway-Jones
2d5a71aec2 correct syntax for serial port standalone install 2015-08-25 14:04:46 +01:00
Nick O'Leary
5dc0c0e968 Fix merge conflicts on i18n 2015-07-15 10:24:44 +01:00
Nick O'Leary
ee5ff8b010 Send status message id to be nls'd in editor 2015-07-07 21:31:28 +01:00
dceejay
56bb10642a Update Note(s) in READMEs for all moved out nodes.
redis, mongo, email, feedparse, twitter, irc, arduino, serialport
2015-06-16 21:37:22 +01:00
Nick O'Leary
fd4b319af9 Fix misnamed nls message in serial node 2015-06-16 16:13:55 +01:00
dceejay
ba0e2c3796 Merge linting error fixes into i18n branch of n-r-n 2015-06-16 14:38:36 +01:00
Nick O'Leary
da209a6b66 Update core nodes to pull common msgs from node-red ns 2015-06-16 11:16:29 +01:00
Nick O'Leary
7d011dac99 Add i18n content for moved core nodes 2015-06-16 10:36:19 +01:00
dceejay
73319a20b9 add serialport to node-red-nodes, fix lint etc etc 2015-06-13 18:53:02 +01:00
Nick O'Leary
cfb8ab7e92 Fix multiple mqlight node subscriber issue 2015-06-09 10:07:11 +01:00
dceejay
76f55af264 Update Package.json file for all node-red-nodes to be Apache-2.0 2015-05-29 14:58:34 +01:00
dceejay
64d3b11fd9 slightly nicer jscs style updates to several nodes
again not pushed to npm - still just whitespace.
2015-05-11 20:04:51 +01:00
dceejay
f497b57b7d Apply consistent style to node-red-nodes
(not updating npm for this yet - just whitespace)
2015-05-11 19:25:39 +01:00
dceejay
87c93dc925 Lint mistake - fix mdns node 2015-05-08 23:03:51 +01:00
dceejay
5dbf104048 Add basic announce capability to mdns node. 2015-05-08 20:57:15 +01:00
dceejay
68e639c98a Stomp - allow msg.headers to set headers on output node 2015-04-28 21:04:50 +01:00
dceejay
18c866b490 Stomp node - call close with callback correctly. 2015-04-23 10:06:09 +01:00
Nick O'Leary
889b62cf70 Pass message to error handler on MQlight send fail 2015-04-17 21:14:20 +01:00
Nick O'Leary
2c242c76c7 Add mqlight node error handler 2015-04-17 21:09:47 +01:00
dceejay
97d271be2c make sure stomp client calls done on close. 2015-04-17 21:06:27 +01:00
dceejay
31318b03d7 Update stomp docs, fix json parse over-optimism. 2015-04-17 09:29:58 +01:00
dceejay
bb9d67f1ae Update node-red-nodes - clean up lint issues (mainly unused funcs and vars) 2015-04-16 10:58:34 +01:00
dceejay
e56029b3e3 Tidy up node-red-nodes 2015-04-10 11:56:17 +01:00
dceejay
4dc2db2f95 Fix type in Discovery, add extra fields to IRC. 2015-04-09 11:26:07 +01:00
dceejay
d511ee69fb lots of little node edits to clean up jsHint "errors" 2015-03-26 18:55:03 +00:00
dceejay
5b6cca1dd0 Move ping and wol nodes to network category 2015-03-04 19:57:22 +00:00
dceejay
8df7189058 Add discovery (mdns) and SNMP nodes 2015-03-04 19:55:53 +00:00
Nick O'Leary
e61fd93162 Add mqlight readme 2015-02-13 10:40:40 +00:00
Nick O'Leary
01cd2427d2 Add mqlight icon 2015-02-13 10:38:01 +00:00
Nick O'Leary
6e671e85f2 Fix another mqlight package.json typo 2015-02-13 10:34:12 +00:00
Nick O'Leary
085cd3d1d3 Fix mqlight package.json typo 2015-02-13 10:33:39 +00:00
Nick O'Leary
4fe2f82f2f Add mqlight license/package 2015-02-13 10:32:43 +00:00
Nick O'Leary
08791f1914 Update all nodes to credentials system and auth middleware 2015-02-06 21:10:14 +00:00
dceejay
f4fdebfba5 Misc tidy ups of jsHint "issues" for some node-red-nodes 2015-02-05 13:52:20 +00:00
dceejay
102c4b4d6c Deprecate Rawserial node - no longer needed
as Windows now has binary support built in.
2015-01-29 16:37:50 +00:00
dceejay
c7c8a9bbe2 Correct emoncms package.json (remove extra ,)
Update sample nodes in line with main nodes directory
2015-01-04 21:14:00 +00:00
dceejay
0065227c68 Fix emoncms spilling mistake
Also add it as an npm package node-red-node-emoncms
2015-01-04 20:34:12 +00:00
Dave C-J
5cd7a73baf Make Rawserial node fail more quietly 2014-12-12 23:15:42 +00:00
Dave C-J
74a470c22e Bump WOL package version number in anticipation of pub to npm 2014-11-19 21:44:29 +00:00
Dave C-J
c646596a5d WOL fix again - this time with correct number of braces... 2014-11-19 20:52:10 +00:00