Mi Casa Verde. You can read the specifications of the devices for yourself but I like them because they are inexpensive, have low-power requirements, are capable of interfacing with a number of different kind of home automation systems, and most importantly, have a documented JSON/XML API. Coincidentally, they also have a developer special program and lack a ruby gem, so another rainy day project is born!
About Kelley Reynolds
A full-stack software engineer, an avid trail runner, and a bassoonist. Kelley occasionally writes about one of his many projects on this blog.Author Archive | Kelley Reynolds
Using Ruby with MiOS from Mi Casa Verde
Being Classy with HTTParty
I recently has a use for HTTParty in a project that potentially required multiple base_uri references at the same time. Just changing the base_uri isn’t thread-safe so you can’t do that so the most common way around this with HTTParty is to make an instance variable and pass that around to all of the calls to get/post/etc. I find that a little cumbersome so instead I made use of dynamic classes to hide all of that nonsense.
Cassandra-CQL 1.1.0
It’s been a while since the last release of the cassandra-cql gem, and this version fixes a few long-standing encoding and data-access bugs as well as support for CQL3. The driver now also uses Travis for continuous integration.
The Cassandra Data Model – Another Gratuitous Introduction
I recently had a conversation in #cassandra about the Data Model that I thought might be useful to try to distill into a few lines. These few lines ignore all of the implementation details to make it work in practice but it gives you the starting point. It looks a little something like this …
Cassandra-cql ruby gem for Cassandra 1.0
Cassandra-cql has been updated for the latest version of cassandra. It supports all of the datatypes and has proper encoding support for ruby 1.9. It is also now published as a gem so a simple ‘gem install cassandra-cql’ should get you ready to roll with Ruby and Cassandra.
The official location for the code is now Google Code but I also use the Cassandra-CQL github repo if you want to participate that way. For a quick introduction on usage, check out the Google Code Wiki.
Enjoy!
- Basic Time Series with Cassandra March 6, 2011
- Understanding the Cassandra Data Model from a SQL Perspective September 13, 2010
- Beware the supercolumn, its a trap for the unwary! December 4, 2010
- Modbus/RTU via TCP Serial Gateway with Ruby July 28, 2010
- Cassandra Data Model from an SQL Perspective – Consistency Level and Replication Factor September 19, 2010
- Using Ruby with MiOS from Mi Casa Verde January 1, 2013
- Being Classy with HTTParty September 24, 2012
- Cassandra-CQL 1.1.0 September 20, 2012
-
Nagios check for WooFramework
April 30, 2012
-
Ruby for Phidgets
December 16, 2011
- Designing timeseries database in Cassandra | BlogoSfera: [...] I looked at this article: http://rubyscale.c...
- Designing timeseries database in Cassandra | BlogoSfera: [...] I looked at this article: http://rubyscale.c...
- Advanced Time Series Metric Data with Cassandra | Syn Fin dot Net: [...] are already a few good resources for doing t...
-
Tacito Alexandro: Simply, fantastic. With little words, you explain...
- Basic Time Series with Cassandra « Another Word For It: [...] Basic Time Series with Cassandra [...]...

