Added the core functionality, will debug in a minute or two
Merge branch 'botl' of https://github.com/MrTomWhite/HomeBase into botl