I’m new to OpenHAB 2 and am trying to integrate my Sonos through HomeKit.
I have setup OpenHAB and Sonos and the integration is working. I can see the two speakers and control them etc.
HomeKit integration is working well too. On my iPhone I can see an OpenHAB switch which I have defined and this can control the Sonos through an OpenHAB rule to play/pause the speaker.
Ultimately what I would like to do is to use Siri to control Sonos and initiate a playlist/favourite etc. It seems that the best way to do this is to define an accessory such as a switch and then use an OpenHab rule:
Item Kitchen_Sonos_F_Kids changed to ON # HomeKit Accessory name
However, I do not seem to have the correct syntax for favourites (US or UK) and get an error message about ‘Item’ not found in the Karaf console.
Can anyone help?