News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Announcing A Web Control API for RaspberryPi-CEC and Dianemo/LinuxMCE

Started by totallymaxed, November 12, 2014, 01:48:25 PM

Previous topic - Next topic

totallymaxed

We've just announced a new Restful Web API for the HDMI-CEC control of devices attached to your system. The software installs on a Model B or B+ Raspberry Pi and is compatible with Wifi or wired network connections. Simply attach a  Raspberry Pi to the same HDMI bus as your MD, TV, AV Receiver, DVD, Blu-Ray Player and you can control them using our Web API from a device template. Below are some example uses of the rest-cec API;

- Get a list of the available HDMI devices;
http://<RaspberryPi IP>:8077/rest/api/v1/cecdevices/

- 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

- Select Input 2 on your AV Receiver in your HDMI chain;
http://<RaspberryPi IP>:8077/rest/api/v1/cecdevices/avreceiver/input/2

See the post below for more details;

http://forum.linuxmce.org/index.php?topic=8880.msg100457#msg100457
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]