Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SMS with ifttt
#21
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)
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#22
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....
Reply
#23
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)
Reply
#24
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)
Reply
#25
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)
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#26
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.
Reply
#27
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--
Reply
#28
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 :-) :-)
Reply
#29
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
Reply
#30
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ISY, multi-controllers via SmartThings and IFTTT (ugh yes) IVB 3 2,394 01-24-2018, 03:47 PM
Last Post: IVB
  your sched/triggered/tasker/IFTTT events IVB 17 10,061 01-18-2018, 07:41 AM
Last Post: RichardU

Forum Jump:


Users browsing this thread: 1 Guest(s)