ThingSpeak Server
Go to file
2011-03-27 19:33:47 -04:00
app remove rate limiting for posts 2011-03-27 19:33:47 -04:00
config remove old file 2011-03-27 19:04:01 -04:00
db added support for gelocation in feeds 2011-03-27 19:27:48 -04:00
doc initial checkin of full application 2011-03-27 16:56:15 -04:00
lib/tasks initial checkin of full application 2011-03-27 16:56:15 -04:00
public initial checkin of full application 2011-03-27 16:56:15 -04:00
script initial checkin of full application 2011-03-27 16:56:15 -04:00
spec initial checkin of full application 2011-03-27 16:56:15 -04:00
test initial checkin of full application 2011-03-27 16:56:15 -04:00
vendor/plugins initial checkin of full application 2011-03-27 16:56:15 -04:00
config.ru initial checkin of full application 2011-03-27 16:56:15 -04:00
Gemfile initial checkin of full application 2011-03-27 16:56:15 -04:00
Gemfile.lock initial checkin of full application 2011-03-27 16:56:15 -04:00
LICENSE Edited LICENSE via GitHub 2011-03-27 16:14:07 -07:00
Rakefile initial checkin of full application 2011-03-27 16:56:15 -04:00
README.textile Edited README.textile via GitHub 2011-03-27 16:10:22 -07:00

h1. ThingSpeak

ThingSpeak is an open source “Internet of Things” application and API to store and retrieve data from things using HTTP over the Internet or via a Local Area Network. With ThingSpeak, you can create sensor logging applications, location tracking applications, and a social network of things with status updates.

In addition to storing and retrieving numeric and alphanumeric data, the ThingSpeak API allows for numeric data processing such as timescaling, averaging, median, summing, and rounding. Each ThingSpeak Channel supports data entries of up to 8 data fields, latitude, longitude, elevation, and status. The channel feeds support JSON, XML, and CSV formats for integration into applications.

The ThingSpeak application also features time zone management, read/write API key management and JavaScript-based charts from Highslide Software / Torstein Hønsi.

h3. Before You Begin

1. Install Ruby, RubyGems, Rails, git, and a database like MySQL
2. Download the application using git
3. Install the appropriate gems: sudo bundle install

h3. Configuration

1. Set your database configuration file at config/database.yml (see config/database.yml.example for an example)
2. Create the database: rake db:create
3. Create the database tables: rake db:migrate

h3. Run The Application

1. Start the server: rails server
Your application will now be running at http://localhost:3000/ 

h2. Changing Application Text

Make changes to config/locales/en.yml
To avoid errors, please ensure your lines start with spaces, not tabs.
Set your application name using the 'application_name' key.

h2. (Optional) HTTP GET Support

By default the application will accept channel updates via GET or POST.  To only allow POSTs, change the value of GET_SUPPORT found in config/initializers/constants.rb

h2. (Optional) Email Setup

Set your domain, user_name, and password in config/environment.rb
Also set your password reset link in app/controllers/mailer.controller.rb line 14 (and uncomment the line)