or Connect
New Posts  All Forums:Forum Nav:

iRule - Page 284

post #8491 of 9744
Quote:
Originally Posted by Franin View Post

Hi all Ive come for the pronto professional series and Im looking at going this direction. Ive looked at it and tried to get a understanding of it is there like a beginners manual to learn?
Hi Franin,

You'll find most everything you need under the "Support" tab on the iRule site. There's a link to a user manual PDF, a page of tutorial videos, and a link to a support site with lots of articles (see the page that says "All iRule Tutorials") for lots of basics and background.

Cheers,
SC
post #8492 of 9744
Quote:
Originally Posted by scubasteve2365 View Post

What kind of delays between commands in an activity launch are some of you guys using? I want the activity launch to be faster than my harmony, but also want it reliable. Just looking for a starting ground. I'm mostly referring to IR delays between separate device executed on the same IR port (Blaster).
Generally half a second to a second, but it totally depends on blaster placement, the environment, and the devices themselves. Because it's device-dependant, even the order you send the commands can have an impact. Some devices are really sensitive to getting blasted with IR and sort of lock up for a second or two while the IR input buffer flushes. If you have on of those, you can try to put it first in the macro to shorten things up a bit. I'd probably start at around a second, then shorten them up from there and see how short you can make them before things get missed.

Cheers,
SC
post #8493 of 9744
Quote:
Originally Posted by Azz View Post

I'm having a bit of trouble trying to match IR codes to a Dick Smith STB - model GH5944
http://www.dicksmith.com.au/set-top-boxes-pvrs/dick-smith-hd-digital-set-top-box-with-usb-pvr-dsau-gh5944

They also sell Digitec & Strong manufactured devices which I've tried the codes for without success.
I did a quick search and didn't find anything but another inquiry by you, so the box or model number must not be too common. It's a long-shot, but you could try calling or emailing the manufacturer to see if they have IR codes, but unless they provide them in Pronto hex, you'll go down the rabbit hole of trying to convert from one format to the Pronto Hex that Builder will accept. Learning is probably the easiest.

Quote:
Originally Posted by Azz View Post

Failing that, is there any way to use an IR sensor in read mode on a GC-100-12 to learn what codes the remote is sending?
I've had a look at iLearn though it appears you need additional hardware to use it.

You can use a GC-100, but you'll need a GC-IRL to plug into the serial port. The GC-IRL is a little pricey for what it is though, so unless you plan to do a lot more learning, an iTach IP2IR would probably be a better investment; at least use it for something other than learning... Maybe iRule-enable some gear second or third room or something.

Cheers,
SC
post #8494 of 9744
Quote:
Originally Posted by JapanDave View Post

Two Questions,
1. Do I need to assign the HTPC a static IP address?
2. Are there any downloads for bottuns that can be used on a HTPC panel in iRule? Eg, the green button.
Ideally, you should assign a static IP address to anything you're controlling with iRule; if you don't, there's always the chance that the device will change IP addresses and your control will be broken.

I'm not sure what the "green button" is... The Windows button? There is a "Windows" button in the "Misc" sets, and there are enough other buttons, you should be able to cover almost any remote. If there's something important missing, post about it and either someone can make it for you, or iRule can add it to the library.

Cheers,
SC
post #8495 of 9744
Quote:
Originally Posted by JapanDave View Post

Thanks Steve, I will check it out.

Two Questions,
1. Do I need to assign the HTPC a static IP address?
2. Are there any downloads for bottuns that can be used on a HTPC panel in iRule? Eg, the green button.

Quote:
Originally Posted by ecrabb View Post

Ideally, you should assign a static IP address to anything you're controlling with iRule; if you don't, there's always the chance that the device will change IP addresses and your control will be broken.

I'm not sure what the "green button" is... The Windows button? There is a "Windows" button in the "Misc" sets, and there are enough other buttons, you should be able to cover almost any remote. If there's something important missing, post about it and either someone can make it for you, or iRule can add it to the library.

Cheers,
SC
Steve, the "Green Button" starts MCE.

