Questions tagged [home-automation]

For questions about how to automate one's home with the Raspberry Pi. Home Automation allows control of lights, security systems, and other home appliances.

Filter by
Sorted by
Tagged with
105
votes
14answers
172k views

How can one control AC power (220V) with a Raspberry Pi?

I though about using the Raspberry Pi to switch on and off other electrical devices which unnecessary consume power in stand-by mode. In short, I'd like to control an AC socket or multiple sockets. ...
44
votes
7answers
45k views

Speech processing on the Raspberry Pi

I want to do speech processing on Raspberry Pi to detect specific people (something like unique identification). I would prefer to use only the on-board processor for this, you could assume that ...
42
votes
7answers
72k views

Cheapest way to controlling multiple power sockets (lights) through Wi-Fi

What I would like to see is the cheapest way possible to control my lights using my Raspberry Pi. What I imagine to control it I build an interface on my smartphone by which I can send commands to my ...
20
votes
4answers
36k views

Using Raspberry Pi to control my AC via infrared

When I'm on my way back home from somewhere, I want to be able to switch my AC on a few minutes before I arrive at my apartment, probably by using my phone to connect to my Raspberry Pi on my desk ...
20
votes
3answers
26k views

Redirect audio to another AirPlay device

I'm setting up Mopidy on Raspbian so I can use the Raspberry Pi as a Spotify (and local files) jukebox. I know the analog audio output of the Raspberry Pi is not great. Is there a way to redirect all ...
12
votes
2answers
3k views

Raspberry Pi presence detection using Wi-Fi

How can I have my Raspberry Pi continually scan for a MAC address on my network then perform a task when it detects a specific MAC address? I use my Pi to run various home automation tasks. I'd like ...
8
votes
2answers
8k views

How does the RF/FM GPIO transmitter hack work?

A while ago, a few guys figured out that they could transmit FM signals using the Raspberry Pi's GPIO ports, and another person realized that he could use the RasPi for controlling his home automation ...
8
votes
2answers
2k views

Remote communication with home server

