Page 5 of 21

Re: Logitech Media Server

Posted: Sunday 27 September 2015 22:49
by pvm
I have an issue while using the device in blocky:

status on switches page:
SB Frontpage
SB Frontpage
SBFrontP.JPG (15.93 KiB) Viewed 3314 times
Status in blocky
Blocky State
Blocky State
SBBlocky.JPG (20.23 KiB) Viewed 3314 times
Tried it a couple of times and it only seems to happen when I use my remote (or LMS website, power button). The status is updated on the switches page but not in blocky. When switching from the domoticz web page things work fine
I use this to detect if someone is in my living, i used my own crontabbed script before but prefer this much nicer solution

edit: the song title is just the first artist / song in my library, nothing offensive meant here... :)

Re: Logitech Media Server

Posted: Tuesday 29 September 2015 8:50
by Eduard
pvm wrote:I have an issue while using the device in blocky:
Blocky is not supported yet... I'm working on it ;)

Re: Logitech Media Server

Posted: Tuesday 29 September 2015 23:48
by mschut
This is nice!!!!

My Boom is not yet supported, but all my radio's are, well done.

Direct started to experiment with notifications. However, the only notification which is working for me is the "On" action. Should the other options also work? They look quite specific already.

Keep up the good work!

Re: Logitech Media Server

Posted: Thursday 01 October 2015 0:07
by igorrobertifoc
Very gooood Job,
i'm migrating from homegenie where I wrote a plugin for the squeezebox.

Is it possible set a song and play on events scripts? Will be great :D :D :D :D :D

Re: Logitech Media Server

Posted: Friday 02 October 2015 12:31
by Nautilus
Hi,

I use authentication in the LMS, is it still possible to connect somehow?

Re: Logitech Media Server

Posted: Friday 02 October 2015 12:47
by Nautilus
Nautilus wrote:Hi,

I use authentication in the LMS, is it still possible to connect somehow?
Seem that Yes it is when using user:pwd@serverip as the connection address. Is there some reason it recognizes only SB Radio and not e.g. SB Duet and SB Controller? Is there something I could do / help with in order to have these added? :)

Re: Logitech Media Server

Posted: Friday 02 October 2015 13:48
by cyberclwn
Nautilus wrote:
Nautilus wrote:Hi,

I use authentication in the LMS, is it still possible to connect somehow?
Seem that Yes it is when using user:pwd@serverip as the connection address. Is there some reason it recognizes only SB Radio and not e.g. SB Duet and SB Controller? Is there something I could do / help with in order to have these added? :)
Hey,

I think there should be a message in your logfile which device it detected and that it is not supported. If you paste that logging here, i bet Eduard can help you further with it.

Else, in a few posts before, there is a json-url that gives the device name of your devices, (i did it for my Radio's en touch).
If you can provide that, i think Eduard will find that usefull for adding support for your devices.

Re: Logitech Media Server

Posted: Friday 02 October 2015 19:16
by Eduard
Hi,
At the moment very busy so i don't have enough time to develop on a daily basis :cry:

I am/was working on 1) adding notifications to the lms-players (almost working) and 2) use lms-players as notification devices (send messages to the lms-display -> already working ;)
It is not ready beta-proof so i want to finish it before letting you test it

The domotcz/master version has one bug which i'm not able to fix right now:
After switching on a player and play a song, the device shows artist & title as expected. But if i switch a normal switch, the status of this switch also shows the same artist & title :oops:
Can anyone help me debug this?

Thnx!

Re: Logitech Media Server

Posted: Friday 02 October 2015 19:20
by Eduard
cyberclwn wrote:I think there should be a message in your logfile which device it detected and that it is not supported. If you paste that logging here, i bet Eduard can help you further with it.
Correct, it shows unsupported devicetypes in the log, but only once at startup. So if you missed that logline, disable and enable the Logitech Media Server in the Hardware-settings

Re: Logitech Media Server

Posted: Saturday 03 October 2015 0:05
by Nautilus
Sure, no hurry with these but would be nice to get them added at some point :) The result of the json:

Code: Select all

