XBMC service for home automation (using Raspberry Pi)