Hallo zusammen,
ich möchte gerne ein kleines Problem deponieren, auf welches vielleicht schon jemand gestoßen ist.
Also, ich installiere br_sonos wie in der Anleitung beschrieben. Ich habe vorab das Core Script installiert und alles sieht gut aus.
Danach erstellt ich die neue Kategorie SonosLibs und lasse das br_sonos_setup-template.php laufen. Der Programmbaum wird aufgebaut.
Danach erstellt ich einen Dummy und hinterlege die IP des ersten Players.
Nun lasse ich das br_sonos_zonesetup-template.php laufen innerhalb des dummys.
Script wirfst zwar einen Fehler, sieht aber trotzdem gut aus:
br_sonos_zonesetup (ScriptID: 55236):
- … checking … for need of running Sonos setup routines…
====== Zonesetup for Sonos 16671 is ongoing …
ATTENTION: If >>>Dampfbad <<< is not the name of your SONOS device you either didn´t fill or create SONOS_IP,
yet or there is general problem!
Please fill or correct SONOS_IP, delete all Variables and Scripts except SONOS_IP und the SETUP, then RE-RUN this script!!!
If your correct zonename showed up above you everything is ok!!
Ich gehe zurück auf das br_sonos_setup-template.php und lasse es nochmals laufen.
Jetzt kommt mein Problem:
br_sonos_setup (ScriptID: 40937):
====== SETUP/ Update for Sonos 24015 is ongoing …
- deleting VariableProfile Media_Transport for update!
- creating VariableProfile Media_Transport for setup or update!
- deleting VariableProfile SONOS_Volume for update!
- creating VariableProfile SONOS_Volume for setup or update!
NOTICE: For your safety no delete/ update is done on your scripts!
If they don´t exist I will create them now (I will ouput one line for each script created; If you ever need to force recreation you should delete all variables and scripts in this category except br_sonos_setup).
NOTICE: I hided this script in webfront. If you need it in webfront for testing purposes, please unhide it and / or comment out the lines in this script!
ATTENTION: You need to rerun THIS script after each zonesetup run to add the zoneplayers to SONOS_Zones var!
- creating / updating SONOS_Zones and SONOS_Groups (Variables) … done!
- updating list of zoneplayers …
Warning: fsockopen(): unable to connect to 192.168.1.21:1400 (No connection could be made because the target machine actively refused it.
) in C:\IP-Symcon\scripts\PHPSonos.inc.php on line 2262
Fatal error: Uncaught exception ‚Exception‘ with message ‚Error opening socket: No connection could be made because the target machine actively refused it.
(10061)‘ in C:\IP-Symcon\scripts\PHPSonos.inc.php:2264
Stack trace:
#0 C:\IP-Symcon\scripts\PHPSonos.inc.php(343): PHPSonos->XMLsendPacket(‚POST /DevicePro…‘)
#1 C:\IP-Symcon\scripts\br_sonos_setup.php(243): PHPSonos->GetZoneAttributes()
#2 C:\IP-Symcon\scripts\40937.ips.php(3): require(‚C:\IP-Symcon\sc…‘)
#3 {main}
thrown in C:\IP-Symcon\scripts\PHPSonos.inc.php on line 2264
Abort Processing during Fatal-Error: Uncaught exception ‚Exception‘ with message ‚Error opening socket: No connection could be made because the target machine actively refused it.
(10061)‘ in C:\IP-Symcon\scripts\PHPSonos.inc.php:2264
Stack trace:
#0 C:\IP-Symcon\scripts\PHPSonos.inc.php(343): PHPSonos->XMLsendPacket(‚POST /DevicePro…‘)
#1 C:\IP-Symcon\scripts\br_sonos_setup.php(243): PHPSonos->GetZoneAttributes()
#2 C:\IP-Symcon\scripts\40937.ips.php(3): require(‚C:\IP-Symcon\sc…‘)
#3 {main}
thrown
Error in Script C:\IP-Symcon\scripts\PHPSonos.inc.php on Line 2264
Die IP des Players ist eigentlich 192.168.1.25 und das Script versucht auf 192.168.1.21 eine Verbindung aufzubauen. Diese IP ist kein Sonos Player und ich habe keine Ahnung, von wo er diese nun auf einmal hat.
Hatte dieses Phänomen schon mal jemand von euch? Bin dankbar für jeden Tipp!
Gruss und Danke!
Hallo zusammen, habe das Problem soweit gelöst!
Problem A konnte ich durch die Angabe der Script ID direkt lösung (Lösung war bereits im Forum beschrieben).
Bei der IP Adresse habe ich gesehen, dass das Script im gesamten Stamm nach SONOS_IP sucht. Da hat es also ein paar alte Einträge gefunden. Daher die alte IP.