changed a bit to get serial working as the baud rate changes with the cpu speed now..
however not fully there, looks like something may need altering in one of the libs..
# change password
passwd pi
#pre-reqs
sudo raspi-config #expand fs, disable serial console, change hostname
sudo apt-get update
sudo apt-get upgrade --yes
sudo apt-get dist-upgrade --yes
sudo apt-get install rpi-update --yes
sudo rpi-update
sudo shutdown -r now
## Fix Serial Port
sudo nano /boot/config.txt
# Add the following line at the end
dtoverlay=pi3-miniuart-bt
sudo nano /lib/systemd/system/hciuart.service
# Replace After=dev-ttyAMA0.device With: After=dev-ttyS0.device
# restart
sudo shutdown -r now
#install mono from default repository
sudo apt-get install mono-complete --yes
mono --version # should report 3.2xx
# Add new repository for mono and update to latest mono
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
# Instal Mono again
sudo apt-get install mono-devel --yes
#check mono version again, should now be 4.x
mono --version #
####
# Optional Install latest mono from git
####
sudo apt-get install -f git libtool automake
git clone git://github.com/mono/mono.git
cd mono
git submodule init && git submodule update
./autogen.sh --prefix=/usr/local --enable-nls=no
sudo make -j3
sudo make install
End Optional latest mono
#####
# HG pre-reqs
sudo apt-get install python3 --yes
# Install Homegenie
sudo apt-get install gdebi-core --yes
sudo wget http://sourceforge.net/projects/homegenie/files/homegenie-beta_1.1.r514_all.deb
sudo gdebi homegenie-beta_1.1.r514_all.deb --n