I make home micro-server (based on Raspberry Pi). It has Internet and works 24/7. The server make some home automation, monitoring and control. It has no static public IP address (it's assigned via ...
6
votes
2answers
2k views

Is running a CGI server as root too dangerous?

I've setup my Raspberry Pi with nginx and fcgiwrap as CGI. I wanted to control GPIO ports using a Python script with the Rpi.GPIO library. The problem is that in order to be able to control the ports, ...
6
votes
1answer
13k views

How to add isolation between raspberry pi and relay board?

I want to use my Raspberry Pi to control mains(fans,lamp on 240v). Its very difficult to procure a good and reliable relay board for me in India. After bit of searching, I have decided to go with ...
6
votes
4answers
6k views

relay module led turn on but not working

I'm new to Raspberry Pi. I followed this source and am stuck on checking "sudo python lighton.py". The problem is the bulb is not turn on. Also there is no click sound from the relay. I'm using relay ...
6
votes
4answers
5k views

Home Automation in an apartment

I'm just getting into the Raspberry Pi and love the idea of home automation. I'd like to use the Raspberry Pi to turn on/off lights, control the thermostat, and possibly a few other tasks in the ...
5
votes
2answers
3k views

Easy way to switch on and off of 12V DC current

I recently bought a compressor and now I want to be able to turn it on and off programmatically using my Raspberry Pi Model B. Since I know nothing about electronics, it seems like the safe option ...
5
votes
2answers
2k views

AC 230 V dimmer for Raspberry PI? [closed]

Could anyone recommend an 230 V dimmer for Raspberry PI to control lights? (controllable via e.g. via USB or RS-232) UPDATE: I currently use FadeCandy with server for Raspberry PI to dim leds. I am ...
5
votes
2answers
1k views

A good sensor for a Bed Occupied detector?

I'm trying to build a presence sensor for my bed, to help trigger assorted home automation functions. My first thought was to use a FSR and place it between the frame and boxsprings. I know how to ...
5
votes
1answer
4k views

How to interface Raspberry PI with x10 to read switch statuses and toggle them on/off? (new system, pre-wired house)

I've been reading on the x10 documentation on the web, so please correct me if I'm wrong on these items: X10 type parts available (A) data receiver/transmitter to be plugged in a wall (B) computer ...
4
votes
2answers
727 views

Building a Raspberry Pi network monitor. My code is not working

Long story short. I moved, put my home server is a closet and started worrying about temp and humidity, saw a guide online to make a network temperature and humidity monitor from a Raspberry Pi and an ...
4
votes
5answers
13k views

Controlling Switches from both Raspberry Pi relay & Manual [Home Automation]

I am currently working on Home Automation Project with Raspberry Pi, I am using 8 channel relay board for this, I can control switches over relay easily. But I want to operate them with pre-existing ...
4
votes
3answers
10k views

Are there any smart light bulbs that can be directly controlled from a Pi?

I'm pretty sure the answer is "no", but perhaps one day there will be and someone can post a new answer :) Specifically I'm after: Does not require internet access Does not require a proprietary hub ...
4
votes
3answers
1k views

Home automating lighting, while preserving light switches

I'm doing a feasibility study for automating the lighting in our house (eg. with Home Kit), while keeping the existing light switches fully functional. With regular switches, that would be tough, ...
4
votes
4answers
8k views

Connecting RPi to 2 different networks

I'm pretty new to Raspberry and I searched the net for a while now trying to find a good and simple answer to this question. Ok, so I have a network that is connected to the internet. I want to start ...
4
votes
3answers
1k views

Controlling a relay with GPIO

Is it possible, using the GPIO Port to power a relay. I have read things about the GPIO port saying it is very easy to mess up, and seeing that activating a relay (basically a short circuit through a ...
4
votes
3answers
6k views

How to use Pi for standalone automation?

I want to use the Pi for standalone home automation. As such, the Pi must boot up automatically and run a Java program. I am running Debian Wheezy hardfloat. I have little Linux experience, what ...
4
votes
2answers
12k views

Use raspberry as a Apple home hub

I have some homekit objects and I would like to use them with apple automation system. I don't have apple tv or ipad, so I would like to know if a raspberry project exists to do something like this. ...
3
votes
2answers
9k views

How to setup openHAB to work with a RaZberry ZWave binding?

I have a RaZberry z-wave module on my Raspbery GPIO pins and it works well. I use raspian and java 8. Now I want to use openHAB version 1.3 with the new Z-Wave binding. The [documentation] (http://...
3
votes
2answers
1k views

OpenHAB to I2C instead of Internet/Ethernet

I want to use OpenHAB to make home automations using a Pi to run it and send and receive data from an Arduino, which will be controlling lights, reading sensors, etc. But to avoid the cost of an ...
3
votes
2answers
7k views

Unable to receive anything with 433 mhz receiver connected to Pi 2 or Pi 3

I'm trying to remote control some power outlets with my Raspberry Pi and I'm following the tutorial from this page. However, I have been unable to get any output from RF sniffer, I have 3 RF receiver/...
3
votes
2answers
6k views

Turn on TV without HDMI-CEC

So I've been beginning to play with my Raspberry Pi, and have decided to make my "dumb" TV into a smart TV. I'm looking into setting the PI up to do this, but one feature I would like to use is to ...
3
votes
1answer
725 views

Is it possible to run openHAB and Z-Way-Server in parallel?

I have a RaZberry Z-Wave module on my Raspbery GPIO pins and it works well. I use Raspian and java 8. I use the Z-Way-Server and now I set up openHAB version 1.3 with the new Z-Wave binding. The ...
3
votes
2answers
10k views

Is it possible to edit Home Assistant's configuration.yaml remotely?

I just set up Home Assistant using HASSbian and am being told that I need to edit the configuration.yalm file, stored under ~/.homeassistant, to do a bunch of things. Is it possible to do that from ...
3
votes
2answers
1k views

How can I control a HomeEasy Light Switch with a 433MHz Module(GPIO)?

I'm currently trying to connect my Pi to a wireless Lightswitch. The problem is though, that it does not work and I'm not quite sure why. The Setup is as follows: Raspberry Pi 2 433MHz sender ...
3
votes
1answer
1k views

How to set up a water leak sensor?

I'd like to set up a few water leak sensors in/under my house to avoid the kinds of plumbers' bills that I got recently! I had been hoping somebody had built such a thing with 1-wire or I2C ready to ...
3
votes
1answer
251 views

Garden Automation

I am about to change my garden automation project and was wondering if anyone had experience using this rayshobby.net - OpenSprinkler? Or does anyone have other good approaches for an garden ...
3
votes
1answer
292 views

Controlling GPIO from website on a separate server

I am planning on doing a bit of home automation. I decided on going with the Raspberry Pi, because it is cheap, and can connect to the internet wirelessly via a USB dongle. I was planning on ...
3
votes
2answers
2k views

Using a Transceiver with GPIO

I'm still trying to get my head round exactly what can and can't be achieved with these devices, but I'd like to try the following: I've found a guide for interfacing with home automation equipment ...
3
votes
0answers
96 views

Google assistant on RaspberryPi3

I need help as I am stuck doing a project. I followed the tutorial on google developers website " https://developers.google.com/assistant/sdk/guides/library/python/extend/install-hardware" and got the ...
3
votes
0answers
3k views

Installing Homebridge Nest Plugin for Raspberry Pi

I've tried several times installing Homebridge on a Raspberry Pi 3 to control Nest with Siri to no avail. I got it running on my Mac but can't get it running on the Pi, it seems there are several ...
3
votes
1answer
9k views

RPi 3 ad-hoc network to configure WiFi credentials

I need help finding a proper tutorial or project that can achieve the following: I want to create an ad-hoc network that could be used to configure the RPi 3 to connect to an existing wifi network ...
2
votes
2answers
9k views

Turn LED on after a particular time for a particular time period

I am doing a small project which consists of turning LEDs on and off using the GPIO library. I am able to successfully turn the LED's on and off using a browser on my laptop. But now I want the LEDs ...
2
votes
3answers
1k views

Wiring a home to power Raspberry Pis

I'm considering putting a Raspberry Pi in every room of the house. One issue is whether it is inefficient to have a separate USB power supply running off the mains in every room. How would one go ...
2
votes
1answer
7k views

Perform a task upon a voice command

I would like to do on-board speech processing (Matching of a pre-recorded voice sample [1/2 secs] with a continuously playing sound) with a Pi 3. The Pi should give a real-time response to the ...
2
votes
2answers
2k views

How can I replace "Wireless Remote Control Switch" with Raspberry Pi?

I am looking for a solution where I can control a "8 Channel Relay" (Link: http://www.amazon.in/channel-control-optocoupler-ARDUINO-Raspberry/dp/B00YY0SYFU?tag=googinhydr18418-21) wirelessly by using ...
2
votes
4answers
6k views

Home Automation, Mechanical Relays and Physical Switches

I am currently building and installing a home automation system. I have currently configured centralized audio system with ceiling mounted speakers in each room with a raspberry pi in each room. I ...
2
votes
2answers
2k views

What is the cheapest and long distance (20-30 m) way for communicating Raspberry Pi and attiny (or any other microcontroller)?

I need to make Raspberry Pi as my master and communicate with several slave devices (5-6 Attiny2313 in my case) that are kept 20-30 m (65-100 ft) away. Following are the requirements: cheap (...
2
votes
1answer
4k views

Homebridge-ifttt-webhooks on Raspberry Pi 3

I'm novice about homebridge. I managed to run it with no errors on a Raspberry Pi 3 and "homebridge-lifx" plug in runs like a charm! Now I need to find out how the plugin "homebridge-ifttt-webhooks" ...
2
votes
1answer
3k views

Home energy monitor devices

I'm making use of multiple Raspberry Pi's to monitor my home's temperature, humidity, e.t.c... I would now like to add home power use monitoring. I've done a fair bit of research, but I've not found ...
2
votes
1answer
4k views

Home Automation and Dimming

This is a sort of continuation of a previous question I asked. I want to switch lights on and off, amongst other things with several raspberry pi's in my house. I've got this functioning and working ...
2
votes
1answer
295 views

4€ remote socket. The best idea ever?

I just found out this little guy: http://www.dx.com/p/ir-remote-controlled-ac-outlet-for-appliances-220v-12902#.U8eeRfmSx8E Is a infra red (IR) controlled socket who learn your IR signals for 4€. ...
2
votes
1answer
8k views

Raspberry PI as intercom?

I am currently looking for a way to connect an intercom to the raspberry pi, at the moment, the intercom wires are connected to a regular telefphone ( only two wires needed ), when someone dials the ...
2
votes
3answers
2k views

RF transceiver and XBee module, both need UART?

I'm working an a home automation project, using a Raspberry Pi. What I want to do is connect an RF 433 MHz transmitter to control RF-controlled light switches, and a ZigBee/XBee module to connect to ...