JapanDave,
I made some Green Buttons, you can find them as follows: Browse, Image Libraries, click user tab, enter jclam in the look for box, hit search, find JClam's Larger Button-Full Set, click on the little "eye" on the right and you can see some of my buttons including the Green button and a black version that I use (I didn't like my green ones and the black one is more in keeping with the style of my other buttons). In my layout I have one to Start MCE and one to Stop MCE.

If you like them, click in the little box on the left, click import and you will have those in your builder and you can drag and place the Green Button where needed on your builder page. Once the button is there, in your builder click devices, expand MCE Controller V2, expand Network Codes, and drag MCE Start onto the Green Button you just placed in your page layout. In my layout I have one button to Start MCE and one to Stop MCE. Save, sync your device and you should be good to go.

One caveat: I can't remember if the MCE Start command and Close MCE command came with the MCE Controller V2 or if I had to make them myself...if they aren't there I'll try to help you create them...but its been a while.

Clam
post #8496 of 9744
Quote:
Originally Posted by Jim Clamage View Post

Steve, the "Green Button" starts MCE.
That's what I thought. It's the Windows logo on a green background. The iRule libraries have that Windows button, just without the green background to match each of the themes.

Cheers,
SC
post #8497 of 9744
Quote:
Originally Posted by ecrabb View Post

Ideally, you should assign a static IP address to anything you're controlling with iRule; if you don't, there's always the chance that the device will change IP addresses and your control will be broken.

I'm not sure what the "green button" is... The Windows button? There is a "Windows" button in the "Misc" sets, and there are enough other buttons, you should be able to cover almost any remote. If there's something important missing, post about it and either someone can make it for you, or iRule can add it to the library.

Cheers,
SC
Thanks, sorry, yes that is what I was talking about. In the iRule builder that is what it is called though???

This pic is from the MCE setup page in iRule.


Quote:
Originally Posted by Jim Clamage View Post


Steve, the "Green Button" starts MCE.

JapanDave,
I made some Green Buttons, you can find them as follows: Browse, Image Libraries, click user tab, enter jclam in the look for box, hit search, find JClam's Larger Button-Full Set, click on the little "eye" on the right and you can see some of my buttons including the Green button and a black version that I use (I didn't like my green ones and the black one is more in keeping with the style of my other buttons). In my layout I have one to Start MCE and one to Stop MCE.

If you like them, click in the little box on the left, click import and you will have those in your builder and you can drag and place the Green Button where needed on your builder page. Once the button is there, in your builder click devices, expand MCE Controller V2, expand Network Codes, and drag MCE Start onto the Green Button you just placed in your page layout. In my layout I have one button to Start MCE and one to Stop MCE. Save, sync your device and you should be good to go.

One caveat: I can't remember if the MCE Start command and Close MCE command came with the MCE Controller V2 or if I had to make them myself...if they aren't there I'll try to help you create them...but its been a while.

Clam

Thanks Jim, do you have a screen shot of your HTPC panel. I would love to see how you have it set out. smile.gif
post #8498 of 9744
Quote:
Originally Posted by ecrabb View Post

Hi Franin,

You'll find most everything you need under the "Support" tab on the iRule site. There's a link to a user manual PDF, a page of tutorial videos, and a link to a support site with lots of articles (see the page that says "All iRule Tutorials") for lots of basics and background.

Cheers,
SC

Thanks SC
post #8499 of 9744
You know I never saw the "Green Button" command in the MCE Controller device list, so maybe I don't know what the "Green Button" does!

Anyway, here's my HTPC page for my iPad:

post #8500 of 9744
Just got my BenQ W1080ST projector hanging on the ceiling. Trying to decide which cables to run in the ceiling... either RS232 or IR repeater. I was able to get the RS232 commands from BenQ support. What are the pros and cons of RS232 vs IR?
post #8501 of 9744
Quote:
Originally Posted by scubasteve2365 View Post

Does anyone have the monoprice 4x2 HDMI matrix? All of the devices I've found both in the irule and user databases is wrong. One is close but its a 4x4 matrix that has 7 of the 8 that I need. The 8th (A3) actually works with power toggle. A power toggle command will quickly switch to A3 before turning off.
.

Hey Steve,
i had a monoprice 4x2 - 5312. if you search for it in the user listing it will have enough codes for 4x4. use the codes below and you will be working in no time!

