Aggregate temperature by hour

Remember to change your mysql login. I changed it.
I'll put it in a config file next commit.