NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Hardware v
« Previous 1 … 3 4 5 6 7 … 263 Next »
USBUIRTSend and ENTER key

 
  • 0 Vote(s) - 0 Average
USBUIRTSend and ENTER key
artmetz
Offline

Senior Member

NW Montana
Posts: 367
Threads: 68
Joined: Dec 2016
#1
2019-04-26, 04:31 PM
I'm using the USBUIRTSend.exe to change channels on my dish receiver from this post:
https://forums.nextpvr.com/showthread.ph...RTSend-exe

There are 2 issues:
1. There appears to be no option to include the enter key with the channel number, so changing channels is slower than necessary.
2. I need to manually wake the receiver up each day by sending an enter key. (I did this with Beyond TV by scheduling a manual recording each day)

How do I include/send the ENTER key?
I've tried various combinations and either get a crash or error message.
Example:
USBUIRTSend.exe dish311 ENTER
Unexpected error calling UUIRTTransmitIR
(Sending a channel number works)

If the source code was available, I would be willing to add this support myself.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,647
Threads: 767
Joined: Nov 2003
#2
2019-04-26, 04:44 PM
Here's the source code. Good luck.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,811
Threads: 954
Joined: May 2006
#3
2019-04-26, 04:59 PM
YMMV but in the case of my STB, I found that if I properly zero-padded the tuning parameters there was no need for an enter or to wait for a timeout. For the wake request in my daily update EPG batch file I send a request to tune a channel.

Martin
artmetz
Offline

Senior Member

NW Montana
Posts: 367
Threads: 68
Joined: Dec 2016
#4
2019-04-26, 06:40 PM
Padding the channels with zeros didn't work with my STB.
I modified the code to check the configuration file for a new PrependEnter and/or AppendEnter flag and sent the Enter key appropriately if set.
artmetz
Offline

Senior Member

NW Montana
Posts: 367
Threads: 68
Joined: Dec 2016
#5
2019-04-26, 09:33 PM (This post was last modified: 2019-04-27, 01:57 PM by artmetz.)
Small code changes attached.
To enable ENTER before or after channel change, add one or both of the following lines to the USB-UIRT IR file (learned from remote):
PrependEnter 1
AppendEnter 1

i.e.:
USB-UIRT IR file
InterCodeDelay 100
RepeatCount 3
PrependEnter 1
AppendEnter 1
...

The numbers are ignored at the moment, simply the presence of the line enables the functionality. Not sure if there is a need to press Enter N times or not.
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#6
2019-04-27, 02:53 AM
Cheers artmetz this looks a nice addition.

I went through a lot of trials trying to get a device working (turned out it just didn't work under my desk for some reason), but your addition looks useful (for those that might need it).

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,811
Threads: 954
Joined: May 2006
#7
2021-03-20, 09:29 PM
(2019-04-26, 04:44 PM)sub Wrote: Here's the source code. Good luck.

Sub, could you reattach the source and the exe if you still have it?  A SageTV user PM'd me about USB-UIRT and the exe and lot of links are lost after the forum change so it is confusing for new users.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,647
Threads: 767
Joined: Nov 2003
#8
2021-03-20, 09:54 PM
This is what I still have.


Attached Files
.zip   USBUIRTSend-exe.zip (Size: 4.17 KB / Downloads: 38)
.zip   USBUIRTSend.zip (Size: 5.43 KB / Downloads: 41)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  USBUIRTSEND not sending newly learnt codes to USB-UIRT? jksmurf 44 16,082 2019-03-08, 03:04 AM
Last Post: jksmurf

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode