Just for anyone either coming to HomeGenie for the first time or are struggling to get HomeGenie working, this is the procedure I followed starting with a blank SD card and installing Raspbian Stretch Lite on a Raspberry Pi. If it’s not suitable here you can move it to somewhere else.
Remember I used this installation procedure only for Raspbian Stretch.
Raspbian Stretch Installation Instructions for a HomeGenie Setup
- Download latest Raspbian Stretch Lite image
- Write image to blank SD card using Win32 Disk imager ( or any other disk imaging software )
- Create a blank text file on the PC with the name SSH. with no extension. Place this file onto the the SD card. It allows you to SSH into the Raspberry Pi later. SSH is automatically disabled on all new Raspbian Stretch images.
- Remove SD card and put it in the Raspberry Pi and power up the Pi.
5 .Identify what ip address the Pi has booted on in your network. In a PuTTY session (or any other SSH software) log into the Pi from your PC using the address you identified
6. You will be asked for a login name. Use the default name pi and the default password raspberry. You are now logged into the Pi.
7. The first command to use is sudo raspi-config. First thing to do here is set a new password for your Pi. The next thing is to expand the file system so Raspbian uses the complete SD card for storage. Some other settings you might like to change too. Once finished save your settings and reboot your Pi.
8. When logging in now the login name is pi and the password is the new password you created.
9. At the prompt type sudo apt-get update
10. Next command is sudo apt-get upgrade. This will take quite a while to complete.
11 Next command at the prompt will be sudo apt-get install dirmngr This will allow you to install the latest version of Mono for your version of Raspbian.
12. The following will install Mono 5.4 on Raspbian Stretch.
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo “deb http://download.mono-project.com/repo/debian raspbianstretch main” | sudo tee /etc/apt/sources.list.d/mono-official.list
sudo apt-get update
This will take a while too. You now have a version of Raspbian Stretch Lite which you can now install HomeGenie on.
HomeGenie installation as follows
From the command prompt in the PuTTY session on your PC use the following commands
sudo apt-get update
sudo apt-get install gdebi-core
sudo gdebi homegenie_1.1.15_all.deb
You should now be prompted to access HomeGenie by typing the ip address of your Raspberry Pi in a browser session on your PC. You have already identified the ip address of your Raspberry Pi earlier.
In order to activate some features, optional dependencies may be required to install.
Audio playback utilities
sudo apt-get install alsa-utils lame
Embedded speech syntesys engine
sudo apt-get install libttspico-utils
SSL client support
sudo apt-get install ca-certificates-mono
LIRC Infrared inteface
sudo apt-get install lirc liblircclient-dev
sudo apt-get install libv4l-0
X10 CM15 Home Automation interface
sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev
Arduino™ programming from HG program editor
sudo apt-get install arduino-mk empty-expect