PDA

View Full Version : Connecting the duet to server with controller or perl script



dennis013
2018-07-26, 06:16
I'm searching for a way to get my duet receiver out of init mode without the controller (its broken) or perl (i really dont understand)
Is there a new app? I used to do it with squeezeconfig on android box, but that wont work anymore.....

Tring to connect the receiver to the server on a raspbery with max2play.
Used to work perfect until some one put it to factory defaults.

w3wilkes
2018-07-26, 06:32
Have you tried Net::UDAP? There's a Windows .exe version that can be downloaded from this page;
http://wiki.linuxmce.org/index.php/SlimDevices_/_Logitech_Squeezebox
This pre compiled version does not require an external Perl install.

dennis013
2018-07-26, 07:14
Have you tried Net::UDAP? There's a Windows .exe version that can be downloaded from this page;
http://wiki.linuxmce.org/index.php/SlimDevices_/_Logitech_Squeezebox
This pre compiled version does not require an external Perl install.



I dont know what to do with those codes. It writen likes it would be very simple but already on the first command 'discover' i get so much text i dont know what too to do.

this

UDAP> discover
info: *** Broadcasting adv_discovery message to MAC address 00:00:00:00:00:00 on 255.255.255.255
Use of uninitialized value in length at /PerlApp/Net/UDAP/Util.pm line 57, <FIN> line 1.
Use of uninitialized value in length at /PerlApp/Net/UDAP/Util.pm line 67, <FIN> line 1.
Supplied string has length0(expected length: 6) at /PerlApp/Net/UDAP.pm line 296
Use of uninitialized value in concatenation (.) or string at /PerlApp/Net/UDAP.pm line 297, <FIN> line 1.
info: adv_discovery response received from
Use of uninitialized value in length at /PerlApp/Net/UDAP/Util.pm line 57, <FIN> line 1.
Use of uninitialized value in length at /PerlApp/Net/UDAP/Util.pm line 67, <FIN> line 1.
Supplied string has length0(expected length: 6) at /PerlApp/Net/UDAP.pm line 358
mac not found in msg at /PerlApp/Net/UDAP/Shell.pm line 156
Use of uninitialized value in length at /PerlApp/Net/UDAP/Util.pm line 57, <FIN> line 1.
Use of uninitialized value in length at /PerlApp/Net/UDAP/Util.pm line 67, <FIN> line 1.
Supplied string has length0(expected length: 6) at /PerlApp/Net/UDAP.pm line 296
Use of uninitialized value in concatenation (.) or string at /PerlApp/Net/UDAP.pm line 297, <FIN> line 1.
info: adv_discovery response received from
Use of uninitialized value in length at /PerlApp/Net/UDAP/Util.pm line 57, <FIN> line 1.
Use of uninitialized value in length at /PerlApp/Net/UDAP/Util.pm line 67, <FIN> line 1.
Supplied string has length0(expected length: 6) at /PerlApp/Net/UDAP.pm line 358
mac not found in msg at /PerlApp/Net/UDAP/Shell.pm line 156
UDAP>

w3wilkes
2018-07-26, 08:10
You need to have the receiver in factory reset mode and ethernet attached for UDAP to find the receiver. Here's some instructions.
http://projects.robinbowes.com/Net-UDAP/trac/wiki/GettingStarted

bpa
2018-07-26, 08:42
I dont know what to do with those codes. It writen likes it would be very simple but already on the first command 'discover' i get so much text i dont know what too to do.

That looks there is an error or a version mismatch.
What version of OS & Perl ?
What version of Net::UDAP ? IIRC I got errors with the "latest" one.

edit:

Looking at an old post - this error may be related to not having an Ethernet connection to receiver (i.e. not wireless).

w3wilkes
2018-07-27, 09:00
That looks there is an error or a version mismatch.
What version of OS & Perl ?
What version of Net::UDAP ? IIRC I got errors with the "latest" one.


I think he's using the .exe compiled version of UDAP for Windows which also contains the matching required Perl module. I'm going with the not ethernet attached and/or not factory reset.

toolik
2018-07-27, 14:31
This android apk worked for me https://sourceforge.net/projects/lms-udap-utility/files/

dennis013
2018-07-31, 03:38
I think he's using the .exe compiled version of UDAP for Windows which also contains the matching required Perl module. I'm going with the not ethernet attached and/or not factory reset.



Correct, i use this one http://slim2lirc.myown.mailcan.com/udap_shell_1_0_0.exe
The logitech duet and PC are both hardwired to the router

The receiver is blinking red ledlight


This is insanely difficult for someone not so technical

dennis013
2018-07-31, 03:39
You need to have the receiver in factory reset mode and ethernet attached for UDAP to find the receiver. Here's some instructions.
http://projects.robinbowes.com/Net-UDAP/trac/wiki/GettingStarted

these zipfiles are gone already. Only the info regarding putting in factory mode is OK

dennis013
2018-07-31, 07:18
This android apk worked for me https://sourceforge.net/projects/lms-udap-utility/files/


This is squeezeconfig, which also has worked for me in the past. But now the receiver is stuck in 'init' mode. Which should be 'wait_slimserver' like the squeezebox boom is.
In squeezeconfig i adjust the server ip to the one of the raspberry, save settings, but noting seems to happen after the reset


Please help. Im stuck :(

dennis013
2018-08-02, 08:04
finally fixed it with squeezeconfig. i entered the wireless details also. Just wired was not enough! Yes finally music back after 2 weeks of agony :D