XBee Radio

The xbee plugin allows to listen for data through an XBee Radio device. These devices uses ZigBee for their communication and the xbee plugin allows to retrieve those messages when using an XBee. In order to use this plugin is required to write a siple configuration file before to run Fluent Bit.

Configuration File

Fluent Bit sources distribute an example configuration file for the serial interface and it's located under conf/serial_input.conf. The plugin recognizes the following setup under a XBEE section:

Key Description
File Absolute path to the device entry, e.g: /dev/ttyUSB0
Baudrate Specify the baudrate for the communication, e.g: 9600, 38400, 115200, etc

Here is an example:

[SERIAL]
    # File
    # ====
    # Filename of serial port. e.g. /dev/ttyS0, /dev/ttyAMA0

    File    /dev/ttyS0

    # Bitrate
    # ========
    # Specify the baudrate

    Bitrate 9600

Running

Once the configuration file is in place, make sure your XBee device is recognized by your operating system before starting Fluent Bit, then you can start it with the following way:

$ bin/fluent-bit -c xbee.conf -i xbee -o stdout -V

As input data the xbee plugin recognize the following JSON data formats:

1. { map => val, map => val, map => val }
2. [ time, { map => val, map => val, map => val } ]

results matching ""

    No results matching ""