GithubHelp home page GithubHelp logo

ninja-connectedbytcp's Introduction

ninja-connectedbytcp

PayPal

Changelog

0.0.8

  • Attempt at supporting new protocol

0.0.7

  • Fixed bug which would cause duplicate status fetching loops

0.0.6

  • Changed device state polling time to 3 seconds
  • Modified amount and type of debugging

0.0.5

  • Fixed issue to support single room
  • Changed identifiers to include TCP to differentiate from Hue lights

0.0.1 to 0.0.4

  • Initial Releases
  • Lots of bug fixes

Do this for a new install or if connectedbytcp has changed.

Note: This will take about 10 minutes to install.

sudo stop ninjablock

cd /opt/ninja/drivers

rm -rf ninja-connectedbytcp
git clone https://github.com/stockmopar/ninja-connectedbytcp.git
cd ninja-connectedbytcp
sudo npm install

sudo start ninjablock

This is faster when you already have a version installed and connectedbytcp hasn't changed.

The below scripts are what I have been using to update my ninja driver after I have already installed the nodejs driver.

sudo stop ninjablock

cd /opt/ninja/drivers
mv ninja-connectedbytcp/node_modules tmp

rm -rf ninja-connectedbytcp
git clone https://github.com/stockmopar/ninja-connectedbytcp.git

mv tmp ninja-connectedbytcp/node_modules

sudo start ninjablock

This is a faster way to update both the connectedbytcp module and ninja-connectedbytcp module but this only works if you have the modules installed already.

sudo stop ninjablock

cd /opt/ninja/drivers

mv ninja-connectedbytcp/node_modules/connectedbytcp/node_modules tmp

rm -rf ninja-connectedbytcp
git clone https://github.com/stockmopar/ninja-connectedbytcp.git

mkdir ninja-connectedbytcp/node_modules/
cd ninja-connectedbytcp/node_modules/
git clone https://github.com/stockmopar/connectedbytcp.git

cd /opt/ninja/drivers
mv tmp ninja-connectedbytcp/node_modules/connectedbytcp/node_modules

sudo start ninjablock

If something is not working right execute this to run the client in the window to see if there are any errors.

sudo stop ninjablock

cd /opt/ninja
node client.js

Hit Control+C and then execute:

sudo start ninjablock

To View the NinjaBlocks log file execute:

cat /var/log/ninjablock.log

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.