GithubHelp home page GithubHelp logo

cymplecy / node-red-contrib-ble-uart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kotobuki/node-red-contrib-ble-uart

0.0 1.0 0.0 12 KB

A Node-RED node that uses the Noble to interact with BLE devices that support the UART profile by Nordic Semiconductor

License: Apache License 2.0

HTML 15.14% JavaScript 84.86%

node-red-contrib-ble-uart's Introduction

node-red-contrib-ble-uart

A Node-RED node that uses the Noble to interact with BLE devices that support the UART profile by Nordic Semiconductor

Prerequisites

  • noble, a Node.js BLE (Bluetooth Low Energy) central module, by Sandeep Mistry

Install

cd $HOME/.node-red
npm install node-red-contrib-ble-uart

Run

sudo node-red-start

Note: you have to run with sudo, or you can't access your hardware.

Example

[{"id":"99af4ec8.c6d5a","type":"debug","z":"70817eb5.feb8f","name":"","active":true,"console":"false","complete":"false","x":630,"y":60,"wires":[]},{"id":"dfd9a66b.1bfc78","type":"inject","z":"70817eb5.feb8f","name":"On","topic":"","payload":"On*","payloadType":"str","repeat":"","crontab":"","once":false,"x":90,"y":40,"wires":[["43a2b84.776b048"]]},{"id":"88e4011b.91e15","type":"inject","z":"70817eb5.feb8f","name":"Off","topic":"","payload":"Off*","payloadType":"str","repeat":"","crontab":"","once":false,"x":90,"y":80,"wires":[["43a2b84.776b048"]]},{"id":"6bfdc8db.8b2f78","type":"function","z":"70817eb5.feb8f","name":"To String","func":"msg.payload = String(msg.payload);\n\nreturn msg;","outputs":1,"noerr":0,"x":440,"y":60,"wires":[["99af4ec8.c6d5a"]]},{"id":"43a2b84.776b048","type":"ble uart","z":"70817eb5.feb8f","name":"","localName":"Adafruit Bluefruit LE","x":260,"y":60,"wires":[["6bfdc8db.8b2f78"]]}]

References

node-red-contrib-ble-uart's People

Contributors

kotobuki avatar

Watchers

 avatar

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.