Gaining value from the internet of things