HomeGenie Forum

General Category => Troubleshooting and Support => Topic started by: Eric_S on April 19, 2014, 09:14:25 AM

Title: Install HG on BeagleBaord Black/Debian
Post by: Eric_S on April 19, 2014, 09:14:25 AM
Hi,

I have a BeagleBoard Black Rev B with the BeagleBoard.org BeagleBone Debian Image 2014-04-14 image. I'm trying to install homegenie-beta_1.00.364_all.deb using gdebi but it fails dependencies for mono-runtime (< 2.10.8.2). Any suggestions?

Maybe this is more for guys at Beagleboard?

Thanks.
Title: Re: Install HG on BeagleBaord Black/Debian
Post by: Gene on April 19, 2014, 09:48:36 AM
Beagle Board debian image is probably missing mono runtime packages.
You could try compiling from sources:

https://github.com/mono/mono (https://github.com/mono/mono)

Unfortunately seem like no-one succeed yet:

http://mono.1490590.n4.nabble.com/MONO-For-Beagle-Bone-Black-Software-Development-td4661979.html (http://mono.1490590.n4.nabble.com/MONO-For-Beagle-Bone-Black-Software-Development-td4661979.html)

And yes, off course you could also ask to BeagleBoard guys to integrate mono in the debian distro =)

Cheers,
g.
Title: Re: Install HG on BeagleBaord Black/Debian
Post by: Gene on April 19, 2014, 09:51:58 AM
Well... there seem to be someone who suceed! =)

https://www.mail-archive.com/[email protected]/msg10286.html (https://www.mail-archive.com/[email protected]/msg10286.html)

It would be interesting writing an HG driver for BBB GPIO's, it shouldn't be hard starting from the RaspiGPIO library example included in HG-MIG.

Cheers,
g.
Title: Re: Install HG on BeagleBaord Black/Debian
Post by: Eric_S on April 20, 2014, 04:36:24 AM
Thanks for the reply. Unfortunately, the server at the link you posted just happened to die today. I found the article on Google Groups though.

https://groups.google.com/forum/#!searchin/beagleboard/mono/beagleboard/MSDKhL0bdrQ/ZZFnzmmT6N4J

I'll let you know how things work out.
Title: Re: Install HG on BeagleBaord Black/Debian
Post by: Eric_S on April 23, 2014, 10:03:41 AM
No luck. Make would not install. I had to abandon Debian because of poor mono support. I installed Ubuntu and mono went right in. Now for HG...as soon as sourceforge comes back on line.  :-\
Title: Re: Install HG on BeagleBaord Black/Debian
Post by: Gene on April 23, 2014, 06:20:40 PM
Ubuntu is also based on debian... and mono it is well supported under debian.
Perhaps it's the BBB debian image not so up to date. For example, the Raspberry one it is.

Cheers,
g.
Title: Re: Install HG on BeagleBaord Black/Debian
Post by: bkenobi on April 23, 2014, 10:49:22 PM
I found that the UK mirror for sourceforge was working yesterday when the main page was down.
Title: Re: Install HG on BeagleBaord Black/Debian
Post by: Eric_S on April 24, 2014, 05:22:52 AM
Here is what worked:

Installed BBB-eMMC-flasher-ubuntu-14.04-2014-04-18-2gb.img on BeagleBone Black. I had to boot from the SD and edit /mount/rootfs/etc/shadow to get root access. I just copied in a known password hash. Rebooted from eMMC.

# wget http://downloads.sourceforge.net/project/homegenie/homegenie-beta_1.00.368_all.deb (http://downloads.sourceforge.net/project/homegenie/homegenie-beta_1.00.368_all.deb)
# sudo dpkg -i homegenie-beta_1.00.368_all.deb

Dependencies failed so I did "apt-get -f install" below.

# sudo apt-get -f install
# sudo dpkg -i homegenie-beta_1.00.368_all.deb

Success!
Plugged in Aeon Labs Z-Stick S2 and waited a minute.

# dmesg
Bunch of stuff
[ 1568.514096] usb 1-1.1.1: New USB device found, idVendor=10c4, idProduct=ea60
Bunch more stuff
# sudo modprobe usbserial vendor=0x10c4 product=0xea60
# dmesg
Bunch of stuff
[ 1568.668361] usb 1-1.1.1: cp210x converter now attached to ttyUSB0
Bunch more stuff

Configured HG, added z-wave devices and it works!
Title: Re: Install HG on BeagleBaord Black/Debian
Post by: bkenobi on April 24, 2014, 05:10:30 PM
I read that if you use dpkg -i homegenie... it will not resolve dependencies. If you instead use gdebi homegenie... it will resolve those and run straight away.  I've been using gdebi for several version installs and it works great every time (though I'm starting from a Raspi image that had HG already working, so dependencies may not have been critical).
Title: Re: Install HG on BeagleBaord Black/Debian
Post by: Eric_S on April 24, 2014, 07:13:36 PM
Yeah, I chose not to use gdebi because it was not installed in the image and installing ix wasnted to add a whole bunch of other stuff, looked like even gui stuff for X. I don't really want the code bulk.

Off topic: Is the Raspi running Debian with gui (XFCE?) or is it cl? Do you have a Z-Wave interface?
Title: Re: Install HG on BeagleBaord Black/Debian
Post by: Gene on April 24, 2014, 07:23:32 PM
Code: [Select]
sudo apt-get install gdebi-core

will only install the command line utility.

No GUI installed by default on the Raspi image.

g.
Title: Re: Install HG on BeagleBaord Black/Debian
Post by: parmar7725274 on August 11, 2014, 01:04:00 PM
Hi !!

I sucessfully cross-compiled mono-runtime. here it is : https://github.com/parmar7725274/MONO-ARM.git

I'm using BBB Rev B with ubuntu-14.04 .

-Prakash
Title: Re: Install HG on BeagleBaord Black/Debian
Post by: jarrettv on September 18, 2014, 04:40:50 AM
Mono-runtime package for pi works fine with BBB. I added the rasbian repo to my sources.list (http://www.debianuserforums.org/viewtopic.php?f=9&t=388)

http://www.raspbian.org/RaspbianRepository (http://www.raspbian.org/RaspbianRepository)

First time using HomeGenie, it feels powerful but a little clumsy to setup. Most of all it is fun, open source, and written in C#.

Anybody benchmark the BBB vs Pi?
Title: Re: Install HG on BeagleBaord Black/Debian
Post by: bkenobi on September 18, 2014, 05:24:46 PM
I've done some informal comparison between Pi and WinXP (AMD Athlon 64 X2 4200) and the two are the same speed when it comes to X10 operations.  Pi is much slower for some Web interactions such as backing up the setup (Windows takes ~1 second while Pi takes ~2 minutes).  Most other thin gs seem comparable.