# Speaker\_track speaker\_album can't be set?

**URL:** <https://community.homey.app/t/speaker-track-speaker-album-cant-be-set/6617>\
**Category:** Developers\
**Created:** [January 11, 2019, 12:26pm UTC](https://community.homey.app/t/speaker-track-speaker-album-cant-be-set/6617 "2019-01-11T12:26:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SlicingHaunt](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@SlicingHaunt](https://community.homey.app/u/SlicingHaunt)\
**Post date:** [January 11, 2019, 12:26pm UTC](https://community.homey.app/t/speaker-track-speaker-album-cant-be-set/6617/1 "2019-01-11T12:26:26Z")

</div>

Hi all,

I’m the developer for the Bose Soundtouch devices but I just can’t seem to figure out how to set the current playing track and album capabilities in Homey.

The speaker\_track and speaker\_album are capabilities that can’t be set through device.setCapability.

I hoped to check the Athom sonos repository but that repository is no longer open source. (weird)

Who can help me on this topic?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [January 11, 2019, 12:29pm UTC](https://community.homey.app/t/speaker-track-speaker-album-cant-be-set/6617/2 "2019-01-11T12:29:47Z")

</div>

> [@SlicingHaunt](#):
>
> The speaker\_track and speaker\_album are capabilities that can’t be set through device.setCapability.

Why not? They should be available according to [Homey Developer Tools](https://developer.athom.com/docs/apps-reference)

---

<div class="post-metadata">

**Author:** ![SlicingHaunt](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@SlicingHaunt](https://community.homey.app/u/SlicingHaunt)\
**Post date:** [January 11, 2019, 1:07pm UTC](https://community.homey.app/t/speaker-track-speaker-album-cant-be-set/6617/3 "2019-01-11T13:07:50Z")

</div>

speaker\_track and speaker\_album are only getable and not setable.  
Trying to set them results in a capability not found error.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [January 11, 2019, 1:23pm UTC](https://community.homey.app/t/speaker-track-speaker-album-cant-be-set/6617/4 "2019-01-11T13:23:02Z")

</div>

Ugh, I see. You should contact Athom ([https://support.athom.com/hc/en-us/requests/new](https://support.athom.com/hc/en-us/requests/new)) to ask about that.

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [January 11, 2019, 1:44pm UTC](https://community.homey.app/t/speaker-track-speaker-album-cant-be-set/6617/5 "2019-01-11T13:44:45Z")

</div>

Not setable only means that the end user can’t “set” it, setCapabilityValue does work on that.  
You most likely made another mistake, not setting the capability in the app.json for example, at the `"driver": { "capabilities": []}` or didn’t re-include after adding the capabilitie(s)

Edit: or aren’t on homey v2, as those are only homey v2 capabilities

---

<div class="post-metadata">

**Author:** ![SlicingHaunt](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@SlicingHaunt](https://community.homey.app/u/SlicingHaunt)\
**Post date:** [January 11, 2019, 3:07pm UTC](https://community.homey.app/t/speaker-track-speaker-album-cant-be-set/6617/6 "2019-01-11T15:07:45Z")

</div>

You were right. I checked using device.getCapabilities() and saw that the capability was missing.  
It is functioning now 🙂
