add demo program

add demo program. to get state and temperature.