Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2022-12-16 Thread Paul Webster


I think I saw something about DialogFLow being phased out by Google and
that the replacement was not really equivalent so things would have to
be done in a different way in the near future.



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2022-12-16 Thread itm


I'm just looking at this again, now that I've upgraded HA to the latest
version. I've only just discovered that DialogFlow is a paid service.
Does that mean that there is no cost-free way of using this utility?



itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2021-10-08 Thread Paul Webster


Given that you have an Alexa device your can try out the integration for
free.
But head over to one of the Alexa threads for more.



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla
finland, abc australia, cbc/radio-canada and rte ireland
and, via the extra \"radio now playing\" plugin, cesky rozhlas,
jukeradio, klassikradio.de, nova.fr

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2021-10-08 Thread ChipMonk


Paul Webster wrote: 
> This thread is about Google Home integration - not Amazon Alexa.
> 
> If you do want Alexa then search this forum and you will find at least 3
> solutions that are supported by 3rd-party developers.

My mistake Paul. I should have said Alexa and/or Google. 

My Home Assistant implementation is quite recent and I'm still trying to
figure out if this offers an easier/more secure/more robust/more cost
effective option for voice control, or not. I have Amazon Prime and a
couple of Echos but also lots of Google Android devices so all options
open.



ChipMonk's Profile: http://forums.slimdevices.com/member.php?userid=40072
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2021-10-08 Thread Paul Webster


ChipMonk wrote: 
> I would like to have Alexa voice control of my LMS over and above basic
> on/off volume up/down i.e. selection and playing of favourites, music
> folders and/or specific song tracks from my collection.

This thread is about Google Home integration - not Amazon Alexa.

If you do want Alexa then search this forum and you will find at least 3
solutions that are supported by 3rd-party developers.



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla
finland, abc australia, cbc/radio-canada and rte ireland
and, via the extra \"radio now playing\" plugin, cesky rozhlas,
jukeradio, klassikradio.de, nova.fr

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2021-10-08 Thread ChipMonk


Has anyone made any further progress here? I have Touch and RasPi
pCorePlayers throughout my home and now got RasPi Home Assistant up and
running. I would like to have Alexa voice control of my LMS over and
above basic on/off volume up/down i.e. selection and playing of
favourites, music folders and/or specific song tracks from my
collection. I'd pay for Nabu Casa HA icloud integration if that would do
it but I haven't found much evidence of this to date. Having had fingers
burnt in the past, I'm reluctant to open up ports on my router and I'm
getting a bit old to set up all the LMS Controls from first principles,
hence my interest in Nabu Casa.

If anyone else shares these goals and has made any progress I would very
much welcome tips and suggestions

Thanks in advance

Chip



ChipMonk's Profile: http://forums.slimdevices.com/member.php?userid=40072
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2021-08-22 Thread Paul Webster

Artz wrote: 
> Are you saying you got Google home to talk to Squeezebox server
> completely locally? That is great. Is the code open? Can you out the
> instructions on git if possible?

I would have no issue with sharing it … if I remembered how I did it …
I didn’t document it at the time because I didn’t see it as a quick hack
and not a good starting point for a long-term solution.



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla
finland, abc australia, cbc/radio-canada and rte ireland

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2021-08-22 Thread Artz


Paul Webster wrote: 
> Hello Tony/ynot,
> 
> Long after your add-on was released, Google made it easier to control
> media players.
> 
> Yesterday I experimented with the Google / HA (local install not Nabu
> Casa or Docker) out-of-the-box and I have basic pause/resume & volume
> working.
> 
> I know that your add-on adds a lot more.
> 
> My question ... with the newish capabilities from Google Assistant for
> controlling media players would it be feasible to use their capability
> without having to go through Dialogue Flow?
> 
> If the HA built-in capability include treating LMS favourites like Input
> Selectors then I think I would not need anything more and am tempted to
> see if I can add that into the standard HA.
> Then I could say something like
> set input to preset 4 on bedroom radio
> to play BBC Radio 4 on a bedroom Squeezebox.

Are you saying you got Google home to talk to Squeezebox server
completely locally? That is great. Is the code open? Can you out the
instructions on git if possible?



Artz's Profile: http://forums.slimdevices.com/member.php?userid=65183
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2021-07-29 Thread Karl_S


Hello,

I am interested in what is being done here but do not use Home
Assistant.  Is there a place where the items HA is doing is being
explained well so I can see if I could adapt this to use a different hub
or even Node Red?  Would be great if it were more generic to a hub.

Kindest Regards,
Karl_S



Karl_S's Profile: http://forums.slimdevices.com/member.php?userid=71971
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2021-02-16 Thread Paul Webster


Hello Tony/ynot,

Long after your add-on was released, Google made it easier to control
media players.

Yesterday I experimented with the Google / HA (local install not Nabu
Casa or Docker) out-of-the-box and I have basic pause/resume & volume
working.

I know that your add-on adds a lot more.

My question ... with the newish capabilities from Google Assistant for
controlling media players would it be feasible to use their capability
without having to go through Dialogue Flow?

If the HA built-in capability include treating LMS favourites like Input
Selectors then I think I would not need anything more and am tempted to
see if I can add that into the standard HA.
Then I could say something like
set input to preset 4 on bedroom radio
to play BBC Radio 4 on a bedroom Squeezebox.



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2021-01-24 Thread itm


I run a very old release of Home Assistant (0.65.0) on Lubuntu/Docker.
The last time I tried to upgrade to a newer release I spent a few hours
trying to fix the things that were broken in my config but eventually
gave up.

Does anyone know if it's possible to get this running with older
(pre-Lovelace) versions of HA which don't have an "Integrations" menu
option in the UI?



itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2021-01-23 Thread quart-temps


Hi !
I'm struggling with the install.
I'm using Hassio installed on a Synology through docker.
I don't get how to access the files outside docker (for the shell
commands)


Code:

 shell_command:
  lms_qry_alb: 'bash /config/shell/qry_alb.sh {{text1}} {{text2}}'
  lms_qry_alb_song: 'bash /config/shell/qry_alb_song.sh {{text1}} {{text2}} 
{{text3}}'
  lms_qry_art: 'bash /config/shell/qry_art.sh {{text1}}'
  lms_qry_playlist: 'bash /config/shell/qry_playlist.sh {{text1}}'
  lms_spot_art: 'bash /config/shell/spot_art_top.sh {{text1}}'
  lms_spot_art_alb: 'bash /config/shell/spot_art_alb.sh {{text1}} {{text2}}'
  lms_spot_art_alb_song: 'bash /config/shell/spot_art_alb_song.sh {{text1}} 
{{text2}} {{text3}}'
  lms_spot_playlist: 'bash /config/shell/spot_playlist.sh {{text1}}'
  lms_qry_player_stat: 'bash /config/shell/qry_player_stat.sh {{text1}}' 




quart-temps's Profile: http://forums.slimdevices.com/member.php?userid=70645
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2021-01-03 Thread nervoteso


hello
is there any plugin to make lms players working with vocal assistant?

i'm using ifttt until now



Touchx2,radiox4, Squeezebox Server 7.9 (Raspberrypi 3 and qnap ts-269)

nervoteso's Profile: http://forums.slimdevices.com/member.php?userid=30262
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2021-01-01 Thread didjean


didjean wrote: 
> Hi all,
> Really willing to control my SBs with Google Assistant/home - I really
> think this is the biggest missing part of our beloved LMS
> infrastructure. 
> I have started looking at Home Assistant and have read instruction on
> Github about LMS Controls. I got quickly discouraged unfortunately :-).
> Having to use dyndns and opening ports were the main obstacles. 
> While playing a little bit with Hassio, I have discovered Nabu Casa and
> was wondering if this could be used, partially used or not? 
> I would definitely pay a fee if I was getting an almost plug and play
> service to connect LMS to GA.
> Thx for your feedback!

Anyone an idea/info on using Nabu Casa?



Transporter, Touch, SB3, SB2, Duet, Booms, Radios, piCorePlayer ---
iPeng & Material --- LMS 8.0.1 - 1606928904 on Pi4 4GB - Max2Play ---
Qobuz

didjean's Profile: http://forums.slimdevices.com/member.php?userid=2900
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2020-12-09 Thread didjean


Hi all,
Really willing to control my SBs with Google Assistant/home - I really
think this is the biggest missing part of our beloved LMS
infrastructure. 
I have started looking at Home Assistant and have read instruction on
Github about LMS Controls. I got quickly discouraged unfortunately :-).
Having to use dyndns and opening ports were the main obstacles. 
While playing a little bit with Hassio, I have discovered Nabu Casa and
was wondering if this could be used, partially used or not? 
I would definitely pay a fee if I was getting an almost plug and play
service to connect LMS to GA.
Thx for your feedback!



Transporter, Touch, SB3, SB2, Duet, Booms, Radios, piCorePlayer ---
iPeng & Material --- LMS 8.0.1 - 1606928904 on Pi4 4GB - Max2Play ---
Qobuz

didjean's Profile: http://forums.slimdevices.com/member.php?userid=2900
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2020-08-21 Thread pratt733


ynot1234567890 wrote: 
> Glad it worked out.  As for the Favorite and Random mix, I've never
> really made use of those features in LMS, I use a similar feature with
> Spotify via LMS.  
> 
> I will consider the implementation of these LMS features in my Winter
> upgrade (should have some free time).  There are a few other items on
> the to do list as well.
> 
> Stay Tuned.  Ynot

At the risk of being a pest, would there be any chance you'd implement
this anytime soon?



pratt733's Profile: http://forums.slimdevices.com/member.php?userid=64824
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2020-03-23 Thread ynot1234567890


corrobor wrote: 
> Hi, It works well. A question: Is there a way to talk in my language
> (italiano)? So instead to Say "play the Doors in the kitchen" i would
> Say "riproduci the Doors in cucina".
> Thanks

I believe you could make that work by changing the language setting to
Italian in DialogFlow and then changing the phrases.  I did do a bit of
work for French and it seems to work (mostly).  My French is a bit
rough.



