Plugin has been unpublished by me. I don’t want to continue to work for such a company.
Plugin: Popcorn Hour - Remote
After reading this I decided to purchase a Popcorn Hour PopBox v8. But it seems like the article mentioned is just a myth, so I decided to start developping my own plugin to be able to control the PopBox from the vera.
IMPORTANT: Development of this Plugin is not continued:
http://forum.micasaverde.com/index.php/topic,9518.msg66762.html#msg66762
Description:
This plugin creates a device which allows controlling a Popcorn Hour Mediabox with your vera (only tested with PopBox v8 as for the moment). Up to now the following functions have been implemented: power, suspend, mute, menu, info, subtitle, setup, return, left, right, up, down, enter, play, pause, stop, rewind, fwd, prev, next, red, yellow, green, blue. These commands can also be used in scenes in the advanced tab. As a proof of concept the plugin also reads out some states of the mediabox. In example this means it provides events to give you the possibility to run a scene if a movie is playing or paused. More to come in the next version…
Hardware:
This has only been tested on UI5 on vera2 and vera3.
Up to now the plugin was only tested on a Popcorn Hour PopBox v8.
I guess it should also work with PopBox 3D, A-200, A-210,C-200,A-300 and C-300. Please let me know if it does!
Variables:
IP: The ipaddress of the mediabox, has to be entered manually.
InfoFirmware: The actual firmware running. (pulled directly from device)
InfoNet: The actual network status. (pulled directly from device)
InfoVideoState: The actual state of a video playing [i.e. play, pause, buffering, no video playing]. (pulled directly from device)
InfoAudioState: The actual state of a audio playing [i.e. play, pause, buffering, no audo playing]. (pulled directly from device)
InfoCurrentApp: The actual app running [i.e. flashlite, screensaver, VOD_playback]. (pulled directly from device)
InfoConnected: Shows if mediabox is connected.
Port: Allows to set a custom port, standard is 8008.
UpdatePeriod: Is the update period in seconds. Allows to set how often the above variables are updated.
PowerOnCommand/PowerOffCommand: Allows to set custom http calls for turning the mediabox on and off. (i.e. I used a separate wall plug to turn my popbox on and off completely). On command will not work without a separate zwave device since you can’t turn on a network device via the network which is turned of. Example: http://ipaddress:3480/data_request?id=action&output_format=xml&DeviceNum=6&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=1
ServiceID:
urn:upnp-org:serviceId:PHour1
Scene Events:
As for the moment only the event (to trigger scenes) “Video Play State” has been implemented. This has three possible states “video is playing”, “video is paused” and “no video is playing”.
Version 1.0
This is a very basic release of the plugin. It serves as a proof of concept to show that commands can be sent to the mediabox and some states are read out.
After the installation the ipaddress of the mediabox has to be entered in the device’s advanced tab.
UI4 (Manual installation, not tested):
http://apps.mios.com/download-plugin.php?PK_Version=3678
UI5 (Installation through apps.mios.com):
MiOS Apps
Donation:
Since I want to keep this plugin free I am always glad to receive donation’s: DONATE