GithubHelp home page GithubHelp logo

Comments (11)

JustFred51 avatar JustFred51 commented on July 28, 2024 1

If Sage is running on Windows, you can use EXEMultiTuner, which is already built into Sage. In short, Sage uses EXEMultiTuner to talk to a batch file that you'll need to create, which talks to the STB. Try to find a topic in the old Sage forums titled "Need EXEMultiTuner install help". I haven't been able to find any of the old posts. Others here may have figured out how.

Your batch file (using wget) is the glue between EXEMultiTuner and the STB's web page. That's the only programming needed.

You'll also need to create a Windows registry entry that tells Sage to send channel-change info to your batch file. Name the file whatever you'd like, and place it in whatever folder you prefer.

If running the 32-bit version of Sage, the registry entry should be placed in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Frey Technologies\Common
Else, if running the 64-bit version of Sage, the registry entry should be placed in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Frey Technologies\Common

Correct registry entry (note location of double-quotes):
Registry entry - right

Incorrect registry entry (don't double-quote anything but the batch-file path & name):
Registry entry - wrong

from sagetv.

jwittkoski avatar jwittkoski commented on July 28, 2024

You can do this with the gentuner plugin. I believe it is still included in the docker images that are available if you are using a docker install, so you might already have it.

After installing it you just need to write a simple shell script to send the commands to your STB. The details will be specific to your STB and might require a little testing/experimentation. See the "Configuration" section (under "Test your version of gentuner with your setup directly from the command line to make sure it's tuning the devices as expected before trying it with Sage.") of the gentuner README for some suggestions testing examples.

An example script that uses wget to send a channel number to a web based STB is gentuner.IPSTB. The gentuner.HR44 script is a more complicated example that uses curl to simulate individual keypresses.

If you do get a script working and are willing to share it, I would appreciate it if you would open a Pull Request in the gentuner project and I can add it to the other examples that users have provided.

from sagetv.

prnstop avatar prnstop commented on July 28, 2024

from sagetv.

jwittkoski avatar jwittkoski commented on July 28, 2024

If you've been upgrading since v6 then you likely aren't using docker. Most people use docker with a NAS like Synology or Unraid.

Unfortunately gentuner isn't available as Sage Plugin, you have to compile it yourself. It sounds like you may be running on Windows. gentuner should compile on Windows but I'm not familiar with the best way to do that and don't have a way to build or test it on Windows.

The script that gentuner calls to do the actual "tuning" can be written in whatever language you want, using whatever programs are available (wget and curl that I mentioned above are just programs that download web pages), it just needs to be executable. The examples are linked to in my earlier comment are Bash shell scripts intended to be run on Linux.

from sagetv.

prnstop avatar prnstop commented on July 28, 2024

from sagetv.

prnstop avatar prnstop commented on July 28, 2024

from sagetv.

JustFred51 avatar JustFred51 commented on July 28, 2024

Please post the zip file of the webpage so we can have a look.

from sagetv.

prnstop avatar prnstop commented on July 28, 2024

Sure. Guess it didn't work as an email attachement.
webremote.shaw.ca.zip

from sagetv.

JustFred51 avatar JustFred51 commented on July 28, 2024

It looks like web control of that STB via IP is anything but simple. Commands from their web interface go out to Comcast/Rogers servers and then back to the STB, with alot of messy authentication. There appears no straightforward (and reliable) way for direct IP control. Web searches found attempts by others to implement this, but without success. On the other hand, IR control is possible. https://communityforums.rogers.com/t5/Ignite-TV/Solved-Controlling-Rogers-Ignite-guide-with-Samsung-One-Remote/td-p/518268

from sagetv.

prnstop avatar prnstop commented on July 28, 2024

Thank you for looking at this JustFred51. Yes, I also saw in the Shaw support forum where people had success using the Harmony universal remote on the Xione. So, I went and bought an inexpensive universal remote (IR) and also had success using it on the Xione. Then used the universal remote to learn the new ir codes for the ir blaster. Tried it more than a dozen times, successfully learned the code, but it won't work on the xione. When I look in the HCWBlast.ini file, the code changes everytime I successfully learn the code, but the code does nothing for the xione. Guessing it is something to do with the "learning process"? My next step is to buy an external ir blaster and try it again.... is usb-uirt still the way to go?

from sagetv.

JustFred51 avatar JustFred51 commented on July 28, 2024

The fact that the codestream (in HCWBlast.ini) changes with each 'learn' cycle indicates it's not faithfully learning the IR stream. I never had a lot of success with the Hauppage blaster, but have been using usb-uirt with a pair of STBs for over 5 years; great product. Sage does a good job of learning IR codes for it. In general, it's preferable to learn from the STB manufacturer's remote, rather than learning from a remote that had learned from the mfgr's. For various reasons, learning from subsequent copies isn't always reliable.
If you decide to install usb-uirt, it needs a driver that links it to Sage. Be aware that there was a minor issue when installing on Win-x64, sometimes incorrectly installing the x86 driver on an x64 OS. I can't recall which installer had the issue: Was it the one packaged with SageTv-x64, or was it the one from the usb-uirt website?

from sagetv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.