Giter Site home page Giter Site logo

node-red-13colonies's Introduction

13colonies

Logger and Dashboard for Working the 13 Colonies Special Event

Pi SQLITE Configuration

This flow requires sqlite3 to be installed on your system. At a terminal command prompt issue the command. This will load sqlite3 on your Pi.

sudo apt-get install sqlite3

At the terminal command prompt User (pi) type the following to create a database named 13colonies and drop you into the database server.

sqlite3 13colonies

Now we need to create some tables within the qsos database.

At the database prompt, copy everything below and paste it into the database. When done, hit enter. This will create a table named qsos and a table named spots. It will also create an index on the table qsos.

CREATE TABLE IF NOT EXISTS qsos(
  "timestamp" TEXT,
  "band" TEXT,
  "mode" TEXT,
  "call" TEXT
);

To verify, type .schema at the database carrot prompt to confirm your database structure. You should see everything above.

.schema

Type .exit to exit out of the database and return to the Pi terminal command prompt.

.exit 

Your Node Red local qsos database is now created and ready to go.

Loading Node Dependencies

As of March 2022 the following node dependencies are needed. Be sure to read the Configuration section below.

node-red-node-sqlite
node-red-node-irc

After installing these node dependencies (which you should receive a pop up message asking you to resolve node dependencies after you clone the project), you'll need to restart Node Red for the nodes to work properly. From a command prompt, issue the following command. Note : some dashboard nodes will only populate in your node palette after a restart.

sudo systemctl restart nodered.service

SQLITE Node Configuration

If you follow the instructions for creating the 13colonies database in the pi home directory, you shouldn't need to re-configure any SQLite nodes. If you are installing this flow on a non-Raspberry Pi environment, you'll need to make sure all SQLite nodes point to the location of the database on the Node Red computer. To change the default location;

  1. Double click each SQLite node (there are quite a few) to bring up the properties of the node.
  2. Click on the pencil icon to the right of the database name.
  3. Enter in the full path on your computer to where the 13colonies database is located. Windows users, spaces and long directories are not allowed. Do a Google search on how to shorten file paths and how to deal with spaces in your file path.

node-red-13colonies's People

Contributors

kylekrieg 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.