Posts: 7,970
Threads: 554
Joined: Mar 2005
actually even easier: I just saw that there's a channel in IFTTT to call a custom URL. Call that, then have the CQC web server react. You need to add in a CML script, I think I posted that somewhere ages ago here.
https://ifttt.com/launch_center
thats how all my voice recognition commands work. they call http://192.168.1.105:11055/CMLBin/User/NFC?Cmd=MBRON, where MBRON is the command to turn my master bedroom lights on. Or whatever. I have a 1 triggered event per value.
obviously they'll call my DyDNS account if outside the network commands ( http://ivbloveseveryone.dyndns.org:11055/etc)
Posts: 456
Threads: 52
Joined: Nov 2012
06-02-2015, 03:33 AM
(This post was last modified: 06-02-2015, 04:01 AM by karenlee.)
IVB Wrote:actually even easier: I just saw that there's a channel in IFTTT to call a custom URL. Call that, then have the CQC web server react. You need to add in a CML script, I think I posted that somewhere ages ago here.
https://ifttt.com/launch_center
thats how all my voice recognition commands work. they call http://192.168.1.105:11055/CMLBin/User/NFC?Cmd=MBRON, where MBRON is the command to turn my master bedroom lights on. Or whatever. I have a 1 triggered event per value.
obviously they'll call my DyDNS account if outside the network commands (http://ivbloveseveryone.dyndns.org:11055/etc)
I just had a look at that, from what I read, the IFTTT/Launch Center custom url is sent to an IOS device, which creates a push notification, which you have to tap to get the custom URL to run? I don't want to have to interact with an IOS device...
EDIT: actually, I'm wrong, it does work without interaction, I will investigate further....
Posts: 456
Threads: 52
Joined: Nov 2012
bbrendon Wrote:Just googled around and found this. Emulate a Wordpress installation...
https://www.marcus-povey.co.uk/2012/11/0...ifttt-com/
I tried that, it didn't work... (I think it only sends POST where the CQC http driver expects GET)
Posts: 456
Threads: 52
Joined: Nov 2012
karenlee Wrote:I just had a look at that, from what I read, the IFTTT/Launch Center custom url is sent to an IOS device, which creates a push notification, which you have to tap to get the custom URL to run? I don't want to have to interact with an IOS device...
EDIT: actually, I'm wrong, it does work without interaction, I will investigate further....
I take that back - you have to acknowledge the notification, so that's a No.
Any other options? (I'm using a MS phone and want to use Cortana to send an SMS to IFTTT to trigger something I can use in CQC)
Posts: 7,970
Threads: 554
Joined: Mar 2005
karenlee Wrote:I take that back - you have to acknowledge the notification, so that's a No.
Any other options? (I'm using a MS phone and want to use Cortana to send an SMS to IFTTT to trigger something I can use in CQC)
Ah, so your goal is to use voice recognition to trigger a CQC task? In the near-term, would you look at anything other than voice to trigger tasks?
Is there a tasker/autovoice equivalent in M$? Thats a trivial thing to set up on android devices, I have several VR tasks (mostly lights on/off, alarm on stuff)
Posts: 456
Threads: 52
Joined: Nov 2012
IVB Wrote:Ah, so your goal is to use voice recognition to trigger a CQC task? In the near-term, would you look at anything other than voice to trigger tasks?
Is there a tasker/autovoice equivalent in M$? Thats a trivial thing to set up on android devices, I have several VR tasks (mostly lights on/off, alarm on stuff)
I've got it working! Finally!
I found some obscure little site called PushingBox that will launch a GET request via IFTTT.
So, I press the button on my Microsoft Band, speak into my wrist (:-D) and say: Send a text to myhome (which is set up with IFTTT details). IFTTT triggers an email which gets forwarded to PushingBox, which launches my music! Takes about a second or two.
Posts: 719
Threads: 64
Joined: Jan 2013
karenlee Wrote:I tried that, it didn't work... (I think it only sends POST where the CQC http driver expects GET) The code is in github. Can't you just modify it?
--Kill all the serial ports--
Posts: 456
Threads: 52
Joined: Nov 2012
bbrendon Wrote:The code is in github. Can't you just modify it?
Maybe... but I spent 2 days messing around with my new phone and fitness band (thank you Apple, for making it bloody near impossible to transfer data to my new Windows phone), then 2 days messing around trying to find a way to use the audio feature on the watch to trigger CQC, plus trying at the same time to sort out my Sonos installation... all the while having decorators and dust underfoot....
So the short answer is, maybe, but I think I've lost the will to live right now :-) :-)
Posts: 4,225
Threads: 365
Joined: May 2005
I'm a little lost here, what is it that people are trying to achieve?
There are two SMS drivers that allow CQC to send out an SMS via the internet and these services also offer a reply feature whereby you can SMS back and it will send a URL. I have not played with this feature but it may be what is asked for.
As for other triggers such as voice or anything else IFTT handles, that is something I cant comment on.
Mick
Mykel Koblenz
Illawarra Smart Home
Posts: 456
Threads: 52
Joined: Nov 2012
znelbok Wrote:I'm a little lost here, what is it that people are trying to achieve?
There are two SMS drivers that allow CQC to send out an SMS via the internet and these services also offer a reply feature whereby you can SMS back and it will send a URL. I have not played with this feature but it may be what is asked for.
As for other triggers such as voice or anything else IFTT handles, that is something I cant comment on.
Mick
I was trying to achieve (and have done so) voice control from my Microsoft Band activity tracker to CQC. (Wake up, speak into the microphone on my watch, and have my music turn on.)
So, the CQC SMS driver would not work for me in this context, plus I am in the UK not USA, so I suspect the SMS driver wouldn't work for me/would cost me money (although I haven't tried it). But in any event, the initial command has to be triggered from my watch, not from CQC.
So I've set up a sequence of events whereby my watch sends an SMS to IFTTT, which in turns triggers an HTTP GET request to CQC which turns my Sonos system on.
|