Giter Site home page Giter Site logo

brewometer-nodejs's Introduction

brewometer-nodejs

Node.js utility to read a Brewometer

To run, you need Nodejs and Bluetooth 4.0

install using npm

$ npm install -g brewometer

You should see something like this when you run it:

$ brewometer
Scanning for Brewometers:
Yellow 66,1062
Yellow 66,1062
Yellow 66,1062
Orange 69,1020
Orange 69,1020
Yellow 66,1062
Yellow 66,1062

Raspberry Pi

4/9/2016 (this stuff changes rapidly) Following instructions from https://www.raspberrypi.org/downloads/ I made a Raspbian image for the SD card using this file: 2016-03-18-raspbian-jessie-lite.zip

Once the rPi was up and running, I made sure it connected to Wifi: https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md

Following instructions similar to https://blog.wia.io/installing-node-js-on-a-raspberry-pi-3 I installed nodejs by downloading the latest node from nodejs.org:

wget https://nodejs.org/dist/latest-v5.x/node-v5.10.1-linux-armv6l.tar.gz
tar -xvf node-v5.10.1-linux-armv6l.tar.gz

and copying the extracted contents into /usr/local/

cd node-v5.10.1-linux-armv6l
sudo cp -R * /usr/local/

Install some dependencies for Noble:

https://github.com/sandeepmistry/noble/wiki/Getting-started

sudo apt-get install bluetooth bluez libbluetooth-dev libudev

With nodejs installed

OsX, Linux, Windows:

npm install -g brewometer

On Raspberry pi:

sudo npm install --unsafe-perm brewometer

On the Raspberry pi, installing brewometer as a user with sudo requires the --unsafe-perm flag, you can also install as root by creating root password:

sudo passwd

then log in as root, and you can then use

npm install -g brewometer

brewometer-nodejs's People

Contributors

tbryant avatar

Stargazers

 avatar Will Olson avatar aoki avatar  avatar

Watchers

 avatar James Cloos avatar Joel avatar

Forkers

joels01

brewometer-nodejs's Issues

Identifying multiple tilts of the same color

Hi

Is there any way using Brewometer to identify multiple tilt devices that are the same color?
I understand these have the same UUID but is there a way to change it?

Thanks
Matt

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.