Restful service for home sensor