*software* - logitech media server version: 8.0 (docker), home assistant
0.105.5, dialogflow - v.2 api, 'lms controls app'
(https://github.com/ynot123/lms_controls) - voice control of lms, 
openmediavault 5.2
*add-ons* - spotty, upnp / dlna bridge, cast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0 with iqaudio tophat,
android- sb player with viper4android convolution engine,  googlehome
and google minis
*hardware* - hp desktop - i7-3.4ghz, 4gb ram, 6tb storage, debian

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2020-03-21 Thread corrobor


Hi, It works well. A question: Is there a way to talk in my language
(italiano)? So instead to Say "play the Doors in the kitchen" i would
Say "riproduci the Doors in cucina".
Thanks



corrobor's Profile: http://forums.slimdevices.com/member.php?userid=69872
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2020-03-01 Thread ynot1234567890


Umbe wrote: 
> Hi everyone ,
> Sorry  i just need your help because i am stucked on the config between
> HA & LMS
> 
> I have a couple of questions :
> Shall i need the 443 forwarding to work even if i do not use google
> voice?
> 
> my_domain=xxx.synology.me does this need any port ?
> HA_Token=yyy
> lms_ip=xx.xx.xx.xx  does this need any port ?
> 
> 
> Hass.io or Home Assistant must support the following commands in order
> for the shell commands to work:
> 
> curl, jq, nc, socat (for secure LMS only). Note: if your system
> doesn't support nc, netcat can be used but the shell files will need to
> be modified to reflect this change.
> 
> shall i need to install something more ?
> 
> thanks all

If you want your HA system accessible over the internet you will need to
port forward your router and the DuckDNS / Let's Encrypt addon is the
easiest way I found to get things to work.  I am sure you could probably
use the synology DNS service but it may take some fiddling.  If you can
reach your HA install from the internet then your golden :).  

Even without Google Voice you will need your HA token, the proper ports
for LMS need to be defined as these can be changed.  The shell file
env_var.sh specifies the cli_port for lms.

Finally take care in defining the player names it is case sensitive (see
post 214 above) they are usually lower case in HA.  This is often why
the play pause commands don't work.

Ynot.



