A cloud based software platform for the IOT and open hardwares in the smart home environment