Re: [SlimDevices: SqueezeCenter] Turn Off All Players

2022-03-31 Thread GeekDragon


edwin2006 wrote: 
> I purchased a 7 model but find it to slow.
> 
> Btw which command did you use to power off and on via home assist?

edwin2006 wrote: 
> I purchased a 7 model but find it to slow.
> 
> Btw which command did you use to power off and on via home assist?

Sorry for the delay, been busy with house projects. In HA you need to
have the Logitech Squeezebox integration installed. In LMS using the
Group plug-in you create a player group (Master Power) that contains all
the players you want to turn off. This group becomes an Entity in HA
which you can use as a on/off toggle in a Media Card in Lovelace. With
Developer Tools -> Services you can set up a simple Service Call to turn
off (or on or change volume or etc) and test to make sure these work
(see below). You can use the standard Media Card in HA or download some
custom button cards such as  "mattieha / slider-button-card" which offer
some cool features and use this Service Call here.

service: media_player.turn_off
data: {}
target:
entity_id: group.music

The issue I came across is minor but bothered me. You can have multiple
Groups and if you're playing one then call the Master Power Group to
turn off the music the previously playing Group remains active in the
Material Group dropdown even though all the players are off. You have to
toggle this off then back on to start up the music again. So what I did
in HA was create a "Music Group" that contains all "LMS Players and
Groups" and I use this "group.music" to turn off all players and groups.
In my case we'd want everything turned off at one time.

_HA_Group_
music:
name: Music
entities:
- media_player.bb_room
- media_player.lg_squeezebox
- media_player.sunroom
- media_player.picoreplayer
- media_player.master_power
- media_player.whole_house
- media_player.living_sun_room

Also in LMS I recommend you set all players and groups to not
automatically start when you turn them on, you might wake the dead by
mistake!

Using an IKEA Zigbee Button and On/Off Switch we have "Master Turn Off"
and a "Volume Up/Down button" on the frig. She now has complete power
over my music. Good thing she likes me! :D



PiCorePlayer 8.1 with HiFiBerry Amp2 on Raspberry Pi v3 (Outside Patio)
PiCorePlayer 8.1 with HiFiBerry Amp+ on Raspberry Pi v2 (Inside Garage)
Two Black Squeezeboxes (Sunroom & Bedroom)
One Red Squeezebox (Kitchen)
PiCorePlayer 8.1 with HiFiBerry Amp2 on Raspberry Pi v3 (Coming Soon for
Hobby Greenhouse!!)
Home Assistant on Raspberry Pi 4 using LMS Material Skin for Music
Control
Synology DS218j for Media Storage
Android Squeezer App for Mobile Music Control

GeekDragon's Profile: http://forums.slimdevices.com/member.php?userid=70046
View this thread: http://forums.slimdevices.com/showthread.php?t=116165

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Turn Off All Players

2022-03-29 Thread peterw


GeekDragon wrote: 
> ] I missed seeing the Allquiet plugin which is available for LMS v8.2.0
> but doesn't seem to work or I'm not implementing it correctly.

I'm sorry to hear that. I haven't used AllQuiet in ages, so I'm not
totally surprised. The infrared remote stuff is only designed to work
with older, non-Jive players: Boom, Classic, SB 1/2/3, Transporter,
probably also SliMP3 -- but the CLI command should work everywhere. 

Another option should be KidsPlay, using a macro like *ALL: power 0*,
which you could also tie to the button on a Receiver or a preset button
on Boom or Radio.



