#Homebridge-soundtouch
BoseSoundTouchpluginforHomebridge
ThisallowsyoutocontrolyourSoundTouchdeviceswithHomeKitandSiri.
##Installation
Installhomebridgeusing:npminstall-ghomebridgeInstallthispluginusing:npminstall-ghomebridge-soundtouchUpdateyourconfigurationfile.Seethesamplebelow.##ConfigurationExampleconfig.json:
"accessories":[{"accessory":"SoundTouch","name":"SpeakerBathroom","room":"Bathroom"}],Exampleconfig.jsonformultiplespeakers:
"accessories":[{"accessory":"SoundTouch","name":"SpeakerBathroom","room":"Bathroom"},{"accessory":"SoundTouch","name":"SpeakerKitchen","room":"Kitchen"}],Exampleconfig.jsontoconfigurethedeviceastypespeaker:
"accessories":[{"accessory":"SoundTouch","name":"SpeakerBathroom","room":"Bathroom""type":"speaker"}],Fields:
"accessory":Mustalwaysbe"SoundTouch"(required)"name":ThenameyouwanttousetocontroltheSoundTouch."room":ShouldmatchexactlywiththenameoftheSoundTouchdevice."type":Mustbe'Switch'or'Speaker'(Switchisdefault).ThisdeterminethetypeofdeviceforHomeKit.(SwitchissupportedbytheofficialAppleHomeKitapp,ifyouuseanotherthirdpartyapp,speakercouldbeused)Don'tusesoundtouchormusicasname,becauseSiriwilltrytoopentheSoundTouchorAppleMusicapp.
ControllingthevolumewithSiriisnotpossible,becausevolumeisnot(yet)supportedasaCharacteristic.Infact,forHomeKitthisaccessoryistreatedlikeaswitch(becausespeakeraccessoriesarenotsupported).UnlessyouuseanotherHomeKitappandconfigurethetypeparameter.
##Connecting
InstalltheInsteon+apponyouriPhoneoriPad.AddahomeAddadeviceandselectthefound'HomeBridge'accessory(pincodeis031-45-154)##Siri(English)
HéSiri,isspeakerbathroomenabled?HéSiri,isspeakerbathroomplaying?HéSiri,turnspeakerbathroomonHéSiri,turnspeakerbathroomoff##Siri(Dutch)
HéSiri,isdespeakerbadkameringeschakeld?HéSiri,isspeakerbadkameraanhetspelen?HéSiri,schakelspeakerbadkamerinHéSiri,schakelspeakerbadkameruit
评论