User loginNavigation |
A jeenode ROOMS databaseI've given in - and from now on I'll use a MySQL database to continuously store all the readings from the various ROOMS sensors dotted around the house. The database is very simple : (Click for larger) For those who wonder about the first field (id) - it's there to make usage in Ruby on Rails easier for a novice like me. And to get the data out - here is a simple code example in Ruby ---------- require 'rubygems'
ActiveRecord::Base.establish_connection( class Rooms < ActiveRecord::Base node = 35 linje.each { |l| |
Search |
Comments
Post new comment