You only need one or more XBMC (12 a.k.a. Frodo or above) with System-Settings-Service “Allow programs on other systems to control XBMC” enabled.
[xbmc]
class_name = XBMC
class_path = plugins.xbmc
[living]
[[xbmc]]
type = str
xbmc_host = xbmc.home
# xbmc_port = 9090
xbmc_listen = state
[[[title]]]
type = str
xbmc_listen = title
[[[media]]]
type = str
xbmc_listen = media
[[[volume]]]
type = num
xbmc_listen = volume
xbmc_send = volume
[[[mute]]]
type = bool
xbmc_listen = mute
xbmc_send = mute
This attribute is mandatory. You have to provide the IP address or host name of the XBMC system.
You could specify a port to connect to. By default port 9090 is used.
You could assign the following values to xbmc_listen:
The following xbmc_send attributes could be defined to send changes to the system:
This plugin provides the function to send notification messages to xbmc. notify_all(title, message, picture) to send the notification to all xbmc systems and extends the item with the notify method. The picture attribute is optional.
sh.xbmc.notify_all('Phone', 'Sister in law calling', 'http://smarthome.local/img/phone.png')
# or for a dedicated xbmc
sh.living.xbmc.notify('Door', 'Ding Dong')