This is a Node.js application for displaying Aquastream XT pump information, such as water temperature, flow, current frequency, etc. It is built on top of node-aquastreamxt-api, which is a native Node.js addon I wrote for communicating with the hardware.
Currently it is read-only, so you can't change any settings yet. I still have some problems with writing data to the device but this is planned to be supported some day.
This guide is for Debian based distros (Debian, Ubuntu. LMDE/Mint, ...) so you might have to adjust some of the commands if you are on a different box.
$ sudo apt-get install g++
$ sudo add-apt-repository ppa:chris-lea/node.js
$ sudo apt-get update
$ sudo apt-get install python-software-properties python g++ make nodejs
(See this manual if you have problems)
cd
to the directory where you downloaded the node-aquastreamxt
sources and install it:
$ npm install
This installs all required dependencies (including node-aquastreamxt-api).
Run the app with
$ node app
and visit http://localhost:8080 - you should see the interface:
-
Make sure your current system user can access the USB device. On debian systems this can be done using an udev rule. Create a new file
99-hiddev.rules
in/lib/udev/rules.d/
with the following contents:SUBSYSTEMS=="usb", ATTRS{idVendor}=="0c70", ATTRS{idProduct}=="f0b6", MODE="0666"
-
reload udev system, if this doesn't help maybe a reboot is required
sudo udevadm control --reload-rules sudo udevadm trigger