|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Passing commands vis HTTP to SageTV
Does anyone know if it's possible to pass HTTP commands to Sage? Given that there is a web UI plugin available, it should work. I want to use the Home Automation bridge from here http://bwssystems.com/#/habridge to pass commands to Sage TV.
__________________
____________________________________________ Sage Server: Intel Core i5, 8GB RAM, Win10 x64 Video Sources: TBS 6985 Quad DVB-S; Mystique SaTiX-S2 Dual DVB-S2; HVR-2200 DVB-T Client: 2 x HD300; 1 x Win 7 PC |
#2
|
||||
|
||||
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#3
|
|||
|
|||
Sota, I'm curious what you'd want to do with that. Something similar to tmiranda's echo skill, except not for alexa? Does your system have voice command or are you just thinking about controlling Sage through your HA interface?
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such... Software: SageTV v9x64, stock STV with ADM. Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic). Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each. |
#4
|
|||
|
|||
What are the dependencies for running sagex API?
I've installed the plugin and the URL fails: Quote:
Do I need to manually install Jetty plugin? |
#5
|
|||
|
|||
oops...
1. installed sagex-api instead of sagex-services... 2. url is: localhost:8080/sagex/api not localhost/sagex/api after installing sagex-services and restarting works. |
#6
|
|||
|
|||
Apologies, been tied up with work for the week. Thanks stuckless for the information. @pjpjpjpj, yes I want it for voice control of SageTV via Alexa. I can already power on the TV and select the correct input using the Hamony control on the HA Bridge, but I would also like to be able to change channels and use pause, play and mute features by passing http commands to the SageTV server. I don't really need any of the advanced features provided by tmirandas skill.
So far, I have been able to get a response from the sagex-api but I don't see a method of passing commands to an HD300 rather than to the server.
__________________
____________________________________________ Sage Server: Intel Core i5, 8GB RAM, Win10 x64 Video Sources: TBS 6985 Quad DVB-S; Mystique SaTiX-S2 Dual DVB-S2; HVR-2200 DVB-T Client: 2 x HD300; 1 x Win 7 PC |
#7
|
||||
|
||||
To pass commands to a client you need to pass the client's UI context in the request as well. You can call GetUIContextNames to get a list of connected clients. (Check the sagex api for how to pass a ui context in the url)
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#8
|
|||
|
|||
THanks, that worked - It returns the MAC addresses of the HD300. Time to start experimenting!
__________________
____________________________________________ Sage Server: Intel Core i5, 8GB RAM, Win10 x64 Video Sources: TBS 6985 Quad DVB-S; Mystique SaTiX-S2 Dual DVB-S2; HVR-2200 DVB-T Client: 2 x HD300; 1 x Win 7 PC |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can SageTV stream live TV over http? | dinki | SageTV Software | 5 | 11-23-2015 04:42 PM |
Getting HTTP ERROR 503 with SageTV Web Interface | dinki | SageTV v7 Customizations | 2 | 09-25-2015 10:06 AM |
Using SageTV 'Custom' commands | Dargason | SageTV Software | 4 | 02-19-2013 07:53 PM |
SageTV Online Services via HTTP-Proxy ? | wubdich | SageTV Software | 4 | 02-16-2010 06:11 PM |
SageTV not passing DD/DTS over S/PDIF | rickeo | SageTV Software | 2 | 06-15-2008 11:13 AM |