SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support


Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Thread Tools Search this Thread Display Modes
Old 09-19-2019, 10:12 AM
perfessor101 perfessor101 is offline
Sage Advanced User
Join Date: Nov 2003
Location: Vancouver, British Columbia, Canada
Posts: 244
ESP32 or ESP8266 Has anyone looked at them for IR blasting?

I've been thinking about using ESP32's or ESP8266's for tuning.

They are Wifi Microcontrollers.

One IP one IR blaster or 8 IR Blasters ?

They are programmed via the Arduino / PlatformIO interfaces.

They appear to have a good IR libraries.

Some examples I've seen with people using them via MQTT or their own webserver.

The esp8266's look like they can support one IR blaster each.

The ESP32's can support 8 IR Channels with transmission and reception.

I'm not sure how best to start with interfacing one with SageTV.

I have IR reading software for getting the codes in raw formats.

I've tried translating the pronto codes from the Shaw Cable remotes that SageTV already uses but they won't work to change channels when Blasted at the boxes.

Thanks for your time and idea's
SageTV Server: Windows 7 64Bit, Phenom II X6 1090T, Asus M4A89GTD-PRO/USB3 (AM3), ATI Radeon HD 4290, 2 x KHX1600C9D3/4GX, 4 x HD-PVR2 Gaming, , 4 x 320GB recording drives, 2 x USB-UIRT, SageTV Server Beta
SageTV Client & 2 x HD-300 Extender.
40.8TB unRaid 6.6.5 media server
Reply With Quote
Old 09-19-2019, 01:24 PM
JustFred JustFred is online now
Sage Aficionado
Join Date: May 2015
Location: Sunnyvale, Ca
Posts: 458
I can't offer any specific ideas about how to interface to those devices, but I like the idea.

In general, Sage currently has 3 different methods of communicating with IR devices (listed in no particular order):

1. EXEMultiTunerPlugin
Sage can talk to this generic "device", which is actually just a shim that calls (executes) an .exe file of your choice. Sages passes the device name, device # and channel # to your exe. Folks have used this method to control cable boxes or other IP devices (including, I recall, some network-based IR blasters). Search the forums for details. Note that this "shim" is transmit-only. No way for Sage to receive input from the device. For your application, you'd need to provide the .exe that talks to your hardware, but wouldn't need to modify any existing SageTv code. If the microcontroller has some sort of internal web interface to control it, then command-line tools such as wget or curl could be used with EXEMultiTunerPlugin.

2. Hauppauge IR interface
Sage knows how to talk to Hauppauge's IR blasters, using Hauppage's software. Sage simply passes a channel # to the SINGLE Hauppauge IR device. Sage knows nothing about the actual IR codes involved. Learning IR codes is done via Hauppauge's BlastCfg utility. If you wanted to emulate a Hauppauge device, examine the existing Sage code (TunerStubDLL.cpp) and do a bit of reverse engineering.

3. Usb-UIRT interface
Sage knows how to talk to multiple USB-UIRT devices, via UUIRT's driver. Sage is able to both Rx (learn) and Tx. It seems to be able to deal with various IR code formats, without having knowledge of the code format itself. Take a look at the various (ASCII) .ir files in SageTv/Common/RemoteCodes. If you wanted to emulate a USB-UIRT device, examine the existing Sage code (uu_irsage.cpp) and do a bit of reverse engineering.
System #1: Win7-64, Core2-Quad Q9400, 8 GB Mem, 4TB HD. Java-64 1.8.0_141. Sage-64 v9.2.1 ATSC: 2x HDHR-US (1st gen white) tuners. HD-200.
System #2: Win7-64, I7-920, 8 GB Mem, 2TB HD. Java 1.8.0_131. Sage v9.1.6.747. ClearQAM: 2x HDHR3-US tuners. HD-200.
System #3: Win7-64, I7-920, 12 GB Mem, 4TB HD. Java-64 1.8.0_141. Sage-64 v9.2.1 ATSC: 2x HVR2250; Spectrum Cable via HDPVR & USB-UIRT. 3x HD-200.
Reply With Quote
Old 09-19-2019, 08:01 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 1,857
Iím pretty sure someone got a networked ir blaster working too. Would have to do some searching to find info on it. Probably would have been a year or two ago.
Server: Athlon II X4 630 CPU, Gigabyte MA770T-UD3P (AM3) Motherboard, VisionTek Radeon HD4670 PCIe w/ Component output to 50" CRT Rear-Projection HDTV (Mitsubishi), Win7-64Bit (Home Premium), 4GB RAM
Capture Devices (8 tuners): Colossus (x1), HD-PVR (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Comcast Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250
Reply With Quote
Old 09-20-2019, 04:42 AM
KeithAbbott KeithAbbott is online now
Sage Icon
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,041
Originally Posted by Tiki View Post
Iím pretty sure someone got a networked ir blaster working too. Would have to do some searching to find info on it. Probably would have been a year or two ago.
Maybe this post:
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i3-7100T CPU, 16GB Memory, unRAID 6.3.2, SageTV & OpenDCT Dockers
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, 2 x Hauppauge WinTV-HVR-2250 Dual TV Tuner Boards
Clients: Multiple HD300 Extenders
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ir Blasting WIth LM vanchie21 SageTV Software 15 05-27-2019 08:05 AM
HD-PVR and IR Blasting on CentOS 6.3 dougbrose SageTV Linux 2 09-19-2012 07:50 AM
Dumb Question, but can't find answer anywhere I looked.... Beefcake550 Diamond 6 03-21-2011 08:28 PM
Mock up of what I wish the UI looked like limiter General Discussion 18 05-28-2009 06:52 PM
Newbie with a few SageMC questions.. I swear, I looked everywhere.... mrdrbdt SageMC Custom Interface 6 07-12-2007 08:45 AM

All times are GMT -6. The time now is 12:47 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.