Page 1 of 1

Home security/automation advice

Posted: Thu May 12, 2016 12:23 pm
by elsmandino
Hi,

I am trying to make my home "smart" and was hoping for some beginner's advice.

My current plan is to have a central Raspberry Pi controlling everything via my Smartphone.

A few ideas for things I would like to incorporate:

* Notifications when doors and windows are opened.
* Turning lights on automatically when I am not at home.
* Automatic blind openers.

I am thinking of having an Arduino in each room and have this communicate with the Pi via wireless.

My main question at the moment is what to install on the Pi to get things going.

From what I have read, the best way is to stick Raspbian on it and then install openHAB - what do you guys think?

Thanks

Re: Home security/automation advice

Posted: Fri May 13, 2016 9:12 am
by Kagetaze
You're asking such a general question for such a complicated problem..I think you have to be waaaaaaaaay more specific.

Re: Home security/automation advice

Posted: Fri May 13, 2016 9:49 am
by Cancelor
I would use the ESP8266 for each node as they are cheap and have built in WiFi, you can still use the Arduino IDE to programme them.
MQTT is a really good choice for the communication. openHAB seems hard to set up so I would start with Mosquito on the RPi.

Re: Home security/automation advice

Posted: Fri May 13, 2016 10:48 am
by cacti
Cancelor wrote:I would use the ESP8266 for each ...
Agreed. You can use the ESP8266 alone (without Arduino) with a transistor to switch a relay. Cheap and effective.

Posted: Fri May 13, 2016 10:59 am
by fruit-uk
I'm running fhem here http://fhem.de
I have eq3 MAX sensors for window opening, HomeEasy/Byron socket adaptors for lights when not at home.

You could look at panStamps or mysensors also for remotes sensors/activators

Re: Home security/automation advice

Posted: Fri May 13, 2016 11:51 am
by cacti
Also consider the NRF24L01

Re: Home security/automation advice

Posted: Mon May 16, 2016 9:00 am
by elsmandino
Thanks everyone.

I did a bit more research over the weekend and openHAB seems like the most complicated bit of software I have ever come across - I am pretty good with computers but I think I shall be out my depth with it.

Are there any decent alternatives that are easier to install and set up?

Re: Home security/automation advice

Posted: Mon May 16, 2016 5:18 pm
by stevend
elsmandino wrote: I did a bit more research over the weekend and openHAB seems like the most complicated bit of software I have ever come across - I am pretty good with computers but I think I shall be out my depth with it.
Some bits of Openhab are straightforward enough.
I'd certainly recommend use of an mqtt broker (I use Mosquitto) since it gives so much flexibility for setting up and testing, and allows multiple 'monitoring' nodes just by subscribing. (So you can test out several applications at once)
The mqtt plugin for Openhab is quite straightforward to install and use.
Status displays of anything you can put into a group are just a few lines of dconfiguration, and graphing analogue values isn't too difficult - there are a few examples.
The bit to avoid (which I didn't realise to start with) is the inbuilt rules engine.
Instead, use the jsr233 plugin, which allows you to write rules in Python - a language which is familiar to many on this forum. Apparently it runs a lot faster as well.
A fair number of people on the Openhab forum are running on RPis, and they seem a pretty helpful lot.