All of our HDMI-CEC compatible products, Raspbmc-CEC, Raspsqueeze-CEC and RaspCEC-Pi (just provides CEC control), now support a Restful Web API for CEC Control that makes it extremely simple to interface them to LinuxMCE, Dianemo or any other Home Automation or Smart Home system in fact.
For LinuxMCE systems you simply add your Raspberry Pi to the HDMI device chain you want to control using a spare HDMI port on your TV or AV Amplifier. Your MD typically would then be either connected to another HDMI port on your TV or if you have an AV Amplifier it might be connected to an HDMI input there. Other device such a Blu-Ray or DVD player would be connected to other HDMI ports on the TV or AV Amplifier too. The Raspberry Pi can be connected to your LAN by Wifi so you don't need extra LAN ports near your TV/AV system. Your LinuxMCE system then needs a simple GSD device created that will allow your system to send commands to RaspCEC-Pi (for example) using simple HTTP GET and POST methods - See here for the basics of creating your GSD CEC device;
http://wiki.linuxmce.org/index.php/How_to_add_your_own_GSD_device. Any of your Orbiters can then be used to control your HDMI devices - Change HDMI inputs on your TV or AV Amplifier, Mute the Audio or Power all your HDMI devices Off at once with a single command.
See below for some example CEC commands that can be sent using our Restful API with simple HTTP Get & POST methods.
We have revised and simplified our pricing for all our Raspberry Pi software too - we now offer two very affordable simplified licences;
- $99.95 USD; Install on up to 4x Raspberry Pi's (on a single LinuxMCE/Dianemo System)
- $159.95 USD; Install on unlimited numbers of Raspberry Pi's (on a single LinuxMCE/Dianemo System)
The spec of RaspCEC-Pi is the same as for our RaspCEC-Pi Pro (for Professional AV/Automation System installers)
http://www.ellipticalcurve.com/dianemo-products-services/raspcec-pi-hdmi-cec-control-interface-with-web-api/ but does not include professional level support and therefore costs far less.
We also now provide a Web configuration page on each Raspberry Pi running either Raspbmc-CEC, RaspSqueeze-CEC or RaspCEC-Pi. Simply type the url below into a web browser;
http://<RaspberryPi IP>:8077
The Web configuration page enables you to scan the CEC bus that your Raspberry Pi is connected to so that all the HDMI-CEC enabled devices can be discovered and the configuration displayed. This information can be used when configuring or debugging the control of your HDMI-CEC devices.
When creating an external Device Template or Driver to enable your system to control your HDMI-CEC devices our new Web API supports the following CEC control features;
- Supported HDMI-CEC Devices - TV, Recording Devices (ie DVD, BD, PVR Etc), Playback Devices (ie DVD, Blu-Ray Etc), Tuner Devices (ie STB's), Audio System
- Supported Commands Power On/Off, HDMI Input Source, Vol Up/Down, Mute On/Off, Play/Stop/FF/RW/Pause,
Using our simple Web API device templates for LinuxMCE can be easily created allowing for the control of TV's, AV Amplifiers, PVR's, DVD, Blu-Ray and Sat Boxes that are connected to the same HDMI-CEC bus. Simply connect your Raspberry Pi to a spare HDMI port on your TV (or any other device in the HDMI chain) and connect to it over wifi or your wired LAN (I always use wifi personally) and your ready.
Below are some examples of how you can control the HDMI-CEC devices connected to your TV;
- Get a list of the available HDMI devices;
http://<RaspberryPi IP>:8077/rest/api/v1/cecdevices/
- Power Off all HDMI devices in your HDMI chain;
http://<RaspberryPi IP>:8077/rest/api/v1/cecdevices/off
- Send a Volume Up command to the AV Receiver in your HDMI chain;
http://<RaspberryPi IP>:8077/rest/api/v1/cecdevices/avreceiver/vol/up
- Turn on the TV in your HDMI chain;
http://<RaspberryPi IP>:8077/rest/api/v1/cecdevices/tv/on
- Pause the currently playing disc in the Blu-Ray Player in your HDMI chain;
http://<RaspberryPi IP>:8077/rest/api/v1/cecdevices/playback1/pause
- Select Input 2 on your AV Receiver in your HDMI chain;
http://<RaspberryPi IP>:8077/rest/api/v1/cecdevices/avreceiver/input/2
- Query the TV's power state in your HDMI chain;
http://<RaspberryPi IP>:8077/rest/api/v1/cecdevices/tv/
We expect to add support for more HDMI-CEC devices and additional commands soon.
This update is free to existing customers with Raspbmc-CEC or RaspSqueeze-CEC and is available as part of any new license purchased.
Please contact us for additional information
inquiries@ellipticalcurve.comAll the best
Andy