Thanks to Michael, i have a better understanding on CherryPy. It is rather amazing to use jQuery to create little boxes and buttons on a webpage. Hmm, i still have not figure out how to print the screen of Raspberry Pi… Anyway it looks pretty cool!
I have solved the problem of getting the input from the virtual keypad and use it to log into Comfort system. it is all about setting the right id and using the right id at the right place.
Then, i encounter another problem of different def functions causing those control buttons under different functions unable to send command (because of the log in?) Okay, sound confusing.
Moving on to web2py for the time being! >:)