add code for get current temperature
add code for get current illumination