*software* - logitech media server version: 8.0 (docker), home assistant
0.105.5, dialogflow - v.2 api, 'lms controls app'
(https://github.com/ynot123/lms_controls) - voice control of lms, 
openmediavault 5.2
*add-ons* - spotty, upnp / dlna bridge, cast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0 with iqaudio tophat,
android- sb player with viper4android convolution engine,  googlehome
and google minis
*hardware* - hp desktop - i7-3.4ghz, 4gb ram, 6tb storage, debian

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2020-03-01 Thread Umbe


Hi everyone ,
Sorry  i just need your help because i am stucked on the config between
HA & LMS

I followed github dot
com/ynot123/LMS_Controls/blob/master/Installation%20Instructions.md this
link , and i would start avoiding the controls from google , i will
implement them later.
I wanted just to implement the control of the LMS into HA  to manage the
selection of the music.
I have 2 players running , 1 lms on synology , HA on docker ,  but i
cannot get the commands play pause to work.

I have a couple of questions :
Shall i need the 443 forwarding to work even if i do not use google
voice?

my_domain=umby.synology.me does this need any port ?
HA_Token=yyy
lms_ip=xx.xx.xx.xx  does this need any port ?


Hass.io or Home Assistant must support the following commands in order
for the shell commands to work:

curl, jq, nc, socat (for secure LMS only). Note: if your system
doesn't support nc, netcat can be used but the shell files will need to
be modified to reflect this change.

shall i need to install something more ?

thanks all



Umbe's Profile: http://forums.slimdevices.com/member.php?userid=69902
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2020-02-18 Thread bribbon


Thanks for the valuable tip. I like to follow up. 
Thank you for taking up those points. I'm glad.



bribbon's Profile: http://forums.slimdevices.com/member.php?userid=63251
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2020-02-18 Thread ynot1234567890


bribbon wrote: 
> Hey Ynot,
> that's exactly what it was. Thank you very much for your answer! Cool,
> it now works perfectly. :D
> 
> Do you know how I can add a drop down menu for the playlist and radio
> stations instead/additional of the query? Also a drop down menu for the
> 6 favourites (or entity selection) would be cool.
> 
> All the best,
> bribbon

Glad it worked out.  I will consider those suggestions for the next
revision due out soon.  You should be able to figure it out by looking
at some of the code in use.  Input_select would provide a pull down with
your choices then call the appropriate script (playlist or radio station
script and pass the selected value, etc..)  I tend to use Spotify and
voice activation for the most part so pulling up a playlist or radio
station is pretty easy. "Hey google ask LMS Controls to play radio
station CBC in the kitchen"



*software* - logitech media server version: 7.9.3 (docker), home
assistant 0.140.3, dialogflow - v.2 api, 'lms controls app'
(https://github.com/ynot123/lms_controls) - voice control of lms, 
openmediavault 5.2
*add-ons* - spotty, upnp / dlna bridge, cast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0 with iqaudio tophat,
android- sb player with viper4android convolution engine,  googlehome
and google minis
*hardware* - hp desktop - i7-3.4ghz, 4gb ram, 6tb storage, debian

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2020-02-18 Thread bribbon


Hey Ynot,
that's exactly what it was. Thank you very much for your answer! Cool,
it now works perfectly. :D

All the best,
bribbon



bribbon's Profile: http://forums.slimdevices.com/member.php?userid=63251
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2020-02-18 Thread ynot1234567890


bribbon wrote: 
> Hey Ynot,
> I also want to compliment you on the great piece of software. For a long
> time I have been using LMS for my two Squeezebox players (baby), 
> which are now also available at reasonable prices.
> 
> .
> 
> Thanks and a happy sunday!
> bribbon

I believe based on your description that it's a Uppercase issue.  For
the following input_selects the player names should be lower case as
this is how they are generally identified automatically by HA's
squeezebox add-on.  In the code I use these values to call up the proper
player.  For reference the following is my input_select values:

Code:

  lms_player:
  name: Media Player Name
  options:
  - mediaroom
  - kitchen
  - garage
  - familyroom
  - googlehome
  - bathroom
  - googlemini_2
  icon: mdi:cast-connected
  
  ###  To be updated as required
  ###   - Update options to reflect the media player names you have available 
as defined in customization section
  lms_sync_master:
  name: Master Player (Sync Source)
  options:
  - mediaroom
  - kitchen
  - garage
  - familyroom
  - googlehome
  - bathroom
  - googlemini_2
  icon: mdi:cast-connected
  



I believe your should read:  *radio_buro* and* radio_kuche* rather than
*Radio_Buro* and *Radio_Kuche*.  That should get the volume, play,
pause, etc..  working.  Your entity listing above is correct, the first
entity is media_player type and the second one the boolean is used for
setting the sync parameter for the player.

Give that a go.  Ynot



*software* - logitech media server version: 7.9.3 (docker), home
assistant 0.140.3, dialogflow - v.2 api, 'lms controls app'
(https://github.com/ynot123/lms_controls) - voice control of lms, 
openmediavault 5.2
*add-ons* - spotty, upnp / dlna bridge, cast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0 with iqaudio tophat,
android- sb player with viper4android convolution engine,  googlehome
and google minis
*hardware* - hp desktop - i7-3.4ghz, 4gb ram, 6tb storage, debian

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2020-02-15 Thread bribbon

Hey Ynot,
I also want to compliment you on the great piece of software. For a long
time I have been using LMS for my two Squeezebox players (baby), 
which are now also available at reasonable prices.
29409

When I discovered HA 8 days ago and managed to integrate LMS into HA two
days later, I was very happy. This combination was new to me. Yesterday
I discovered LMS-Control. It blows my mind.  *smile*
But something doesn't work and I can't do it alone, I tried all day long
and searched both threads for tips.

*
My setup:
HA 0.105.4 with HASS.IO 0.21.5
LMS-Control Dec. 12, 2019
on
Synology NAS
in two
Docker containers

the configuration.yaml path is /config
shell   /config/shell
packages/config/packages
*

I have copied the files according to the instructions and adapted them
to my local setup. After that I had the following situation:
(a) I have no "LMS-Control" tab on the HA GUI
(b) Now instead of two, I have four players under integrities (the
yellows are from HA):
29407


I solved the problem (a) by adding the code from the file
ui-lovelace.yaml (git-version) with the raw-editor into HA GUI. It shows
me now the controls. If I look for the artist weezer it finds this one
too. What I consider good, is it true?



29408

(c) But the other controls like play or volume have no influence,
nothing happens.

I suspect this has something to do with the 4 instead of 2 devices. I
have made many attempts to simply change the names and entities but
unfortunately without success.

Among many other things i found out that if i remove the port number in
the configurations.yaml, HA will not find the two devices. result: they
are only displayed when i specify the port.

Code:

media_player:
  - platform: squeezebox
  host: 192.168.2.2
  port: 9002



However, LMS Control communicates via the two "new" ones which have no
function at all.

What can I do to make it work? I'm not sure if problem (a) is bad. It
actually tells me everything. The described problem (b) could be the
cause, but I do not know how to proceed. Last, the (c) is then the
consequence of (b). Is that right?

In the file known_devices.yaml I recorded them for testing:

Code:

media_player.radio_buro:
  hide_if_away: false
  icon:
  mac: 00:04:20:2b:24:7d
  name: Radio_Büro
  picture:
  track: true
  media_player.radio_kuche:
  hide_if_away: false
  icon:
  mac: 00:04:20:2b:15:10
  name: Radio_Küche
  picture:
  track: true



Thanks and a pleasure sunday


+---+
|Filename: baby.jpeg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29409|
+---+


bribbon's Profile: http://forums.slimdevices.com/member.php?userid=63251
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2020-01-02 Thread ynot1234567890


aseadc86 wrote: 
> Ynot,
> 
> Thank you so much for all of your work on this project.  
> 
> I am a bit in over my head with this installation, specifically
> modifying lmscontrols.yaml.  You state that up to 10 players are able to
> be controlled but in some of the sections that need edited there are
> only 7 or 8 players setup to be edited.  Being a copy and paste warrior
> and not a coder, I'm a bit stumped.  
> 
> I'd also take any recommendations for editing software.  
> 
> Thank you in advance.

For editing I use either the built in editor in Home Assistant
(configurator) or use notepad++ in windows.  They would both work well
enough.  You should only define the amount of players you have.  I had 8
players in my case but you can define up to 10.  The version I posted is
my basic config which has 8 players.  Just continue using the same
format.  In the sync area you see the 10 players with the last 2 marked
as undefined.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-12-31 Thread aseadc86


Ynot,

Thank you so much for all of your work on this project.  

I am a bit in over my head with this installation, specifically
modifying lmscontrols.yaml.  You state that up to 10 players are able to
be controlled but in some of the sections that need edited there are
only 7 or 8 players setup to be edited.  Being a copy and paste warrior
and not a coder, I'm a bit stumped.  

I'd also take any recommendations for editing software.  

Thank you in advance.



aseadc86's Profile: http://forums.slimdevices.com/member.php?userid=69691
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-12-22 Thread s2kiwi


I finally got around to setting up a Home Assistant server, and just
wanted to say thank you as it is awesome!

I definitely have a learning curve as I suspect if I know what I'm doing
I should be able to re-use some of the commands built into this set from
in other scripts/automatons?

Very happy! Thanks for sharing the development work!



s2kiwi's Profile: http://forums.slimdevices.com/member.php?userid=63950
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-12-12 Thread ynot1234567890


DEC. 12, 2019 BREAKING CHANGE - UPGRADE OF HA TO VERSION 0.103 REQUIRES
SQUEEZEBOX SERVICE SYNTAX CHANGE

Please note, with the upgrade of HA to Version 0.103 the syntax has
change for Squeezebox service calls. In the script- lmscontrols.yaml-
the command * -media_player.squeezebox_call_method-* needs to be changed
to *-squeezebox.call_method-*

This command appears 41 times in the* -.yaml -*file.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-12-02 Thread ynot1234567890


bitterroots wrote: 
> I have a puzzler. When I send the DialogFlow intent, the selected player
> does not activate. I get no errors. The music plays on whatever the
> Media Player Name is set to on the Home Assistant overview page.
> 

Taking a quick look I see your media players are defined as
media_player.Kitchen but is return by dialogflow as lowercase "kitchen".
In lmscontrols.yaml try using lowercase names for media_player.kitchen,
media_player.basement, etc..

Sorry for the late reply.  Ynot



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-10-24 Thread ynot1234567890


Dialogflow V1 api will be deprecated on October 23, 2019. If you are
still using the V1 API, it is recommended to change your settings in
Dialogflow to use the V2 API. No changes to your intents yaml
configuration need to take place after upgrading to the V2 API.

To update the Dialogflow project, in Dialogflow console, simply press
the gear icon and change from V1 to V2. Give it a try.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-02-24 Thread ynot1234567890


CommanderROR wrote: 
> This is probably completely wrong...but would this system allow me to
> use my Home to stream to Squeezelite Players? Basically like I currently
> do with my Chromecast Audios

The tool is designed to provide voice control of and a Home Assistant
GUI for LMS server.  Using the LMS server, you can stream (with the
chromecast and UPNP addons) to any Chromecast, Squeezeplayer or UPNP
device.  To date the following streams are supported:  LMS local music
database, Spotify and any radio stations or other streamed sources if
defined as LMS playlists. 

So strictly speaking while you could not say "Hey Google play Supertramp
in the kitchen" but you could say "Hey Google ask LMS controls to play
Supertramp in the kitchen".  Where the kitchen is a chromecast,
squeezeplayer or UPNP device.  The command will then stream Supertramp
either from Spotify or LMS database.  See the following link for further
details:  https://github.com/ynot123/LMS_Controls

Hope that answers your question.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-02-23 Thread CommanderROR


This is probably completely wrong...but would this system allow me to
use my Home to stream to Squeezelite Players? Basically like I currently
do with my Chromecast Audios



CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-02-19 Thread grimmace92


ynot1234567890 wrote: 
> If using that new file, then you would have to make the changes you made
> in the old lmscontrols.yaml file, or easier still open your existing
> lmscontrols.yaml file and change the line in the automation section:
> > 
Code:

  >   >   - platform: time

> > 
> to
> > 
Code:

  >   >  - platform: time_pattern

> > 
> 
> The above change will ensure the shell script player_stat.sh will run
> every minute.  
> 
> However your error indicates the player_stat.sh script is not
> returning a proper value for volume.  This is usually caused by the
> player's mac address being incorrect or not formatted properly so the
> query returns an invalid value.  Please ensure your player's mac
> address is all lower case.  Worst case, run the player_stat.sh script
> in the shell using the mac address a review the returned values for
> errors.
> 
> Hope that helps.  Ynot

Thanks.  Back in business



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-02-19 Thread ynot1234567890


grimmace92 wrote: 
> I just updated to HA 0.87.1 and I'm getting this error
> 
> Tue Feb 19 2019 11:54:00 GMT-0500 (Eastern Standard Time)
> Error while executing automation
> automation.lms_gui_update_player_values. Invalid data for call_service
> at pos 2: expected float for dictionary value @ data['value']
> 
> I downloaded the new lmscontrols.yaml file for the time pattern change. 
> Is there something else I was supposed to do?

If using that new file, then you would have to make the changes you made
in the old lmscontrols.yaml file, or easier still open your existing
lmscontrols.yaml file and change the line in the automation section:

Code:

  - platform: time


to

Code:

 - platform: time_pattern



The above change will ensure the shell script player_stat.sh will run
every minute.  

However your error indicates the player_stat.sh script is not returning
a proper value for volume.  This is usually caused by the player's mac
address being incorrect or not formatted properly so the query returns
an invalid value.  Please ensure your player's mac address is all lower
case.  Worst case, run the player_stat.sh script in the shell using the
mac address a review the returned values for errors.

Hope that helps.  Ynot



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-02-19 Thread grimmace92


ynot1234567890 wrote: 
> Thanks you beat me to it.  Ynot.
> 
> *** EDIT ***
> GitHub Source has now been updated for this required change.  time ->
> time_pattern;  Jan 24, 2019

I just updated to HA 0.87.1 and I'm getting this error

Tue Feb 19 2019 11:54:00 GMT-0500 (Eastern Standard Time)
Error while executing automation
automation.lms_gui_update_player_values. Invalid data for call_service
at pos 2: expected float for dictionary value @ data['value']

I downloaded the new lmscontrols.yaml file for the time pattern change. 
Is there something else I was supposed to do?



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-02-09 Thread Freddy


Anyone got this to work with other language than English?

I have my Google Mini set up with Swedish (and English) but I have
problem to open the LMS Control app and send commands, both in Swedish
and English
In the simulator English works fine.

Problem is that I cannot add Swedish in DialogFlow and publish the a
Google Assistant, it give me an error.

https://github.com/ynot123/LMS_Controls/issues/15



Freddy's Profile: http://forums.slimdevices.com/member.php?userid=41055
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-02-08 Thread ynot1234567890


Freddy wrote: 
> It would be cool to adress your own playlists in Spotify
> Would an option be to a have like a list in HASS with
> playlistname:spotifyURI? And then the direct URI is used?

You could certainly add it as a pull down on HA GUI, but perhaps easier
is to manually add your playlist to LMS queue using the LMS GUI then
save that list as an LMS playlist.  That's how I handle it and radio
stations for now.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-02-08 Thread Freddy


grimmace92 wrote: 
> Hmm...This sort of works for me.  I got it to work with one playlist but
> it doesn't recognize any others.  Maybe my query isn't perfect.  I
> created Gary's Party and Rock.  It recognizes the first but not the
> second.  Tried a couple different things too and only the first one
> works.  Query is bash qry_playlist.sh rock and it returns null.  I can
> type in Ga only for the Gary;s Party playlist and it finds it.

It would be cool to adress your own playlists in Spotify
Would an option be to a have like a list in HASS with
playlistname:spotifyURI? And then the direct URI is used?



Freddy's Profile: http://forums.slimdevices.com/member.php?userid=41055
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-02-06 Thread ynot1234567890


Hello, just a test post



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-02-05 Thread Freddy

Thank you for creating this, seems great.
I´ve almost got it up and running (first part with LMS and HASS) but I
have two issues

1. I´m running HASS on Ubuntu 18 in an venv and to make the script work
I need to add the full path for every bin used such /usr/bin/curl,
/usr/bin/jq etc. This makes it hard for future updates. Is there a way
to get these into the venv path?

2. By updating above I could get LMS source to work and I can search,
play, etc without problem. But I still struggle with Spotify. I can see
that the sensor.spotify_uri is filled with the correct adress but it
never sends it to LMS. I´ve tried both running the script from bash and
within HASS, same issue. Noting in HASS log indicates an error. 

Thanks



Freddy's Profile: http://forums.slimdevices.com/member.php?userid=41055
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-26 Thread ynot1234567890


grimmace92 wrote: 
> I have a weblink in HA that goes to the LMS materrial skin. I also have
> an ipad mounted to the wall.  Is there a way to have google assistant
> open the weblink if I ask it to play music in the kitchen or do I have
> to run a script or automation?  I only want it to happen on this ipad on
> the wall.

Not aware of a direct way to do what you're asking.  You could perhaps
create a script (shell using a daemon or something like that) that runs
on the tablet in question and checks to see if the kitchen player is
playing in LMS (a curl statement could pull that) and if so launch the
web skin once or as often as you like.  A similar approach could work
with windows as well.

Good luck.  Ynot



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-26 Thread grimmace92


ynot1234567890 wrote: 
> Whenever you create a playlist in LMS you have to re-run scan media to
> get it into the index.  At that point you should be able to query it
> provided your source is set to lms.

I have a weblink in HA that goes to the LMS materrial skin. I also have
an ipad mounted to the wall.  Is there a way to have google assistant
open the weblink if I ask it to play music in the kitchen or do I have
to run a script or automation?  I only want it to happen on this ipad on
the wall.



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-24 Thread ynot1234567890


goharbourview123 wrote: 
> Just a quick heads up to anyone updating their Home Assistant
> configuration to version 0.86 (released 23 January 2019). Changes to the
> Automation Trigger means that interval triggers are now separated from
> the 'time' platform and moved to a new 'time_pattern' platform:
> 
> > 
Code:

  >   > 
https://www.home-assistant.io/blog/2019/01/23/release-86/#noteworthy-breaking-changes

> > 
> 
> This necessitates a very simple change to LMS Controls. Open the file
> lmscontrols.yaml in the /packages/ subfolder, and at line 464 edit
> 'time:' to 'time_pattern:'. This will ensure that the "LMS GUI Update
> Player Values" trigger passes the configuration check.

Thanks you beat me to it.  Ynot.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-24 Thread goharbourview123


Just a quick heads up to anyone updating their Home Assistant
configuration to version 0.86 (released 23 January 2019). Changes to the
Automation Trigger means that interval triggers are now separated from
the 'time' platform and moved to a new 'time_pattern' platform:


Code:


https://www.home-assistant.io/blog/2019/01/23/release-86/#noteworthy-breaking-changes



This necessitates a very simple change to LMS Controls. Open the file
lmscontrols.yaml in the /packages/ subfolder, and at line 464 edit
'time:' to 'time_pattern:'. This will ensure that the "LMS GUI Update
Player Values" trigger passes the configuration check.



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

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-23 Thread grimmace92


ynot1234567890 wrote: 
> Whenever you create a playlist in LMS you have to re-run scan media to
> get it into the index.  At that point you should be able to query it
> provided your source is set to lms.

Ah.  You can tell how often I have used an LMS playlist.  It certainly
works.  I would think most would like to have the spotify playlists
available from spotty.  Spotty is already limited in that you can't
create a playlist using it.  You have to create it in the Spotify app. 
Just my opinion of course.  I see you have done thousands of lines of
coding so I understand the time you have in this thing.  By no means a
deal breaker.



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-23 Thread ynot1234567890


grimmace92 wrote: 
> Hmm...This sort of works for me.  I got it to work with one playlist but
> it doesn't recognize any others.  Maybe my query isn't perfect.  I
> created Gary's Party and Rock.  It recognizes the first but not the
> second.  Tried a couple different things too and only the first one
> works.  Query is bash qry_playlist.sh rock and it returns null.  I can
> type in Ga only for the Gary;s Party playlist and it finds it.

Whenever you create a playlist in LMS you have to re-run scan media to
get it into the index.  At that point you should be able to query it
provided your source is set to lms.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-23 Thread grimmace92


ynot1234567890 wrote: 
> Yes, unfortunately the Spotify docs say "Only *popular public* playlists
> are returned" using the search playlists function.  So if your playlist
> is popular, public and a fairly unique name you migth get it, but not
> likely.
> 
> My basic work around is use Spotty add-on in LMS web GUI to load up your
> Spotify playlist then save it as an LMS playlist.  This is also how I
> handle radio stations (add a radio station and save it as a playlist
> with first word "Radio".
> 
> If you think the direct query of Spotify playlists is a must have I will
> consider adding it in the next upgrade.  It will take a bit of work as I
> would have to handle the query internally.  Let me know what you think. 
> 
> 
> Ynot.

Hmm...This sort of works for me.  I got it to work with one playlist but
it doesn't recognize any others.  Maybe my query isn't perfect.  I
created Gary's Party and Rock.  It recognizes the first but not the
second.  Tried a couple different things too and only the first one
works.  Query is bash qry_playlist.sh rock and it returns null.  I can
type in Ga only for the Gary;s Party playlist and it finds it.



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-23 Thread ynot1234567890


grimmace92 wrote: 
> Hi Ynot,
> 
> I've upgraded to the new version and everything went fairly smooth.  One
> question I have is on playlists.  LMS controls doesn't seem to recognize
> my Spotify playlists.  When I ask it to play a playlist through Spotify
> it queues up music but its all random.  It's not the actual playlist I
> asked for that is saved in Spotify.  This is true when I'm using voice
> or typing it in directly in HA.

Yes, unfortunately the Spotify docs say "Only *popular public* playlists
are returned" using the search playlists function.  So if your playlist
is popular, public and a fairly unique name you migth get it, but not
likely.

My basic work around is use Spotty add-on in LMS web GUI to load up your
Spotify playlist then save it as an LMS playlist.  This is also how I
handle radio stations (add a radio station and save it as a playlist
with first word "Radio".

If you think the direct query of Spotify playlists is a must have I will
consider adding it in the next upgrade.  It will take a bit of work as I
would have to handle the query internally.  Let me know what you think. 


Ynot.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-23 Thread grimmace92


ynot1234567890 wrote: 
> Awesome glad to hear it.  Thanks for the feedback.  Ynot.

Hi Ynot,

I've upgraded to the new version and everything went fairly smooth.  One
question I have is on playlists.  LMS controls doesn't seem to recognize
my Spotify playlists.  When I ask it to play a playlist through Spotify
it queues up music but its all random.  It's not the actual playlist I
asked for that is saved in Spotify.  This is true when I'm using voice
or typing it in directly in HA.



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-21 Thread ynot1234567890


goharbourview123 wrote: 
> Thanks for the really prompt response - the updated version is all
> working for me now

Awesome glad to hear it.  Thanks for the feedback.  Ynot.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-21 Thread goharbourview123


Thanks for the really prompt response - the updated version is all
working for me now



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

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-21 Thread ynot1234567890


JANUARY 21, 2019 - LMS CONTROLS PROJECT

Minor update to the shell files and the package file was required, basic
details are as follows:

SHELL FILES:

- Fixed dangling quote / double quote in all shell files except
  env_var.sh.  - CRITICAL this prevented proper posting of shell query
  results on some systems
- Fixed hard coded URL in qry_player_stat.sh - CRITICAL
  

PACKAGE FILE:

- Fixed some duplicate alias', NON-CRITICAL
  

Sorry for the inconvenience.  Ynot.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-21 Thread ynot1234567890


goharbourview123 wrote: 
> First of all, many thanks for developing this project. I got it working
> over the new year, and have been having great fun playing around with
> this. It must have taken a huge amount of work and no little patience.
> 
> I tried updating to the latest version with the scripting variables
> stored in 'env_var.sh', and kept getting 401 authorization errors at the
> 'posting results' stage when running the scripts from a shell command.
> Player commands like pause, play and so on still worked though. And the
> initial query produces results fine. The variables seemed to be echoed
> OK when running the script, and the Home Assistant log did report the
> failed logins from my own WAN ip. Port 443 is forwarded on my router.
> 
> This is using an unsecured version of LMS by the way (no
> username/password). I even tried changing the HA long lived access
> token, but no joy. Reverting to previous version, and it's all back
> working again, even with the new token. Will try again with logging set
> to debug and see if I can see anything.
> 
> By the way, noticed a couple of duplicate aliases in lmscontrols.yaml:
> 
> 'LMS command to add LMS artist to the queue' is repeated. Second one
> should be 'LMS command to add Spotify artist to the queue'
> 'LMS command to add LMS album to the queue' is repeated. Second one
> should be 'LMS command to add Spotify album to the queue'
> 
> Not sure if it affects the actual functionality in any way, but does
> affect the way the scripts are displayed in the Home Assistant overview.

Hi, 

Not sure when you downloaded the code, but a user pointed out a typo in
the shell scripts that while no affect in my system does cause others
not to post results properly.  Sounds like that's what's happening here,
fix it a little earlier today.  Please re-download the shell files
(except env_var.sh) and try again.

Thanks for the note on the duplicate alias', not a functional problem
but yes, still incorrect.  Feel free to update them on your copy and I
will update on the website sometime soon.

Enjoy.  Ynot.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-21 Thread goharbourview123


First of all, many thanks for developing this project. I got it working
over the new year, and have been having great fun playing around with
this. It must have taken a huge amount of work and no little patience.

I tried updating to the latest version with the scripting variables
stored in 'env_var.sh', and kept getting 401 authorization errors at the
'posting results' stage when running the scripts from a shell command.
Player commands like pause, play and so on still worked though. And the
initial query produces results fine. The variables seemed to be echoed
OK when running the script, and the Home Assistant log did report the
failed logins from my own WAN ip. Port 443 is forwarded on my router.

This is using an unsecured version of LMS by the way (no
username/password). I even tried changing the HA long lived access
token, but no joy. Reverting to previous version, and it's all back
working again, even with the new token. Will try again with logging set
to debug and see if I can see anything.

By the way, noticed a couple of duplicate aliases in lmscontrols.yaml:

'LMS command to add LMS artist to the queue' is repeated. Second one
should be 'LMS command to add Spotify artist to the queue'
'LMS command to add LMS album to the queue' is repeated. Second one
should be 'LMS command to add Spotify album to the queue'

Not sure if it affects the actual functionality in any way, but does
affect the way the scripts are displayed in the Home Assistant overview.



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

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-20 Thread ynot1234567890


LMS CONTROLS PROJECT UPDATED - JANUARY 18, 2019

For those interested, the LMS Controls project for Voice control of your
LMS server and players via Google Home / Google Assistant has been
updated.  A key change includes the use of a package file (an all-in-one
file) that holds the bulk of the programming for the LMS Controls
project.

NEW FEATURES / UPGRADES INCLUDE:
- Audio feedback of query results and player status
- Created an env.sh file which contains the bulk of the shell file
customization details (much less editing this way :))
- Better error checking on query results
- Support of contractions (it's, don't) and
- The ability to handle both secured and unsecured LMS installations.

The installation and troubleshooting documents have also been updated.

Finally, based on much feedback, I created *Hass.io / Home Assistant
installation document* for multiple platforms to help users new to
Hass.io / Home Assistant.  Any users who are willing to document their
setup for other platforms are welcome to submit their "how to" for
inclusion.

The GitHub link is:  https://github.com/ynot123/LMS_Controls

Thanks and enjoy.

Ynot.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-17 Thread ynot1234567890


Wirrunna wrote: 
> Ynot,
> I have started "kicking the tyres" of this and after a frustrating few
> hours of climbing the Hass.io learning cliff I am looking forward to
> your next release. 
> So, before I perform "The following files need to be edited to add your
> personal access keys, secrets, links and passwords for access to Home
> Assistant, Spotify, LMS Server, etc.." is your next release imminent or
> should I continue blundering my way forward with the Hass Assistant and
> manual editing ?

I should be out by the end of the month.  It will require less editing,
have a few new features and hopefully better documentation for those new
to hassio / home assistant.  Basically complete now but doing some
testing, documentation updates, etc..  Sounds like it may be a cold
weekend up here so may be more progress this weekend than originally
planned.  :) 

Ynot



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-17 Thread Wirrunna


ynot1234567890 wrote: 
> Glad to hear it worked out for you.  Was a fun project to put together. 
> As you said many hours spent.  I do agree the HomeAssistant learning
> curve can be steep but it is pretty powerful and can be extended to
> cover all kinds of automations.  The next release of this tool will be a
> little simpler to install on the HA side and require less manual editing
> and hopefully better how to for the noobs.
> 
> In DialogFlow you should be able to test directly in GoogleAssistant 
> using the *See how it works in Google Assistant* link.  If you choose to
> publish which can get rid of the annoying "test" message, Alpha and Beta
> publishing is private.  Your action would only be available to those you
> invite.
> 
> Enjoy.  Ynot.

Ynot,
I have started "kicking the tyres" of this and after a frustrating few
hours of climbing the Hass.io learning cliff I am looking forward to
your next release. 
So, before I perform "The following files need to be edited to add your
personal access keys, secrets, links and passwords for access to Home
Assistant, Spotify, LMS Server, etc.." is your next release imminent or
should I continue blundering my way forward with the Hass Assistant and
manual editing ?



A camel is a racehorse designed by a committee.

Seen sprayed on the outside wall of the local library -
Three things I hate in life :
1. Vandalism
2. Irony
3. Lists

Wirrunna's Profile: http://forums.slimdevices.com/member.php?userid=3225
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-16 Thread ynot1234567890


chemirocha wrote: 
> Just to say thank you for creating this project! I've got it working
> (sort of) and even added an "unpause" command. Being a complete noob to
> home automation I found the Home Assistant side of things to be a huge
> learning curve but I think I now understand it a bit at least. The
> Dialogflow is a fantastic tool that I'm looking forward to using more.
> The only issue I haven't yet solved is that I need to be in Google Home
> on my phone - the normal Google Assistant doesn't recognize "Talk to my
> squeezeserver" while Google Home does. Maybe I need to deploy it from
> within Google Actions but it isn't clear to me how to keep it private!
> 
> One thing I'd say, working out how it all works, configuring it and
> extending it could take over quite a few days of your life that you're
> never going to get back! Is it worth it? Yes, I think it is, for me at
> least. I'm talking more and more to my android phone (it's either that
> or talking to the dog) and this is just a natural progression. So
> Cheers!
> 
> PS My set up is Hass.io on an RPi3 talking to LMS on another RPi and 3
> SB duets scattered around the house.

Glad to hear it worked out for you.  Was a fun project to put together. 
As you said many hours spent.  I do agree the HomeAssistant learning
curve can be steep but it is pretty powerful and can be extended to
cover all kinds of automations.  The next release of this tool will be a
little simpler to install on the HA side and require less manual editing
and hopefully better how to for the noobs.

In DialogFlow you should be able to test directly in GoogleAssistant 
using the *See how it works in Google Assistant* link.  If you choose to
publish which can get rid of the annoying "test" message, Alpha and Beta
publishing is private.  Your action would only be available to those you
invite.

Enjoy.  Ynot.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-16 Thread chemirocha


Just to say thank you for creating this project! I've got it working
(sort of) and even added an "unpause" command. Being a complete noob to
home automation I found the Home Assistant side of things to be a huge
learning curve but I think I now understand it a bit at least. The
Dialogflow is a fantastic tool that I'm looking forward to using more.
The only issue I haven't yet solved is that I need to be in Google Home
on my phone - the normal Google Assistant doesn't recognize "Talk to my
squeezeserver" while Google Home does. Maybe I need to deploy it from
within Google Actions but it isn't clear to me how to keep it private!

One thing I'd say, working out how it all works, configuring it and
extending it could take over quite a few days of your life that you're
never going to get back! Is it worth it? Yes, I think it is, for me at
least. I'm talking more and more to my android phone (it's either that
or talking to the dog) and this is just a natural progression. So
Cheers!

PS My set up is Hass.io on an RPi3 talking to LMS on another RPi and 3
SB duets scattered around the house.



chemirocha's Profile: http://forums.slimdevices.com/member.php?userid=18708
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-09 Thread ynot1234567890


grimmace92 wrote: 
> Installed jq doing this and I'm in business using docker.  What a royal
> pain this was but I certianly learned a lot and thats a good thing. 
> Thanks again for all the help.  Hope this helps anyone else that has a
> synology diskstation.
> 
> # Install xml-to-json
> WORKDIR /bin
> RUN wget "http://stedolan.github.io/jq/download/linux64/jq; && chmod 755
> jq
> 
> For the lovelace ui.  When I switch to lovelace LMS controls is still in
> the standard gui.  Is there anything special I need to do to get it to
> work?  The ui-lovelace.yaml file is there.  I just copied and saved it
> to the /config directory.

That should do it.  I assume you went here: 
https://yourdomain.duckdns.org/dev-info and clicked on the "Try Out the
New Lovelave UI" and ">> Set lovelace as default page on this device
<<"

In your browser hit refresh.  

If in Lovelace GUI, you can also click on the right hand side, click 3
vertical dots and choose raw config editor and add contents of
lovelace.yaml in there.  It's the new GUI interface method (0.84.6). 
You can read more about lovelace and how to here: 
https://www.home-assistant.io/lovelace/


Ynot.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-08 Thread grimmace92


ynot1234567890 wrote: 
> The attached screen shot says your authentication for spotify is invalid
> and that the command *jq* is not supported. jq is a command-line JSON
> processor.  Got to look carefully at the output when there are issues.
> :p
> 
> For spotify ensure client_id and client_secret are correct.  Add command
> jq by installing the package if its not already there.  Not sure exactly
> how you do it on Synology.
> 
> The package could even be installed inside the docker container I
> suppose though that may be trickier.
> 
> EDIT:  While reviewing the script I see the token is retrieved using the
> jq command.  So that is likely why the token is invalid.  Like client_id
> and secret are OK.
> 
> Ynot

Installed jq doing this and I'm in business using docker.  What a royal
pain this was but I certianly learned a lot and thats a good thing. 
Thanks again for all the help.  Hope this helps anyone else that has a
synology diskstation.

# Install xml-to-json
WORKDIR /bin
RUN wget "http://stedolan.github.io/jq/download/linux64/jq; && chmod 755
jq



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-08 Thread grimmace92

ynot1234567890 wrote: 
> The attached screen shot says your authentication for spotify is invalid
> and that the command *jq* is not supported. jq is a command-line JSON
> processor.  Got to look carefully at the output when there are issues.
> :p
> 
> For spotify ensure client_id and client_secret are correct.  Add command
> jq by installing the package if its not already there.  Not sure exactly
> how you do it on Synology.
> 
> The package could even be installed inside the docker container I
> suppose though that may be trickier.
> 
> EDIT:  While reviewing the script I see the token is retrieved using the
> jq command.  So that is likely why the token is invalid.  Like client_id
> and secret are OK.
> 
> Ynot

This has to be all docker container related.  The synology community
package I installed that you sent me I had none of these issues.  I also
had to chance NC to NCAT to get the LMS shell scripts to work.  The
container wasn’t honoring the symlink I made from NC to NCAT.  I double
checked and it’s there.  I will see if I can install JQ.  Docker seems
like a real pain on synology.  Almost there it seems though...



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-08 Thread ynot1234567890


grimmace92 wrote: 
> think im on right track.  i see tbis when i run the command inside the
> shell
> 
> 26523

The attached screen shot says your authentication for spotify is invalid
and that the command *jq* is not supported. jq is a command-line JSON
processor.  Got to look carefully at the output when there are issues.
:p

For spotify ensure client_id and client_secret are correct.  Add command
jq by installing the package if its not already there.  Not sure exactly
how you do it on Synology.

The package could even be installed inside the docker container I
suppose though that may be trickier.

Ynot



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-08 Thread ColH


ynot1234567890 wrote: 
> Review your media_player entities in HA.  Do you have a near duplicate
> like:  media_player.livingroom and a media_player.living_room.  I think
> when HA creates the mediaplayer entities for lms, if there is a space in
> the name of lms player, the space is replaced with a _.  Try making your
> lms mediaplayer name match the HA entity (ie: livingroom not living
> room).
> 
> Any mediaplayer changes in lms requires a reboot in HA to reflect the
> name and player availability. 
> 
> You can view all your entities at: 
> https://yourdomain.duckdns.org/dev-state.

I've gone the other way, and change the HA entity to 'living_room', and
the name in DF too. I think it's now obeying  
Though it does say "living underscore room" - but I'll first give it a
while and make sure I have some fully working settings, before messing
further



ColH's Profile: http://forums.slimdevices.com/member.php?userid=30377
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-08 Thread ynot1234567890


grimmace92 wrote: 
> Ok docker exec command worked and /config/shell worked and the the shell
> scripts are there.  When I try to execute through the HA gui the first
> time after restarting the container no matter what I enter for Artist
> name or song the sensors appear but every time its the supertramp
> breakfast in america in the sensors.  And it seems to only update that
> one time if I try to enter something else.  This is going to be
> something dumb I am doing.  Just don't know what...

As per post 155 try the logger, reboot, run the docker exec command,
issue the tail -f do a few calls and see whats happening.  Or if your
docker is hassio then https://yourdomain.duckdns.org/hassio/system.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-08 Thread grimmace92


grimmace92 wrote: 
> Ok docker exec command worked and /config/shell worked and the the shell
> scripts are there.  When I try to execute through the HA gui the first
> time after restarting the container no matter what I enter for Artist
> name or song the sensors appear but every time its the supertramp
> breakfast in america in the sensors.  And it seems to only update that
> one time if I try to enter something else.  This is going to be
> something dumb I am doing.  Just don't know what...


think im on right track.  i see tbis when i run the command inside the
shell

26523


+---+
|Filename: lmscontrols9.PNG |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=26523|
+---+


grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-08 Thread grimmace92


ynot1234567890 wrote: 
> When you run the docker exec command, it takes you to /usr/src/app, it
> opens a shell within the docker container.  From this shell find your
> config and shell directories.  cd /config may get you there.  Either way
> you have to find the files from the docker shell for this to work.  
> Once you find the files type pwd to get the path.

Ok docker exec command worked and /config/shell worked and the the shell
scripts are there.  When I try to execute through the HA gui the first
time after restarting the container no matter what I enter for Artist
name or song the sensors appear but every time its the supertramp
breakfast in america in the sensors.  And it seems to only update that
one time if I try to enter something else.  This is going to be
something dumb I am doing.  Just don't know what...



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-08 Thread ynot1234567890


grimmace92 wrote: 
> Very frustrating.  It says its /config.  How do I elevate the user to
> root?  I'm not even sure of the user name that docker uses.  Is there a
> way to use putty to get to the docker container path of /config?  I've
> used the docker exec command but it brings me to usr/src/app and I can't
> see /config anywhere.

When you run the docker exec command, it takes you to /usr/src/app, it
opens a shell within the docker container.  From this shell find your
config and shell directories.  cd /config may get you there.  Either way
you have to find the files from the docker shell for this to work.  
Once you find the files type pwd to get the path.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-08 Thread grimmace92


ynot1234567890 wrote: 
> See exit codes:  http://tldp.org/LDP/abs/html/exitcodes.html
> 
> Exit Code Number  Meaning Example Comments
> 1 Catchall for general errors let "var1 = 1/0"Miscellaneous 
> errors,
> such as "divide by zero" and other impermissible operations
> 2 Misuse of shell builtins (according to Bash
> documentation)empty_function() {} Missing keyword or command, or
> permission problem (and diff return code on a failed binary file
> comparison).
> 126   Command invoked cannot execute  /dev/null   Permission problem or
> command is not an executable
> 127   "command not found" illegal_command Possible problem with $PATH or a
> typo
> 128   Invalid argument to exitexit 3.14159exit takes only integer 
> args
> in the range 0 - 255 (see first footnote)
> 128+n Fatal error signal "n"  kill -9 $PPID of script $? returns 137 (128
> + 9)
> 130   Script terminated by Control-C  Ctl-C   Control-C is fatal error signal
> 2, (130 = 128 + 2, see above)
> 255*  Exit status out of rangeexit -1 exit takes only integer args in
> the range 0 - 255
> If a command is not found, the child process created to execute it
> returns a status of 127. If a com- mand is found but is not executable,
> the return status is 126. If a command fails because of an error during
> expansion or redirection, the exit status is greater than zero.
> 
> Basically command not found (path is incorrect or file does not exist). 
> The intention is to make the shell sub directory just under where ever
> your configuration.yaml file is stored.  This will ensure it can be
> found by the HA system.  Then you can go to
> https://yourdomain.duckdns.org/dev-info  and see the path to
> configuration.yaml in my example this is: 
> " Path to configuration.yaml: /config "
> 
> EDIT:  If you're convinced your path is correct, try elevating your HA
> user to root to see if you can get there.  
> Ynot

Very frustrating.  It says its /config.  How do I elevate the user to
root?  I'm not even of the user name that docker uses.  Is there a way
to use putty to get to the docker container path of /config?  I've used
the docker exec command but it brings me to usr/src/app and I can't see
/config anywhere.



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-08 Thread ynot1234567890


grimmace92 wrote: 
> Just curious.  I'd rather have HA running in docker as the version is
> always updated. The syno community package isn't.  I made a little
> progress where if I run a spotify command in putty it will update the
> sensors and they appear in HA updated.  I'm pretty sure its a path issue
> now.  I see this in the log Error running command: `bash
> /volume1/web/docker/homeassistant/shell/spot_art_top.sh {{text1}}`,
> return code: 127
> 
> 12:36 AM /usr/src/app/homeassistant/components/shell_command.py (ERROR)
> 
> I tried /config and /.config for the path as well and no luck.  Any
> other last ditch ideas?  Otherwise I will stick with the non docker
> package for now. Thanks!

See exit codes:  http://tldp.org/LDP/abs/html/exitcodes.html

Exit Code NumberMeaning Example Comments
1   Catchall for general errors let "var1 = 1/0"Miscellaneous 
errors,
such as "divide by zero" and other impermissible operations
2   Misuse of shell builtins (according to Bash
documentation)  empty_function() {} Missing keyword or command, or
permission problem (and diff return code on a failed binary file
comparison).
126 Command invoked cannot execute  /dev/null   Permission problem or
command is not an executable
127 "command not found" illegal_command Possible problem with $PATH or a
typo
128 Invalid argument to exitexit 3.14159exit takes only integer 
args
in the range 0 - 255 (see first footnote)
128+n   Fatal error signal "n"  kill -9 $PPID of script $? returns 137 (128
+ 9)
130 Script terminated by Control-C  Ctl-C   Control-C is fatal error signal
2, (130 = 128 + 2, see above)
255*Exit status out of rangeexit -1 exit takes only integer args in
the range 0 - 255
If a command is not found, the child process created to execute it
returns a status of 127. If a com- mand is found but is not executable,
the return status is 126. If a command fails because of an error during
expansion or redirection, the exit status is greater than zero.

Basically command not found (path is incorrect or file does not exist). 
The intention is to make the shell sub directory just under where ever
your configuration.yaml file is stored.  This will ensure it can be
found by the HA system.  Then you can go to
https://yourdomain.duckdns.org/dev-info  and see the path to
configuration.yaml in my example this is: 
" Path to configuration.yaml: /config "

Ynot



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-07 Thread grimmace92


ynot1234567890 wrote: 
> Good stuff.  The docker thing is a good approach, but the install you
> have is perfectly fine as well.  DialogFlow is working too!  Well done. 
> Enjoy.


Just curious.  I'd rather have HA running in docker as the version is
always updated. The syno community package isn't.  I made a little
progress where if I run a spotify command in putty it will update the
sensors and they appear in HA updated.  I'm pretty sure its a path issue
now.  I see this in the log Error running command: `bash
/volume1/web/docker/homeassistant/shell/spot_art_top.sh {{text1}}`,
return code: 127

12:36 AM /usr/src/app/homeassistant/components/shell_command.py (ERROR)

I tried /config and /.config for the path as well and no luck.  Any
other last ditch ideas?  Otherwise I will stick with the non docker
package for now. Thanks!



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-07 Thread ynot1234567890


ColH wrote: 
> It seems to detect changes in the current player, yet even "pause
> current player" isn't working. So it's detecting the param value, but
> not able to correctly talk to that [param value] player?

Review your media_player entities in HA.  Do you have a near duplicate
like:  media_player.livingroom and a media_player.living_room.  I think
when HA creates the mediaplayer entities for lms, if there is a space in
the name of lms player, the space is replaced with a _.  Try making your
lms mediaplayer name match the HA entity (ie: livingroom not living
room).

Any mediaplayer changes in lms requires a reboot in HA to reflect the
name and player availability. 

You can view all your entities at: 
https://yourdomain.duckdns.org/dev-state.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-07 Thread ColH


ColH wrote: 
> I'll give that a try. It -is- working for the "study".
> 
> EDIT: hmmm, don't think I have a known_devices.yaml  . I don't have
> HASSIO etc, so I'm editing the files by hand. I do have
> > 
Code:

  >   > media_player.livingroom:
  > name: Living Room
  > playerid: 00:04:20:16:FC:93
  > sync_stat: false
  > 

> > in customize.yaml; "Living Room" being LMS' own name for that player
> Everywhere else it's "livingroom"
> 
> EDIT2: It had been working mostly. Recently I'd just changed the DF
> entities as per post the other day.

It seems to detect changes in the current player, yet even "pause
current player" isn't working. So it's detecting the param value, but
not able to correctly talk to that [param value] player?



ColH's Profile: http://forums.slimdevices.com/member.php?userid=30377
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-07 Thread ColH


ynot1234567890 wrote: 
> Check your HA entities and see if media_player.livingroom exists and is
> there a media_player.livingroom_2.  Sometimes things get renamed if they
> existed already.  You can try to clearout the media_player.* devices in
> the known_devices.yaml file.  (Make a backup first).  Reboot and see if
> that clears it up.  
> 
> Because the UI is changing, that means your Dialogflow is correct, but
> the HA entity (media_player.livingroom) is not being found or resolved
> properly.  My best guess.  It's happened to me when I changed names in
> LMS server.

I'll give that a try. It -is- working for the "study".



ColH's Profile: http://forums.slimdevices.com/member.php?userid=30377
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-07 Thread ynot1234567890


ColH wrote: 
> Hmmm. I've changed the player name to "livingroom" everywhere in
> configuration.yaml and customize.yaml
> Now when I ask it to play something the player changes in the UI, and
> the artist/playlist etc as request. But it doesn't actually begin
> -playing- it...? In fact pause/restart no longer works either.
> Did I misunderstand what I needed to change?

Check your HA entities and see if media_player.livingroom exists and is
there a media_player.livingroom_2.  Sometimes things get renamed if they
existed already.  You can try to clearout the media_player.* devices in
the known_devices.yaml file.  (Make a backup first).  Reboot and see if
that clears it up.  

Because the UI is changing, that means your Dialogflow is correct, but
the HA entity (media_player.livingroom) is not being found or resolved
properly.  My best guess.  It's happened to me when I changed names in
LMS server.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-07 Thread ColH


ynot1234567890 wrote: 
> The names need to match exactly no '_' in one but not the other.  This
> name is used to find the entity name (mediaplayer.name) in HA.  As for
> google home, mini and such, in LMS setup the chromecast plugin by
> Phillipe and you're good to go.  Cast enabled devices can then be used
> in LMS.  It is very similar to the UPnP bridge.  Please note that sync
> is not perfect on UPnP and Chromecast.
> 
> Ynot.

Hmmm. I've changed the player name to "livingroom" everywhere in
configuration.yaml and customize.yaml
Now when I ask it to play something the player changes in the UI, and
the artist/playlist etc as request. But it doesn't actually begin
-playing- it...? In fact pause/restart no longer works either.
Did I misunderstand what I needed to change?



ColH's Profile: http://forums.slimdevices.com/member.php?userid=30377
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-07 Thread ynot1234567890

grimmace92 wrote: 
> It wound up being the whole path for me starting with /volume1/ but this
> is for the non docker community version you pointed me to.  I’ll put
> something together.  DialogFlow working too.  Tested a few commands and
> it’s working.  Have to look into some of the additional automation now
> too.  I’ll probably have some questions there.  Thanks again.

Good stuff.  The docker thing is a good approach, but the install you
have is perfectly fine as well.  DialogFlow is working too!  Well done. 
Enjoy.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-07 Thread grimmace92

ynot1234567890 wrote: 
> Finally! ;)  Glad to hear it's now working.   Can you please tell me
> what the path to the shell files ended up being?  Is it the same as
> shown on the HA info screen for path to config.  This info may help
> others.
> 
> Next step is google's DialogFlow to provide voice control.
> 
> Please note the next release which will use a package file should help
> limit the amount of changes required to make this work setup to setup. 
> That and better instructions will hopefully make this a smoother
> process.  If you feel inspired, you can write up a blurb on how to for
> the Synology NAS.
> 
> Take care.  Ynot.