A1 is controlled by A2 code
A2 is controlled by A4 code
A3 is controlled by B2 code
A4 is controlled by B4 code

B1 is controlled by C2 code
B1 is controlled by C4 code
B3 is controlled by D2 code
B4 is controlled by D4 code

https://getsatisfaction.com/irule/topics/monoprice_hdmi_switcher_hdx_402e_ir_codes
post #8502 of 9744
Quote:
Originally Posted by Jim Clamage View Post

You know I never saw the "Green Button" command in the MCE Controller device list, so maybe I don't know what the "Green Button" does!

Anyway, here's my HTPC page for my iPad:


Very nice setup! Thanks for that.
post #8503 of 9744
I have tried for the last week playing around in Photoshop and Gimp, trying to create basic icons/buttons for my iRule setup with no luck. I have searched every shared image folder in iRule, and have found a lot of useful images, but I'm still missing a few to complete my setup. With that said, is there anyone with Photoshop skills interested in making 20 basic buttons/icons for me? I'm willing to pay someone via Paypal to do this for me. Below is one example of the type of work i need done
post #8504 of 9744
Has anybody succesfully put a command for the weather in iRule Builder?
Thx
post #8505 of 9744
Quote:
Originally Posted by nosdude View Post

Has anybody succesfully put a command for the weather in iRule Builder?
Thx

Not sure what you mean by "command", but I did a simple test with my iPhone:
1. Create a new Panel, I called it Weather Test
2. Create a portrait page, I also called it Weather Test
3. On the right side panel of the Builder, click More, then expand Modules and you'll see Weather as the last entry
4. Left click and drag the Weather module into the middle of your portrait page and it looks like this:



5. Click Save, open your device, launch iRule, press Panels, More, Sync...once sync is done, press Panels, select Weather Test and you'll see this:



6. Click ok and then you'll see this:



In the Builder you can change the size, the corner radius, scale (ie farenheit or celsius) and whether to show the background or not. I chose not in the above test.

If you want you can create a button/link that says Weather and points to this test page you created...pretty straightforward, press the Weather button and it goes to the weather page.

Right now you can't give it a zipcode to get that weather, it can only use the iDevice's current location, but I think that change is being discussed for a future update.

Let me know if you have any questions.
Clam
post #8506 of 9744
Quote:
Originally Posted by sscott0203 View Post

I have tried for the last week playing around in Photoshop and Gimp, trying to create basic icons/buttons for my iRule setup with no luck. I have searched every shared image folder in iRule, and have found a lot of useful images, but I'm still missing a few to complete my setup. With that said, is there anyone with Photoshop skills interested in making 20 basic buttons/icons for me? I'm willing to pay someone via Paypal to do this for me. Below is one example of the type of work i need done

I should have some free time this weekend, shoot me a PM with exactly what you need and I'll see if I can help.
Clam
post #8507 of 9744
I do all my button editing online. Pixlr.com, use the advanced editor. pretty cool features for an online app.

Google a transparent PNG file for the logo you want, then resize it and paste it on the blank button. You can save irule button images to your computer by browsing for them in the online database, and then holding ctrl while dragging it to your desktop.

I've got a ton of custom buttons done this way. I also used the editor to trim the background size of the buttons to give me more options on placement or shove them to the sides of the remote more.
post #8508 of 9744
Cool. Thanks. It worked.
post #8509 of 9744
Quote:
Originally Posted by Jim Clamage View Post

Not sure what you mean by "command", but I did a simple test with my iPhone:
1. Create a new Panel, I called it Weather Test
2. Create a portrait page, I also called it Weather Test
3. On the right side panel of the Builder, click More, then expand Modules and you'll see Weather as the last entry
4. Left click and drag the Weather module into the middle of your portrait page and it looks like this:



5. Click Save, open your device, launch iRule, press Panels, More, Sync...once sync is done, press Panels, select Weather Test and you'll see this:



6. Click ok and then you'll see this:



In the Builder you can change the size, the corner radius, scale (ie farenheit or celsius) and whether to show the background or not. I chose not in the above test.

If you want you can create a button/link that says Weather and points to this test page you created...pretty straightforward, press the Weather button and it goes to the weather page.

Right now you can't give it a zipcode to get that weather, it can only use the iDevice's current location, but I think that change is being discussed for a future update.

Let me know if you have any questions.
Clam


Thanks. Just tried these methods, and it worked.
Have a great weekend.
post #8510 of 9744
I still can't get the MCE Controler to connect. I have my RS20i gateway setup via IP, so the connection is there. What would cause the gateway not to connect?
post #8511 of 9744
MCE issue.pdf 159k .pdf file I have a drawer that I'm using that has all keyboard numbers and letters for use with XBMC but am missing the code for 'spacebar'. I'm using MCE Controller V2 as the device. Can someone point me to a device that has the 'spacebar'' code? Thanks in advance.
Edited by snodric - 7/15/13 at 5:51pm
post #8512 of 9744
Quote:
Originally Posted by snodric View Post

I have a drawer that I'm using that has all keyboard numbers and letters for use with XBMC but am missing the code for 'spacebar'. I'm using MCE Controller V2 as the device. Can someone point me to a device that has the 'spacebar'' code? Thanks in advance.
The spacebar command is already in MCE Controller as "space." In the commands file you'll see the following line:

SendInput Cmd="space" vk="32" Shift="false" Ctrl="false" Alt="false"

Here vk means virtual key, virtual key 32 is spacebar, and all of the modifier keys (shift, control, and alt) are false, or not depressed.

EDIT: I don't know whether this command is in the original commands file or the one to be found on the iRule site that has added commands, or if I added the command to the file.
post #8513 of 9744
Quote:
Originally Posted by JapanDave View Post

I still can't get the MCE Controler to connect. I have my RS20i gateway setup via IP, so the connection is there. What would cause the gateway not to connect?

Make sure you are using a network gateway and that MCE controller is listening on the port specified in the gateway setup on your remote device. You can open up the MCE Controller window on the PC to watch whether it is receiving commands from your remote device. You'll see in that window the port, which is usually 5150 for MCE Controller.

You also have to put an MCE Controller program shortcut in your PC's startup folder so it starts up whenever you start the PC. I think that is covered in the iRule tutorial,but I'm not sure.
post #8514 of 9744
Quote:
Originally Posted by Steve Goff View Post

The spacebar command is already in MCE Controller as "space." In the commands file you'll see the following line:

SendInput Cmd="space" vk="32" Shift="false" Ctrl="false" Alt="false"

Here vk means virtual key, virtual key 32 is spacebar, and all of the modifier keys (shift, control, and alt) are false, or not depressed.

EDIT: I don't know whether this command is in the original commands file or the one to be found on the iRule site that has added commands, or if I added the command to the file.


I believe the command is in my MCE Controller but it is not listed in my MCE Control Device. I know that I can add another code but how do I enter it in a similar way to the ones already in my MCE device? I've attached a pdf of a screen print that shows the command for 'ESCAPE' and the data code. What would be the data code for 'Spacebar'?
Edited by snodric - 7/15/13 at 9:33pm
post #8515 of 9744
Just wanted to share that I am installing a micasaverde 3 in my home right now. I don't have it in irule YET cause I'm having a problem with one device. I have scenes working, triggers, and schedules. I also have the app for control outside the house working. I will say that this unit has been the most robust thus far for zwave. I have used the regular Leviton controller, the serial controller, and the think stick controller. The verde takes what all 3 does and wraps it into a nice neat package. After I get the device working that is not at this moment I'm going to get it into irule. i am guessing that feedback with this unit is going to be much fater than the Leviton serial controller just from seeing how fast feedback is with using the app over data. it's fast. all in all very happy thus far.

Next is integrating my DCS security panel into it with EVL3 which is a IP card that hooks up to the DCS panel bus to control the system. There is a free plugin from verde to integrate everything. Seems to be very easy to setup and very responsive. I have to talk with Itai to see what kind of irule integration I might get her.

Just thought I would share.

jim
post #8516 of 9744
Quote:
Originally Posted by Bacon13 View Post

Just got my BenQ W1080ST projector hanging on the ceiling. Trying to decide which cables to run in the ceiling... either RS232 or IR repeater. I was able to get the RS232 commands from BenQ support. What are the pros and cons of RS232 vs IR?

