Nizzies Home Automation Efforts: Difference between revisions

From NURDspace
No edit summary
No edit summary
Line 8: Line 8:
|Location=Niz
|Location=Niz
}}
}}
= The brain: Raspberry Pi with Home Assistant =
= The brain: Banana Pro with Home Assistant =
My Pi 2's micro sd card broke very quickly, so I'm working on a more stable replacement.
My Pi 2's micro sd card broke very quickly, so I've been working on a more stable replacement in the form of a [http://www.lemaker.org/product-bananapro-specification.html Banana Pro board]. I installed Bananian on the sd card and then moved the installation to a read hard disk connected to the SATA port. Hopefully this will survive longer.
== Home Assistant ==
== Home Assistant ==
[https://home-assistant.io/getting-started/installation-raspberry-pi-all-in-one/ Home Assistant installation] did not work because some script assumes that the user is pi, and mine isn't. Also it seems that python 2.7 is used here, where as in [https://home-assistant.io/getting-started/installation-raspberry-pi/ Installation instructions] python 3 is needed. This last link worked better, but I needed to install some dependencies by hand first.
I followed this [https://home-assistant.io/getting-started/installation-raspberry-pi/ Installation instructions]. This worked fine once I installed some dependencies for the [https://home-assistant.io/components/discovery/ discovery component] (I don't know which one did the trick):
<pre>apt-get install build-essential checkinstall python3-dev</pre>
=== Useful commands for my own reference ===
=== Useful commands for my own reference ===
<pre>sudo journalctl -f -u home-assistant@homeassistant</pre>
<pre>sudo journalctl -f -u home-assistant@homeassistant</pre>

Revision as of 22:16, 26 October 2016

Nizzies Home Automation Efforts
NoPicture.png
Participants Dennis
Skills 1337 Skillz
Status Active
Niche Electronics
Purpose Fun
Tool No
Location Niz
Cost
Tool category

Nizzies Home Automation Efforts Property "Tool Image" (as page type) with input value "File:{{{Picture}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{Picture}}} {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}

The brain: Banana Pro with Home Assistant

My Pi 2's micro sd card broke very quickly, so I've been working on a more stable replacement in the form of a Banana Pro board. I installed Bananian on the sd card and then moved the installation to a read hard disk connected to the SATA port. Hopefully this will survive longer.

Home Assistant

I followed this Installation instructions. This worked fine once I installed some dependencies for the discovery component (I don't know which one did the trick):

apt-get install build-essential checkinstall python3-dev

Useful commands for my own reference

sudo journalctl -f -u home-assistant@homeassistant
sudo service home-assistant@homeassistant restart

Sensors

NRF nodes

Most probably I will use the hardware designed by User:Zarya as mentioned in NrfSensorNode. They will run the library from https://www.mysensors.org/.

Lights

Philips Hue

Got some Philips Hue stuff for cheap. It's the Hue Bridge v1, and 3 LED lights that work just fine, although 2 of them are missing the glass bit. They do whites and colors \o/. They are supposed to integrate with Home Assistant very easily: https://home-assistant.io/components/light.hue/ <gallery> Image:Hue.jpg </gallery?