pauly/lightwaverf — pull request #1 by ianperrin (2013-02-26 16:40:11+00:00)
Title: Added ability to update room and device config from LightWaveRF Host servers

Hi @pauly

I've made a few additions to the gem so that it

1. Sends a neater(?) message to the WiFi link and shows the response from the WiFi Link when using the send method in debug mode (see 25f2a35). This change was rather cosmetic and the result of some simple tests I performed to ensure I could build (and modify) the gem from your source!

2. Can update the rooms and devices in the config file directly from the LightWaveRF Host servers (see 7db7c40) via a new update_config method which can be called with the email address and pin credentials for the https://lightwaverfhost.co.uk/manager/index.php. e.g.:

LightWaveRF.new.update_config 'name@example.com', '1234'
LightWaveRF.new.update_config 'name@example.com', '1234', true
lightwaverf update 'name@example.com', '1234'

It would be great to add this to the core and get the new version pushed to rubygems.org so I can take advantage of it in the Siri Proxy plugin.

Keep up the good work

Ian