Jump to content

Virtual Devices and Global Cache


patryk.szady
Go to solution Solved by drprm1,

Recommended Posts

Posted (edited)

Hi all,


Currently I have an Alexa-Harmony-ISY set up. Because calling Harmony goes through IFTTT it takes a LONGGG time to get IR responses. I’d like to get rid of it and replace it with Global Cache. I’ve read great things about it and IP-2-IR seems to integrate with ISY well via Network Resources. The easiest way to control Global Cache via alexa is a skill called Eddy. The catch here is that you have to say “Alexa TELL Remote Control to turn off TV”. ISY Portal has a virtual A/V devices that I’d love to take advantage.


The only reason I have Harmony is because I can say “Alexa turn on tv”, that will trigger an IFTTT applet and send the status of the tv to ISY via a variable. Vice versa, I click the TV keypad button off, IFTTT gets the signal, and Harmony turns it off. All great minus the delay because we have to use IFTTT to talk to Harmony.


It would be amazing if I can incorporate Global Cache into ISY and then attach the Global Cache devices into the ISY Portal under virtual devices so that Alexa is calling my A/V devices directly thought ISY and with simple commands like “Alexa turn on the TV”. Unfortunately I’m not advanced enough to set something like this up and any pointers in the right direction would be extremely helpful.


Has anyone setup a Global Cache (or similar) IR system and was able to incorporate it into Alexa or an idea of how to get something like this up and running, if even possible at all?


 


Thank you!


Patryk

Edited by patryk.szady
Posted

The only thing I will add is to throw something like a Raspberry Pi into the loop.  The strings needed to deal with a Global Cache are not trivial and a royal PIA to enter into the ISY.

 

My RPi handles (among many other things) the communications to the Global cache.  The Pi maintains a library of the proper IR strings for my IR controlled devices.  The interface to the RPi from the ISY is very simple.  A JSON formatted payload specifying the end device to receive the IR (using a nice symbolic name like KTV (for kitchen TV)) and the command, once again a nice symbolic name like "PowerOn" for the obvious. The PI keeps in its library the port used for the device (KTV) on the Global Cache, The name of the IR file that contains the strings for that device, and the name of the specific string to send. the JSON looks like     {"RPI_command":"Do_IR", "Device":"KTV", "cmnd":"VolUp"}.  This makes the ISY side much easier.  The RPi also obeys the protocol for the Global Cache and doesn't blindly just send a command 

  • Like 1
Posted

Figure it out how to do it with only Global Cache first. Maybe just a simple on/off first. Barry relies on many, many Rpi’s in his system and I’m not sure how another piece in the puzzle would benefit anything.

Posted

Initially I had multiple RPi;'s in my system, now I have only one RPi in my system.  It handles all my Central Home Automation requirements.  It replaced a homeseer system running on a PC.  It runs a single NodeJS program that I wrote which consists of independent functional modules 

Posted

Thanks for the feedback. I’m getting my first iTach today so I will be starting with the global cache way first and see how that fits into my setup/what I untimely need at the end. I will be getting back to you shortly when I get stuck I’m sure.


Thanks,


Patryk

Posted

So I got the global cache setup with my first device. Yay! My vol up and down keypads work great in the basement. I linked it to Alexa in the portal -> it works! “Alexa, turn up the volume on Basement Speakers” runs my program right away. However, Alexa thinks for a long time and comes back with a “Sorry Basement Speakers is not responding.” Has anyone had the same issue? Not sure how to proceed.

 


 

Posted

My vol up and down keypads work great in the basement. I linked it to Alexa in the portal -> it works! “Alexa, turn up the volume on Basement Speakers” runs my program right away. However, Alexa thinks for a long time and comes back with a “Sorry Basement Speakers is not responding.”

Don’t quite understand

Posted (edited)

My vol up and down keypads work great in the basement. I linked it to Alexa in the portal -> it works! “Alexa, turn up the volume on Basement Speakers” runs my program right away. However, Alexa thinks for a long time and comes back with a “Sorry Basement Speakers is not responding.”

Don’t quite understand

 

When I Say “Alexa, turn up the volume on Basement Speakers”, the speaker volume goes up as expected right away. However my Echo comes back with "Sorry Basement Speakers is not responding.” statement, even thought the action worked.

Edited by patryk.szady

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...