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

37 Commits

Author SHA1 Message Date
Ben Hardill
c833709368
Fix typo in WeMo node (#903)
* Attempt to catch errors from wemo-lookup

This is to catch errors when device is offline

* Put request back

Will look at making it all http.request later

* Fix some messages

* Bump wemo version

* Fix typo
2022-04-18 18:24:06 +01:00
Ben Hardill
2f1f08b070
Bump Wemo version (#901)
* Attempt to catch errors from wemo-lookup

This is to catch errors when device is offline

* Put request back

Will look at making it all http.request later

* Fix some messages

* Bump wemo version
2022-04-18 13:28:48 +01:00
Ben Sykes
145983bc20
Include Content-Length header when POSTing to sockets (#900)
Newer sockets close the connection when starting to write data without this header.
2022-04-18 13:25:21 +01:00
Sam Machin
2d28a2304f
Update package.jsons for mono-repo (#851)
Update the package.json for each node to point to the directory within the repo that hosts the code for the package in question.  as per https://docs.npmjs.com/cli/v7/configuring-npm/package-json#repository
2021-11-02 15:22:30 +00:00
Ben Hardill
874708dc0d
Fix crash when WeMo devices are powered off (#794)
* Big Update

Includes:
 - New lookup node to check state of a device
 - Fix dimming control for lights
 - Fix light group control
 - Set the node label to match the device name
 - The event now includes the text description of the light capability

* Add extra check for empty results in discovery

* Attempt to catch errors from wemo-lookup

This is to catch errors when device is offline

* Put request back

Will look at making it all http.request later

* Add more error handling and reporting

* Try and not crash with subscriptions

Failed subscriptions will try agian in 1 min

* Fix some messages

* Remove most of the console.logs

* Last of console.logs
2021-04-10 20:02:36 +01:00
bartbutenaers
0d0c88d19e
Wemo insight power parameters (#739)
* Insight power parameters

* Insight power parameters

* Insight power parameters

* Insight power parameters

* Insight power parameters

* Bump version 0.2.0
2021-01-29 16:28:04 +00:00
Ben Hardill
34262e2fb0
Adding extra error checking for response from devices (#672) 2020-08-17 21:43:12 +01:00
Ben Hardill
436f169fd4
More Wemo update (#631)
* Reduce resubscription time

Halve the resubscrciption timeout to make sure event
subscriptions get renewed

* Big Update

Includes:
 - New lookup node to check state of a device
 - Fix dimming control for lights
 - Fix light group control
 - Set the node label to match the device name
 - The event now includes the text description of the light capability

* Fix groups properly

* Fix travis error with comparitor

* Bump node-ssdp version

* Add extra check for empty results in discovery

* Bump twitter to 280 chars

fixes #371

* Bump twitter node version

* Remove extra whitespace

* Add catch for HTTP timeout

If the device drops off line then with no catch for the timeout
Node-RED will crash

Should fix #616

* More timeout catch blocks

* Version bump

* Bump Wemo version
2020-04-11 10:47:47 +01:00
Ben Hardill
6c446a96f2
Add HTTP timeout handler to Wemo nodes. (#629)
* Reduce resubscription time

Halve the resubscrciption timeout to make sure event
subscriptions get renewed

* Big Update

Includes:
 - New lookup node to check state of a device
 - Fix dimming control for lights
 - Fix light group control
 - Set the node label to match the device name
 - The event now includes the text description of the light capability

* Fix groups properly

* Fix travis error with comparitor

* Bump node-ssdp version

* Add extra check for empty results in discovery

* Bump twitter to 280 chars

fixes #371

* Bump twitter node version

* Remove extra whitespace

* Add catch for HTTP timeout

If the device drops off line then with no catch for the timeout
Node-RED will crash

Should fix #616
2020-02-19 12:21:44 +00:00
Dave Conway-Jones
fef734486f
Add initial markdown node
(not quite ready for prime time)
2019-07-05 18:53:25 +01:00
Dave Conway-Jones
1ea7885b58
bump wemo node
slight tidy of readme
2019-07-02 20:17:43 +01:00
Robert Leach
d9ea55d3b2 Visually separated the list of control values from the example. (#552)
* Visually separated the list of control values from the example.

This will aid people who are quickly skimming the readme. There wasn't anything wrong in the doc. Everything would be clear if the reader is reading thoughtfully. But if they're skimming and looking for what to supply to the node for the first time, their eye is drawn to the JSON example.  Since many nodes accept JSON input, and supplying `{"state": "off"}`, `{"state": 0}`, or `{"state": 1}` works, it might take them awhile to realize their oversight.

* Clarification

* Update README.md

* Update README.md
2019-07-02 20:08:12 +01:00
Stephen Houser
f1c005707d Multiple NIC support for WeMo devices (#382)
* Update version of node-ssdp and use explicitSocketBind option to
work with multiple network interface cards. Based on discussion
in [node-ssdp issue #34](https://github.com/diversario/node-ssdp/issues/34)

* Bumping the version number
2017-12-02 10:54:47 +00:00
Dave Conway-Jones
2023bddf97
bump wen and mongoldb packages to pub to npm 2017-04-19 15:25:19 +01:00
Ben Hardill
6168f7ef34 Add extra check for empty results in discovery (#304) 2017-04-19 15:21:05 +01:00
Dave Conway-Jones
38d16b8a4d
Tidy up listing for some nodes. No functional changes
to make listing task pass
2017-04-12 13:32:08 +01:00
Ben Hardill
3f4261f3b7 Big WeMo node update (#295)
* Reduce resubscription time

Halve the resubscrciption timeout to make sure event
subscriptions get renewed

* Big Update

Includes:
 - New lookup node to check state of a device
 - Fix dimming control for lights
 - Fix light group control
 - Set the node label to match the device name
 - The event now includes the text description of the light capability

* Fix groups properly

* Fix travis error with comparitor

* Bump node-ssdp version
2017-04-06 11:21:33 +01:00
Dave Conway-Jones
316a2fd272 Re-lint a load of nodes 2017-01-29 17:45:44 +00:00
Dave Conway-Jones
66d4991b5b bump demo package ver for npm 2016-12-03 11:28:11 +00:00
Ben Hardill
92520f7d57 Reduce resubscription time (#256)
Halve the resubscrciption timeout to make sure event
subscriptions get renewed
2016-12-03 11:26:16 +00:00
Ben Hardill
2b6661c4f2 Test for broken XML in WeMo response (#250)
Thanks @hardillb
2016-11-09 08:44:07 +00:00
Dave Conway-Jones
a7247e898a Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
Dave Conway-Jones
8efc1e5fc8 bump request npm levels in wet and feed parser 2016-10-13 14:23:55 +01:00
Dave Conway-Jones
216c8cca19 bump wemo node version 2016-08-17 09:14:56 +01:00
Ben Hardill
04b7ee9e1e Silence Listener leak warning (#229)
* Replacing the original wemo node with the wemo-ng node

* Added install instructions

* Fix name of wemo out node

* Fix some jshint errors

More jshint fixes

fix jshint

last jshint fix

Fix last jshint error

* Adds proper url length detection

* fix up the extra line added in the merge

* Fix some jshint errors

More jshint fixes

fix jshint

last jshint fix

Fix last jshint error

load of tiny listing fixes, undef, unused, etc

fix slight wrinkle in new Wemo node

Fix wemo package name for npm.

Add contribution.md to node-red-nodes

to make it more obvious.
correct spelling in readme.md
revert .jshintrc

Added subtree and walker nodes. (#200)

Thanks @mikakaraila  - very useful.

slight edits to snmp to pass jslint-ing

Bump underlying serial port nam version

correct BBB callback response to check exists

To Fix #198

* Adds proper url length detection

fix up the extra line added in the merge

* Added some more error checking in discovery

* Adds proper url length detection* fix up the extra line added in the merge

* Adds proper url length detection

* fix up the extra line added in the merge

Add line output mode for Daemon node

to address #202

Email rework (#195)

* Rework of Node-RED email nodes

tidy up email listing - no code changes

add latest email node dips

and update email node libs - bump version

update package version for nodes tests

add a few tests

geohash, smooth, base64, msgpack

correct path of source file

Thanks @Ltrlg

Fix typo in node-red-node-smooth (#205)

node-red-node-physical-web: Added msg.advertising = true/false to enable/disable advertising (#204)

* Added msg.advertising = true/false to enable/disable advertising

* Fixed comparison with bool

Don't use get_compass as it breaks get_orientation

add envelope to email node options

as part of node-red#875

Physical-web: Added status (found, updated and lost) as msg.topic (#206)

Added msg.advertising = true/false to enable/disable advertising
Added status (lost, updated, found) as msg.topic, if not already set
Added checkbox to allow duplicates or not.

* Re-added optional topic to avoid breaking compatibility

* Cleaner topic slection

add a v0.3 serial port to help with node5/6

let PI try to enable sensorTag access on install

Add cc and bcc options to email node

to close #209

updates to email node to better handle

different mail types. Still not great - but does the basics…  To close

Better email node parsing (again)

Fix indent

fixed formating

* Fix heading in README.md

Fix node name in README.md

* Silences warnings about too many listeners
2016-08-17 09:11:37 +01:00
Ben Hardill
46cc9bb906 Added more error checking in the discovery section (#214)
* Replacing the original wemo node with the wemo-ng node

* Added install instructions

* Fix name of wemo out node

* Fix some jshint errors

More jshint fixes

fix jshint

last jshint fix

Fix last jshint error

* Adds proper url length detection

* fix up the extra line added in the merge

* Fix some jshint errors

More jshint fixes

fix jshint

last jshint fix

Fix last jshint error

load of tiny listing fixes, undef, unused, etc

fix slight wrinkle in new Wemo node

Fix wemo package name for npm.

Add contribution.md to node-red-nodes

to make it more obvious.
correct spelling in readme.md
revert .jshintrc

Added subtree and walker nodes. (#200)

Thanks @mikakaraila  - very useful.

slight edits to snmp to pass jslint-ing

Bump underlying serial port nam version

correct BBB callback response to check exists

To Fix #198

* Adds proper url length detection

fix up the extra line added in the merge

* Added some more error checking in discovery

* Adds proper url length detection* fix up the extra line added in the merge

* Adds proper url length detection

* fix up the extra line added in the merge

Add line output mode for Daemon node

to address #202

Email rework (#195)

* Rework of Node-RED email nodes

tidy up email listing - no code changes

add latest email node dips

and update email node libs - bump version

update package version for nodes tests

add a few tests

geohash, smooth, base64, msgpack

correct path of source file

Thanks @Ltrlg

Fix typo in node-red-node-smooth (#205)

node-red-node-physical-web: Added msg.advertising = true/false to enable/disable advertising (#204)

* Added msg.advertising = true/false to enable/disable advertising

* Fixed comparison with bool

Don't use get_compass as it breaks get_orientation

add envelope to email node options

as part of node-red#875

Physical-web: Added status (found, updated and lost) as msg.topic (#206)

Added msg.advertising = true/false to enable/disable advertising
Added status (lost, updated, found) as msg.topic, if not already set
Added checkbox to allow duplicates or not.

* Re-added optional topic to avoid breaking compatibility

* Cleaner topic slection

add a v0.3 serial port to help with node5/6

let PI try to enable sensorTag access on install

Add cc and bcc options to email node

to close #209

updates to email node to better handle

different mail types. Still not great - but does the basics…  To close

Better email node parsing (again)

Fix indent

fixed formating

* Fix heading in README.md

Fix node name in README.md
2016-06-24 11:06:59 +01:00
Dave Conway-Jones
de304c8a76 Fix wemo package name for npm. 2016-04-10 09:57:22 +01:00
Dave Conway-Jones
c54a019899 fix slight wrinkle in new Wemo node 2016-04-09 18:06:29 +01:00
Ben Hardill
37ba29484a Update WeMo node to WeMo-NG (#199)
* Replacing the original wemo node with the wemo-ng node

* Added install instructions

* Fix name of wemo out node

* Fix some jshint errors

More jshint fixes

fix jshint

last jshint fix

Fix last jshint error
2016-04-09 17:59:36 +01:00
Dave Conway-Jones
81c532fdce update hardware nodes info style 2016-03-02 13:27:52 +00: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
Mark Hindess
b1ba8369d4 Remove redundant msg != null checks. 2014-09-08 21:42:16 +01:00
Dave C-J
434d9808a9 Add stomp, ping, wol, wemo nodes to npm
and add fa icons
2014-07-27 18:05:23 +01:00
Mark Hindess
c4a7ec7ae9 Fix typo bugs. 2014-07-18 10:28:57 +01:00
Dave C-J
999874f2b5 jsHint passing versions of BBB, scanBLE and wemo nodes.
Also fixe and in vs out issue on wemo... no way it could have been working previously..
2014-06-30 23:41:38 +01:00
Dave C-J
9e0585a721 Update node-red-nodes hardware nodes to use strict and pass jshint scan 2014-06-28 23:35:21 +01:00
Dave C-J
6ed75458c9 Add Wemo node and update READ.me 2013-11-10 20:58:36 +00:00