temperature capture to pgsql added