iAQ Stick

Requirements

  • pyusb
  • udev rule

install by

apt-get install python3-setuptools
easy_install3 pyusb
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2013", MODE="666"' > /etc/udev/rules.d/99-iaqstick.rules
udevadm trigger

Supported Hardware

  • Applied Sensor iAQ Stick
  • Voltcraft CO-20 (by Conrad)
  • others using the same reference design

Configuration

plugin.conf

[iaqstick]
    class_name = iAQ_Stick
    class_path = plugins.iaqstick
#    update_cycle = 10

Description of the attributes:

  • update_cycle: interval in seconds how often the data is read from the stick (default 10)

items.conf

You can use all commands available by the serial interface.

For a explanation of all available commands type ‘help’ when connected to robot

Attributes: * iaqstick_info: used to get data from the stick

Fields: * ppm: get the air quality measured in part-per-million (ppm)

[iAQ_Stick]
  [[PPM]]
    type = num
    sqlite = true
    iaqstick_info = ppm