It wound up being the whole path for me starting with /volume1/ but this
is for the non docker community version you pointed me to.  I’ll put
something together.  DialogFlow working too.  Tested a few commands and
it’s working.  Have to look into some of the additional automation now
too.  I’ll probably have some questions there.  Thanks again.



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-07 Thread ynot1234567890


grimmace92 wrote: 
> Pulling my hair out lol.  If I populate Artist Name and Artist Title in
> the gui using spotfy it worksbut only the two commands play artist
> and play album.  So I assume that confirms my path is now correct??
> 
> ** EDIT**  Play song works too.  Yes!  PLaylists however do not.  You
> just put the plalist name in the gui and and select play playlist and it
> should work correct?  Also if I just fill in the Artist name and select
> play artist that doesn't work either.
> 
> **DOUBLE EDIT. ** IT ALL WORKS.  I'm not even sure what I did that made
> it work but THANK YOU for spending the time

Finally! ;)  Glad to hear it's now working.   Can you please tell me
what the path to the shell files ended up being?  Is it the same as
shown on the HA info screen for path to config.  This info may help
others.

Next step is google's DialogFlow to provide voice control.

Please note the next release which will use a package file should help
limit the amount of changes required to make this work setup to setup. 
That and better instructions will hopefully make this a smoother
process.  If you feel inspired, you can write up a blurb on how to for
the Synology NAS.

