or Connect
New Posts  All Forums:Forum Nav:

iRule - Page 306

post #9151 of 9759
Quote:
Originally Posted by Kazuya (FR) View Post

I think it's ok now, no problem since the last time.

Ok, I have an other question....

There's 2 databases for XBMC control in iRule, but none of them seems to work with my Frodo stable release...
Do you know why ?
How can I get those codes ?

XBMC for windows, btw.

Thanks.

I don't use XBMC, but you can easily make your own XBMC codes if you have the keyboard shortcuts. In iRule the device data for the Eventghost IP commands is simply udp.xxx where xxx = whatever unique name you wish. Broadcaster in Eventghost will see this and display it on left side of the window. You then use that as a trigger for a macro that executes your keyboard shortcut.
post #9152 of 9759
Quote:
Originally Posted by bryansj View Post

I don't use XBMC, but you can easily make your own XBMC codes if you have the keyboard shortcuts. In iRule the device data for the Eventghost IP commands is simply udp.xxx where xxx = whatever unique name you wish. Broadcaster in Eventghost will see this and display it on left side of the window. You then use that as a trigger for a macro that executes your keyboard shortcut.

Yes, I already thank about this solution, do you think it's better than make a proper gateway by HTTP for XBMC ?
post #9153 of 9759
Quote:
Originally Posted by Kazuya (FR) View Post

Yes, I already thank about this solution, do you think it's better than make a proper gateway by HTTP for XBMC ?

Try the xbmc frodo json codes.

Set up an http gateway in irule with port 8080 and the get method.

That's what I am using currently.
post #9154 of 9759
Quote:
Originally Posted by Josh Bolton View Post

Try the xbmc frodo json codes.

Set up an http gateway in irule with port 8080 and the get method.

That's what I am using currently.

Yes, it seems to be ok with this one ! Thanks ! smile.gif

Is there a way to make a second event in iRule with a long touch ?
post #9155 of 9759
Quote:
Originally Posted by Kazuya (FR) View Post

Yes, it seems to be ok with this one ! Thanks ! smile.gif

Is there a way to make a second event in iRule with a long touch ?


Sure. The easiest way is to copy the command you want to long press, paste back into the same folder or a different folder to find it easier, rename it and change the properties in the lower left hand side.

You can have it do a number of things.
post #9156 of 9759
Quote:
Originally Posted by Josh Bolton View Post

Sure. The easiest way is to copy the command you want to long press, paste back into the same folder or a different folder to find it easier, rename it and change the properties in the lower left hand side.

You can have it do a number of things.

Sorry but I don't understand...
"the command" ? You mean the button ?

Here is the properties I get in the lower left hand side when I select the button :



and when I select the action device :

post #9157 of 9759
Quote:
Originally Posted by Killroy View Post

Did anyone confirm a way to integrate MyMovies into iRule? I remember someone was trying to do it. Did I just miss it?

You might be talking about me. I did a little project where I used cold fusion and sql to query the MyMovies database and build a dynamic web page that used the MyMovies' coverart files configured as links to urls that started each respective movie on the dune. I then embedded that web page in iRule. The whole thing fell on its face when I found out (after doing all the work, unfortunately) that mobile Safari has a hard coded limit on how many images a web page can contain. I thought about researching if/how to make the cold fusion break it into multiple pages and adding some sort of navigation links to go from page to page, but just never really got around to it. Assuming I can still find the files, I'm more than happy to share my work with anyone who might want to pick up where I left off.

here's a nerdy, poor quality youtube video i put up that shows my "first draft" in action: https://www.youtube.com/watch?v=vx3kUBC2YvU
post #9158 of 9759
Quote:
Originally Posted by Kazuya (FR) View Post

Sorry but I don't understand...
"the command" ? You mean the button ?

Here is the properties I get in the lower left hand side when I select the button :



and when I select the action device :


I didn't think you could assign a long press, but was going to check to see if I was missing something. Looks like I'm not.
post #9159 of 9759
Quote:
Originally Posted by bryansj View Post

I didn't think you could assign a long press, but was going to check to see if I was missing something. Looks like I'm not.

There is no long press for RS232/IP commands. For IR commands, you can try adjusting the Repetition value from default 3 to something like 10. Also... You can learn long press from the original remote. I learned Xbox One commands (including Long presses) from the Harmony remote.




Alex
post #9160 of 9759
Quote:
Originally Posted by osupike99 View Post

There is no long press for RS232/IP commands. For IR commands, you can try adjusting the Repetition value from default 3 to something like 10. Also... You can learn long press from the original remote. I learned Xbox One commands (including Long presses) from the Harmony remote.




