mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
node-red-node-physical-web: make it work with newer versions (#799)
* Added msg.advertising = true/false to enable/disable advertising * Fixed comparison with bool * physical- web: Added status Added status (lost, updated, found) as msg.topic. Added checkbox to allow duplicates or not. * Re-added optional topic to avoid breaking compatibility * Cleaner topic slection * node-red-node-wol: added address field * node-red-node-wol: remove warning * node-red-node-wol: bump version * node-red-node-wol: typo in version * Ensure service is stopped before being created * Bump version of node-red-node-discovery to 0.0.19 * node-red-node-discovery: correction to Readme * node-red-node-discovery: Add stop method and show status * node-red-node-discovery: bump version to 0.0.20 * node-red-node-discovery: remove status text * serial: ensure serialReconnectTime has a default value * physical-web: update dependencies to make it work with recent node versions * physical-web: update package.json
This commit is contained in:
parent
c4cb92cd61
commit
263031d6c7
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-red-node-physical-web",
|
"name": "node-red-node-physical-web",
|
||||||
"version": "0.0.15",
|
"version": "0.0.16",
|
||||||
"description": "Node-RED nodes to interact with the Physical Web",
|
"description": "Node-RED nodes to interact with the Physical Web",
|
||||||
"main": "physical-web.js",
|
"main": "physical-web.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -14,7 +14,7 @@
|
|||||||
"ble"
|
"ble"
|
||||||
],
|
],
|
||||||
"node-red": {
|
"node-red": {
|
||||||
"nodes" : {
|
"nodes": {
|
||||||
"physical-web": "physical-web.js"
|
"physical-web": "physical-web.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -29,7 +29,7 @@
|
|||||||
},
|
},
|
||||||
"license": "APACHE-2.0",
|
"license": "APACHE-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"eddystone-beacon": "~1.0.4",
|
"eddystone-beacon": "natcl/node-eddystone-beacon",
|
||||||
"eddystone-beacon-scanner": "~3.0.0"
|
"@abandonware/eddystone-beacon-scanner": "3.0.1-2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
module.exports = function(RED) {
|
module.exports = function(RED) {
|
||||||
"use strict";
|
"use strict";
|
||||||
var eddystoneBeacon = require('eddystone-beacon');
|
var eddystoneBeacon = require('eddystone-beacon');
|
||||||
var EddystoneBeaconScanner = require('eddystone-beacon-scanner');
|
var EddystoneBeaconScanner = require('@abandonware/eddystone-beacon-scanner');
|
||||||
var eddyBeacon = false;
|
var eddyBeacon = false;
|
||||||
|
|
||||||
var checkLength = function(text) {
|
var checkLength = function(text) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user