A demo wrote in Swift for HomeKit. Work with HomeKit Simulator