hadrienk / node-red-contrib-nordic-thingy Goto Github PK
View Code? Open in Web Editor NEWA node red node for the nordic thingy
License: Apache License 2.0
A node red node for the nordic thingy
License: Apache License 2.0
Hi
Any chance you could actually document what this node does in the README so that people can understand it ? Alternatively you could remove the "node-red" keyword from package.json, and we won't automatically index it on the flows.nodered.org site.
Thanks
The hint with "flokk" is fine - it is working ;)
Would be nice to fix it.
Additional:
If connecting a second BLE device (with other module) there will come up an error and node-red will crash:
6 Mar 08:17:31 - TypeError: Cannot read property 'toLowerCase' of undefined
at ThingyScanner_1.default.device [as filter] (/home/pi/.node-red/node_modules/red-contrib-nordic-thingy/src/NodeThingy.ts:20:25)
at EventEmitter.onDiscoverWithFilter (/home/pi/.node-red/node_modules/red-contrib-nordic-thingy/src/ThingyScanner.ts:59:30)
at EventEmitter.emit (events.js:180:13)
at Noble.constructor.onDiscover (/home/pi/.node-red/node_modules/noble-device/lib/util.js:30:29)
at Noble.emit (events.js:185:15)
at Noble.onDiscover (/home/pi/.node-red/node_modules/noble/lib/noble.js:178:10)
at NobleBindings.emit (events.js:180:13)
at NobleBindings.onDiscover (/home/pi/.node-red/node_modules/noble/lib/hci-socket/bindings.js:174:10)
at Gap.emit (events.js:180:13)
at Gap.onHciLeAdvertisingReport (/home/pi/.node-red/node_modules/noble/lib/hci-socket/gap.js:256:10)
I have inserted for now a try / catch in ...src/NodeThingy.ts line 20 then it is working, but of course this is not the real fix ;)
Thank you for the module!
Michael
Hi,
I have installed as described but can't find any thingy by scanning. With node.js examples it is OK.
Node-RED version: v0.18.4
Node.js version: v6.11.5
Thanks,
Kai
I managed to get the thingy to work with node-red-contrib-generic-ble with the following flow
But your node will be far more convenient
Thank you very much!
I used it in my smart home for almost 2 years.
I tried to reinstall the system on a new device, but I couldn't! it is no longer installed on the new node-red distribution.
I have followed your instructions. All pre-reqs are installed. Am i missing something?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.