piCorePlayer missing/not working

Hello everyone.
I recently moved my HA installation from a very old server to a more recent one, in order to make it work faster and smoother (it runs in a Proxmox VM).

I also moved my Logitech/Lyrion Media Server to another Proxmox VM.

Lastly, I have a piCorePlayer (squeezelite) installation on an old RaspberryPi+DAC, which wasn’t moved/changed in any way.

Everything worked before moving to the new installation. On the other hand, now my HA can see the LMS server but it doesn’t detect the piCorePlayer/squeezelite player anymore.

I can see an old “picoreplayer” entity which worked in the previous installation (before the move) but it doesn’t seem to do anything now (and I can’t even remove it).

Any hints?

Every single “item” works correctly (I can stream music from the LMS server interface to the piCorePlayer) but I can’t seem to make the integration work anymore.

Thanks

It works everything

HA doesn’t ever really see or talk to the players directly. The integration talks to the LMS server and asks it about the players that are attached to it. In your LMS integration (settings/devices&services/squeezebox), what do you see under the integration entry - the LMS should be a Service, and the player should be a device and multiple entities. With the LMS on (and a reboot never does any harm), try just reloading the integration (under the three dots).

This is what I see:

It’s also pretty weird that the integration sees two different server installations, as the LMS server is actually installed at 192.168.1.194.
192.168.1.140 is the IP of the HA server, where there’s no LMS installed (it’s a VM with HAOS on it).
One of the Entities is “players count” which reports “1” but I can’t find it anywhere (on the previous installation it was something like media_player.picoreplayer)
I’ll try rebooting the server again and see if anything new happens.

Have you installed Music Assistant on the HA server - that’s likely what the integration is seeing on the HA server. One way or another, something on your HA server is responding to the broadcast message “are there any lms servers out there”. You definately want to sort that out as the pcp will be asking the same question.

No, I only have installed the LMS integration in HA.
The HA server only hosts HAOS, I have not installed anything else on it. I have no idea where this problem comes from. Also, at every reboot it will “rediscover” this LMS on the HA server’s IP.

Good news is that after the third reboot of the HA server, the piCorePlayer has now appeared and works correctly.

One way or another, there’s something responding to the lms discovery running on your HA server. Maybe take a look at your addons and see if there’s anything there. You likely want to get it sorted because the pcp could also find that server. If you can’t sort that out, I’d suggest manually entering the ip address of your lms in the squeezelite page of your pcp - just to make sure it doesn’t find the wrong thing.

If you can’t get rid of it, try disabiling the rouge connection from the integrations list rather than deleting it - that way it won’t keep re-adding it.

How did you move to the new server, restoring a backup?
Maybe is worth trying to remove LMS from the new install and add it again.
Also take a look at the config at the LMS/picoreplayer, maybe was pointing to an old ip address.

That doesn’t seem to represent a problem, since pCp finds the correct LMS:

Yes, I used the latest backup, then tweaked the things that weren’t working. This is the last “problem” left, but I can’t seem to solve it. I’ll try removing the LMS integration and add it again after a reboot.

EDIT: new problem: I can’t seem to find a way to uninstall the LMS integration as there is neither a “three dots” menu, nor a delete/remove button anywhere

you don’t uninstall the integration, you just remove all the config entries.

TBH, I don’t think it’ll make any difference though, since it’s auto discovering the wrong server anyway. As I said though, the integration just sends out a broadcast message asking for responses , and something on your HA server is responding.

I really can’t think of anything, as I have not installed anything on the server. It’s a VM machine totally dedicated to HA, with only HAOS installed on it and nothing else whatsoever.

At one stage my LMS server changed it’s name (due to my incessant fiddling) and I got dual services in HA. I fixed it by removing the Lyrion config entries and re-adding it. All players were auto discovered.

First up though, is the pcp recognized in LMS?