Take care.  Ynot.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread grimmace92


ynot1234567890 wrote: 
> Try the full path
> */volume1/appstore/homeassistant/var/config/shell/qry_alb.sh* or you can
> try the relative path *shell/qry_alb.sh
> *
> Also temporarily elevate the security of user sc-homeassistant to root
> to see if that works.  The results of the log file will indicated if the
> shell files are found.
> 
> Just noticed, if you press the info button on the HA GUI the page will
> display the path to your configuration.yaml file and a list of loaded
> components.  Ensure shell_command is one of the loaded components.  On
> that page after running a play song command do any errors show up at the
> bottom like this one (typical of file not found):
> 
> 26513

Pulling my hair out lol.  If I populate Artist Name and Artist Title in
the gui using spotfy it worksbut only those two commands.  So I
assume that confirms my path is now correct??



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread ynot1234567890


grimmace92 wrote: 
> No this one isn't docker so I'm actually not 100% sure what the path
> should be.  I've been messing around with it trying to get it to work. 
> The .yaml files are located at
> /volume1/@appstore/homeassistant/var/config.  I created a soft link for
> @appstore to appstore so I could access it.  I put the shell folder
> there under config.  I tried that path and it didn't work.  The user is
> a system internal user and I gave read/write access.  I ran the fiels
> through the converter.  Here is a pic of what I see.  The user I believe
> is sc-homeassistant which was created during the install
> 

Try the full path
*/volume1/appstore/homeassistant/var/config/shell/qry_alb.sh* or you can
try the relative path *shell/qry_alb.sh
*
Also temporarily elevate the security of user sc-homeassistant to root
to see if that works.  The results of the log file will indicated if the
shell files are found.

Just noticed, if you press the info button on the HA GUI the page will
display the path to your configuration.yaml file and a list of loaded
components.  Ensure shell_command is one of the loaded components.  On
that page after running a play song command do any errors show up at the
bottom like this one (typical of file not found):

26513


+---+
|Filename: info_page.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=26513|
+---+


*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread grimmace92


ynot1234567890 wrote: 
> Yes that should be correct if you have no additional scripts.  Did you
> create the shell directory directly below /config and put your files
> there and are they executable? Is this a docker install?  If yes, when
> open a shell in the Docker container and go to the shell directory.  Can
> you list the files using 'ls -las' and review the result and when you
> type pwd what is the path?  Is this the same path as defined in
> configuration.yaml for the shell files?
> 
> This really sounds like a permissions or path issue, because as
> described, the shell scripts are not being launched.  I assume they are
> defined in the configuration.yaml file.  If your install has created a
> HA user, perhaps you could elevate those rights to see if you can get it
> to run as that user?
> 
> One last suggestion did you try to run your shell script files through
> the program dos2unix in case you have an improperly formatted file. 
> 
> Ynot

No this one isn't docker so I'm actually not 100% sure what the path
should be.  I've been messing around with it trying to get it to work. 
The .yaml files are located at
/volume1/@appstore/homeassistant/var/config.  I created a soft link for
@appstore to appstore so I could access it.  I put the shell folder
there under config.  I tried that path and it didn't work.  The user is
a system internal user and I gave read/write access.  I ran the fiels
through the converter.  Here is a pic of what I see.  The user I believe
is sc-homeassistant which was created during the install

26512


+---+
|Filename: lmscontrols8.PNG |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=26512|
+---+


grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread ynot1234567890


grimmace92 wrote: 
> I tried the install you sent me and the same behavior.  There is one
> difference.  The sensors on the main page of home assistant are
> updating.  When actioning from the HA gui i get null but when doing it
> manually through putty as you describe in the trouble shooting section
> they update properly.  As I'm using !include_dir_merge_named scripts I
> created a scripts folder.  Inside is a scripts.yaml that is empty and
> the script_lms_controls.yaml file.  That is correct right?
> 
> **EDIT** Some progress.  If I run the spotify shell command in the
> troubleshooting section the sensors update.  From there if I go to the
> HA gui and select play artist it will work and start playing.  The issue
> is if I try to change the Artist name to something different it doesn't
> respect it and keeps playing whatever I entered in putty which is stuck
> in the sensors.

Still sounds like the shell files are not being run.  You should not
have to run them manually.  Add the following to your configuration.yaml
in the logger section:

Code:

logger:
  default: critical
  logs:
  homeassistant.components.shell_command: debug



Restart HA, set music source to lms, set artist, album and song in GUI,
pick play song in the HA GUI then send me the log by email
yl...@vianet.ca.  In there you will see what is being called and the
path being used and the return status of the call.

The name of the file is:  /config/home-assistant.log.  Don't post it
here as it will contain some sensitive details like your domain name,
token, etc..

Perhaps also run a play song using source lms, and spotify, then play
album using each source as well before you send it to me.  Maybe we can
make heads or tails out of it with that additional info.

Finally, does it work if you set music source to lms and type it artist
name and then choose play artist?

If you need details on the logger function see here: 
https://www.home-assistant.io/components/logger/



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread ynot1234567890


grimmace92 wrote: 
> I tried the install you sent me and the same behavior.  There is one
> difference.  The sensors on the main page of home assistant are
> updating.  When actioning from the HA gui i get null but when doing it
> manually through putty as you describe in the trouble shooting section
> they update properly.  As I'm using !include_dir_merge_named scripts I
> created a scripts folder.  Inside is a scripts.yaml that is empty and
> the script_lms_controls.yaml file.  That is correct right?

Yes that should be correct if you have no additional scripts.  Did you
create the shell directory directly below /config and put your files
there and are they executable? Is this a docker install?  If yes, when
open a shell in the Docker container and go to the shell directory.  Can
you list the files using 'ls -las' and review the result and when you
type pwd what is the path?  Is this the same path as defined in
configuration.yaml for the shell files?

This really sounds like a permissions or path issue, because as
described, the shell scripts are not being launched.  I assume they are
defined in the configuration.yaml file.  If your install has created a
HA user, perhaps you could elevate those rights to see if you can get it
to run as that user?

One last suggestion did you try to run your shell script files through
the program dos2unix in case you have an improperly formatted file. 

Ynot



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread grimmace92


ynot1234567890 wrote: 
> Because HA is queuing an empty or invalid string because your shell
> files are not running when request, so sensors not updated, so empty /
> invalid string.

I tried the install you sent me and the same behavior.  There is one
difference.  The sensors on the main page of home assistant are
updating.  When actioning from the HA gui i get null but when doing it
manually through putty as you describe in the trouble shooting section
they update properly.  As I'm using !include_dir_merge_named scripts I
created a scripts folder.  Inside is a scripts.yaml that is empty and
the script_lms_controls.yaml file.  That is correct right?



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread ynot1234567890


grimmace92 wrote: 
> I'll give it a shot.  Before I do I see this in the LMS log.
> 
> Slim::Utils::Scanner::scanPathOrURL (54) Error: No path or URL was
> requested!   I see someone had a similar message here
> https://github.com/ynot123/LMS_Controls/issues/3  but its not my issue. 
> If I have music playing and try a command from HA gui it stops the music
> and empties the queue so it seems something is getting through

Because HA is queuing an empty or invalid string because your shell
files are not running when request, so sensors not updated, so empty /
invalid string.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread grimmace92


ynot1234567890 wrote: 
> Did a bit of research out of interest and I see that SynoCommunity
> already distributes a package for Home Assistant here:
> 
HTTPS://SYNOCOMMUNITY.COM/PACKAGE/HOMEASSISTANT
> Perhaps give this a try?  It's version 0.82 but that's pretty close to
> current.  Likely you can update from there as time goes by.
> 
> If this package works and you get the duckdns and certificate working
> properly, I would suggest you install the HA configurator add-on and use
> that to create your shell directory under /config (or wherever your
> *.yaml files are) and you can use this to create and edit .yaml and .sh
> files as well.
> 
> If I had one of these gadgets, I would make it work.  :)  
> Good luck.   Ynot.

I'll give it a shot.  Before I do I see this in the LMS log.

Slim::Utils::Scanner::scanPathOrURL (54) Error: No path or URL was
requested!   I see someone had a similar message here
https://github.com/ynot123/LMS_Controls/issues/3  but its not my issue.



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread ynot1234567890


grimmace92 wrote: 
> I appreciate you taking the time.  If anyone has installed on a synology
> which folder did you use to install it?  I used the web folder which
> give access to other devices.  Maybe that was my mistake?

Did a bit of research out of interest and I see that SynoCommunity
already distributes a package for Home Assistant here:

HTTPS://SYNOCOMMUNITY.COM/PACKAGE/HOMEASSISTANT
Perhaps give this a try?  It's version 0.82 but that's pretty close to
current.  Likely you can update from there as time goes by.

If this package works and you get the duckdns and certificate working
properly, I would suggest you install the HA configurator add-on and use
that to create your shell directory under /config (or wherever your
*.yaml files are) and you can use this to create and edit .yaml and .sh
files as well.

If I had one of these gadgets, I would make it work.  :)  
Good luck.   Ynot.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread ynot1234567890


ColH wrote: 
> Substituting living for media, I've set the DF entities as per yours.
> The HA player - as shown on GUI - is "living_room". Should that be space
> instead of '_', or no space?
> 
> BTW - I notice you show Google Home's in your example and in github
> source. Can these be made to play 'LMS' music..?

The names need to match exactly no '_' in one but not the other.  This
name is used to find the entity name (mediaplayer.name) in HA.  As for
google home, mini and such, in LMS setup the chromecast plugin by
Phillipe and you're good to go.  Cast enabled devices can then be used
in LMS.  It is very similar to the UPnP bridge.  Please note that sync
is not perfect on UPnP and Chromecast.

Ynot.



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread ColH


grimmace92 wrote: 
> I appreciate you taking the time.  If anyone has installed on a synology
> which folder did you use to install it?  I used the web folder which
> give access to other devices.  Maybe that was my mistake?

I am running HA on QNAP NAS. Also not possible to get HassIO on there it
seems - which is a shame because HassIO adds some neat extra add-ins.
Note though - according to what I have read - that HassIO is itself a
docker image, so having HassIO in a docker would be a docker within a
docker!
For my QNAP I followed this page - it also has a section for Synology.
Don't know if this is the route you followed.
https://www.home-assistant.io/docs/installation/docker/



ColH's Profile: http://forums.slimdevices.com/member.php?userid=30377
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread ColH


ynot1234567890 wrote: 
> Check your dialogflow mediaplayers entities and see that you defined
> livingroom player properly and that it's matches your players as defined
> in HA GUI.  You can see my entities below.  Your livingroom shoudll be
> similar to my mediaroom.  Notice the 3 o's in rooom because sometimes
> Google get's it wrong:).  In addition you can test in dialogflow or use
> google assistant to see what exactly is being sent.  Beware spaces. 
> Google give living room you may want livingroom hence the entitties
> section.
> 
> 26498

Substituting living for media, I've set the DF entities as per yours.
The HA player - as shown on GUI - is "living_room". Should that be space
instead of '_', or no space?

BTW - I notice you show Google Home's in your example and in github
source. Can these be made to play 'LMS' music..?



ColH's Profile: http://forums.slimdevices.com/member.php?userid=30377
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread grimmace92


ynot1234567890 wrote: 
> Can anyone else here who has installed this on Synology help out here. 
> Sorry but I don't have one to test on.  Looks like there may be some
> limitiations on versions, etc.. that can be run??  Sorry can't really
> help here.
> 
> Ynot

I appreciate you taking the time.  If anyone has installed on a synology
which folder did you use to install it?  I used the web folder which
give access to other devices.  Maybe that was my mistake?



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread ynot1234567890


grimmace92 wrote: 
> I can't install HASSIO on synology only the regular home assistant...

Can anyone else here who has installed this on Synology help out here. 
Sorry but I don't have one to test on.  Looks like there may be some
limitiations on versions, etc.. that can be run??  Sorry can't really
help here.

Ynot



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread ynot1234567890


ColH wrote: 
> I'm seeing some confusion with what the current player is.
> I can say "set current player to living room" and it seems to respond
> positively. But if the HA UI has the player set to e.g. "study" , then
> all the pause/restart commands go to that player, even if I say "pause
> living room". Similarly with "play artist Whoever in the living room".
> If I set the UI to living room, then I can control that player.
> Not sure how this aspect is all tied together. Should "set current
> player to..." update the UI view?

Check your dialogflow mediaplayers entities and see that you defined
livingroom player properly and that it's matches your players as defined
in HA GUI.  You can see my entities below.  Your livingroom shoudll be
similar to my mediaroom.  Notice the 3 o's in rooom because sometimes
Google get's it wrong:).  In addition you can test in dialogflow or use
google assistant to see what exactly is being sent.  Beware spaces. 
Google give living room you may want livingroom hence the entitties
section.

26498


+---+
|Filename: entitity-mediaplayers.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=26498|
+---+


*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread grimmace92


ynot1234567890 wrote: 
> My installation was done on a debian server and I installed HASSIO as
> per the following instructions for generic Linux servers:
> HTTPS://WWW.HOME-ASSISTANT.IO/HASSIO/INSTALLATION/
> 
> To prepare I installed the following packages:
> SUDO APT-GET INSTALL -Y APPARMOR-UTILS APT-TRANSPORT-HTTPS AVAHI-DAEMON
> CA-CERTIFICATES CURL DBUS JQ NETWORK-MANAGER SOCAT
> SOFTWARE-PROPERTIES-COMMON
> 
> Then install Docker-CE as per Docker.com instructions:
> SUDO APT-GET INSTALL DOCKER-CE
> 
> To install HASSIO I used:
> SUDO CURL -SL
> HTTPS://RAW.GITHUBUSERCONTENT.COM/HOME-ASSISTANT/HASSIO-BUILD/MASTER/INSTALL/HASSIO_INSTALL
> | BASH -S
> 
> To open a shell into the docker container I use the following command:
> *docker exec -it homeassistant bash
> *This drops me directly into the config directory inside the
> home-assistant docker container. You can confirm by typing the pwd
> command which shows your current path.
> 
> Ynot

I can't install HASSIO on synology only the regular home assistant...



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread ynot1234567890


grimmace92 wrote: 
> I tried the full path and yes this is where I copied the shell scripts. 
> Also tried chmod 777 on /config/shell and still no good :-(.  When I
> login as root (su) and go to the /config/shell folder the script files
> are there.  I tried to run it and it failed though.  See pic.  When you
> run the chmod command should anything happen.  It just goes back to the
> prompt. I ran chmod 777 -R /config/shell.  Might be time to start over
> and give it one last shot.  What command do you use to install home
> assistant in docker?  Maybe starting fresh with the proper command will
> yield benefits.  This is what I used.  
> 
> sudo docker run --name home-assistant --restart=always --net=host
> --privileged -itd -v /volume1/web/docker/homeassistant:/config -v
> /usr/syno/etc/certificate:/certificate --device /dev/ttyACM0
> homeassistant/home-assistant:latest
> 
> 

My installation was done on a debian server and I installed HASSIO as
per the following instructions for generic Linux servers:
HTTPS://WWW.HOME-ASSISTANT.IO/HASSIO/INSTALLATION/

To prepare I installed the following packages:
SUDO APT-GET INSTALL -Y APPARMOR-UTILS APT-TRANSPORT-HTTPS AVAHI-DAEMON
CA-CERTIFICATES CURL DBUS JQ NETWORK-MANAGER SOCAT
SOFTWARE-PROPERTIES-COMMON

Then install Docker-CE as per Docker.com instructions:
SUDO APT-GET INSTALL DOCKER-CE

To install HASSIO I used:
SUDO CURL -SL
HTTPS://RAW.GITHUBUSERCONTENT.COM/HOME-ASSISTANT/HASSIO-BUILD/MASTER/INSTALL/HASSIO_INSTALL
| BASH -S

To open a shell into the docker container I use the following command:
*docker exec -it homeassistant bash
*This drops me directly into the config directory inside the
home-assistant docker container. You can confirm by typing the pwd
command which shows your current path.

Ynot



*software* - logitech media server version: 7.9.1, home assistant
0.84.6, dialogflow - v.1 api, lms controls app - voice control of lms, 
openmediavault 4.1.17 - storage
*add-ons* - spotty, upnp / dlna bridge, chromecast bridge, 
*players* - sonos, upnp, pi3 - pi core player 3.5.0, android- sb player
v1.4.0, airplay to googlehome and minis
*hardware* - server - i7-3.4ghz, 4gb ram, 6tb storage, debian - 4.18

ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread ColH


I'm seeing some confusion with what the current player is.
I can say "set current player to living room" and it seems to respond
positively. But if the HA UI has the player set to e.g. "study" , then
all the pause/restart commands go to that player, even if I say "pause
living room".
If I set the UI to living room, then I can control that player.
Not sure how this aspect is all tied together. Should "set current
player to..." update the UI view?



ColH's Profile: http://forums.slimdevices.com/member.php?userid=30377
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-06 Thread ColH


grimmace92 wrote: 
> I tried the full path and yes this is where I copied the shell scripts. 
> Also tried chmod 777 on /config/shell and still no good :-(.  When I
> login as root (su) and go to the /config/shell folder the script files
> are there.  I tried to run it and it failed though.  See pic.  When you
> run the chmod command should anything happen.  It just goes back to the
> prompt. I ran chmod 777 -R /config/shell.  Might be time to start over
> and give it one last shot.  What command do you use to install home
> assistant in docker?  Maybe starting fresh with the proper command will
> yield benefits.  This is what I used.  
> 
> sudo docker run --name home-assistant --restart=always --net=host
> --privileged -itd -v /volume1/web/docker/homeassistant:/config -v
> /usr/syno/etc/certificate:/certificate --device /dev/ttyACM0
> homeassistant/home-assistant:latest
> 
> 26494

You probably need a './' in front of script name e.g. bash
./spot_art_alb.sh



ColH's Profile: http://forums.slimdevices.com/member.php?userid=30377
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2019-01-05 Thread grimmace92


ynot1234567890 wrote: 
> You could try your full path as you stated in the previous post: 
> */volume1/web/docker/homeassistant/shell* .  I presume this is where you
> copied your shell script files.
> 
> when you login as root (su) and you go to your /config/shell directory
> if you do a listing, do you see your shell script files there?  Have
> these been chmod -R 777?  Is it the same location as:
> */volume1/web/docker/homeassistant/shell*
> 
> I'm not sure I understand how you are setup exactly.
> 
> Sorry I couldn't help more with this.  Ynot.

I tried the full path and yes this is where I copied the shell scripts. 
Also tried chmod 777 on /config/shell and still no good :-(.  When I
login as root (su) and go to the /config/shell folder the script files
are there.  I tried to run it and it failed though.  See pic.  When you
run the chmod command should anything happen.  It just goes back to the
prompt. I ran chmod 777 -R /config/shell.  Might be time to start over
and give it one last shot.  What command do you use to install home
assistant in docker?  Maybe starting fresh with the proper command will
yield benefits.  This is what I used.  

sudo docker run --name home-assistant --restart=always --net=host
--privileged -itd -v /volume1/web/docker/homeassistant:/config -v
/usr/syno/etc/certificate:/certificate --device /dev/ttyACM0
homeassistant/home-assistant:latest



grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

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


  1   2   3   >