Script to read data from P1 port of a smart and store in a rrdtool database