I managed to add my airplay speakers to smartthings with multiroom by doing the following:
Set up airplay speakers onto network (simple)
Install airfoil for use of multiple speakers
Install HA Bridge
Use the usage commands in airfoil-api reade.md to find speakers and add the on/off/dim commands for each speaker into HA Bridge.
This saves the speakers as hue lights in a new “hue bridge”.
The speakers will now be found by Alexa - good start!
I wanted them in smartthings but I already had a hue bridge connected so I added this smart app and all the device handlers in the IDE
I was then able to add the new “hue bridge” and then the speakers as dimmable lights into smartthings!
To add siri support I installed homebridge on my computer and the smartthings plugin
To get the config.json right I installed the smartapp in the smartthings IDE by pdlove and copied the generated config.
I was then able to control my speakers via any lighting app in smartthings, setting rules for arrival, departure, motion, time etc. I could also control my speakers via Alexander and any smartthings device I had selected via siri and home kit!
I then resigned in to smartthings on my logitech harmony hub to control the speakers via remote control (they are in the lights section).
For android wear I simply used the cleverobjects app
This requires launching of the wear app to use but it does respond to voice when it’s open.
I’m not too hot on coding, these are all bits I’ve found over the last few months but I’ll try and help anyone if I can.