Code snippets for IoT Week London - 17-20 July