@strawberry-3.141 That doesnt work. Kitchen is the only room NOT excluded in my config.js
Kitchen, then group in Living room - shows info.
Living room, then grouping in Kitchen - doesnt show.
@strawberry-3.141 That doesnt work. Kitchen is the only room NOT excluded in my config.js
Kitchen, then group in Living room - shows info.
Living room, then grouping in Kitchen - doesnt show.
@strawberry-3.141 I love how you think I know what that means. Ha! I’ll take your word on that and give it a go
@strawberry-3.141 shouldnt the first line have ‘function’ in it?
$.each(data, function (i, item) {
@strawberry-3.141 Yes I think so.
Excluding all rooms but ‘Kitchen’,
Nested rooms "Living rioom, Kitchen’ - shows nothing
Nested rooms "Kitchen, Living room’ shows info
@strawberry-3.141 There might be a reason why this hasnt been done before.
If you exclude all rooms in your house leaving ‘Kitchen’ the only one included in your config file,
If Kitchen plays music, and then Living room is grouped in with Kitchen the code works
the name of the rooms displayed would be Kitchen, Living room (the order of the rooms if the order they were grouped)
but if you have living room playing music and then group in kitchen, then the order is different, :
Living room, Kitchen
and then the code doesnt work.
Im guesing the code you wrote see’s Living room is excluded and then doesnt show the rest?
@strawberry-3.141 Can I clarify then… would config file under the sonos module be:
exclude: ‘Bedroom’,‘Living room’,‘Bathroom’,
@strawberry-3.141 said in Limit Sonos module to only show a specific speaker:
if(item.coordinator.roomName === ‘Kitchen’){
It works! hurrah! Thanks. much appreciated.
not sure how to fork the repository - but I can research this bit.
Thank again.