Switched to a python serial port monitor which updates mongodb on the fly.
authorPat Thoyts <Patrick.Thoyts@renishaw.com>
Wed, 18 May 2016 09:00:48 +0000 (10:00 +0100)
committerPat Thoyts <Patrick.Thoyts@renishaw.com>
Wed, 18 May 2016 09:00:48 +0000 (10:00 +0100)
commit44f951e1bc9c970fc63c16f8a2c437ca78e65eb7
tree1eaec877f74d785e742206debd8a912d12ab330d
parent0c4470871a066c8bb5eb4a1405d77db0c31c685e
Switched to a python serial port monitor which updates mongodb on the fly.

The database is now directly updated by the serial monitor which is using
twisted to read the serial lines. Timestamps and values are now numerical
and not stored in the db as strings so minor change in the wsgi to handle
that.
monitor.py [new file with mode: 0755]
sensor-hub.conf
sensor-hub.wsgi
sensordata.py