owner of the stuff at https://tuxreborn.netlify.app/
(which used to reside at *www. tux.org/~peterw/*)
Note: The best way to reach me is email or PM, as I don't spend much
time on the forums.
*Free plugins:* AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu
DenonSerial
FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket
SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=116165

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Turn Off All Players

2022-03-29 Thread goharbourview123


I'm a bit late to this, and realise you have a solution that works for
you now, but on the Home Assistant you can create a 'Media Player Group'
(https://www.home-assistant.io/integrations/media_player.group/) out of
all your chosen media players, which means they can all be acted on as a
single entity, including power on/off of course.



goharbourview123's Profile: 
http://forums.slimdevices.com/member.php?userid=23031
View this thread: http://forums.slimdevices.com/showthread.php?t=116165

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Turn Off All Players

2022-03-26 Thread edwin2006


I purchased a 7 model but find it to slow.



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's (SB2, SB3, Boom, Touch)
*Server:* LMS on Pi3B+ 8.1.2 on PcP 7.0.1
*Network:* Draytek, Netgear Smart Switch 24p, Ubiquiti PoE, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=116165

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Turn Off All Players

2022-03-26 Thread Redrum


GeekDragon wrote: 
> Mark, that's genius! Totally went over my head to do this. I've set this
> up and tested it with great success and now I can automate this action
> with a Zigbee button attached to the frig so my GF can simply shut
> everything down.
> 
> Thank you again and if you have any other cool Material tricks that you
> wish to share please do!
> 
> And Yes, calling it quits at 62 has been great! Never thought I could
> just chill out but it's quite easy when you give it a go.

wait until you get to the point where you are pretty sure you know what
day of the week it is (most of the time) but have no idea of the date.
:) I'm there...

Material things to know/I have discovered:

1) If you have android devices, the apk is the way to go.
2) Related, even if you are an apple family, the Amazon Fire HD tablets
are super cheap, especially if you buy them via their "deal" business
"woot!", or you buy the older generation. I prefer the HD8, and you can
get them $25-$50. They are cheap because they are an advertising machine
with the built in ad lockscreen and everything goes through amazon. But
the XDA developers site has developed a "fire toolbox" to remove all of
this (read the disclaimer in the process), add the google playstore (for
adding your apps), and more. It restores it to "looks like" stock
android. And it's real nice hardware, great display, and fast enough for
general use. Load the apk from F-Droid.

I bought a few extra and have them laying around the house as
"controllers" but they are a full tablet in functionality (browse apps,
email, etc). I am thinking about making a pi player and using a tablet
as the UI. I deployed a couple sb system to friends (after they saw
mine), and I have been waiting for deals, but and configure them a
tablet, and say "here, you owe me $40" :)

3) Podcasts - come into LMS as most recent episode on top, but people
want to listen bottom (first) to top (last). So, you add, say a season
to the queue in material, drag and drop to reorder, then you can save
the queue (say "pc season 1") and it appears in your playlist for
revisiting. Load it, play from the top, episodes play in order.

4) I recently started playing with using material as a preset handler
for internet radio stations. I have all of my stations in favorites,
under folders and subfolders, and when I want to switch, I have to
navigate the folders. What I am playing with is adding my favorite
stations (from different folders) to the material queue, then saving the
queue which creates a playlist. I can call up the playlist and select,
listen, don't like this song, select another. So I might have

I'll edit if more pop into my head.

Jim



Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806
View this thread: http://forums.slimdevices.com/showthread.php?t=116165

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Turn Off All Players

2022-03-25 Thread SpiderJon


markiii wrote: 
> Material lets you group players into multiple groups, I simply have one
> called "Master Power". I use to turn everything off with one press

In case it helps anyone else who, like me, couldn't find how to do this
in Material Skin, creating custom player groups requires a separate
plugin called "Group Players", and isn't part of Material.

But hat tip to markiii  I also now have a group called "Master
Power" :-)



Duet x 3, via various hi-fi. LMS running on Raspberry Pi OS (Debian 10)
+ OMV on a Pi4 (4GB RAM) in an Argon Neo case.

SpiderJon's Profile: http://forums.slimdevices.com/member.php?userid=21798
View this thread: http://forums.slimdevices.com/showthread.php?t=116165

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Turn Off All Players

2022-03-25 Thread GeekDragon


markiii wrote: 
> Material lets you group players into multiple groups, I simply have one
> called "Master Power". I use to turn everything off with one press

Mark, that's genius! Totally went over my head to do this. I've set this
up and tested it with great success and now I can automate this action
with a Zigbee button attached to the frig so my GF can simply shut
everything down.

Thank you again and if you have any other cool Material tricks that you
wish to share please do!

And Yes, calling it quits at 62 has been great! Never thought I could
just chill out but it's quite easy when you give it a go.



GeekDragon's Profile: http://forums.slimdevices.com/member.php?userid=70046
View this thread: http://forums.slimdevices.com/showthread.php?t=116165

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Turn Off All Players

2022-03-25 Thread markiii


great isn't it



PiCorePlayer 7.1 on Allo Digi One Signature (Lounge)
PiCorePlayer 8.1 with  hifiberry Dig+ Material running on PI for control
(Office)
PiCorePlayer 8.1 with pi official touchscreen and hifiberry
DAC+(Kitchen)
Radio  (Bedroom)
PiCorePlayer 8.1 with Allo BOSS  DAC (Bedroom)
PiCorePlayer 8.1 with hifiberry AMP+. Squeezelite=x for control
(Garage)
PiCorePlayer 8.1 with hifiberry AMP+(Patio 2)
PiCorePlayer 8.1.1 with hifiberry AMP+(Patio 2)

LMS 8.1 on DIY unRaid 6 Server (i5)

markiii's Profile: http://forums.slimdevices.com/member.php?userid=63801
View this thread: http://forums.slimdevices.com/showthread.php?t=116165

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Turn Off All Players

2022-03-25 Thread Redrum


GeekDragon wrote: 
> .I'm recently retired so have the time to work with it.
> 

Congratulations! Welcome to bliss! :cool::D



Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806
View this thread: http://forums.slimdevices.com/showthread.php?t=116165

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Turn Off All Players

2022-03-25 Thread GeekDragon


Redrum wrote: 
> I also thought of that, but he said he wants to turn off all players
> regardless of if they are grouped/synced or not. He wants an "all of"
> (or so it seems).
> 
> Jim

Jim is correct. There may be times one player in the kitchen is playing
something different than outside therefore not grouped. I missed seeing
the Allquiet plugin which is available for LMS v8.2.0 but doesn't seem
to work or I'm not implementing it correctly. I've also installed
Node-Red in Home Assistant since there is a Squeezebox plugin for
Node-Red and I'm having a play with that. I'm not terribly knowledgeable
on Node-Red but I'm recently retired so have the time to work with it.

Thanks for everyone's input!



GeekDragon's Profile: http://forums.slimdevices.com/member.php?userid=70046
View this thread: http://forums.slimdevices.com/showthread.php?t=116165

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Turn Off All Players

2022-03-25 Thread markiii


Material lets you group players into multiple groups, I simply have one
called "Master Power". I use to turn everything off with one press



PiCorePlayer 7.1 on Allo Digi One Signature (Lounge)
PiCorePlayer 8.1 with  hifiberry Dig+ Material running on PI for control
(Office)
PiCorePlayer 8.1 with pi official touchscreen and hifiberry
DAC+(Kitchen)
Radio  (Bedroom)
PiCorePlayer 8.1 with Allo BOSS  DAC (Bedroom)
PiCorePlayer 8.1 with hifiberry AMP+. Squeezelite=x for control
(Garage)
PiCorePlayer 8.1 with hifiberry AMP+(Patio 2)
PiCorePlayer 8.1.1 with hifiberry AMP+(Patio 2)

LMS 8.1 on DIY unRaid 6 Server (i5)

markiii's Profile: http://forums.slimdevices.com/member.php?userid=63801
View this thread: http://forums.slimdevices.com/showthread.php?t=116165

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Turn Off All Players

2022-03-25 Thread Redrum


epoch1970 wrote: 
> In the preferences for each player, sync section, you can find:

I also thought of that, but he said he wants to turn off all players
regardless of if they are grouped/synced or not. He wants an "all of"
(or so it seems).

Jim



Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806
View this thread: http://forums.slimdevices.com/showthread.php?t=116165

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Turn Off All Players

2022-03-25 Thread epoch1970

In the preferences for each player, sync section, you can find:
> Synchronize Power
> You can choose to have this player turn off on its own, or turn off as a
> group with all other players in the group. Make a selection below and
> click Change.
> 
> [Power on/off separately|Power on/off with group]



2 SB 3 • 1 PCP 7 • Libratone Loop, Zipp, Zipp Mini • iPeng (iPhone +
iPad) • LMS 8.1 (docker) with plugins: CD Player, WaveInput by bpa •
Material Skin by Craig Drummond • IRBlaster by Gwendesign (Felix) •
Smart Mix, Music Walk With Me, What Was That Tune? by Michael Herger •
PowerSave by Jason Holtzapple • Song Info, Song Lyrics by Erland
Isaksson • BBC Sounds by Stuart McLean • AirPlay Bridge by philippe_44 •
Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=116165

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Turn Off All Players

2022-03-25 Thread Redrum


I have never used it, and don't know if it's still viable, or current
LMS supports it, or all players (basically, I don't know
anything)...but.

There is a 3rd party plugin called "allQuiet", here's some info
https://tuxreborn.netlify.app/slim/allquiet

Jim



Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806
View this thread: http://forums.slimdevices.com/showthread.php?t=116165

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] Turn Off All Players

2022-03-25 Thread GeekDragon


It's not uncommon for me to have different music playing in different
rooms and more times that not it drives my girlfriend bonkers especially
when friends come over chat or it's getting late. Normally she asks me
to turn off the music which I happily oblique but it would be better if
she could open Home Assistant on her phone and blast them all at one
time. I have Home Assistant set up on one RaspPi and piCorePlayer on
another with 3 Squeezeboxes and 1 piCore Player scattered around the
house and outside (soon to be adding another piCore Player to the
Greenhouse! ;) ).

I've tried this command
"...localhost:9000/status.html?p0=stop=Player1=Player2"
but it only shuts off Player2. Is there a command to shut off all
players regardless of whether they are grouped or not? I also use the
Group Players plugin in LMS and the Material skin on HA.

Many thanks!



GeekDragon's Profile: http://forums.slimdevices.com/member.php?userid=70046
View this thread: http://forums.slimdevices.com/showthread.php?t=116165

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter