HOUSTON... we have lift off! Thanks to all for your caring assistance and to the excellent people at iRule support!
For the noobs out there in addition to jg's excellent steps above you also must ensure:
1) Once you have the new Entrance defined as above, the page you are trying to control in your entrance has to have the 'Entrance' properties updated from 'none' to the defined feedback.
...snip...
I also added the GetTuned query command to my channel UP & DOWN along with my Select button and increased the delay to 1 second (per iRule supports suggestion), then changed the Entrance to repeatable=No (so it does just the initial load of data once). Works great!
Excellent. I'm glad you got it working.
General comments...
The page does not have to have the entrances assigned in the "Entrance" property. Leaving it unassinged will simply cause the entrance to run while any page in the panel is active. This allows you to have an entrance for the page that is not repeating, to set up devices for example, yet still have active feedback. In fact, this is how the iRule tutorial describes setting up repeating entrances.
I tried to add the GetTunedQuery to channel up/down and select button, but I found that we use other methods to change channels which puts the feedback out of sync, typing in the channel numbers being the worst offender. I tried adding GetTunedQuery to the number buttons but that didn't work very well - I needed several seconds of delay to accomodate the time for the receiver to realize no more buttons have been pressed before it changes the channel. This adds a significant degree of sluggishness when typing in three or four digit channel numbers. In the end I put the repeating entrance back in and took the GetTunedQuery commands out of the buttons and have been happy ever since.
General comments...
The page does not have to have the entrances assigned in the "Entrance" property. Leaving it unassinged will simply cause the entrance to run while any page in the panel is active. This allows you to have an entrance for the page that is not repeating, to set up devices for example, yet still have active feedback. In fact, this is how the iRule tutorial describes setting up repeating entrances.
I tried to add the GetTunedQuery to channel up/down and select button, but I found that we use other methods to change channels which puts the feedback out of sync, typing in the channel numbers being the worst offender. I tried adding GetTunedQuery to the number buttons but that didn't work very well - I needed several seconds of delay to accomodate the time for the receiver to realize no more buttons have been pressed before it changes the channel. This adds a significant degree of sluggishness when typing in three or four digit channel numbers. In the end I put the repeating entrance back in and took the GetTunedQuery commands out of the buttons and have been happy ever since.
Ahh... so your'e thinking my main issue was on the HR24 itself by allowing the GetTuned query to execute.
If you directly enter the numbers and still hit 'select' I think it stays in sync right (what other methods are there where you wouldn't hit 'select'?).
Ahh... so your'e thinking my min issue was on the HR24 itself by allowing the GetTuned query to execute.
If you directly enter the numbers and still hit 'select' I think it stays in sync right (what other methods are there where you wouldn't hit 'select'?).
Thank again for all your help bro!
I'm thinking your issue was the setting on the HR24 to give out the current program info. I don't remember having to change anything on my DTV box, so I never looked for any such setting.
I have an HR21 and I don't need to hit select after entering numbers, just wait a couple of seconds and it changes channels. The interface on my HR21 is quite slow compared to your HR24 - hitting enter doesn't really speed things up much, so we never bother to do it. The 1 second delay you can use for your HR24 would miss most of my channel up/down changes - I needed 3 seconds for those to be reliable.
Other ways the feedback gets out of sync include the "Previous Channel" button (easy to fix), when one show ends and another begins, and when the reciever changes channels itself because two shows are scheduled to record at the same time. With the repeating entrance I simply never have to worry about it.
Having difficulty getting the preset IR commands in the iRule database to work for this device. I have numerous IP2SL and IP2IR devices...so I was wondering if it was something as simple as number of repeat commands or a setting on the HDMS devide itself. If anyone could help, I woudl greatly appreciate it. Thanks!
I apologize if this has already been covered - I've been browsing this thread all day and haven't come across it - but with 200+ pages...
I'm a relative noob when it comes to iRule, but I must say I'm very happy with it so far. I have mine controling my Onkyo 809 over TCP/IP, my Oppo 83 via CEC (RIHD) over the Onkyo HDMI, and my DirecTV THR22-100 TiVo over IP.
I am trying to get feedback to work from the TiVo to get information from it. So far, all the TiVo IP commands work to control this unit, but the feedback ones don't seem to work.
After doing research, I came accross using CH_STATUS to get the feedback information I need.
I am using the prefix 'CH_STATUS' and suffix 'LOCAL'. The value returned is 'CH_STATUS xxxx' where xxxx is the 4 digit channel number. If I omit the 'LOCAL' sufix, it returns 'CH_STATUS xxxx LOCAL'. So, I tried using the sufix 'CH_STATUS CH_STATUS' to see if it would remove the CH_STATUS from the output. That broke it.
I then tried changing 'target value' to 'CH_STATUS *' and tried putting a blank space, a space then *, an * and other values in 'replace with' to no avail.
Has anyone had an experience similar to this? And, if so, how did you get it to remove the extra text?
I wish there was more information on everything you can do in the feedback section, but other than using existing feedback, there isn't much in the way of tutorials or information.
Thanks in advance!
Kevin
Did you ever get this working Kevin? I just completed my Tivo panel design (attached), and am trying to get feedback going but I don't see anything in the IP commands like there is for the DirecTV 'GetTuned' query under HTTP so I'm not sure what to feed to my Entrance definition and I don't see a 'CH_STATUS' anywhere.
Did you ever get this working Kevin? I just completed my Tivo panel design (attached), and am trying to get feedback going but I don't see anything in the IP commands like there is for the DirecTV 'GetTuned' query under HTTP so I'm not sure what to feed to my Entrance definition and I don't see a 'CH_STATUS' anywhere.
Yes - I got it working great once I figued out that I needed to replace the _ with an *. As to why you don't see a CH_STATUS, I've got the DirecTV TiVo - model THR22-100.
The HR series uses the http feedback that you are using and gives you quite a bit of information. The TiVo or THR series ONLY gives CH_STATUS and it is only readable by IP or Serial connection.
While I'm glad to have the TiVo interface back, now that I'm geting in to home automation, I wish that they would implement more feedback information into this new unit. It's linux based so it isn't like it would be hard at all to do.
On a side note, I was trying to get feedback working from my Oppo BDP83 and it just was not working at all. The Oppo uses @Q++ (where ++ is a 2 letter abreviation for what you are checking the status on). I could see the output from the Oppo in iHelp so I knew it was giving back the information requested, but iRule just wasn't displaying it - or if it did, it was once and then frozen.
I was about to give up on it, then I re-read my post on getting the CH_STATUS to work, and decided to replace the @ with *.... Sure enough - it works perfect now.
I did speak to iRule's support the other day and they are working on the ability to parse the output with more than just an */replace. This should make things work a LOT better.
Use multiple entries and replace ## with LOCAL or REMOTE since these will be added at the end of the CH_STATUS query.
Then for Value, you can use:
*
and leave replace with empty.
I wanted to also have the chanel name with it so I made one for each chanel. IE: For chanel 3, use target value of CH_STATUS 0003 and replace with 3 - WREG (the local name for chanel 3 here). Doing this you won't need a separate one for LOCAL or REMOTE changes.
You don't need to have anything in the Entrances for this as this is broadcast automatically on the IP or Serial port.
You just need to make sure that you have this feedback attached to the serial device you are using, or the TiVo's IP address in Network gateway using port 31339.
From what I have been reading, this should work on S3 and Premiere TiVo's the same as it works on my DirecTV TiVo. Let me know if it does.
As for the HTTP feedback, I have yet to get ANY of those to work on the DirecTV TiVo.
I've shared my feedbacks for my DirecTV TiVo under model number "THR22 TiVo" in the iRule database. The Numerical one doesn't work at all, and everything Textual from Test down doesn't work.
Having difficulty getting the preset IR commands in the iRule database to work for this device. I have numerous IP2SL and IP2IR devices...so I was wondering if it was something as simple as number of repeat commands or a setting on the HDMS devide itself. If anyone could help, I woudl greatly appreciate it. Thanks!
Key Digital HDMS 4x4 HDMI Matrix
So what exactly are you looking for? I know 100% that IR codes for key digital KD-HDMS4x4 work because I learned and tested those codes and loaded into the builder. I also added the RS232 device for it.
Use multiple entries and replace ## with LOCAL or REMOTE since these will be added at the end of the CH_STATUS query.
Then for Value, you can use:
*
and leave replace with empty.
I wanted to also have the chanel name with it so I made one for each chanel. IE: For chanel 3, use target value of CH_STATUS 0003 and replace with 3 - WREG (the local name for chanel 3 here). Doing this you won't need a separate one for LOCAL or REMOTE changes.
You don't need to have anything in the Entrances for this as this is broadcast automatically on the IP or Serial port.
You just need to make sure that you have this feedback attached to the serial device you are using, or the TiVo's IP address in Network gateway using port 31339.
From what I have been reading, this should work on S3 and Premiere TiVo's the same as it works on my DirecTV TiVo. Let me know if it does.
As for the HTTP feedback, I have yet to get ANY of those to work on the DirecTV TiVo.
Thanks!
Kevin
Thanks Kevin!
Here's a really interesting thread I found off Tivo community that shows some unadvertised commands that Tivo supports for the Crestron but I would we could figure out the structure to getting it working in iRule...
Here's a really interesting thread I found off Tivo community that shows some unadvertised commands that Tivo supports for the Crestron but I would we could figure out the structure to getting it working in iRule...
Not real clear on the "suffix" stuff for LOCAL or REMOTE. Could you provide an example of yours in builder?
I've looked at that thread before, that information looks to already have been implemented in the IRCODE database in the builder. I am re-reading it now though in hopes of maybe finding more feedback options other than CH_STATUS - so far, no luck.
The CH_STATUS is always going to be formatted like this:
CH_STATUS xxxx
I've updated the THR22 feedback in builder to show the REMOTE and LOCAL. iRule doesn't like multiple queries of the same feedback string so you can only use one of these at a time. IRCODE channel changes have LOCAL at the end of them as the , and SETCH channel changes have REMOTE. There is also a third called RECORDING that is set when the unit itself changes the channel to record a program.
I would recommend using my original one and just changing the channel information to what you use for each channel. This would take care of all options as it ignores the and lets you add any information you want to show.
If you do ALL of your channel changes using either IRCODE or SETCH commands, then you can just choose the option that fits best. Just keep in mind that the TiVo sends the channel number as a 4 digit number. IE: If you tune to channel 3, you will get 0003 as the channel number.
I hope this helps you out.
Here is a side note: If you use the colour buttons with your TiVo, the IRCODEs for them are IRCODE ACTION_A\\x0D IRCODE ACTION_B\\x0D IRCODE ACTION_C\\x0D and IRCODE ACTION_D\\x0D. For mine those would be in the order of Red, Green, Yellow then Blue. I've included my IRCODE DB on builder - as DirecTV TiVo IP.
If you do manage to get other feedbacks working, via IP/RS232 or HTTP, PLEASE let me know.
Sorry - I can't answer your first question, but your second question the answer would be Yes - provisionaly.
You would either need to have your TV connected directly to your internet connection and know it's IP address, or you would need the ability to VPN in to your home network.
The first option is very risky and it would take the rest of your network offline. NOT RECOMENDED AT ALL.
The second option requires that you know how to configure and connect to a VPN but is the safest way to accomplish this.
You can also have something like a VNC or RDP server on a desktop computer in your home network and connect to it remotely and use it to control the items in your home network. This would require that you have an iDevice or android device running iRule and a way to control it from the PC you remote connected to. This would end up being a fairly elaborate way to accomplish this.
agreed. i use a dd-wrt router running openvpn for remote access from my Dinc2 and kindle fire. if you're using an iDevice, you can use pptp which is less secure than openvpn, but a whole lot easier to set up in dd-wrt.
Im using a itach and works fine when Im at home. Should be a different way to do it.
You should be able to get a dyndns address for your external IP and set up a port forward in your router to the iTach, it uses port 4998. In iRule gateway config, enter the dyndns address instead of the iTach IP and you should be good to go. No VPN necessary, but obviously no security.
You should be able to get a dyndns address for your external IP and set up a port forward in your router to the iTach, it uses port 4998. In iRule gateway config, enter the dyndns address instead of the iTach IP and you should be good to go. No VPN necessary, but obviously no security.
wouldn't that cause commands to go out to the internet and back ALWAYS? or can the router catch the outbound command and redirect it with port forwarding?
If it's the Denon that only handles one connection at a time, it wont help to use an iTach. There is another option to consider however: using a control server between the iPads and the Denon, e.g. EventGhost or Girder. Instead of sending commands straight from the iPads to the Denon, you send them to EventGhost, which manages the one connection and relays the commands from all the iPads or other control devices. May sound a bit complex but it is really simple to set up and works beautifully.
I've looked at that thread before, that information looks to already have been implemented in the IRCODE database in the builder. I am re-reading it now though in hopes of maybe finding more feedback options other than CH_STATUS - so far, no luck.
The CH_STATUS is always going to be formatted like this:
CH_STATUS xxxx
I've updated the THR22 feedback in builder to show the REMOTE and LOCAL. iRule doesn't like multiple queries of the same feedback string so you can only use one of these at a time. IRCODE channel changes have LOCAL at the end of them as the , and SETCH channel changes have REMOTE. There is also a third called RECORDING that is set when the unit itself changes the channel to record a program.
I would recommend using my original one and just changing the channel information to what you use for each channel. This would take care of all options as it ignores the and lets you add any information you want to show.
If you do ALL of your channel changes using either IRCODE or SETCH commands, then you can just choose the option that fits best. Just keep in mind that the TiVo sends the channel number as a 4 digit number. IE: If you tune to channel 3, you will get 0003 as the channel number.
I hope this helps you out.
Here is a side note: If you use the colour buttons with your TiVo, the IRCODEs for them are IRCODE ACTION_A\\x0D IRCODE ACTION_B\\x0D IRCODE ACTION_C\\x0D and IRCODE ACTION_D\\x0D. For mine those would be in the order of Red, Green, Yellow then Blue. I've included my IRCODE DB on builder - as DirecTV TiVo IP.
If you do manage to get other feedbacks working, via IP/RS232 or HTTP, PLEASE let me know.
Thanks!
Kevin
Just a few tips I have found dealing with TiVo network control and feedback:
- I created an ircode of CH_STATUS\\x0D and placed it in my entrance to get the initial channel.
- I implemented feedback by using a Numeric Value rather than text. Prefix CH_STATUS Suffix LOCAL. This just returns the value, however, it does not allow for replacing the channels with text, as you have done in your shared feedback. It seems to work reliably without specifying LOCAL or REMOTE, although I do not use the SETCH command.
You can find my device shared as "TiVo (Custom)" and my feedback as "TiVo" with model name of Premiere. Both should work on Series 3 TiVos, however I have not tested that.
Here is my page for controlling J. River Media Center, which includes an embedded URL linking to WebGizmo, which allows control of Media Center from a browser window. You can set it to play to the computer or to the iPad, which means that you can listen to music on the iPad from within iRule.
THANK YOU, THANK YOU, THANK YOU - I was just about to drop $22 on ebay to get the Digi cable. This actually didn't work for me but switched pins 2 & 3 ...... BAM ....... and then I had a cigarette.
Thanks,
Paul
Quote:
Originally Posted by heffneil
BAM I GOT IT WORKING!!!! I almost just crapped my pants I got so excited.
Worked perfectly and was totally shocking. I put BLACK in pin 1 since it didn't really say.
Black - 1
Red - 2
Green 3
Blue - 4
Yellow - 5
Gray to 6
Brown - 7
Orange - 8
THANK YOU ALL SO SO SO MUCH FOR THE HELP! Most surprising is that I had the hex codes working. Now I have to fine tune but man this is awesome. I suggest anyone who is using the digiport and adapters or wants to to check out that link. I have about 10 of those adapters that I will probably toss but it was a small price and hopefully someone else can benefit hugely. I know I am going to try out my other couple of RS232 devices now!
Are any iRule users coming from using some of the higher end URC stuff like the MSC-400? I am wondering how iRule compares with the ability to track variables internally and use if-else statements for decision making.
Also since the 'remotes' for iRule are just cell phones and tablets do people find the charging requirements bothersome? I have to charge my cell phone every night and a tablet would probably be similar. It seems that it would be pretty easy to forget to charge one night and then be stuck without a remote for a while...
I have all the codes for components in my system working except for my beloved old CRT projector. It is a XG-135. I have tried the IR codes from the iRule database.
All I need to do is turn it off and on. Any other adjustments I do with the NEC remote.
I know you can get an iLearn module and program it from the remote, but I would prefer not to spend the money for one if there is a workaround.
I am curretnly using a Pronto and have everything programed into PEP. Is there a way to use the pronto codes? Or another option?
Are any iRule users coming from using some of the higher end URC stuff like the MSC-400? I am wondering how iRule compares with the ability to track variables internally and use if-else statements for decision making.
Also since the 'remotes' for iRule are just cell phones and tablets do people find the charging requirements bothersome? I have to charge my cell phone every night and a tablet would probably be similar. It seems that it would be pretty easy to forget to charge one night and then be stuck without a remote for a while...
I am coming from a MX-980 and MSC-400. iRule has no programming logic structure, or variables. I hope they implement in the future. I think if they don't, other's will. I find them a powerful tool in programming a control system.
There are several pros and cons to the differences. Battery life being one. Edit: But, in the installations I deal with, people will likely have a permanently or semi-permantly mounted iPad to control their systems (always charged).
I have all the codes for components in my system working except for my beloved old CRT projector. It is a XG-135. I have tried the IR codes from the iRule database.
All I need to do is turn it off and on. Any other adjustments I do with the NEC remote.
I know you can get an iLearn module and program it from the remote, but I would prefer not to spend the money for one if there is a workaround.
I am curretnly using a Pronto and have everything programed into PEP. Is there a way to use the pronto codes? Or another option?
Do you have the hex codes from PEP? If so, you cut/paste from PEP into the iRule builder. SJ
Here is my page for controlling J. River Media Center, which includes an embedded URL linking to WebGizmo, which allows control of Media Center from a browser window. You can set it to play to the computer or to the iPad, which means that you can listen to music on the iPad from within iRule. [/IMG]
Nice work! What portions of your page contain the embedded WebGizmo? I've been using iRule to control my system but always had to exit it to get to JRemote to control JRiver. It would be great to have control unified in one app.
Will the embedded WebGizmo also work for launching and controlling video files in JRiver?