New Plugin: Control Indigo from Cisco Phones
As I am running an Asterisk Phone PBX with a couple of Cisco SIP Phones attached, I hacked together a new plug-in to be able to control Indigo from the Phones. My girlfriend loves it, as its simple and she can control stuff from every phone.
If you don't know the Cisco IP Phones, they come in different flavors. The 7971GE has a color touch screen and runs about at US$200. Probably one of the cheapest HA Touchscreen controllers you can get considering that you get a great SIP phone thrown in
There are also other model like the Cisco 7961GE at about US$100 with the same functionality minus the touchscreen and color.
7971GE.jpg [ 5.52 KiB | Viewed 1652 times ]
Enough advertising for which I don;t even get paid
Let's get to the plug in itself:
The main menu allows to go to the Devices or Actiongroup submenu.
mainmenu.png [ 17.74 KiB | Viewed 1652 times ]
For convenience, action groups whose name is prefixed with "cphone.
" (For example 'cphone.Turn on Lights') will show up in the main menu as well as some sort of shortcut to often used Devices, Actions.
The Device menu actually shows the state of the fixture or switch as well using the pre-installed graphics (Thanks Matt!)
To make this work, the Cisco Phone Config (SEPXXXXXX.xml.cnf) needs to have the INDIGO server URL configured:
Otherwise this is all plug and play. I don't have HVAC or some of the other special devices, hence I am not sure how that works though.
Let me know if you have any questions or I would appreciate feedback or ideas on how to expand this.
I plan to add Image Maps soon, as that will allow custom touch sensitive background images a la Control Pages.
The code certainly is not the prettiest, as I have not really touched Python before this little project.
Here some additional screen shots from the phone display:
devices.png [ 19.21 KiB | Viewed 1652 times ]
action.png [ 17.84 KiB | Viewed 1652 times ]
You can download the plugin here: http://rapidshare.com/files/367099690/CiscoServices.zip
Just unzip and put into the plugin directory. The directory name needs to be "CiscoServices"
Not sure how to get this into the user contribution library. Any help appreciated.