Logitech Media Server

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: Logitech Media Server

Post 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 3107 times
Status in blocky
Blocky State
Blocky State
SBBlocky.JPG (20.23 KiB) Viewed 3107 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... :)
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post by Eduard »

pvm wrote:I have an issue while using the device in blocky:
Blocky is not supported yet... I'm working on it ;)
mschut
Posts: 108
Joined: Sunday 23 February 2014 21:40
Target OS: Raspberry Pi / ODroid
Domoticz version: V3.5613
Location: Netherlands
Contact:

Re: Logitech Media Server

Post 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!
igorrobertifoc
Posts: 1
Joined: Wednesday 30 September 2015 23:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Logitech Media Server

Post 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
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Logitech Media Server

Post by Nautilus »

Hi,

I use authentication in the LMS, is it still possible to connect somehow?
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Logitech Media Server

Post 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? :)
User avatar
cyberclwn
Posts: 103
Joined: Thursday 20 August 2015 22:53
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Logitech Media Server

Post 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.
3xPi 2B (Domoticz "live", Domoticz "sandbox", PhotoFrame)
RFXCom433(E), KaKu, Oregon Scientific, Keyes 2-relay, Logitech Media Server, MiLight, Smartwares heating controller(2x), IR Send/Receive, Keyes PIR, XH-M131 DuskSensor, DHT22/11
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post 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!
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post 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
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Logitech Media Server

Post 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.
Immo
Posts: 19
Joined: Wednesday 11 February 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Logitech Media Server

Post 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
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post 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?
Immo
Posts: 19
Joined: Wednesday 11 February 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Logitech Media Server

Post 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
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post 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
Immo
Posts: 19
Joined: Wednesday 11 February 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Logitech Media Server

Post 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
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post 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...
mschut
Posts: 108
Joined: Sunday 23 February 2014 21:40
Target OS: Raspberry Pi / ODroid
Domoticz version: V3.5613
Location: Netherlands
Contact:

Re: Logitech Media Server

Post by mschut »

Also planning to support the Boom? Would be nice, at least for me.
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post 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)
Immo
Posts: 19
Joined: Wednesday 11 February 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Logitech Media Server

Post by Immo »

Well, I'm not running domoticz from source, but I am willing to test it for you :)
Eduard
Posts: 139
Joined: Monday 19 January 2015 9:14
Target OS: -
Domoticz version:

Re: Logitech Media Server

Post 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...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest