Home Automation

Installing Tellstick on Raspbian

Add Telldus repository so that we can install Tellstick-core via Aptitude. Run the following command to download the public key needed to verify the packages: wget http://download.telldus.se/debian/telldus-public.key Install the key with the following command: sudo apt-key add telldus-public.key Edit the sources file, adding the Telldus server where the packages can Read more…

By ohlzon, ago
CakePHP

Including related fields in CakePHP 3.0

Being a CakePHP newbie I found it hard to find any information on this topic, and the answer is in fact really really simple. The answer $project = $this->Projects->get($id, [ 'contain' => [ 'Customers', 'Estimates' => [ 'Types', 'Projects' ], 'Logs' => [ 'Types', 'Projects' ], 'Statuses' ] ]); The Read more…

By ohlzon, ago
Uncategorized

Raspberry Pi and Homebridge

1. Getting Linux installed on your Raspberry Pi Download Raspbian:¬†https://www.raspberrypi.org/downloads/raspbian/ Write image to SD card (instructions:¬†https://www.raspberrypi.org/documentation/installation/installing-images/README.md) Put the SD card in the Raspberry Pi and let it boot up Figure out what IP adress the Raspberry Pi has been assigned, either through your router or by running arp -a to Read more…

By ohlzon, ago