General > Marketplace
Announcing A Web Control API for RaspberryPi-CEC and Dianemo/LinuxMCE
(1/1)
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;
--- Code: ---http://<RaspberryPi IP>:8077/rest/api/v1/cecdevices/
--- End code ---
- Send a Volume Up command to the AV Receiver in your HDMI chain;
--- Code: ---http://<RaspberryPi IP>:8077/rest/api/v1/cecdevices/avreceiver/vol/up
--- End code ---
- Turn on the TV in your HDMI chain;
--- Code: ---http://<RaspberryPi IP>:8077/rest/api/v1/cecdevices/tv/on
--- End code ---
- Select Input 2 on your AV Receiver in your HDMI chain;
--- Code: ---http://<RaspberryPi IP>:8077/rest/api/v1/cecdevices/avreceiver/input/2
--- End code ---
See the post below for more details;
http://forum.linuxmce.org/index.php?topic=8880.msg100457#msg100457
Navigation
[0] Message Index
Go to full version