some updates to api
Merge branch 'master' of github.com:Zucka/SmartHouse