For the very keen, here’s the quickest (and dirtiest) way of doing it:
Install SiriProxy as per the various webpages, and make sure the machine on which it runs has reachability to your Vera.
Edit ~/SiriProxy/plugins/siriproxy-example/lib/siriproxy-example.rb and add at the top
require 'open-uri'
and then somewhere in the body (should be obvious where):
[code]listen_for /Lights On/i do
say “Let there be light”
open(‘http://xxx.xxx.xxx.xxx:3480/data_request?id=lu_action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=YYY’)
request_completed
end
listen_for /Lights Off/i do
say “Darkness was over the surface of the deep.”
open(‘http://xxx.xxx.xxx.xxx:3480/data_request?id=lu_action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=ZZZ’)
request_completed
end[/code]
where xxx.xxx.xxx.xxx is the IP address of your Vera and YYY and ZZZ are the two scenes you want to run.
Obviously there are many better and more extensible ways of doing this, but if your only object is to impress your other half, this will do the trick in the minimum of time.
In respect of running SiriProxy on Vera - Pete Lamonica’s code is the proof-of-concept that follows the proof-of-concept. I’m sure something could be written that’s more appropriate to the Vera platform, not using Ruby.