Forum closed
This forum was closed and turned into an archive effective April 21, 2018. It is no longer possible to create new topics or reply to existing topics.

Thanks everyone for all the great questions and contributions over the years.

Please use the Contact form to get in touch.

Remote Buddy Forum

Overview 

AuthorThread
User

08.01.2012 04:16:22
Applescript, IP control, and integration with Thinkflood's Redeye and other A/V devices

This posting is older than 6 months and can contain outdated information.
Hi,

 
I have been playing with Remote Buddy Express for a few weeks now and I am really interested in using it in an upcoming project where I am incorporating a mac mini into an A/V and home automation system.

I have already integrated it to work with an iOS based 'universal remote' system called Redeye. The Redeye allows me to send IR commands to all of my A/V components (including the mini) and IP control other network based devices. Here is a list of the capabilities that this integration has produced... I'll go into more detail later if anyone is interested:

-I globally remapped a long press of apple remote's Menu button to perform a series of IR commands that turns on the TV, Receiver, set everything to the right input, and launches RBE's main menu

-I created a button on one of the Redeye's layouts that can instantly launch any applescript or item on the RBE's menus.

-I created a behavior that remaps the buttons on my apple remote to control an A/V component like a DVD player.

-I have figured out how to use applescript to query a itunes playlist and spit the results back into a remote button menu, then play a track when its selected

My goal is to create a 2-tiered approach for controlling everything. One being an 'apple remote control' that can basically remap its buttons to whatever software OR hardware one is using. And two, a Redeye layout for the mini that allows me make the mini do whatever I want with the help of RBE. For example, I will have a Redeye button and a RBE menu item for Pandora that: launches Safari, opens pandora.com, sets Safari to fullscreen, and remaps the button of the apple remote / redeye layout to control the receivers volume, and pandora's next and thumbs up/down controls. You might use the apples remote if you wanted the more tactile, lean-back experience and the Redeye layout if you wanted to have more capability and/or the range of wifi.

Anyway, I have run into some problems and I'm hoping you can help:

 
1. Is there any way to remotely launch a specific RBE menu (like iTunes>Playlist) via XMLhttpRequests.... I figured out how to launch the items on the manus (via AJAX remote) but not the menus themselves. I am trying to make the iTunes playlists more accessible by adding an item on the main menu the jumps into a specific playlist and I can't figure it out... I made applescript app that asks for a playlist tracks and creates an RBE menu out of them works but when I do it with a playlist internet radio stations it gets all screwed up and does not list all of them.. but it work fine on the RBE 'Browse Music so it would be great if I could just launch the RBE's

iTunes>Playlist Menu

 
2. What approach would you suggest for creating behaviors to control hardware like a DVD player. I am currently creating a behavior and associating it with the RBE app which is causing problems. Can I associate a RBE activity with an applescript app? Maybe that is a cleaner approach?

 
3. What approach would you suggest to create behavior profile for control browser based apps like Pandora? Do I just associate the behavior with Safari and give it a greater priority number?

 
4. Is there any way to control the sort order of RBE's output for the files in my Movies folder... I'm pretty sure you can use applescript to query the finder but I'm trying to stay in RBE native menu system?

 
Thanks,

 
Christian

These entries from the FAQ may be relevant to this topic:

Behaviours - Support for iTunes® & AirPlay®
Configuration
Hardware - Apple® Remote
Hardware - iPhone™ / iPod® touch / AJAX Remote
Thread-display::