From: Eloy P. <pe...@ch...> - 2013-07-26 17:10:50
|
Hi Lieven, I need to interface some wireless sensors to my network. The wireless sensors are AVR-based sensors that I've built. They use the RFM12B chip, just as the JeeNodes do. After looking around for a few options on how to this, it's looking like using xPL might be the best way to go about this. In the past you've mentioned that you are using xPL for exactly the same thing so I was wondering if you can give me a hand. Documentation on how to do this does not seem to be easy to find... My understanding is that I need to: 1. Grab https://github.com/hollie/xpl-perl and get it installed on my server. I understand I must use your xpl-perl instead of https://github.com/beanz/xpl-perl because beanz's xpl-perl does not have the JeeNodes support that you added. 2. Have the equivalent of a JeeLink connected to my server via serial port and running xpl-jeenode/sketch/gateway/gateway.pde. Of course, I must tweak the code in loop() to account for my own sensors. gateway.pde will receive the wireless messages and send them through the serial port to my server. 3. Then I need to somehow run an xPL daemon that will talk to my JeeLink and that will receive the messages from the wireless sensors through the serial port, convert them to xPL messages, and finally inject them into my IP network. Is this daemon xpl-jeenodes from the bin/ directory of the xpl-perl source code tree? 4. And finally, I need something that will consume the xPL messages injected by the daemon running in (3). I think I'll be using MisterHouse for this but I'll worry about that once I have xPL messages flowing through my network. Am I missing a step? And finally, are https://github.com/hollie/xpl-perl and xpl-jeenode/sketch/gateway/gateway.pde the latest versions? Thanks in advance for the help. Cheers, Eloy Paris.- |