Code Monkey home page Code Monkey logo

node-red-contrib-nordic-thingy's Introduction

node-red-contrib-nordic-thingy

NordicSemi Thingy nodes for node-red.

This node lets you use the Thingy - a multi-sensor Bluetooth development kit from NordicSemi - inside you IOT flows.

Nordi Thingy 52

Requirements

  1. noble 1.8.1
  2. node-red 0.17.5

Install via NPM

From inside your node-red directory:

npm install red-contrib-nordic-thingy

Features

  • Periodically scans for new Thingy device
  • Write custom scan filters
  • Enable or disable the sensors in the node configuration
  • Send sensor readings by topic
  • Easy identification of the connected devices from the UI

node-red-contrib-nordic-thingy's People

Contributors

hadrienk avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

diverjoe

node-red-contrib-nordic-thingy's Issues

No thingy found...?

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

error in NodeThingy.ts - crash

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

no longer installed

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.

What does this node do ?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.