WebAPI layer for my SmartHome