SageTV Community  

Go Back   SageTV Community > General Discussion > General Discussion
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

General Discussion General discussion about SageTV and related companies, products, and technologies.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-13-2017, 10:21 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Blue Sky thinking with SageTV and Home Automation

I was playing around with my Control4 Home Automation system yesterday and I got to thinking about what I would like to see in an ideal world.

One thing that would be cool would be a "Pause and resume in Bedroom (or any other room) feature". So let's say you are watching a TV show on SageTV in your living room. You decide that you want to move to your bedroom. You would push one button - either on your phone, tablet or SageTV UI - and SageTV would pause, your HA system would shut off your TV, AVR, etc. It would then turn on your TV, AVR, etc in the bedroom, fire up SageTV and bring up the movie where you left off, just waiting for you to press Play when you get to the bedroom.

All of this should be feasible with something like Control4 and the SageX, or even using the (lightly documented) Logitech Harmony API, but it would take a bit of work.

Anyone else have any similar ideas on interesting ways of integrating SageTV and other sources in a HA system?
__________________
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
Reply With Quote
  #2  
Old 09-13-2017, 11:24 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Funny, I was going to ask something like this recently. I've been playing with HA at home, but the focus has really been on things that would help me on a regular basis, (which of course is different for others), rather than things I might use a couple times a year or just for the cool factor. But I figure as I keep tinkering we'll get into less used things and then the "hey, look what you can do" stuff. Of course one has to keep in mind how the kids might use the tools to torture each other, (e.g. I'm not putting any HA things in bathrooms or their bedrooms--I imagine they'd have all sorts of fun turning off lights, stereos, etc. while someone was trying to take a shower, sleep, etc.)

But I am sort of curious what people have done with HA to make life easier or even just fun for future fodder.

Right now I just have several light switches, a few outlets, some light bulbs, HVAC controls, water sensors and (sitting on the shelf currently until I have time), door controls. Plus Harmony remotes and a few Echos scattered about. Next I'm looking to put some control panels in. But no real plans after that.

I'm not very keen on the cloud, but did make an exception for the Echos, (well, and a vacuum although I'm not sure it helps me any to be able to remotely start it up, so might disconnect it from the WiFi). My parents bought me an Echo for Christmas so I sort of had to hook it up then ended up getting a couple more as it grew on me.

Mainly I use HA for lights (the kids are terrible about turning things off) and controlling entertainment consoles via the Echo. And while I've recently replaced my sump pump and water heater, sensors for flooding, (I had a couple incidents which prompted replacing of said appliances ). When I get to the doors it'll control those, (again, the kids are terrible about locking up).

I haven't really come up with "it would be cool if" ideas without then thinking that it would be more eye candy than useful. Getting basic Echo control of SageTV via an SSL connection is probably top on my wish list right now .
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #3  
Old 09-13-2017, 11:56 AM
will will is offline
Sage Fanatic
 
Join Date: Jul 2009
Location: New York
Posts: 798
I am in the process right now of building out a home automation system. I'm using Home Assistant, an Open Source, locally ran, HA software. I haven't programed anything yet but this system will control every light in my house (about 50+ z-wave light switches/dimmers), whole house audio, security cameras, etc. One of the things that attracted me to Home Assistant is how it isn't cloud based but I can integrate it into Amazon Alexa with some custom python code on Lambda (an AWS service). I'll be able to say Alexa, tell (automation system name) to do X. X, is basically a YAML script you setup on Home Assistant.

Home Assistant is very customizable and I have thought about writing a plugin for it to interface with STV. For example, stopping what is currently playing on your living room TV and then playing it on your master bedroom TV and pausing it, wouldn't be difficult to code. I believe you can do all this right now with sagex.api (get what's playing, stop, play a file, pause, etc.) and I believe Home Assistant supports REST calls. Also, I've already started looking into z-wave based IR controllers so I can have Home Assistant turn TV's on and off and select the correct input.

I haven't moved into the new house yet so I haven't set things up but I can keep you posted if I do decide to integrate STV into my automation system.
__________________
Will

OS: Windows 7
Hardware: Intel Core i7-920 with 12GB RAM & an Adaptec 5805 with a Chenbro 36-port SAS Expander
Case: Antec 1200 with 4 iStarUSA trayless hot-swap cages (20 drives max)
Drives: 8 Toshiba/Hitachi 2TB drives in a RAID 6 & 7 Toshiba 3TB drives in a RAID 6
Capture Cards: HDHomeRun Connect Quatro 4, Hauppauge 60 HD-PVR
Players: 5 HD300s, 2 HD200s
Reply With Quote
  #4  
Old 09-13-2017, 12:50 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I have had a Control4 HA system for about a decade. It controls lights, blinds, fireplace, door locks, etc and my security system and IP cameras can be accessed through it as well. Having the motion sensors from the security system also allows me to do motion lighting (If HallLightSensor IsActive Then Turn On Hall Light - kind of thing).

