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?
I think there is an Asteriks driver somewhere here now - do a search for it and see how you go
Mick
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.
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
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.
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.
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.
(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?
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.
(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