insert sensor record to mongodb