Xiaomi MiFlora is a cost effective plant sensor, which uses Bluetooth Low Energy (BLE) to communicate wirelessly, and is capable of sensing temperature, soil humidity, light, soil fertility and it’s own battery level. You can find detailed info about this smart sensor on the official Xiaomi site here. Daniel Matuschek (openha) has written a library for the device, and using his python code which is capable of reading these data, and I have been running it on a Raspberry Pi 3.
The RTL8188eu wifi chip is not supported on Raspbian Lite “Jessie” out of the box, so we need a few things to make it work, but I’ll show you how.
I have a set of SilverCrest IP20 remote controlled sockets purchased in LIDL.
Remote: SilverCrest 113854 RCT DS1 AAA-A 3726
4x Switches: SilverCrest 113854 RCR DS1 3711-A IP20 FR 3726
These work on 433Mhz radio frequency, so the switches can be controlled using my Raspberry Pi instead of the remote control which came with the set.
Home automation projects often there is a need to measure the temperature and humidity of the air. This can be done with e.g. the DHT11 or the more advanced DHT22 sensors.
The AM2302 is a wired version of the DHT22, in a large plastic body. There is a 5.1K resistor inside the sensor connecting VCC and DATA so you do not need any additional pullup resistors. Here’s how to make it work.
In one of the previous posts I have shown how to control the socket’s with pilight and an RF transmitter.
Since the pilight protocol which will be able to control my outlets (quigg_gt9000) is not finished yet, I wrote a simple command which sniffs out the raw codes (with pilight-debug) and a bash script to use send these raw codes to control the outlets (with pilight-send).
At the time of writing this post, the newest device in the Raspberry Pi universe was Pi 3, released on 29th February 2016, boasting a 64bit CPU, an onboard Bluetooth chip, and last but not least: onboard WiFi.
We’ll focus on how to set up WiFi in this post.
Downloading (legal) content using torrents is very convenient, but if you plan to “seed” back the stuff, then you’ll need to keep your computer running 24/7 which won’t be good for your electricity bills. For this reason it’s a nice idea to use a Raspberry Pi as a “torrent server” a.k.a “seedbox” which will run day and night, as it’s power consumption is tiny compared to a laptop, let alone a desktop PC.
We’ll be using Transmission as a torrent client, which can be installed as a “daemon” running in the background all the time on the Raspberry Pi.
The Raspberry Pi is a cheap, little credit-card sized computer, which can be used for a myriad of projects. I’ll show you how to get it up and running, including the necessary peripherials. This guide is aimed on how to set up the Raspberry Pi 2 and 3 with wired ethernet connection.