I'm trying to develop an indoor air quality monitor/logger using a WR703N and a HID air quality monitor. The device is recognised by the system:
-----------------------------------------------------
ATTITUDE ADJUSTMENT (12.09, r36088)
-----------------------------------------------------
* 1/4 oz Vodka Pour all ingredients into mixing
* 1/4 oz Gin tin with ice, strain into glass.
* 1/4 oz Amaretto
* 1/4 oz Triple sec
* 1/4 oz Peach schnapps
* 1/4 oz Sour mix
* 1 splash Cranberry juice
-----------------------------------------------------
root@OpenWrt:~# dmesg | grep hid
[ 31.570000] generic-usb 0003:03EB:2013.0001: hiddev0: USB HID v1.11 Device [AppliedSensor iAQ Stick] on usb-ehci-platform-1/input0
[ 31.580000] usbcore: registered new interface driver usbhid
[ 31.590000] usbhid: USB HID core driver
root@OpenWrt:~#
What I've read suggests that I could use a Lua script to read HID reports from the device. I have no experience in developing such scripts and would appreciate any guidance/advice to at least get started. Are there alternative ways to read reports from HID devices?
Does the file "/dev/usb/hiddev0" contain HID reports or information on how to access them? I've tried opening it but to no avail.