Python script to read data from XRF (serial) and post to database