Posts: 425
Threads: 60
Joined: Apr 2007
02-09-2009, 12:15 AM
(This post was last modified: 02-09-2009, 12:35 AM by bjkiller.)
Hello,
I plan to integrate my embedded asterisk pbx -
Askozia into my house automation, from asterisk i can do http get/post requests - what i need to read about CQC - HTTP integration, i like to generate events via http(like to push Homeworks button), and receive data via http get from CQC (like temperature,etc ) from devices that connected to CQC.
How I can do it?
Posts: 4,225
Threads: 365
Joined: May 2005
I think there is an Asteriks driver somewhere here now - do a search for it and see how you go
Mick
Posts: 425
Threads: 60
Joined: Apr 2007
02-09-2009, 12:34 AM
(This post was last modified: 02-09-2009, 01:03 AM by bjkiller.)
znelbok Wrote:I think there is an Asteriks driver somewhere here now - do a search for it and see how you go
Mick
there no asterisk driver, i even email the author EMF - silence. i need driver also.
I found also "perfect" reference about asterisk driver - also PM'ed him.
i speak a bit different like http interface, that you can send events to CQC via http requests.
Posts: 4,225
Threads: 365
Joined: May 2005
Yes there is a http method that will allow the sending and receiving of HTTP commands. I am not even a CML beginner so I cant comment any further than to say it exists and is most likely possible.
Mick
Posts: 3,415
Threads: 158
Joined: Jan 2006
Have you looked into doing it via SNMP? It looks like there is an SNMP plugin for asterisk that might work with the SNMP driver.
Posts: 341
Threads: 53
Joined: Nov 2018
01-07-2020, 12:03 PM
(This post was last modified: 01-07-2020, 12:03 PM by simplextech.)
Following up this thread is there any information on how to SEND data to CQC via HTTP?
Simple method of a GET to flip a boolean
Complex method of POST of json data for processing (I'll probably have to dig into CML?) for this one.
Posts: 40,483
Threads: 491
Joined: Aug 2002
You can use the HTTP-Based Trigger Driver, which lets you train CQC to respond to URLs and invoke actions. The query parameters show up as action parameters, so you can use a single URL to invoke variations of a thing.
Dean Roddey
Explorans limites defectum
Posts: 341
Threads: 53
Joined: Nov 2018
(01-07-2020, 02:47 PM)Dean Roddey Wrote: You can use the HTTP-Based Trigger Driver, which lets you train CQC to respond to URLs and invoke actions. The query parameters show up as action parameters, so you can use a single URL to invoke variations of a thing.
Interesting... I did not find this Driver in the listing under Misc or others nor in the documentation. Where can I find this Driver?
Posts: 40,483
Threads: 491
Joined: Aug 2002
01-07-2020, 04:49 PM
(This post was last modified: 01-07-2020, 04:50 PM by Dean Roddey.)
It's probably under IR/Trigger drivers I'm guessing. I don't have a system up at the moment to look. But all IR blaster/receiver and trigger type drivers are treated the same way, actually use the same driver and client side interface.
Dean Roddey
Explorans limites defectum
Posts: 341
Threads: 53
Joined: Nov 2018
(01-07-2020, 04:49 PM)Dean Roddey Wrote: It's probably under IR/Trigger drivers I'm guessing. I don't have a system up at the moment to look. But all IR blaster/receiver and trigger type drivers are treated the same way, actually use the same driver and client side interface.
I found it. thanks