Thursday, 9 March 2017

Building an automated iPerf3 server with Ubuntu on Odroid C1+

The Odroid devices make great iPerf servers for portable use as they can be powered by 5V micro USB and have a Gigabit Ethernet adapter on its own bus so they don’t have the limitations the Raspberry Pi’s do. OK, let’s get started.

We are going to assume that you already have Ubuntu 16.04 up and running but if not, you can download official images here http://odroid.com/dokuwiki/doku.php?id=en:c1_release_linux_ubuntu. Extract the downloaded image and burn it to a SD Card using Win32 Disk Imager. I only used a 2GB card and it works fine. First boot might take a minute or two. After it’s booted, scan your network (Fing) to find your device IP. It should show up as a device by JF Light Industries with the MAC vendor as Wibrain.

Monday, 6 March 2017

Running ha-bridge inside LibreELEC on your Pi2/3…yes, really!

This is huge! Thanks to aptalca for creating an arm based Docker container for the Raspberry Pi that allows ha-bridge to run inside the LibreELEC Docker add-on!
First thing you need to do is ensure your Raspberry Pi LibreELEC has a static IP address so you always know how to get to the ha-bridge web interface.
  • Kodi > Programs > LibreELEC configuration > Connections then select your active connection (LAN or Wi-Fi) and use the context menu to select ‘Edit’.
  • Scroll to IPV4 and change your IP address settings so they are static by using the Manual settings. Of course, you could always create a DHCP lease in your router if you are savvy with that and that is the better way to go.

Saturday, 11 February 2017

How to flash ESPEasy onto the Sonoff Touch for MQTT control

The Sonoff Touch is a nice glass touch panel based on an ESP8285 with 1MB of integrated flash that can be quite easily flashed with a self compiled version of ESP Easy.  You need to compile yourself as the builds available online are all made for the ESP8266 and will not work with the Sonoff Touch.

Thursday, 2 February 2017

How to enable Samba on the HASSBian image

The videos prior to 1st Feb 2017 like Ben's one below all indicate the following instructions for installing Samba but if you use the HASSBian image like I've now done, the path to 'Home Assistant' in the samba.conf file is wrong.

 

[HOME ASSISTANT]
path = /var/opt/homeassistant
becomes

Tuesday, 29 November 2016

Enabling the integrated Mosquitto broker on the HASSbian image

The Home Assistant image HASSbian has the Mosquitto MQTT broker integrated into the image but it is not enabled by default. To get it working and persistent on reboot, perform the following:
  1. sudo systemctl enable mosquitto
  2. sudo systemctl start mosquitto
  3. sudo reboot
To test, once your system is back up, type sudo systemctl status mosquitto.service and you should get back the following:

Thursday, 17 November 2016

Adding 4 relays to your Home Assistant Pi with Arduino UNO

For those that want 4 relays cheaply using a clone of the Seeed studio V2.0 relay board available on AliExpress here, this is how it's configured in HA. Simply follow the Arduino instructions to load the Firmata firmware on your board then plug the Arduino board into your Raspberry Pi.

Wednesday, 19 October 2016

Getting HADashboard up and running on Jessie for use with Home Assistant

HADashboard is a very cool dashboard for use with Home Assistant. I’ve tested the installation process on a Raspberry Pi1 version B (yes I know) and although it took nearly a whole day to get working, work it does and by golly, does it look good. More info on GitHub here https://github.com/home-assistant/hadashboard
  1. First step is to install docker on your Raspberry Pi if you have never done that before:
    curl -sSL get.docker.com | sh
  2. If you would like to use Docker as a non-root user, you should now consider adding your user to the "docker" group with something like:
    sudo usermod -aG docker pi
  3. Set Docker to auto-start:
    sudo systemctl enable docker
More info here and credit to Alex Ellis http://blog.alexellis.io/getting-started-with-docker-on-raspberry-pi/



Tuesday, 18 October 2016

My Notepad++ tricks when editing YAML files in Home Assistant

To comment out a whole section in one go:Highlight the text you want to comment out and use CTRL + Q. If you do this at the start of a line, it will only comment that line. CTRL + Q is toggle mode (comment on/off). CTRL + K will allow you to add multiple comments one after the other.