Are there any available xAP hubs for Linux out there?
Are there any available xAP hubs for Linux out there?
Not a LInux guy but there's the code published for HAH LiveBox that I believe contains a hub , well maintained by Brett, and there's Patrick Lidstone's one..
http://www.lidstone.net/html/infrastructure.html
K
Originally Brett's xAP Hub for the Livebox was based on Patricks, but he had some issues with it and made his own from scratch.
Patricks is no longer being supported (by patrick)
Ask in the forum for Livebox-HAH here http://www.homeautomationhub.com/forum
Source code is here http://code.google.com/p/livebox-hah...s/hah/xap-hub/
kevinT
Last edited by kev_t; 4th May 2012 at 03:54 PM.
I am using the code from Home Automation Hub on linux along with a couple of the executables as well as one i started writing to provide xap information from heatmiser thermostats. If you get a copy of the source code you then need to build xaplib first then the hub.
I think i needed to copy the xaplib libraries into /usr/local/lib as well.
If you go this route & have problems then just ask.
John
There are two way to compile up the xaplib2 library. You can compile dynamic or you can compile static there are targets in the make file for both. By default it compiles dynamic.
A dynamic xaplib2.so requires that this library be accessible by the xap-hub at runtime so yes ideally place is in a path that is searchable by ldd - either /usr/lib, /usr/local/lib
If you compile the xaplib2 library static the xap-hub binary will be a little large but it saves you this problem. On the HAH as flash space is precious I link everything dynamic to squeeze every little bit I can in. For a full Linux system its not so important.
If you run into any issues post on the forums at www.homeautomationhub.com
Brett
Thank-you guys.
On another note I'm having a wierd issue relating to the broadcasts of xAP. I have one Wintel box running 6 different xAP applications and testing a dockstar with Archlinux on it running one xAP application. The linux box gets most of the wintel broadcasts except for one. Its that whole issue relating to what Linux is hearing as configured versus what the Wintel boxes are getting.