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

15 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 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
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
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
Ben Hardill
6168f7ef34 Add extra check for empty results in discovery (#304) 2017-04-19 15:21:05 +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
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
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
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