|
SageTV v9 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 9 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 9 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Echo Skill
Latest installation instructions:
- Send me a PM with the email address used to register your Echo. - Install the "Sage for Echo" UI Mod plugin. - Follow the instruction here: https://github.com/tmiranda1962/Echo/wiki ******************************************************* I started messing around with writing a skill for the Amazon Echo to communicate with SageTV. I have the basic plumbing working and will start to flesh out the functionality. For those unfamiliar with the Echo, it's Amazon's home automation product. You speak to it in plain English and it does what you tell it to do (theoretically anyway). You add functionality to the Echo by writing "Skills". I am writing a Skill that will allow you to speak to your Sage server and ask things like "When will the next episode of The Kardashians be recorded" and "Did the last formula1 race get recorded?". The Echo will then speak the answer to you. The device is actually very good and has a lot of Skills available. (One of my favorite is "The stupid cat joke of the day", but that is another subject. ) I'm looking for some help in the following areas, please let me know if you are interested: - I need to create a few icons, and I know nothing about icon editors. A while back there were some prototypes done by one of the forum members and I'm hoping to use that as a basis. (I'm assuming the "official" Sage logo and icon are copyrighted.) - I need to write a web based (simple) database to hold user information such as the URL to their Sage machine and the Jetty userID and password. Amazon provides a free service that can be used and integrates with the Echo very well. The first time the user install the Skill and uses it they will need to create an account and enter this required information.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. Last edited by tmiranda; 01-14-2017 at 01:09 PM. |
#2
|
|||
|
|||
I already posted one. I had to hardcode too many variables (like user name, password, etc). I wish i could figure out a better way to do it, but I could not figure out the dynmo database and I am a very bad programmer. Hopefully, functionality I wrote can be integrated into your version.
http://forums.sagetv.com/forums/showthread.php?t=63164 Last edited by jonnydeath; 06-22-2016 at 06:48 PM. |
#3
|
||||
|
||||
Quote:
Mine is pretty far along and does some things that yours does not. Yours also does things that mine does not. Maybe we can roll them up into one? Right now I also have the jetty userassword hard coded pending getting a better grip on dynamo.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#4
|
|||
|
|||
please use any of the code you want. playing shows and youtube is the most popular function with my kids.
i found this xbmc alexa skill where he has the skill send a key to the alexa app to configure. i'm not sure how it works, but looks intriguing http://forum.kodi.tv/showthread.php?tid=258165 |
#5
|
||||
|
||||
Quote:
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#6
|
||||
|
||||
I'm making decent progress on this. If anybody else is interested please let me know. My plan at this point is to not release it as an official skill but I will share it with anybody interested in using it.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#7
|
|||
|
|||
I'd be interested! I have an Echo in the main living room and have another Echo and two Dots to get setup when I get some free time away from work.
I love my Echo and will install this once you get it up and running and give it a shot! Will this be able to do things like "Alexa, tell Sage TV to show all my movies with Anthony Hopkins" or "Alexa, tell Sage TV to show all my action movies" I'm not a programmer so not sure how hard it would be to do this but one thing I notice that I always want to do is watch a trailer of one of my movies. I have a couple thousand or so movies in my Videos section of SageTV. If I have the window up where I would hit "Play" to watch the DVD/Movie, it would be bad ass to be able to say "Alexa, tell Sage TV to play trailer for current movie" and it would open a browser window and play the trailer then close the browser window. At that point I could either hit "Watch now" or find another movie. It seems like there used to be a "Play Trailer" but I don't seem to have it as an option any longer... besides, having it be voice controlled would be pretty cool All that may be too complicated. I have no idea but it sounds like a nice feature. LOL Thanks for making this! |
#8
|
||||
|
||||
Quote:
As for what it can and can't do; that's all up in the air since it's not fully developed I can tell you that the first example you gave is something that will probably not be done. The way the Echo works is that you must give it a list of possible responses, meaning I'd have to give it a list of every actor which is not possible. The second example however is already done
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#9
|
|||
|
|||
Ahhh... I see what you are talking about and how actors won't be possible
I'm also still on V7 and I'm guessing this probably won't work on that. I probably should make the move to V9 at some point but V7 has been working so well for me that I'm a little scared to mess with it. hahahaa |
#10
|
||||
|
||||
Quote:
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#11
|
|||
|
|||
Excellent! Thanks for that bit of info!
|
#12
|
|||
|
|||
FYI - I believe that you can use the Echo with the web based Harmony remotes - I think it involves using IFTTT. It wouldn't give all of the capabilities discussed in this thread but it will let you do the basics like turn on the TV and go to Sage and replicate some/all of the remote control functionality.
https://ifttt.com/connect/harmony/amazon_alexa
__________________
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 |
#13
|
||||
|
||||
Alpha
I think in a few weeks I'll be to the point where I have something worthy of Alpha testing. If you are interested in trying it out let me know.
The skill will not be available in the store, you will need to create an Amazon developer account, link your echo to it, and then setup the skill in developer mode. I can help you with some of the mechanics. I say this to warn you that installation will not (initially) be "plug and play". You will be able to do some basic things like: - Get all of the recordings. - Group and sort (on limited fields such as title and date.) - Filter (by watched, Favorite, Don't Like, Archived.) - Save the view so the next time you ask about the recordings they will be grouped and sorted in the same way. - Set/Clear Watched, Don't Like, Favorite, Archive. - Watch. You will be able to name your extenders and then say things like "play it in the living room". - Get system status (heap used, disk space available, what's currently recording, what will be recorded, etc) - Give commands directly to an extender. (i.e. verbally issue commands that would normally come from the remote like play, stop, pause, right, left, enter, etc.) It's not very polished at the moment and I've been playing with alternate ways to navigate. It is kind of cool to be able to talk to my Sage server
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#14
|
||||
|
||||
Neat! I just recently bought an Echo and this really sounds neat!
pat----
__________________
Server -- Sage 7.1.9.256 in Service Mode w/Default UI - OS: Microsoft Windows Home Server (2003 SP2) - CPU: Intel C2Q Q6600 2.4GHz, MoBo: Gigabyte GA-EP45-UD3P, RAM: 4GB OCZ, HD: SYS 1x500GB (SATA, 100GB C: ), DATA 3x1TB (SATA, in Pool, 64K cluster size) Tuners -- 1xHDHomeRun Prime w/CC Clients -- 2 HD200 Extenders and 2 HD300 Extenders |
#15
|
|||
|
|||
Once they start shipping the Echo Dots I will get one of those as they also interface well with my HA system. I least I hope they do since the Echo isn't technically supported in Canada but most things seem to work anyhow.
__________________
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 |
#16
|
|||
|
|||
I'm looking to get one of these for Christmas . What HA system do you have? I was thinking of trying OpenHAB. It seems to support Echo and the Harmony hub, and not need a cloud connection.
__________________
Home Network: https://karylstein.com/technology.html |
#17
|
|||
|
|||
I have a Control4 system that I first had installed when I had some renos done on my house nine years ago. It is a good system except Control4's model is that everything must be sold through a dealer, but you can do most of the programming on your own. It isn't cheap but it is less expensive than the highest end stuff like Crestron. I use it for lighting, blinds, HVAC, security, fireplace, etc. You can use it to control your AV system, and most people do, but I am happy with using Harmony remotes for that.
And the people that have these often have video distribution systems with matrix switches, etc. I don't understand why you would have something like that when something like SageTV, with extenders, is far better and way cheaper.
__________________
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 |
#18
|
||||
|
||||
Quote:
I also use it to read books to me while I am puttering around the house. My son uses it all the time to play music.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#19
|
||||
|
||||
Wiki
I started on a wiki that explains how to use the skill I am developing. The wiki (and the skill) is not complete, but this will give you an idea of the direction I am going in.
Comments and suggestions are welcome. https://github.com/tmiranda1962/Echo/wiki
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#20
|
|||
|
|||
This sounds awesome - another reason to buy a six pack of the new Echo Dots when they are available in a month or so.
__________________
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 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV Alexa Skill | jonnydeath | SageTV v7 Customizations | 4 | 12-24-2019 12:07 PM |
Considering feasibility of WMC + Ceton Echo solution | mkanet | General Discussion | 19 | 12-19-2012 01:16 PM |
Audio echo on AC3? | jerryt | SageTV Software | 0 | 10-08-2008 06:17 AM |
Echo problem with Pinnacle 310i | Glitterati | Hardware Support | 5 | 11-14-2007 08:04 AM |
Audio echo while viewing live TV | raddevon | SageTV Software | 3 | 05-14-2006 09:46 PM |