What is a good place to start with home automation?

Hello guys, I would like to automate certain things and integrate them with my home Asterisk system. What is a good place to start understanding this topic in general?

For example, I would like 2 lights in my room and my computer monitor to go off when I walk out the door, and then turn on when I come back in.

I imagine that if I can register a couple of movement sensors as input devices into my Asterisk servers, the same way keyboards and mice are input devices, then I would be able to program the logic into my server. Like, if sensor A detects movement followed by sensor B, then that means I went out. The other way around would mean I came in. Of course the logic can get much more complicated but, initially this would be a start.

Where can I get started with those hardware pieces needed? Does micasaverde sell them?

Are you referring to the Asterisk PBX ?

Micasaverde’s Vera system is a (primarily) Z-Wave based home automation controller. It allows the control of Z-Wave switches and wall outlets. It offers no intrinsic integration with Asterisk, though it is possible to program Asterisk to issue commands to Vera via HTTP URL calls.

As for how to make Asterisk directly control any device, you would be better asking this on an Asterisk forum.

Yes the Asterisk PBX, mainly for the users (my family) to control other features (in the future).

I am not asking how to integrate them with Asterisk. Does any of you know where can I start looking for the parts I mentioned (sensors)?

What is the purpose of the Z Wave controller? is it like the brain of the whole thing? Is it programmable?

What is Z Wave to start with? like a protocol/standard?

Thanks much.

so then you can follow this
http://www.jordanhackworth.com/home-automation-with-asterisk-and-freepbx/

I’d rather use an app on my phone.

[quote author=hurinth link=topic=22328.msg149141#msg149141 date=1389277715]
Hello guys, I would like to automate certain things and integrate them with my home Asterisk system. What is a good place to start understanding this topic in general?

I guess we all read this wrong then…?

Yes… Vera is the brains, so all you need to do is get sensors and switches or whatever you want to control in the real world
http://www.amazon.com/s/ref=nb_sb_noss_1?url=search-alias%3Daps&field-keywords=z-wave

Yes my apologies, I guess I was referring to the whole topic and how to understand the different options, instead of going into the details about Asterisk.

Sounds like Vera products will provide the logic that I am planning to have embedded in my Asterisk server, but I guess it is necessary, otherwise how would I signal a light to dimm off from my server? Right? The Vera controller acts as the interface between the server which is TCP/IP, and the dimmer which is merely an electrical device.

What is Z Wave? and what is X10?? I have seen this other around too.

Thanks!

Yes, Z-Wave is a wireless communications protocol specifically designed fro home automation(HA). X-10 is a similar older technology.

What is the purpose of the Z Wave controller? is it like the brain of the whole thing? Is it programmable?
Yes, the controller, such as Vera, is the "brain" that activates other Z-Wave devices and provides the home automation logic. You can [url=http://getvera.com/]learn more about Vera here.[/url]
Does any of you know where can I start looking for the parts I mentioned (sensors)?
I know of no sensors which can be directly controlled by Asterisk. There are many many different sensor options in the world that used different wired and wireless technologies. This Micasaverde forum focuses primarily on Vera and on Z-Wave sensors which are available on Amazon and even in local hardware store such as Lowe's, in the U.S.

Edit: Removed extraneous quoted text.

see my post way above… there is a link that the guy did the same in FreePBX… in Asterisk… you would create an IVR with no voice prompts and on touch tone input you would send a URL to your vera to run a scene.

But, right now… it looks like your in the stage of getting to understand the HA basics… just know that it looks like you can control vera with your Asterisk system… as long as you know how to associate an action (WGET … url) with a Tone input on the IVR.

I use other apps to run a scene on my vera… I also Have my OFFICE Vera running a scene on my HOME vera… so when my
office Veras ping detector detects I am gone AT NIGHT… it starts my “coming home” scene at my house and turns up my heat … since… it’s like really cold these days!

Thanks so much all.

Think this is my final one. Sending commands to Vera controller seems feasible. What about detecting events from the sensors? Can the controller pass some sort of signals back to asterisk through HTTP? Or Asterisk read constantly from the controller to detect changes in the sensors and act upon?

YUP:

luup.inet.wget(“FILLIN_THE_URL_YOU_WANT_TO_CALL_HERE”)

Note the ( and the "

I test my URL calling on my MAC by using: curl “http://url_goes_here”

Wow! that’s awesome!

I think I have cleared my doubts for today, thank you for your time!