95% probably the RS232 but it will ultimately depend on the available codes, there will be differences. Generally the RS232 will have more discrete codes that you'll want to use, and is more reliable in my experience. But discrete codes aren't always better, sometimes the remotes have toggle buttons that are better than discrete. Sometimes you want both. You can always create toggles using iRule, but it is slightly annoying as it doesn't remember the previous state of the device if you leave the panel.

On my RX I'm using rs232 and IR to get the most out of it.

If you're using feedback it is a nobrainer. The feedback part of iRule is a must have IMO for a multizone system. I guess for a single zone you can get around it, but hey, what's another $50.
post #8517 of 9744
Quote:
Originally Posted by Steve Goff View Post

Make sure you are using a network gateway and that MCE controller is listening on the port specified in the gateway setup on your remote device. You can open up the MCE Controller window on the PC to watch whether it is receiving commands from your remote device. You'll see in that window the port, which is usually 5150 for MCE Controller.

You also have to put an MCE Controller program shortcut in your PC's startup folder so it starts up whenever you start the PC. I think that is covered in the iRule tutorial,but I'm not sure.
Thanks Steve, I got it working by running the controller program on desktop. How do I get it to start up when the PC starts up? It seems that the MC controller only works when it is actively running on the HTPC.

Dave
post #8518 of 9744
Quote:
Originally Posted by snodric View Post


I believe the command is in my MCE Controller but it is not listed in my MCE Control Device. I know that I can add another code but how do I enter it in a similar way to the ones already in my MCE device? I've attached a pdf of a screen print that shows the command for 'ESCAPE' and the data code. What would be the data code for 'Spacebar'?
Right click to create a new command, give it a name in the lower left hand panel, and cut and paste the data from another command. Then edit the data to replace the letters before the backslash (in your example esc for the escape command) with space. The command will now show up in the right hand panel, and can be used like other commands. The data is simply the command as it exists in the PC commands file, followed by \x0D (carriage return). For space the data is space, for escape the data is esc.

You can do this for any command in the commands file.

In this example the command for spacebar starts like this: SendInput Cmd="space"

The command data is in quotes. The commands file simply says look on the port for the command "space" and execute the following: vk="32" Shift="false" Ctrl="false" Alt="false"

In other words, when you see the command "space" press the virtual spacebar key but not Shift, Ctrl, and Alt.

If you know other virtual keys you can added similar commands to the commands file. Here is a list of virtual key codes.
Edited by Steve Goff - 7/16/13 at 9:15am
post #8519 of 9744
Quote:
Originally Posted by JapanDave View Post

Thanks Steve, I got it working by running the controller program on desktop. How do I get it to start up when the PC starts up? It seems that the MC controller only works when it is actively running on the HTPC.

Dave
You get it to start up when the PC starts by putting a shortcut for the program in the startup group, just like any other PC program you want to run at startup.

Click on Start, then on All Programs, and finally find the Startup folder. Right click on the Startup folder and click Explore or Open. Then copy a shortcut for the MCE Controller program into the Startup folder. To make a shortcut right click on the MCE Controller icon and click Send to Desktop or Copy. Then drag and drop or paste.

Here is a video on the subject.
Edited by Steve Goff - 7/16/13 at 9:06am
post #8520 of 9744
Quote:
Originally Posted by CentralCoaster View Post

95% probably the RS232 but it will ultimately depend on the available codes, there will be differences. Generally the RS232 will have more discrete codes that you'll want to use, and is more reliable in my experience. But discrete codes aren't always better, sometimes the remotes have toggle buttons that are better than discrete. Sometimes you want both. You can always create toggles using iRule, but it is slightly annoying as it doesn't remember the previous state of the device if you leave the panel.

On my RX I'm using rs232 and IR to get the most out of it.

If you're using feedback it is a nobrainer. The feedback part of iRule is a must have IMO for a multizone system. I guess for a single zone you can get around it, but hey, what's another $50.

Thanks, That's pretty much what I figured. I ran a serial cable in the ceiling and wall. I'll fire it all up before I patch the holes in the walls.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Remote Control Area