Running Home Assistant on Pine64

This is a dump of me setting up Home Assistant on a Pine64 board I have. I am used to OpenHAB and have created bindings for it so this should be a new challenge and a way to see how well it works. The reason I am heading towards Home Assistant is the components it support fit some of my needs better. Also time to get to know python better :)...

August 19, 2016 · 2 min · Jon Bullen

Enabling MQTT abilities in OpenHab

Using your favorite editor in Linux or something like WinSCP we need to edit some OpenHAB configuration files. If you followed the guides on this site the configuration is located in /etc/openhab. Open up /etc/openhab/configurations/openhab.cfg to edit. If it does not exist you need to copy openhab_defaults.cfg in the same directory to openhab.cfg sudo nano /etc/openhab/configurations/openhab.cfg You need to navigate to the MQTT Transport section for transport settings. Ignore the MQTT Persistence section....

October 25, 2015 · 3 min · Jon Bullen

Installing OpenHAB

To install and run OpenHab on your Pi I am recommending you use the apt-get approach, these instructions are taken from the OpenHAB Wiki, so it may be more up to date and have additional options. I also contribute to changes in the wiki every now and then so this may get out of date but in general be correct. This page does highlight the addons needed for the guides on my site....

October 25, 2015 · 3 min · Jon Bullen

Setting up Mosquitto on your Pi as part of the home hub

To enable all your nodes to communicate we are using a protocol called MQTT, on the pi we are using Mosquitto as the broker to support this. The broker allows nodes to publish information or subscribe to get information when it is published. MQTT uses simple channels to dictate where messages go, here are some examples: HOME/Garage/DoorOne/State HOME/Garage/DoorTwo/State HOME/Garage/Temperature The structure of the channel is up to you, just keep it short and logical!...

October 25, 2015 · 2 min · Jon Bullen

Setting up a Pi with a NRF24L01+ Radio

I’m using my PI as the central hub running OpenHAB, a MQTT broker and other services for home automation. On the Pi I am using a NRF24L01+pa+lna SMA Antenna Wireless Transceiver, this provide more range (1000m) from my main unit. All the nodes in the network will be running on Arduino chips and using a Mesh network so the house should have good coverage. First, wiring in the NRF24L01 to the Pi....

October 25, 2015 · 2 min · Jon Bullen

Rooting the WINK Hub with Windows

I do have a Linux machine in the house but that is on a Pi running as a squeezelite client for my house music collection. So looking at the instructions on the web I have translated them for use in Windows. Of course I have use PowerShell! The only addition I have is I use Kitty as a SSH client. This uses the approach @ http://www.dinnovative.com/?p=348 Open up the box and plug in the WINK unit....

February 13, 2015 · 2 min · Jon Bullen

Integrating ISY into OpenHAB

I am in the process of setting up OpenHAB for the extra functionality in my house. I have the ISY unit setup as the core brains for switches and scenes. All the other magic is in OpenHAB so if OpenHAB goes down the main functions of the house work. I wanted to get the OpenHAB system to be able to get the status from the ISY unit and also changes states....

January 1, 2015 · 2 min · Jon Bullen

Dealing with Internet Explorer ‘Continue to this website’ option missing

Found the work around here: http://blog.oracle48.nl/internet-explorer-10-continue-to-this-website-option-missing/ To skip all the text on this page to the command one needs to unblock this restriction and for example set the minimum key length to 512; run the following in a elevated command line (cmd.exe ‘run-as-administrator’): certutil -setreg chain\minRSAPubKeyBitLength 512 Now the “Continue to this website (not recommended).” is back If you want to revert this change and go back to the default of an 1024 bit key minimum, run:...

December 19, 2014 · 1 min · Jon Bullen

Home automation with ISY and PowerShell

I am playing with ISY and automation in my home, looking at the universal devices page today I found the API for working with the unit. Turning to trusty PowerShell I came up with the following code to enable you to start interacting with the unit remotely. Ill look at a proper module at some point in the future but this increases the possibilities of the unit! [code] function Invoke-IsyRestMethod { param ( $RestPath ) $isyEndPoint = “http://192....

October 30, 2014 · 1 min · Jon Bullen

Minecraft Mod Idea #284

It would be nice to have items sorted in chests, I have set it up with pipes before but as I am playing in Hexxit at the moment, I want a more ‘magical’ way for this to happen. What I am thinking is that you have a master chest and slave chests. The master chest is linked to the slave chests and the slave chests have the id/name of the items it automagically gets when they are put in the master chest....

September 24, 2013 · 2 min · Jon Bullen