I used a thermistor and a solar cell in my apartment with along with an Xport to measure the temperature and the amount of light in my apartment.

Xport and Pic code

PHP script to insert Xport data into database

PHP dataviewer Code | View the dataviewer

temperture data-Jeungah Kim