-
Hi, I wanted to start with the smartspaker (https://nrchkb.github.io/wiki/service/smart-speaker/#characteristics) for my speakers in Roon (roonlabs.com). How do I set the HomeKit smart speaker the following characteristics (and values) for: Name, CurrentMediaState, TargetMediaState, ConfiguredName, Mute, Volume... What does CurrentMediaState, TargetMediaState mean? How do I set it? Is Mute set with false / true or 0 / 1 ? What is different between Name and ConfiguredName? A brief Node-Red example would help.. Pls advise.. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hello and welcome! First, I think @TheNON75 might have an example of this. Any chance you can share? Next, a pair of links that will help explain the bounds and limits of the various characteristics. This should help guide you for true/false or 1/0. And the first link around line 918 will show you what the current and target media states mean. https://github.com/homebridge/HAP-NodeJS/blob/master/src/lib/definitions/ServiceDefinitions.ts And finally some comments. The speaker service works best as a stand alone accessory, it shouldn't be on a bridge. Currently we have no difference between configured name and name. The format of your input payload should be json like this: {"CurrentMediaState":2} One small warning, this is one of the more difficult services. If you're totally new to the project, I'd recommend an hour or so fiddling with the demo |
Beta Was this translation helpful? Give feedback.
Hello and welcome!
First, I think @TheNON75 might have an example of this. Any chance you can share?
Next, a pair of links that will help explain the bounds and limits of the various characteristics. This should help guide you for true/false or 1/0. And the first link around line 918 will show you what the current and target media states mean.
https://github.com/homebridge/HAP-NodeJS/blob/master/src/lib/definitions/CharacteristicDefinitions.ts
https://github.com/homebridge/HAP-NodeJS/blob/master/src/lib/definitions/ServiceDefinitions.ts
And finally some comments. The speaker service works best as a stand alone accessory, it shouldn't be on a bridge. Currently we have no difference between…