Homey Community

Speaker_track speaker_album can't be set?


#1

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?


#2

Why not? They should be available according to https://developer.athom.com/docs/apps-reference


#3

speaker_track and speaker_album are only getable and not setable.
Trying to set them results in a capability not found error.


#4

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


#5

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


#6

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