Alex

My assumption of what Long Press meant was you press the button to do one thing and you hold down the button "longer" to do another. URC does it and the newer Harmony remotes do it for the skip buttons. On my URC I have a Light button that jumps to the lighting controls page, if I hold down that button for >2 seconds then it automatically applies my "Dim" lighting scene.
post #9161 of 9759
Yes, it's what I would like to do. The long press is just in iRule, it should be possible, maybe in the next update if it's not already the case.
post #9162 of 9759
Quote:
Originally Posted by Sam Ash View Post

Hello everyone,

I will really appreciate it if someone here can give me some assistance and point me in the right direction. Basically, I would like to automate or control my home theatre room from a single device such as an iPad. At the moment, I have to juggle between several remote controls (AV Receiver, projector, BD player, Media Player, TV, Cable TV controller).

I want to adopt a system that is easy to use and configure - iRule seems like a nice product with people that are focused on doing one thing and doing it right. I hear iRule provides excellent support and looks after their customers.

What I need is someone here with a good understanding to explain to me in a simple and effective manner as to how I can achieve this effectively, I understand IT and networking to a fairly good level so I believe I should be able to set-up everything myself.

This is what I would like:-

1. To be able to control all my devices from an iPad.

2. Cluster the control - when I press a button to active the home theatre system: all the devices necessary should switch on. On the other hand when I want to hear music only my amp should activate and ready to receive music from my iPod.

3. When watching a movie, when I press "Pause" a group of lights should gently brighten to a certain dim level. When I press "Play" the lights should gently dim to switch off and the movie resumes. This helpful for when someone needs to visit the wash room or get a drink.

Keep in mind that I use my home theatre room for both movies and music.

For such a task I know I will need to invest in a basic controller like the VeraLite (by Vera Control previosly known as Mi Casa Verde) and some additional hardware to control my AV devices. I notice that iRule does sell some hardware to convert certain signals, I wonder whether they are reasonably priced ? For lighting I could go for the Z-Wave dimmer devices that can be incorporated into existing wall light boxes. Z-Wave seems to be an interesting standard.The Fibaro dimmer switches seem to be ideal but I wonder whether they are reliable.

I want to make the right choices, execute this in a cost effective manner and get to do it myself as I think it will be an interesting learning process.

Any help or guidance will be appreciated - all my devices need to work to UK specified power ratings.

Kind regards,

Sam


Some help will be appreciated - Anyone out there who can point me in the right direction ?
post #9163 of 9759
Quote:
Originally Posted by Sam Ash View Post

Some help will be appreciated - Anyone out there who can point me in the right direction ?

1. That should be no problem unless you have some custom RF devices such as a motorized screen or window shades. IR and IP/RS232 devices can be controlled with iRule.

2. This is up to you to program. You can apply multiple commands to a single button with variable delays inserted as needed. Your System On button would send Power On for the AVR, TV, DVR, switch inputs on devices (delayed as needed so the AVR is actually on before sending the HDMI1 command), and whatever. The System Off would send Power Off to all those things. It is simply coming up with a foolproof string of commands that makes your system do as you wish.

3. Same as 2. Your Play command would send Play for your movie playing device and then send the Dim Lighting command. Pause would send Pause command and the All Lighting On command to your lighting controller. I personally find tying the lighting control to other commands annoying because I end up triggering it more often than I want. Not every time I hit Play or Pause would I want the light scene to change. Actually this is a perfect example of the Long Press described above where you would hit Play normally and it would Play, but holding Play for a couple seconds would send Play and then dim the lights.

Z-wave: I use z-wave, but with Homeseer triggered by simple IR or IP commands. I wouldn't recommend my way and the VeraLite is a good choice in your case.

