jlemonakis Posted April 28, 2019 Share Posted April 28, 2019 I use a series of Chromecast audios for multi-room audio as well as Google home minis for voice control. I have no problem controlling Control4 with Google using chowmain's driver but only in that direction. Has anyone come up with a workaround or custom solution (even writing your own actions driver) to push commands to Chromecast devices or Google devices in general? Quote Link to comment Share on other sites More sharing options...
sonic30101 Posted April 28, 2019 Share Posted April 28, 2019 I dont believe there is a way to do this with Google homes or alexas Quote Link to comment Share on other sites More sharing options...
jlemonakis Posted April 30, 2019 Author Share Posted April 30, 2019 It looked possible through the Actions API so I guess I'll have to look at making my own driver or something for IFTTT to hook into at least. I was just hoping someone else along the line had already figured something out. Quote Link to comment Share on other sites More sharing options...
jlemonakis Posted May 27, 2019 Author Share Posted May 27, 2019 https://github.com/greghesp/assistant-relay Has anyone tried this? Quote Link to comment Share on other sites More sharing options...
jlemonakis Posted October 30, 2020 Author Share Posted October 30, 2020 Has anyone had success with this? Assistant-relay seems like it could work in this way but I forgot about this. Quote Link to comment Share on other sites More sharing options...
jlemonakis Posted October 30, 2020 Author Share Posted October 30, 2020 I just set it up and was able to send commands to Google home. Now just need to tie it into C4. Quote Link to comment Share on other sites More sharing options...
zaphod Posted October 30, 2020 Share Posted October 30, 2020 It appears that this uses HTTP POST commands so you should be able to send those commands using the TCP/IP generic driver. In an ideal world someone would write a driver so that C4 could directly send those commands. Quote Link to comment Share on other sites More sharing options...
jlemonakis Posted November 2, 2020 Author Share Posted November 2, 2020 On 10/30/2020 at 11:34 AM, zaphod said: It appears that this uses HTTP POST commands so you should be able to send those commands using the TCP/IP generic driver. In an ideal world someone would write a driver so that C4 could directly send those commands. I've been trying to figure out how to make it work with C4 but haven't been able to yet because it uses OAUTH. How do you send post commands through C4 when there's a bearer token used? Using Chowmain's driver it looks like I should just be able to put all of the info in as a giant data block but I'm not sure how to get the formatting right. Has anyone had any luck with authenticated HTTP post commands elsewhere and how did you accomplish this? I use HTTP Get on 99% of everything else which doesn't require the same level of auth or return any info back. Quote Link to comment Share on other sites More sharing options...
zaphod Posted November 2, 2020 Share Posted November 2, 2020 2 hours ago, jlemonakis said: I've been trying to figure out how to make it work with C4 but haven't been able to yet because it uses OAUTH. How do you send post commands through C4 when there's a bearer token used? Using Chowmain's driver it looks like I should just be able to put all of the info in as a giant data block but I'm not sure how to get the formatting right. Has anyone had any luck with authenticated HTTP post commands elsewhere and how did you accomplish this? I use HTTP Get on 99% of everything else which doesn't require the same level of auth or return any info back. I wish I knew how to do this as well. I think I may have asked Alan this in the past (in the thread on this driver) as I have wanted to do this to be able to send commands to the Tesla API to do stuff like turn on my car's climate control or start it charging. Certainly C4 drivers must be able to do this as bearer tokens are very common in APIs. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.