lehane
Posts: 1
Joined: Sat Jun 16, 2012 12:01 pm

xAP Hub

Sat Jun 16, 2012 12:16 pm

If anyone is interested I have a working (at least as fas as I can tell...) xAP Hub for the Pi. Next step is some OneWire.
http://www.mm-wave.com/xappihub.png
xAP is a Home Automation Protocol - see http://www.xapautomation.org (though that site is getting a little out of date it does have the basics).

Compiled under GNU/Codesourcery C++ for the ARM11 if anyone wants the elf binary.

Lehane

User avatar
freedomotic
Posts: 154
Joined: Sat Apr 21, 2012 3:59 pm
Location: Italy
Contact: Website

Re: xAP Hub

Wed Jun 20, 2012 7:05 am

Hi Lehane,
your project sounds good. We are developing an open source domotic framework and I think it could integrate the xAP protocol. I don't know it in depth. Can you give me more details about your solution?
Thanks
Freedomotic Open IoT Framework
http://freedomotic.com

eko_taas
Posts: 1
Joined: Thu Aug 09, 2012 11:47 am

Re: xAP Hub

Thu Aug 09, 2012 11:49 am

These is some ready made linux-libs and I/F (interxap.c) done for OPNODE-project (closed)
( http://sourceforge.net/projects/opnode/ ... =directory )

If you get it up and running let me know (as not programmer myself)

stedaniels
Posts: 1
Joined: Fri Oct 12, 2012 8:43 am

Re: xAP Hub

Fri Oct 12, 2012 8:46 am

Hi Lehane,

I'd be very interested in getting hold of the source/any patches you used to get the hub running on the RPi.

The binary would be nice, but the above would be better :-)

What are you running on your xAP network?

Steve

bigkevmcd
Posts: 1
Joined: Tue Sep 11, 2012 9:37 am

Re: xAP Hub

Sat Oct 13, 2012 11:35 am

I've been implementing Node.js JavaScript code for talking to an RfxTrx433 device, which can interface with various home automation devices.

Node.js runs fine on Raspberry Pi (it's my test platform), and the code works great with the recent firmwares (otherwise you hit a bug that causes the Pi to freeze when doing serial interactions)

The rfxcom library is available from:

https://github.com/bigkevmcd/node-rfxcom

I also, as an experiment, wrote a simple xAP broadcast class for Node.js, which is capable of sending xAP formatted messages:

https://github.com/bigkevmcd/node-xap

Have a look at the example in the node-xap README.md for how to connect the rfxcom and xap libraries together...it's fairly trivial...

This is just simple xAP broadcasting, but I'm working on a parser for xAP messages, which would allow more complex apps to be built.

In saying that, am not convinced of the current utility of xAP as a protocol, no security, UDP, custom payload format etc., and I've outlined some thoughts on how it could be improved here http://bigkevmcd.com/2012/10/xap-protocol/

Return to “Automation, sensing and robotics”