updated callback functions
Merge branch 'master' of github.com:sangeeths/OpenADR