Using Ruby with MiOS from Mi Casa Verde

Vera LiteMi 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!

Continue Reading →

Read full story · Comments { 0 }

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.

Continue Reading →

Read full story · Comments { 0 }

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.

Continue Reading →

Read full story · Comments { 0 }

Nagios check for WooFramework

We just released check_woo, a nagios plugin to monitor the WooThemes WooFramework. It’s a quick way to make sure that the WooFramework piece of a WooTheme’d WordPress installation is up-to-date.

Read full story · Comments { 0 }

Ruby for Phidgets

We’re pleased to announce that you can now control Phidgets using Ruby.  Phidgets are low-cost USB building blocks, that make it easy to interact with the real world programmatically.  They provide a wide range of sensors (distance, force, touch, motion, environmental, input, current), motors (servos, steppers, DC motors), RFID readers, displays and other goodies.

We worked with the great team over at Phidgets to add Ruby to their supported languages.  You can check out the Getting Started with Phidgets in Ruby guide, or check out phidgets-ffi on github.

Read full story · Comments { 0 }