"model":"baby","name":"Squeezebox Radio","uuid":"fb465ce4242c52f11ede9484303dd852","isplayer":1,"canpoweroff":1,"power":0}
"model":"receiver","name":"Squeezebox Duet","uuid":"2bff5f6f5828b3849fbd864aafbf364f","isplayer":1,"canpoweroff":1,"power":0}
"model":"iPengiPod","name":"AO_iPhone6","uuid":"9bac6d1e66db5fae8c47170255c39417","isplayer":1,"canpoweroff":1,"power":0}
this is still missing the Duet controller which is a separate player but it is in the bedroom and apparently offline. From the earlier post I suspect the model is "controller". Is there some other information that would still be needed?

Edit: log has now:

Code: Select all

2015-10-03 07:47:00.427 Error: Logitech Media Server: model 'controller' not supported.
2015-10-03 07:47:00.427 Error: Logitech Media Server: model 'receiver' not supported.

Re: Logitech Media Server

Posted: Saturday 03 October 2015 9:56
by Immo
Hi

I'm diving into the interesting world of adding a LMS to domoticz.
The LMS is running, I can use squeeze play and squeezelite as players.

they do however not show up in the devices of my LMS in domoticz.
Do I still need to run a script for that? (perhaps scheduled?)

Cheers

Re: Logitech Media Server

Posted: Saturday 03 October 2015 15:43
by Eduard
Immo wrote:Hi

I'm diving into the interesting world of adding a LMS to domoticz.
The LMS is running, I can use squeeze play and squeezelite as players.

they do however not show up in the devices of my LMS in domoticz.
Do I still need to run a script for that? (perhaps scheduled?)

Cheers
Is 'accept new hardware' enabled in Settings?

Re: Logitech Media Server

Posted: Saturday 03 October 2015 17:54
by Immo
Yes it is, i re-added a zwave device without problem yesterday too.
Should they appear after adding the lms as new hardware?

Thanks

Re: Logitech Media Server

Posted: Monday 05 October 2015 10:30
by Eduard
Immo wrote:Should they appear after adding the lms as new hardware?
Yes. What players do you have? Maybe they are not supported yet.

Current supported players are: Squeezebox 1, Squeezebox 2, Squeezebox 3, Transporter, Squeezebox Radio, Squeezebox Touch & Max2Play SqueezePlug

New version will also support Squeezebox Receiver & Squeezebox Controller

Re: Logitech Media Server

Posted: Monday 05 October 2015 19:08
by Immo
Hi

That makes sense indeed :)

2015-10-05 19:01:14.671 Error: Logitech Media Server: model 'squeezeplay' not supported.

I am running squeeze play on osx, also planning to run software squeeze player on rip

Re: Logitech Media Server

Posted: Monday 05 October 2015 19:27
by Eduard
Eduard wrote:The domotcz/master version has one bug which i'm not able to fix right now:
After switching on a player and play a song, the device shows artist & title as expected. But if i switch a normal switch, the status of this switch also shows the same artist & title :oops:
Found it! Fixed in new beta...

Also enabled support for Controller & Receiver. Please let me know if it works for those devices...

Re: Logitech Media Server

Posted: Monday 05 October 2015 19:29
by mschut
Also planning to support the Boom? Would be nice, at least for me.

Re: Logitech Media Server

Posted: Monday 05 October 2015 19:32
by Eduard
Immo wrote:That makes sense indeed :)
2015-10-05 19:01:14.671 Error: Logitech Media Server: model 'squeezeplay' not supported.
I am running squeeze play on osx, also planning to run software squeeze player on rip
If you are able to compile from source, you could change line 331 of LogitechMediaServer.cpp to enable support for your device.

Maybe i should enable all devicestypes although i'm not sure if they al work :? (I don't own them all to test)

Re: Logitech Media Server

Posted: Monday 05 October 2015 19:36
by Immo
Well, I'm not running domoticz from source, but I am willing to test it for you :)

Re: Logitech Media Server

Posted: Monday 05 October 2015 19:46
by Eduard
Immo wrote:Well, I'm not running domoticz from source, but I am willing to test it for you :)
I just created a pull-request with support for Boom & SqueezePlay. Should be available in next beta...