|
SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Is there any way to send commands to my STB from SageTV?
I would like to send the Vol Up command X20 to my boxes when SageTV starts up. This would cause my STBs to be at max volume, which I prefer for recordings on my HD-PVRs. I use Firewire for control of the boxes.
Is there a way to do this? I used to run a program in Windows that would use the Firewire command line programs channel or channelw to do this. Is there something analogous in the Linux Firewire control, or even somehow to do this from SageTV? Like a plugin?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#2
|
|||
|
|||
#3
|
|||
|
|||
Thanks, I will look into that, but I don't know if this works for Firewire as well.
The DVB plugin for unRAID includes Firewire drivers that allows SageTV to very easily use Firewire for controlling STBs. But I don't know how you actually control it outside of SageTV, or even within SageTV to send a command upon SageTV startup, or once a day or whatever.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#4
|
|||
|
|||
Nothing that I am aware of.... would love to be able to send a power on command every so often as a couple of my STB's seemingly randomly power off and I don't realize until a recording is missed.
|
#5
|
|||
|
|||
USB-UIRT could do this. You could put it in a batch file before a line that loads SageTV.
__________________
ASRock B450M Pro4 AM4 MB, Ryzen 5 2600 3.4ghz, Crucial Ballistix Gaming 32GB (2 x 16GB) DDR4-3200, EVGA GT 1030SC, WD Black NVMe SSD 250GB, 1x WD120EFAX 12TB, 1x WD80EFAX 8TB, 1x WDBH2D0040HNC 4TB, USB-UIRT, Colossus 2, WinTV-DualHD USB, Windows 11 64bit |
#6
|
|||
|
|||
What method do you use for changing channels? IR?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#7
|
|||
|
|||
I use FireWire. It's really reliable for sending the channel change commands, but I haven't been able to find a way in Unraid with a SageTV docker to send any other commands. Used to be able to send other commands via the command line app in Windows.
|
#8
|
|||
|
|||
Quote:
I wonder if we can figure out how SageTV sends those commands to the Firewire utility? With Firewire on windows you used to have to set up parameters in the registry. I will poke around when I get the chance and see if I can figure anything out.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#9
|
|||
|
|||
Quote:
If you have a linux vm, you can simply install the libavc1394-tools package and copy the panelctl binary to the sage docker. If you only have windows or mac, download the package from here and extract the binary with something like 7-zip. I also copied panelctl and the four shared libraries to unraid so that I can control the STBs from outside the sage docker and use cron as well. |
#10
|
|||
|
|||
Thanks, I will try that. I am pretty sure that the unRAID DVB contains the FireWire drivers, so hopefully it also include all of the libavc1394-tools package.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server Last edited by wayner; 03-19-2023 at 10:24 AM. |
#11
|
|||
|
|||
I tried running panelctl from an ssh session within the docker and it gives an error. Any way to tell if this has actually been installed?
I could try to install it manually, but I believe it would get wiped the next time the docker restarts.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#12
|
|||
|
|||
If you're running the latest stable build of Unraid, the Firewire drivers should be part of Unraid itself, no extra packages required.
|
#13
|
|||
|
|||
Quote:
Is there any way to tell if a STB is currently powered on? Based on the panelctl page, it looks like it just sends a power toggle command, not a distinct power on command. |
#14
|
|||
|
|||
I am, but the panelctl command does not seem to be there.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#15
|
|||
|
|||
Quote:
If you copy it within /opt/sagetv, then it will survive a restart. Use the find command to see if panelctl is installed. I did not have panelctl in unraid or the sagetv container so I had to download it. |
#16
|
|||
|
|||
Quote:
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there a way to send multiple commands to the Sage Remote Web UI? | wayner | SageTV Github Development | 3 | 01-30-2018 04:07 PM |
Send IR code through usbuirt from sagetv | ryttingm | Hardware Support | 0 | 07-13-2011 03:23 PM |
Help Pls! I need to send multiple commands to satellite box | steven017 | Hardware Support | 7 | 01-18-2008 02:19 AM |
How can I send a Girder 4.0 sendmessage to sageTV? | mkanet | SageTV Customizations | 2 | 10-15-2006 03:18 PM |
Getting Girder to send commands to SageTV always | mattsm | General Discussion | 4 | 08-30-2005 06:07 PM |