RubyGems Navigation menu

xap_ruby 0.1.0

This gem provides basic xAP Automation protocol support for EventMachine applications. It was developed for use in Nitrogen Logic controller software. There are no automated tests and the code could be improved in many ways, but it may still be useful to someone. This is a Ruby library written from scratch for communicating with a home automation network using the xAP protocol. Supports sending and receiving arbitrary xAP messages, triggering callbacks on certain received messages, etc. Also includes an implementation of an xAP Basic Status and Control device. Incoming xAP messages are parsed using an ad-hoc parser based on Ruby's String#split() and Array#map() (a validating Treetop parser is also available). Network events are handled using EventMachine.


  1. 0.1.0 - January 05, 2017 (22 KB)

Runtime Dependencies (2):

  • eventmachine >= 0.12.10
  • treetop >= 1.4.10
  • Development Dependencies (4):

  • bundler ~> 1.13
  • pry >= 0
  • pry-byebug >= 0
  • rake ~> 10.0
  • Owners:


    • Mike Bourgeous

    SHA 256 checksum:


    Total downloads 989

    For this version 989

    = Copy to clipboard Copied!




    Required Ruby Version: >= 0