Skip to content
This repository has been archived by the owner on Aug 23, 2021. It is now read-only.
/ iot-foosball Public archive

A Raspberry Pi wired Foosball table that uses the Watson IoT Foundation, Cloudant, and Node-RED

License

Notifications You must be signed in to change notification settings

sharpstef/iot-foosball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

**NOTE: This repo is currently in a freeze. We are working to take the code out of Node-RED and place it purely in Node.js with enhanced user accounts and changing logic to reduce latency.

FoosBuzz

A Raspberry Pi wired Foosball table that uses the Watson IoT Foundation, Cloudant, and Node-RED

Getting the Code Running

This is a demo application so the bulk of the code is a series of Node-RED flows. We recommend running this application in Bluemix, but you can easily run it in any environment with Cloudant(CouchDB) and Node-RED.

Before you start to implement (and to use the deploy to Bluemix button) please review the instructions and bugs on our wiki page: https://github.com/slkaczma/iot-foosball/wiki

Key Components

  1. Node-RED - The app runs Node-RED embedded in an Express application. Refer to server.js.
  2. Twitter App Credentials - You need to create an app with Twitter to use the Passport OAuth Login for users.
  3. Cloudant - noSQL database that stores the game and player data. The game database should be populated with two initial files totalGames and 1 to avoid errors in gameplay.

Privacy Notice

Sample web applications that include this package may be configured to track deployments to IBM Bluemix and other Cloud Foundry platforms. The following information is sent to a Deployment Tracker service on each deployment:

  • Node.js package version
  • Node.js repository URL
  • Application Name (application_name)
  • Space ID (space_id)
  • Application Version (application_version)
  • Application URIs (application_uris)
  • Labels of bound services
  • Number of instances for each bound service and associated plan information

This data is collected from the package.json file in the sample application and the VCAP_APPLICATION and VCAP_SERVICES environment variables in IBM Bluemix and other Cloud Foundry platforms. This data is used by IBM to track metrics around deployments of sample applications to IBM Bluemix to measure the usefulness of our examples, so that we can continuously improve the content we offer to you. Only deployments of sample applications that include code to ping the Deployment Tracker service will be tracked.

Disabling Deployment Tracking

Please see the README for the sample application that includes this package for instructions on disabling deployment tracking, as the instructions may vary based on the sample application in which this package is included.

Contributors

Version 2 of this code is a collaboration between Stefania Kaczmarczyk, Oliver Rodriquez, and Vance Morris.

About

A Raspberry Pi wired Foosball table that uses the Watson IoT Foundation, Cloudant, and Node-RED

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published