Flashlight plugin to control devices through Spotlight

Posted on
Thu Dec 18, 2014 5:30 pm
achterberg offline
Posts: 92
Joined: Feb 22, 2005
Location: Texas

Flashlight plugin to control devices through Spotlight

A plugin for Flashlight (http://flashlight.nateparrott.com) that will allow control (on/off/dim) of selected devices remotely using RESTful URLs through IndigoServer using Spotlight.
This is a "proof of concept" and "it works for me" solution. I know there are forum members who could vastly improve this which is one reason I am putting this out there. This was put together by repurposing a couple of plugins from the Flashlight site and was a real world python learning exercise and I can only take it so far with my current skill set. I have no issues with assistance in improving it especially since I suspect some of the python is questionable.
If anyone is running Indigo on the same computer as Yosemite, I would suggest you ditch this solution and go to the Flashlight site and look through the plugin repository for ideas that would allow for better integration.
Tested on Indigo 6.0.18 installed on a MacMini running OS X 10.6.8 using Spotlight on OS X Yosemite 10.10.1.

Open Spotlight (command-space) and type commands in the following format ("iot" can be edited in the plugin):
iot (on/off/int) (device name)

iot on bed lamp
iot off bed lamp
iot 68 dining dimmer
iot on all
iot off all

download here: https://www.indigodomo.com/library/352/
screenshot.png (138.4 KiB) Viewed 2116 times

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests