ynot1234567890 wrote: 
> Hi, Indeed it looks like you are getting much closer.  My http section
> reads as follows:
> > 
Code:
--------------------
  >   > http:
  > base_url: https://mydomain.duckdns.org
  > ssl_certificate: /ssl/fullchain.pem
  > ssl_key: /ssl/privkey.pem
  > trusted_networks:
  > - 192.168.0.0/24  
  > 
--------------------
> > 
> 
> Reviewing your output (which is very helpful) looks like the query for
> spotify is working ok, it returned your album and posted the result to
> your sensor (sensor.spotify_uri) but there is a syntax error in line
> 23 looks like a missing " or ' so sensor.lms_name did not get posted.
> 
> As for the result of the query against the lms database, looks like
> the query did not run and no result was found however on the positive
> side, the results do seem to be posted to HA sensors sensor.art_id,
> sensor.alb_id, sensor.lms_name so that part is working.
> 
> I reviewed your previous sh file you sent and it appears ok for the
> section that queries the lms server.
> 
> A couple of quick questions:
> 
> >   >   > 
  - Does your lms installation require you to use a username /
  > password (ie: secure install).  If yes, you need to use the secure
  > scripts and socat.
  - In your configuration.yaml file the following entry in place?
  >   > 
Code:
--------------------
    >     > media_player:
    > - platform: squeezebox
    > host: 192.168.0.XX
--------------------
  >   > 
  - Do you see your logitech media players defined in HA GUI?
  - Is your lms server reachable from your HA instance (ie: can you
  > ping the lms server from a shell in the HA instance)
  - Is your lms CLI port 9090 (check your settings in lms for this)
  - Do you have the artist and album supertramp, breakfast in america
  > in your lms database (query it in your lms interface to make sure)
  - If memory serves, you did a symbolic link to use netcat instead of
  > nc, is the syntax exactly the same??  You could replace nc with
  > netcat in the shell files for lms  
  > > > 
> 
> You can also test the CLI interface to lms to ensure its working and
> returns valid results, using putty, set connection type to telnet, set
> your lms IP address and port to 9090. Press the open button to connect
> and press enter in the window, you should get a bunch of characters
> back.  Now you can test the query directly by entering:
> 
*artists 0 20 search:_supertramp tags:a*
> The results should be something like:
> 
*artists 0 20 search%3A_supertramp tags%3Aa id%3A1234
> artist%3ASupertramp count%3A1*
> Note:  If using the secure version of lms, you need to login first
> (upon initial connection before pressing enter) by typing login
> username password
> 
> As for editing my files I use the built in editor in hassio (HASS
> Configurator) or notepadd++.
> 
> Hope this helps.  Ynot.

Oh man.  I am such a fool.  I went way to far down the rabbit hole on
this one.  Obviously that song wasn't in my LMS database.  I picked one
that was and got the expected results.  I will investigate the spotify
query when I am home later.  Also I am still having issues with the
play, pause and next track buttons not showing up.  I did a full install
a few times and had issues with that. In post #118 I showed a pic of
what I am seeing and the code I see in the files.  Is that correct?
THANK YOU for the help.  In return I will put together a guide for
synology users as it was a real pain to get the SSL certificate
installed.


------------------------------------------------------------------------
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
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to