Device Control: Most of the time if your device has an Ethernet port you can do IP control. If not then you will probably be looking at IR control. For IR control you would need something like the GlobalCache IP2IR iTach (I wouldn't recommend the newer Flex) unit which is about the lowest cost device that will do all you need. It has three discrete IR outputs and each of those outputs can be split to multiple units to control more than three devices.
post #9164 of 9759
Quote:
Originally Posted by bryansj View Post

My assumption of what Long Press meant was you press the button to do one thing and you hold down the button "longer" to do another. URC does it and the newer Harmony remotes do it for the skip buttons. On my URC I have a Light button that jumps to the lighting controls page, if I hold down that button for >2 seconds then it automatically applies my "Dim" lighting scene.

Do you know if this is possible on an MX-850?

How does one accomplish this in the MX Editor software.

Thanks.

Mark
post #9165 of 9759
Quote:
Originally Posted by giomania View Post

Do you know if this is possible on an MX-850?

How does one accomplish this in the MX Editor software.

Thanks.

Mark

I've never used a MX-850 or their Editor software, but I know it works on my MX-980 and CCP. Don't you have the pdf user guide option in the Editor's help menu?
post #9166 of 9759

I'm finding that the Kindle Fire is better suited for remote control duties than the iPad Mini or full sized iPad are.  It's smaller footprint and slightly heftier weight just makes it feel more substantial.  When using either of my iPads,  I feel like I'm using a great app on my iPad; when using the Kindle Fire, I forget I'm using a tablet and instead feel like I'm using a top-notch remote.  It's difficult to explain why--it's all about the way it feels in the hand. This is the original Kindle Fire.  I'm going to see if I can find any for sale so I can stock up on this great "feeling" remote through which iRule works its magic.

post #9167 of 9759
Quote:
Originally Posted by BrolicBeast View Post

I'm finding that the Kindle Fire is better suited for remote control duties than the iPad Mini or full sized iPad are.  It's smaller footprint and slightly heftier weight just makes it feel more substantial.  When using either of my iPads,  I feel like I'm using a great app on my iPad; when using the Kindle Fire, I forget I'm using a tablet and instead feel like I'm using a top-notch remote.  It's difficult to explain why--it's all about the way it feels in the hand. This is the original Kindle Fire.  I'm going to see if I can find any for sale so I can stock up on this great "feeling" remote through which iRule works its magic.

I know exactly what you are saying. I have an iPad2 and my wife and 2 kids each have mini iPads. Guess what my Dad gave my wife for Xmas last year that she used about 3 times? A Kindle Fire. Out of curiosity I just loaded iRule on it and I totally agree with you on the feel. With that said, I am just a few days into my trial period with iRule and I am actually in the process of building my remote online as we speak. I am also going thru the gyrations of figuring out exactly what hardware I will need to control my devices in my media room. Really trying to figure out if it is worth the $200 bucks just to be able to automate everything and to control from an iPad or a Kindle. IF i do decide to go "all in" on this, I will surely be using the Kindle! It's brand new and hardly used. smile.gif
post #9168 of 9759
If only iRule would update their Android app to the same level as the iOS app then everyone would be happy. I had to switch my coworker over from the Nexus 7 to a first gen iPad Mini that someone loaned him. He is new to touchscreens and was having trouble with the Android iRule interface. I told him that the iOS version supported button pressed states and worked up a quick template. He was sold after the first press since now he sees that the command is registering. How hard can it be to add pressed states to Android? It makes it look much more polished as well.

Not to mention the Android module support, pixel level placement, and variables...
post #9169 of 9759
Quote:
Originally Posted by bryansj View Post

If only iRule would update their Android app to the same level as the iOS app then everyone would be happy. I had to switch my coworker over from the Nexus 7 to a first gen iPad Mini that someone loaned him. He is new to touchscreens and was having trouble with the Android iRule interface. I told him that the iOS version supported button pressed states and worked up a quick template. He was sold after the first press since now he sees that the command is registering. How hard can it be to add pressed states to Android? It makes it look much more polished as well.

Not to mention the Android module support, pixel level placement, and variables...

Hmm... Bad thing of course... frown.gif
post #9170 of 9759
Quote:
Originally Posted by impmonkey View Post

After setting up an dynamic dns service (http://www.homenet.org/ is what I use) you setting up a device to keep it updated. (software on pc or router if it has the option) you would then change the gateways in your irule remote to point to the domain name instead of the internal IP.

I do this for a bunch of stuff in my remote. I can control lighting and cameras remotely or locally this way.

Ah got it. My router does have an option for a dynamic dns service, so I guess I will use that. Thanks for the info!
post #9171 of 9759
Quote:
Originally Posted by bryansj View Post

I've never used a MX-850 or their Editor software, but I know it works on my MX-980 and CCP. Don't you have the pdf user guide option in the Editor's help menu?

There is a manual? Hmmm...will have to check on that.

Thank You!

Mark
post #9172 of 9759
Quote:
Originally Posted by BrolicBeast View Post

I'm finding that the Kindle Fire is better suited for remote control duties than the iPad Mini or full sized iPad are.  It's smaller footprint and slightly heftier weight just makes it feel more substantial.  When using either of my iPads,  I feel like I'm using a great app on my iPad; when using the Kindle Fire, I forget I'm using a tablet and instead feel like I'm using a top-notch remote.  It's difficult to explain why--it's all about the way it feels in the hand. This is the original Kindle Fire.  I'm going to see if I can find any for sale so I can stock up on this great "feeling" remote through which iRule works its magic.

Amazon had the Kindle Fire HD (previous generation) on sale yesterday for $119; it was sold out when I checked early in the morning, around 7:00 a.m. CT. Today it is $139; normally it is $169, so I don't know if they just dropped the price or if it is on sale for the remainder of the week. There is no indication of a savings, so I think they just dropped the price by $30. Not too shabby.

Mark
post #9173 of 9759
I was wondering how to program the system off button in the template.If I place off commands for all the devices the the ones which are off will turn on.Is there some sort of ability for Irule to tell which device is on or off ?Sorry for the noob question .
post #9174 of 9759
Quote:
Originally Posted by bryansj View Post

If only iRule would update their Android app to the same level as the iOS app then everyone would be happy. I had to switch my coworker over from the Nexus 7 to a first gen iPad Mini that someone loaned him. He is new to touchscreens and was having trouble with the Android iRule interface. I told him that the iOS version supported button pressed states and worked up a quick template. He was sold after the first press since now he sees that the command is registering. How hard can it be to add pressed states to Android? It makes it look much more polished as well.

Not to mention the Android module support, pixel level placement, and variables...

Yep I'm also amazed since it would seem to me that the Android devices (being cheaper) would make much better dedicated remotes. They really need to AT LEAST get pressed states working in Android.
post #9175 of 9759
Quote:
Originally Posted by shah993 View Post

I was wondering how to program the system off button in the template.If I place off commands for all the devices the the ones which are off will turn on.Is there some sort of ability for Irule to tell which device is on or off ?Sorry for the noob question .

Most devices have discrete Power On and Power Off commands in the database. Sending Power Off to a device that is already Off does nothing. So yes, just load up the button with Power Off commands from all your devices. Sending Power On to a device that is already powered on will more than likely have no negative impact either. The only time things get tricky are with projectors that require two presses with a delay in between.

If you are programming for iOS then you can use variables to help track the state, but if there are already discrete commands then it is a waste of time.
post #9176 of 9759
Quote:
Originally Posted by ScAndal View Post

Yep I'm also amazed since it would seem to me that the Android devices (being cheaper) would make much better dedicated remotes. They really need to AT LEAST get pressed states working in Android.

I agree. I have Santa bringing me a Nexus 7 so it would be nice to see this added by then. When I jumped into iRule I didn't realize there were differences between the ecosystems. I left iOS after the iPhone 4 and before the iPhone 5 was announced and doubt I'll ever go back. Currently working on a template for my Nexus 5.
post #9177 of 9759
Quote:
Originally Posted by bryansj View Post

I agree. I have Santa bringing me a Nexus 7 so it would be nice to see this added by then. When I jumped into iRule I didn't realize there were differences between the ecosystems. I left iOS after the iPhone 4 and before the iPhone 5 was announced and doubt I'll ever go back. Currently working on a template for my Nexus 5.

I'm also looking to get a Nexus 7 and a dock as well for xmas. It seems to me to be the perfect size for a remote. I'm REALLY hoping they have pressed states working by EOY.
post #9178 of 9759
Quote:
Originally Posted by ScAndal View Post

I'm also looking to get a Nexus 7 and a dock as well for xmas. It seems to me to be the perfect size for a remote. I'm REALLY hoping they have pressed states working by EOY.

Not sure how the experience goes with the 2nd generation Nexus 7, but my 1st gen skips button presses, tap and holds and is kind of unreliable when it comes to button input/sensing. iPad and iPad Mini work perfectly. It's sad but true, I wouldn't recommend the Nexus for iRule.
post #9179 of 9759
Quote:
Originally Posted by krakhen View Post

Not sure how the experience goes with the 2nd generation Nexus 7, but my 1st gen skips button presses, tap and holds and is kind of unreliable when it comes to button input/sensing. iPad and iPad Mini work perfectly. It's sad but true, I wouldn't recommend the Nexus for iRule.

But is the problem with the Nexus or with the Android iRule app?
post #9180 of 9759
Quote:
Originally Posted by bryansj View Post

But is the problem with the Nexus or with the Android iRule app?

That's a good question I couldn't categorically answer, but the main issue I'm facing with the tablet and iRule is documented in this case:

https://getsatisfaction.com/irule/topics/repeat_on_hold_issue

It's a rather simple behavior I would expect to simply work and doesn't. I've read about a better experience with the Galaxy Tab 3 so maybe the answer is some Android devices?
Edited by krakhen - 12/4/13 at 10:45am
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Remote Control Area