OpenHAB and embedded systems

248 views
Skip to first unread message

blade...@gmail.com

unread,
Jan 22, 2014, 8:41:00 PM1/22/14
to ope...@googlegroups.com
Hi,
1) I'm planning to run openHAB on an embedded system like Raspberry Pi. I know as long as the system can run Java VM, it should run openHAB without any problems. However I did not see too much discussion about the stability and limitation of the running the openHAB on embedded system. I assume if I run openHAB on embedded systems like Raspberry Pi, I'm getting all the same functions as I would if I run on x86 PC. Is this correct? Is the RPi hardware sufficient to run a fully featured openHAB server? What are the limitations of running openHAB on RPi?

2) Other than RPi, are there any other recommended dev boards that are fully compatible with openHAB? I also did not find too much information on openHAB and Arduino. I did indeed find resource suggesting that openHAB might work with Cubieboard, but not fully featured?

3) In the case of my system running Android instead of Linux, will openHAB be able to run on a Delvik VM? To my understanding the android OS will translate apps from Delvik VM to Java VM, but I'm also not sure about the compatibility.

4) Is there a existing/developing binding for Zigbee? I've found some resources on Xbee binding but I'm not sure about the compatibility. 

Thanks a lot, hoping to start running soon!

Thorsten Gilfert

unread,
Jan 23, 2014, 4:10:43 AM1/23/14
to ope...@googlegroups.com
Hello Henry,

1) I'm running openHAB on a Raspberry Pi (model B) without any problems and I think there are a lot of users with openHAB on the Pi. Just install the hard-float JVM 7 from Oracle. But I have only a small number of devices attached. So maybe the performance of the Pi might not be sufficient for very large openHAB setups.

Kai Kreuzer

unread,
Jan 23, 2014, 4:26:42 AM1/23/14
to ope...@googlegroups.com
Hi Henry,

Thanks for your interest in openHAB!

However I did not see too much discussion about the stability and limitation of the running the openHAB on embedded system.

I would consider this as a good sign ;-) As Thorsten says, there are quite many users running openHAB on a RaspPi and I afaik there are also bigger KNX installations in use with it.

I assume if I run openHAB on embedded systems like Raspberry Pi, I'm getting all the same functions as I would if I run on x86 PC. Is this correct? Is the RPi hardware sufficient to run a fully featured openHAB server? What are the limitations of running openHAB on RPi?

Yes, in general you have the same functionality available. There might be functional limitations on some addons though. E.g. I have heard about problems of using text-to-speech functionality on a RaspPi, which wasn’t fluent due to CPU load. Without load, you usually only see a 3-5% CPU load of the JVM process for openHAB.

3) In the case of my system running Android instead of Linux, will openHAB be able to run on a Delvik VM? To my understanding the android OS will translate apps from Delvik VM to Java VM, but I'm also not sure about the compatibility.

No, The Dalvik VM is not a JRE, so it cannot run Java applications. As openHAB requires an OSGi framework, which needs a lot of classloading/threading features of the VM, Dalvik is not the right choice for it.

Regards,
Kai


Thanks a lot, hoping to start running soon!

--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/groups/opt_out.

Timoh

unread,
Jan 23, 2014, 11:11:30 AM1/23/14
to ope...@googlegroups.com
My favourite is the BeagleBoneBlack.
More power, faster memory, more storage, more IOs pins.  It comes with an Angstrom distrubution, but there are flashing instructions for debian and ubuntu.  The great thing about debian & ubuntu is you get all the packages available for those environments.  It uses the regular pckg apt-get package manager.

I'm in the process of upgrading to Debian wheezy and am finding it very stable, solid and fast.

The BeagleBoneBlack is priced at $45.

Tim

daniel....@gmail.com

unread,
Jan 23, 2014, 3:54:28 PM1/23/14
to ope...@googlegroups.com
Or use Hardkernel ODROID, extrem powerfull system (4x 1.7GHz, 2GB, eMMC Interface!), smaller than RPi and only $10 more expensive than a RPi B.
I will not go back to RPi.


Am Donnerstag, 23. Januar 2014 02:41:00 UTC+1 schrieb Henry Yen:
Reply all
Reply to author
Forward
0 new messages