The Echo integrates very nicely into this and it has been very useful - "Alexa bedroom blinds down", "Alexa kitchen lights on". Having a HA system makes the Echo about 10X more useful. The Echo Dot is also very good for music playback if you send the output into an AVR or other decent speakers. You can start music with voice or use the Spotify app on your phone and then play to the Echo Dot.

I haven't integrated most of my AV equipment into Control4 as to do so you need controllers in every room to do the IR control and to connect into your AV. The IR control is less needed if your devices, like TVs, SageTV extenders and AVRs, can be fully controlled by IP. I have found that I like the Harmony remote controls to do all of this and the family is use to using the remotes so the FAF is good. I am now on my third generation of Harmony controls and almost all of them are the hub based systems that are controllable via IP but that is kind of a kluge.

FYI - for those with Harmony Hub remotes there has been some interesting work down on facilitating access to the API.
See https://www.myharmony.com/en-us/harmony-api
and https://github.com/maddox/harmony-api
__________________
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
Reply With Quote
  #5  
Old 09-13-2017, 01:14 PM
will will is offline
Sage Fanatic
 
Join Date: Jul 2009
Location: New York
Posts: 798
Quote:
Originally Posted by wayner View Post
I have had a Control4 HA system for about a decade. It controls lights, blinds, fireplace, door locks, etc and my security system and IP cameras can be accessed through it as well.
I know this is off topic but what manufacture (e.g., somfy) are you using for motorizing your blinds?
__________________
Will

OS: Windows 7
Hardware: Intel Core i7-920 with 12GB RAM & an Adaptec 5805 with a Chenbro 36-port SAS Expander
Case: Antec 1200 with 4 iStarUSA trayless hot-swap cages (20 drives max)
Drives: 8 Toshiba/Hitachi 2TB drives in a RAID 6 & 7 Toshiba 3TB drives in a RAID 6
Capture Cards: HDHomeRun Connect Quatro 4, Hauppauge 60 HD-PVR
Players: 5 HD300s, 2 HD200s
Reply With Quote
  #6  
Old 09-13-2017, 01:29 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
I ended up with OpenHAB and a Z-Wave dongle. There seems to be a religious war between OpenHAB and Home Assistant. I tried and liked both, but OpenHAB just clicked better with me.

OpenHAB has the Harmony integration as well as a couple forms of Echo integration. One is a skill and the other makes it look like a Hue bridge. The former is more feature rich, but that was too much cloud for me. The latter only does switch, dim and HVAC, but also lets me integrate with the Harmony. When I get to things like the garage door maybe I'll revisit the Echo skill so I don't have to say awkward things like "turn on the garage door" .

But as it stands you can say things like "turn on the living room TV" and it'll run the activity to set everything up, or "tell Harmony to turn up the volume", or "tell Harmony to pause", etc. We have the Dots and Bluetooth receivers so you can do things like say "play classic rock" followed by "turn on the living room speakers" to stream the music through the AVR.
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #7  
Old 09-13-2017, 02:51 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by will View Post
I know this is off topic but what manufacture (e.g., somfy) are you using for motorizing your blinds?
The blinds are actually made by Hunter-Douglas but I believe the motor/controller is made by Somfy. The first blinds that I have had are about a decade old and they are just controlled via IR. I got some additional blinds about 3 years ago that use something called the Hunter-Douglas Platinum bridge that is an IP connected bridge. But I have had problems with that. Subsequently that has been replaced with something called Hunter-Douglas Powerview.

One of the problems with a more "closed" system like Control4 is that you have to buy drivers and they can be expensive - often more than the hardware. There was a free driver for the Chamberlain MyQ garage door system but the API changed a few months back and the old driver doesn't work. So if you want to control it through my Control4 system I would have to pay something like $200 to buy the new driver. Or you can just use it with the MyQ app on your phone.

Getting all of this stuff to work together and talk to each other can be expensive and frustrating. One of the worst is integrating pool equipment where you often have to buy a hub or controller for about $500 which is very frustrating to add simple functionality and especially since the hardware is likely less sophisticated than a $10 Raspberry Pi with a few relays, etc.
__________________
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
Reply With Quote
Reply


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

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
Home Automation and SageTV integration davefred99 General Discussion 47 11-29-2012 12:10 PM
Home automation sleonard The SageTV Community 10 05-31-2011 01:25 PM
Do you want to use SageTV for Home Automation? heatvent SageTV Customizations 33 07-05-2010 01:37 AM
Home Control/Automation Integration in SageTV?? cmaffia SageTV Software 0 12-01-2004 10:22 AM
SageTV info export to Home Automation System? UniKyrn SageTV Software 5 05-13-2004 02:11 PM


All times are GMT -6. The time now is 05:58 AM.


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