Sonos steuern

Begonnen von Will, 05 Januar 2013, 15:51:12

Vorheriges Thema - Nächstes Thema

juemuc

Zitat von: juemuc am 16 Januar 2017, 20:33:30
Hallo Reinerlein,

ich vermute es liegt am Sub, da dieser das Attribut "minVolumeHeadphone" nicht hat. Ich habe die IP des Sub ausgeschlossen und schon ist die Meldung weg. Nehme ich die IP wieder dazu, kommt auch die Fehlermeldung.
Benötigst Du weitere Informationen?

Viele Grüße
juemuc

Hallo Reinerlein,

ich habe das Problem nun weiter geprüft. Solange ich den Sub über die IP ausschließe, ist die Fehlermeldung
ZitatSubscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 5396 thread 1.
weg. Allerdings habe ich dann auch keine Infos mehr über den Sub.

Ich hoffe, Du kannst mir helfen.

Viele Grüße
juemuc
3x Sonos Play 1, 1x Sonos Arc + Sub, 1 Sonos-One, 1x Sonos Playbar
FB6690 + FB7490 mit 4x Dect 200 und 3 Dect-ULE-Thermostate,  raspberry3B+, HM Funkmodul HM-MOD-RPI-PCB, HM Klingelsensor HM-Sen-DB-PCB, HM (IP) Fensterkontakte und  Amazon Echo Dot,  piVCCU, pi OS (bookworm).

Nobby1805

@elmer: allerdings sind das jetzt schon ungewöhnliche Meldungen ... welches Gerät hat denn bei dir die 192.168.167.29 bzw. die .33 ?
Wie sieht denn die "define Sonos"-Zeile in deinem .cfg-File aus ?
FHEM-Featurelevel: 6.2   (fhem.pl:28227/2023-11-29) auf Windows 10 Pro mit Strawberry Perl 5.32.1.1-32bit
TabletUI: 2.7.15
IO: 2xHMLAN(0.965)|HMUSB2(0.967)

elmer

Die 29 ist ein Momematic LAN Gateway und die 33 ist der Raspberry Pi.

DEF ist 192.168.197.33:4711 30 1 5

Als erstes hatte ich localhost aber da kamen die Fehlermeldungen auch.

Beim zweiten Mal lesen habe ich auch gesehen das Verbose kleiner wie drei sein soll, jetzt steht es auf eins.

Nobby1805

Was mich wundert ist
Zitat von: elmer am 26 Januar 2017, 20:55:37
2017.01.26 20:35:13 3: Can't connect to 192.168.197.29:2000: Connection refused
sieht wie die Meldung von Sonos aus ... aber was will Sonos vom HMLAN ?
Zitat von: elmer am 26 Januar 2017, 20:55:37
2017.01.26 20:35:14 0: SONOS0: Retries left (wait 30s): 9
und so eine Meldung habe ich noch nie gesehen
FHEM-Featurelevel: 6.2   (fhem.pl:28227/2023-11-29) auf Windows 10 Pro mit Strawberry Perl 5.32.1.1-32bit
TabletUI: 2.7.15
IO: 2xHMLAN(0.965)|HMUSB2(0.967)

elmer

Ich habe jetz noch 3mal neu gestartet und es sieht immer gleich aus, zuerst kommen einige Fehlermeldungen und danach scheint es doch zu gehen. Leider kann ich mit den ganzen Meldungen 0 anfangen aber irgend etwas scheint falsch zu sein.


2017.01.27 14:43:09 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...
2017.01.27 14:43:14 1: Including fhem.cfg
2017.01.27 14:43:14 3: WEB: port 8083 opened
2017.01.27 14:43:14 3: WEBphone: port 8084 opened
2017.01.27 14:43:14 3: WEBtablet: port 8085 opened
2017.01.27 14:43:14 2: eventTypes: loaded 1573 events from ./log/eventTypes.txt
2017.01.27 14:43:14 3: Opening meinLGW device 192.168.197.29:2000
2017.01.27 14:43:15 3: HUEDevice5: I/O device is bridge
2017.01.27 14:43:15 3: HUEDevice6: I/O device is bridge
2017.01.27 14:43:15 3: HUEDevice1: I/O device is bridge
2017.01.27 14:43:15 3: HUEDevice4: I/O device is bridge
2017.01.27 14:43:15 3: HUEDevice2: I/O device is bridge
2017.01.27 14:43:15 3: HUEDevice7: I/O device is bridge
2017.01.27 14:43:15 3: HUEDevice3: I/O device is bridge
2017.01.27 14:43:15 3: HUEGroup1: I/O device is bridge
2017.01.27 14:43:15 3: HUEGroup0: I/O device is bridge
2017.01.27 14:43:15 3: HUEGroup2: I/O device is bridge
2017.01.27 14:43:15 3: HUEGroup3: I/O device is bridge
2017.01.27 14:43:15 3: TABLETUI: new ext defined infix:ftui/: dir:./www/tablet:
2017.01.27 14:43:15 3: Registering HTTPSRV TABLETUI for URL /ftui   and assigned link ftui/ ...
2017.01.27 14:43:15 3: Jet: Defined with URL http://www.clever-tanken.de/tankstelle_details/43943 and interval 600
2017.01.27 14:43:15 3: Aral: Defined with URL http://www.clever-tanken.de/tankstelle_details/11177 and interval 600
2017.01.27 14:43:16 3: wetter_eigheim: Defined with URL http://api.wunderground.com/weatherstation/WXCurrentObXML.asp?ID=IBAYERNB14 and interval 300
2017.01.27 14:43:16 3: Opening CUL1 device /dev/ttyACM0
2017.01.27 14:43:16 3: Setting CUL1 serial parameters to 38400,8,N,1
2017.01.27 14:43:16 3: CUL1: Possible commands: BbCFiAZNkGMKUYRTVWXefmLltux
2017.01.27 14:43:16 3: CUL1 device opened
2017.01.27 14:43:16 3: Opening Rademacher device /dev/serial/by-id/usb-Rademacher_DuoFern_USB-Stick_WR03RBJ4-if00-port0
2017.01.27 14:43:16 3: Setting Rademacher serial parameters to 115200,8,N,1
2017.01.27 14:43:16 3: Rademacher device opened
2017.01.27 14:43:18 3: mod_TV_Programme: Defined with URL http://www.klack.de/fernsehprogramm/was-laeuft-gerade/0/0/all.html and interval 300
2017.01.27 14:43:20 3: Opening Fritzbox device 192.168.197.3:2002
2017.01.27 14:43:20 1: FBAHA Fritzbox registered with handle: 0000001f
2017.01.27 14:43:20 3: Fritzbox device opened
2017.01.27 14:43:20 3: Opening CallMonitor device 192.168.197.3:1012
Current: "fhem.pl", gPath: "./FHEM"
2017.01.27 14:43:21 1: Including ./log/fhem.save
2017.01.27 14:43:21 3: Device HM_3E883A added to ActionDetector with 002:50 time
2017.01.27 14:43:21 3: Device HM_3E8962 added to ActionDetector with 002:50 time
2017.01.27 14:43:21 3: Device HM_4AE8E3 added to ActionDetector with 002:50 time
2017.01.27 14:43:21 3: Device HM_4AE9A3 added to ActionDetector with 002:50 time
2017.01.27 14:43:22 3: FB_CALLMONITOR (CallMonitor) - phonebooks found: Telefonbuch (id: 0), phonebook (id: 1), Anneliese (id: 2)
2017.01.27 14:43:22 2: FB_CALLMONITOR (CallMonitor) - read 24 contacts from remote phonebook "Telefonbuch"
2017.01.27 14:43:22 2: FB_CALLMONITOR (CallMonitor) - read 22 contacts from remote phonebook "phonebook"
2017.01.27 14:43:23 2: FB_CALLMONITOR (CallMonitor) - read 9 contacts from remote phonebook "Anneliese"
2017.01.27 14:43:26 3: HarmonyController: ssdp responder started
2017.01.27 14:43:26 3: HarmonyController: listener started
2017.01.27 14:43:26 3: Harmony_Hub: connected
2017.01.27 14:43:26 1: usb create starting
2017.01.27 14:43:26 3: Probing CUL device /dev/ttyAMA0
2017.01.27 14:43:26 3: Probing TCM_ESP3 device /dev/ttyAMA0
2017.01.27 14:43:27 3: Probing FRM device /dev/ttyAMA0
2017.01.27 14:43:32 1: usb create end
2017.01.27 14:43:32 0: Featurelevel: 5.7
2017.01.27 14:43:32 0: Server started with 135 defined entities (fhem.pl:13210/2017-01-23 perl:5.020002 os:linux user:fhem pid:14000)
2017.01.27 14:43:32 3: telnetForBlockingFn_1485524612.52344: port 46657 opened
2017.01.27 14:43:32 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 1 Sekunde(n) darauf...
2017.01.27 14:43:32 3: Can't connect to 192.168.197.29:2000: Illegal seek
2017.01.27 14:43:32 3: Can't connect to 192.168.197.29:2000: 192.168.197.29: Connection reset by peer
2017.01.27 14:43:32 3: CallMonitor device opened
Current: "./FHEM/00_SONOS.pm", gPath: ""
2017.01.27 14:43:33 0: SONOS0: Can't bind Port 4711: Bind failed: Address already in use at ./FHEM/00_SONOS.pm line 8364.

2017.01.27 14:43:33 0: SONOS0: Retries left (wait 30s): 9
2017.01.27 14:43:35 3: Opening Sonos device 192.168.197.33:4711
2017.01.27 14:43:35 3: Can't connect to 192.168.197.33:4711: Connection refused
2017.01.27 14:43:35 3: Jet: Read callback: request type was update retry 0, no headers, body empty,
Error: write to http://www.clever-tanken.de:80 timed out
2017.01.27 14:43:35 3: Aral: Read callback: request type was update retry 0, no headers, body empty,
Error: write to http://www.clever-tanken.de:80 timed out
2017.01.27 14:43:35 3: wetter_eigheim: Read callback: request type was update retry 0, no headers, body empty,
Error: write to http://api.wunderground.com:80 timed out
2017.01.27 14:43:35 3: mod_TV_Programme: Read callback: request type was update retry 0, no headers, body empty,
Error: write to http://www.klack.de:80 timed out
2017.01.27 14:43:37 3: Harmony_Hub: new config
2017.01.27 14:44:03 0: SONOS0: Can't bind Port 4711: Bind failed: Address already in use at ./FHEM/00_SONOS.pm line 8364.

2017.01.27 14:44:03 0: SONOS0: Retries left (wait 30s): 8
2017.01.27 14:44:32 3: Opening meinLGW:keepAlive device 192.168.197.29:2001
2017.01.27 14:44:32 1: 192.168.197.29:2000 reappeared (meinLGW)
2017.01.27 14:44:32 3: meinLGW:keepAlive device opened
2017.01.27 14:44:32 3: HMUARTLGW meinLGW BidCoS-port opened
2017.01.27 14:44:32 3: HMUARTLGW meinLGW:keepAlive KeepAlive-port opened
2017.01.27 14:44:33 1: SONOS0: ./FHEM/00_SONOS.pm is listening to Port 4711
2017.01.27 14:44:36 3: SONOS0: Connection accepted from raspberrypi.fritz.box:56718
2017.01.27 14:44:36 1: 192.168.197.33:4711 reappeared (Sonos)
2017.01.27 14:44:39 1: HMUARTLGW meinLGW did not respond for the 1. time, resending
2017.01.27 14:44:39 3: SONOS1: UPnP-Thread gestartet.
2017.01.27 14:44:39 1: SONOS2: IsAlive-Thread gestartet. Warte 120 Sekunden und pruefe dann alle 30 Sekunden...
2017.01.27 14:44:39 2: SONOS1: Discover Sonosplayer 'Bad' (S6) Software Revision 7.1 with ID 'RINCON_5CAAFD05436801400_MR'
2017.01.27 14:44:39 1: SONOS3: Restore-Thread gestartet. Warte auf Arbeit...
2017.01.27 14:44:40 2: SONOS1: SonosPlayer 'Bad' (S6) with ID 'RINCON_5CAAFD05436801400_MR' is already defined (as 'Sonos_Bad') and will only be updated
2017.01.27 14:44:40 2: SONOS1: SonosPlayer 'Bad' is now updated
2017.01.27 14:44:40 2: SONOS1: Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002251
2017.01.27 14:44:40 2: SONOS1: Rendering-Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002252
2017.01.27 14:44:40 2: SONOS1: GroupRendering-Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002253
2017.01.27 14:44:40 2: SONOS1: ContentDirectory-Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002254
2017.01.27 14:44:40 2: SONOS1: Alarm-Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002255
2017.01.27 14:44:40 2: SONOS1: ZoneGroupTopology-Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002256
2017.01.27 14:44:40 2: SONOS1: DeviceProperties-Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002257
2017.01.27 14:44:40 2: SONOS1: AudioIn-Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002258
2017.01.27 14:44:40 3: SONOS1: Discover: End of discover-event for "Bad".
2017.01.27 14:44:40 2: SONOS1: Discover Sonosplayer 'Küche' (S6) Software Revision 7.1 with ID 'RINCON_5CAAFD01DBDE01400_MR'
2017.01.27 14:44:41 2: SONOS1: SonosPlayer 'Kueche' (S6) with ID 'RINCON_5CAAFD01DBDE01400_MR' is already defined (as 'Sonos_Kueche') and will only be updated
2017.01.27 14:44:41 2: SONOS1: SonosPlayer 'Kueche' is now updated
2017.01.27 14:44:41 2: SONOS1: Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002264
2017.01.27 14:44:41 2: SONOS1: Rendering-Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002265
2017.01.27 14:44:41 2: SONOS1: GroupRendering-Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002266
2017.01.27 14:44:41 2: SONOS1: ContentDirectory-Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002267
2017.01.27 14:44:41 2: SONOS1: Alarm-Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002268
2017.01.27 14:44:41 2: SONOS1: ZoneGroupTopology-Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002269
2017.01.27 14:44:41 2: SONOS1: DeviceProperties-Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002270
2017.01.27 14:44:41 2: SONOS1: AudioIn-Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002271
2017.01.27 14:44:41 3: SONOS1: Discover: End of discover-event for "Küche".
2017.01.27 14:44:41 3: SONOS1: Event: Received Transport-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: End of Transport-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: Received Transport-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: End of Transport-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: Received GroupRendering-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: End of GroupRendering-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: Received GroupRendering-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: End of GroupRendering-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: Received Alarm-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: End of Alarm-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: Received Alarm-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: End of Alarm-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: Received AudioIn-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: End of AudioIn-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: Received AudioIn-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: End of AudioIn-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: Received ZoneGroupTopology-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: End of ZoneGroupTopology-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: Received ZoneGroupTopology-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: End of ZoneGroupTopology-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:42 3: SONOS1: Event: Received DeviceProperties-Event for Zone "Sonos_Bad".
2017.01.27 14:44:42 3: SONOS1: Event: End of DeviceProperties-Event for Zone "Sonos_Bad".
2017.01.27 14:44:42 3: SONOS1: Event: Received DeviceProperties-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:42 3: SONOS1: Event: End of DeviceProperties-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:42 3: SONOS1: Event: Received ContentDirectory-Event for Zone "Sonos_Bad".
2017.01.27 14:44:42 3: SONOS1: Event: End of ContentDirectory-Event for Zone "Sonos_Bad".
2017.01.27 14:44:42 3: SONOS1: Event: Received ContentDirectory-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:42 3: SONOS1: Event: End of ContentDirectory-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:42 3: SONOS1: Event: Received Rendering-Event for Zone "Sonos_Bad".
2017.01.27 14:44:42 3: SONOS1: Event: End of Rendering-Event for Zone "Sonos_Bad".
2017.01.27 14:44:42 3: SONOS1: Event: Received Rendering-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:42 3: SONOS1: Event: End of Rendering-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:42 1: HMUARTLGW meinLGW did not respond for the 2. time, resending
2017.01.27 14:44:45 1: HMUARTLGW meinLGW did not respond for the 3. time, resending
2017.01.27 14:44:48 1: HMUARTLGW meinLGW did not respond after all, reopening
2017.01.27 14:44:48 3: meinLGW device closed
2017.01.27 14:44:48 3: Opening meinLGW:keepAlive device 192.168.197.29:2001
2017.01.27 14:44:48 1: 192.168.197.29:2000 reappeared (meinLGW)
2017.01.27 14:44:48 3: meinLGW:keepAlive device opened
2017.01.27 14:44:48 3: HMUARTLGW meinLGW BidCoS-port opened
2017.01.27 14:44:48 3: HMUARTLGW meinLGW:keepAlive KeepAlive-port opened
2017.01.27 14:45:42 3: SONOS0: Connection accepted from raspberrypi.fritz.box:56868
2017.01.27 14:46:12 3: SONOS0: Connection accepted from raspberrypi.fritz.box:56870

DeeSPe

Zitat von: elmer am 27 Januar 2017, 14:52:17
Ich habe jetz noch 3mal neu gestartet und es sieht immer gleich aus, zuerst kommen einige Fehlermeldungen und danach scheint es doch zu gehen. Leider kann ich mit den ganzen Meldungen 0 anfangen aber irgend etwas scheint falsch zu sein.


2017.01.27 14:43:09 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...
2017.01.27 14:43:14 1: Including fhem.cfg
2017.01.27 14:43:14 3: WEB: port 8083 opened
2017.01.27 14:43:14 3: WEBphone: port 8084 opened
2017.01.27 14:43:14 3: WEBtablet: port 8085 opened
2017.01.27 14:43:14 2: eventTypes: loaded 1573 events from ./log/eventTypes.txt
2017.01.27 14:43:14 3: Opening meinLGW device 192.168.197.29:2000
2017.01.27 14:43:15 3: HUEDevice5: I/O device is bridge
2017.01.27 14:43:15 3: HUEDevice6: I/O device is bridge
2017.01.27 14:43:15 3: HUEDevice1: I/O device is bridge
2017.01.27 14:43:15 3: HUEDevice4: I/O device is bridge
2017.01.27 14:43:15 3: HUEDevice2: I/O device is bridge
2017.01.27 14:43:15 3: HUEDevice7: I/O device is bridge
2017.01.27 14:43:15 3: HUEDevice3: I/O device is bridge
2017.01.27 14:43:15 3: HUEGroup1: I/O device is bridge
2017.01.27 14:43:15 3: HUEGroup0: I/O device is bridge
2017.01.27 14:43:15 3: HUEGroup2: I/O device is bridge
2017.01.27 14:43:15 3: HUEGroup3: I/O device is bridge
2017.01.27 14:43:15 3: TABLETUI: new ext defined infix:ftui/: dir:./www/tablet:
2017.01.27 14:43:15 3: Registering HTTPSRV TABLETUI for URL /ftui   and assigned link ftui/ ...
2017.01.27 14:43:15 3: Jet: Defined with URL http://www.clever-tanken.de/tankstelle_details/43943 and interval 600
2017.01.27 14:43:15 3: Aral: Defined with URL http://www.clever-tanken.de/tankstelle_details/11177 and interval 600
2017.01.27 14:43:16 3: wetter_eigheim: Defined with URL http://api.wunderground.com/weatherstation/WXCurrentObXML.asp?ID=IBAYERNB14 and interval 300
2017.01.27 14:43:16 3: Opening CUL1 device /dev/ttyACM0
2017.01.27 14:43:16 3: Setting CUL1 serial parameters to 38400,8,N,1
2017.01.27 14:43:16 3: CUL1: Possible commands: BbCFiAZNkGMKUYRTVWXefmLltux
2017.01.27 14:43:16 3: CUL1 device opened
2017.01.27 14:43:16 3: Opening Rademacher device /dev/serial/by-id/usb-Rademacher_DuoFern_USB-Stick_WR03RBJ4-if00-port0
2017.01.27 14:43:16 3: Setting Rademacher serial parameters to 115200,8,N,1
2017.01.27 14:43:16 3: Rademacher device opened
2017.01.27 14:43:18 3: mod_TV_Programme: Defined with URL http://www.klack.de/fernsehprogramm/was-laeuft-gerade/0/0/all.html and interval 300
2017.01.27 14:43:20 3: Opening Fritzbox device 192.168.197.3:2002
2017.01.27 14:43:20 1: FBAHA Fritzbox registered with handle: 0000001f
2017.01.27 14:43:20 3: Fritzbox device opened
2017.01.27 14:43:20 3: Opening CallMonitor device 192.168.197.3:1012
Current: "fhem.pl", gPath: "./FHEM"
2017.01.27 14:43:21 1: Including ./log/fhem.save
2017.01.27 14:43:21 3: Device HM_3E883A added to ActionDetector with 002:50 time
2017.01.27 14:43:21 3: Device HM_3E8962 added to ActionDetector with 002:50 time
2017.01.27 14:43:21 3: Device HM_4AE8E3 added to ActionDetector with 002:50 time
2017.01.27 14:43:21 3: Device HM_4AE9A3 added to ActionDetector with 002:50 time
2017.01.27 14:43:22 3: FB_CALLMONITOR (CallMonitor) - phonebooks found: Telefonbuch (id: 0), phonebook (id: 1), Anneliese (id: 2)
2017.01.27 14:43:22 2: FB_CALLMONITOR (CallMonitor) - read 24 contacts from remote phonebook "Telefonbuch"
2017.01.27 14:43:22 2: FB_CALLMONITOR (CallMonitor) - read 22 contacts from remote phonebook "phonebook"
2017.01.27 14:43:23 2: FB_CALLMONITOR (CallMonitor) - read 9 contacts from remote phonebook "Anneliese"
2017.01.27 14:43:26 3: HarmonyController: ssdp responder started
2017.01.27 14:43:26 3: HarmonyController: listener started
2017.01.27 14:43:26 3: Harmony_Hub: connected
2017.01.27 14:43:26 1: usb create starting
2017.01.27 14:43:26 3: Probing CUL device /dev/ttyAMA0
2017.01.27 14:43:26 3: Probing TCM_ESP3 device /dev/ttyAMA0
2017.01.27 14:43:27 3: Probing FRM device /dev/ttyAMA0
2017.01.27 14:43:32 1: usb create end
2017.01.27 14:43:32 0: Featurelevel: 5.7
2017.01.27 14:43:32 0: Server started with 135 defined entities (fhem.pl:13210/2017-01-23 perl:5.020002 os:linux user:fhem pid:14000)
2017.01.27 14:43:32 3: telnetForBlockingFn_1485524612.52344: port 46657 opened
2017.01.27 14:43:32 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 1 Sekunde(n) darauf...
2017.01.27 14:43:32 3: Can't connect to 192.168.197.29:2000: Illegal seek
2017.01.27 14:43:32 3: Can't connect to 192.168.197.29:2000: 192.168.197.29: Connection reset by peer
2017.01.27 14:43:32 3: CallMonitor device opened
Current: "./FHEM/00_SONOS.pm", gPath: ""
2017.01.27 14:43:33 0: SONOS0: Can't bind Port 4711: Bind failed: Address already in use at ./FHEM/00_SONOS.pm line 8364.

2017.01.27 14:43:33 0: SONOS0: Retries left (wait 30s): 9
2017.01.27 14:43:35 3: Opening Sonos device 192.168.197.33:4711
2017.01.27 14:43:35 3: Can't connect to 192.168.197.33:4711: Connection refused
2017.01.27 14:43:35 3: Jet: Read callback: request type was update retry 0, no headers, body empty,
Error: write to http://www.clever-tanken.de:80 timed out
2017.01.27 14:43:35 3: Aral: Read callback: request type was update retry 0, no headers, body empty,
Error: write to http://www.clever-tanken.de:80 timed out
2017.01.27 14:43:35 3: wetter_eigheim: Read callback: request type was update retry 0, no headers, body empty,
Error: write to http://api.wunderground.com:80 timed out
2017.01.27 14:43:35 3: mod_TV_Programme: Read callback: request type was update retry 0, no headers, body empty,
Error: write to http://www.klack.de:80 timed out
2017.01.27 14:43:37 3: Harmony_Hub: new config
2017.01.27 14:44:03 0: SONOS0: Can't bind Port 4711: Bind failed: Address already in use at ./FHEM/00_SONOS.pm line 8364.

2017.01.27 14:44:03 0: SONOS0: Retries left (wait 30s): 8
2017.01.27 14:44:32 3: Opening meinLGW:keepAlive device 192.168.197.29:2001
2017.01.27 14:44:32 1: 192.168.197.29:2000 reappeared (meinLGW)
2017.01.27 14:44:32 3: meinLGW:keepAlive device opened
2017.01.27 14:44:32 3: HMUARTLGW meinLGW BidCoS-port opened
2017.01.27 14:44:32 3: HMUARTLGW meinLGW:keepAlive KeepAlive-port opened
2017.01.27 14:44:33 1: SONOS0: ./FHEM/00_SONOS.pm is listening to Port 4711
2017.01.27 14:44:36 3: SONOS0: Connection accepted from raspberrypi.fritz.box:56718
2017.01.27 14:44:36 1: 192.168.197.33:4711 reappeared (Sonos)
2017.01.27 14:44:39 1: HMUARTLGW meinLGW did not respond for the 1. time, resending
2017.01.27 14:44:39 3: SONOS1: UPnP-Thread gestartet.
2017.01.27 14:44:39 1: SONOS2: IsAlive-Thread gestartet. Warte 120 Sekunden und pruefe dann alle 30 Sekunden...
2017.01.27 14:44:39 2: SONOS1: Discover Sonosplayer 'Bad' (S6) Software Revision 7.1 with ID 'RINCON_5CAAFD05436801400_MR'
2017.01.27 14:44:39 1: SONOS3: Restore-Thread gestartet. Warte auf Arbeit...
2017.01.27 14:44:40 2: SONOS1: SonosPlayer 'Bad' (S6) with ID 'RINCON_5CAAFD05436801400_MR' is already defined (as 'Sonos_Bad') and will only be updated
2017.01.27 14:44:40 2: SONOS1: SonosPlayer 'Bad' is now updated
2017.01.27 14:44:40 2: SONOS1: Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002251
2017.01.27 14:44:40 2: SONOS1: Rendering-Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002252
2017.01.27 14:44:40 2: SONOS1: GroupRendering-Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002253
2017.01.27 14:44:40 2: SONOS1: ContentDirectory-Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002254
2017.01.27 14:44:40 2: SONOS1: Alarm-Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002255
2017.01.27 14:44:40 2: SONOS1: ZoneGroupTopology-Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002256
2017.01.27 14:44:40 2: SONOS1: DeviceProperties-Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002257
2017.01.27 14:44:40 2: SONOS1: AudioIn-Service-subscribing successful with SID=uuid:RINCON_5CAAFD05436801400_sub0000002258
2017.01.27 14:44:40 3: SONOS1: Discover: End of discover-event for "Bad".
2017.01.27 14:44:40 2: SONOS1: Discover Sonosplayer 'Küche' (S6) Software Revision 7.1 with ID 'RINCON_5CAAFD01DBDE01400_MR'
2017.01.27 14:44:41 2: SONOS1: SonosPlayer 'Kueche' (S6) with ID 'RINCON_5CAAFD01DBDE01400_MR' is already defined (as 'Sonos_Kueche') and will only be updated
2017.01.27 14:44:41 2: SONOS1: SonosPlayer 'Kueche' is now updated
2017.01.27 14:44:41 2: SONOS1: Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002264
2017.01.27 14:44:41 2: SONOS1: Rendering-Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002265
2017.01.27 14:44:41 2: SONOS1: GroupRendering-Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002266
2017.01.27 14:44:41 2: SONOS1: ContentDirectory-Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002267
2017.01.27 14:44:41 2: SONOS1: Alarm-Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002268
2017.01.27 14:44:41 2: SONOS1: ZoneGroupTopology-Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002269
2017.01.27 14:44:41 2: SONOS1: DeviceProperties-Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002270
2017.01.27 14:44:41 2: SONOS1: AudioIn-Service-subscribing successful with SID=uuid:RINCON_5CAAFD01DBDE01400_sub0000002271
2017.01.27 14:44:41 3: SONOS1: Discover: End of discover-event for "Küche".
2017.01.27 14:44:41 3: SONOS1: Event: Received Transport-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: End of Transport-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: Received Transport-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: End of Transport-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: Received GroupRendering-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: End of GroupRendering-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: Received GroupRendering-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: End of GroupRendering-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: Received Alarm-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: End of Alarm-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: Received Alarm-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: End of Alarm-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: Received AudioIn-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: End of AudioIn-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: Received AudioIn-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: End of AudioIn-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: Received ZoneGroupTopology-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: End of ZoneGroupTopology-Event for Zone "Sonos_Bad".
2017.01.27 14:44:41 3: SONOS1: Event: Received ZoneGroupTopology-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:41 3: SONOS1: Event: End of ZoneGroupTopology-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:42 3: SONOS1: Event: Received DeviceProperties-Event for Zone "Sonos_Bad".
2017.01.27 14:44:42 3: SONOS1: Event: End of DeviceProperties-Event for Zone "Sonos_Bad".
2017.01.27 14:44:42 3: SONOS1: Event: Received DeviceProperties-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:42 3: SONOS1: Event: End of DeviceProperties-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:42 3: SONOS1: Event: Received ContentDirectory-Event for Zone "Sonos_Bad".
2017.01.27 14:44:42 3: SONOS1: Event: End of ContentDirectory-Event for Zone "Sonos_Bad".
2017.01.27 14:44:42 3: SONOS1: Event: Received ContentDirectory-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:42 3: SONOS1: Event: End of ContentDirectory-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:42 3: SONOS1: Event: Received Rendering-Event for Zone "Sonos_Bad".
2017.01.27 14:44:42 3: SONOS1: Event: End of Rendering-Event for Zone "Sonos_Bad".
2017.01.27 14:44:42 3: SONOS1: Event: Received Rendering-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:42 3: SONOS1: Event: End of Rendering-Event for Zone "Sonos_Kueche".
2017.01.27 14:44:42 1: HMUARTLGW meinLGW did not respond for the 2. time, resending
2017.01.27 14:44:45 1: HMUARTLGW meinLGW did not respond for the 3. time, resending
2017.01.27 14:44:48 1: HMUARTLGW meinLGW did not respond after all, reopening
2017.01.27 14:44:48 3: meinLGW device closed
2017.01.27 14:44:48 3: Opening meinLGW:keepAlive device 192.168.197.29:2001
2017.01.27 14:44:48 1: 192.168.197.29:2000 reappeared (meinLGW)
2017.01.27 14:44:48 3: meinLGW:keepAlive device opened
2017.01.27 14:44:48 3: HMUARTLGW meinLGW BidCoS-port opened
2017.01.27 14:44:48 3: HMUARTLGW meinLGW:keepAlive KeepAlive-port opened
2017.01.27 14:45:42 3: SONOS0: Connection accepted from raspberrypi.fritz.box:56868
2017.01.27 14:46:12 3: SONOS0: Connection accepted from raspberrypi.fritz.box:56870

Wo genau sind da Fehlermeldungen??
Ich kann keine entdecken!

Gruß
Dan
MAINTAINER: 22_HOMEMODE, 98_Hyperion, 98_FileLogConvert, 98_serviced

Als kleine Unterstützung für meine Programmierungen könnt ihr mir gerne einen Kaffee spendieren: https://buymeacoff.ee/DeeSPe

Otto123

#2721
Hallo Elmer,

schon mal gewundert warum es bei anderen anders aussieht wenn sie Listen posten?!
Die Auflösung des Rätsels sind Code Tags, die findest über dem Smily  :-X die # Taste. Dazwischen kommt Dein Code/Log/List

Was scheint jetzt Deiner Meinung nach falsch zu sein? Was geht nicht?

Oder liest Du nur einfach Hinweise nicht?

Zitat von: Otto123 am 26 Januar 2017, 18:02:13
Hi,
das Sonos Modul ist sehr geschwätzig. Ich betreibe das mit attr Sonos verbose 1

Gruß Otto

Gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

Fixel2012

Zitat von: DeeSPe am 27 Januar 2017, 15:00:18
Wo genau sind da Fehlermeldungen??
Ich kann keine entdecken!

Gruß
Dan

Current: "./FHEM/00_SONOS.pm", gPath: ""
2017.01.27 14:43:33 0: SONOS0: Can't bind Port 4711: Bind failed: Address already in use at ./FHEM/00_SONOS.pm line 8364.
Fhem 5.8 auf Raspi 3, HMLAN und 868MHz CUL mit einigen Komponenten, Z-Wave Rollladenaktoren, Tablet UI, 433 MHz CUL mit Baumarktsteckdosen und Temp Sensoren, Amazon Echo, Echo Dot, 2x SONOS  play1, 1x SONOS Connect AMP,  presence, HUE, Lightify

DeeSPe

Zitat von: Fixel2012 am 27 Januar 2017, 15:01:50
Current: "./FHEM/00_SONOS.pm", gPath: ""
2017.01.27 14:43:33 0: SONOS0: Can't bind Port 4711: Bind failed: Address already in use at ./FHEM/00_SONOS.pm line 8364.


Das ist keine Fehlermeldung sondern lediglich ein Hinweis!

Gruß
Dan
MAINTAINER: 22_HOMEMODE, 98_Hyperion, 98_FileLogConvert, 98_serviced

Als kleine Unterstützung für meine Programmierungen könnt ihr mir gerne einen Kaffee spendieren: https://buymeacoff.ee/DeeSPe

Otto123

Zitat von: Fixel2012 am 27 Januar 2017, 15:01:50
Current: "./FHEM/00_SONOS.pm", gPath: ""
2017.01.27 14:43:33 0: SONOS0: Can't bind Port 4711: Bind failed: Address already in use at ./FHEM/00_SONOS.pm line 8364.

Ist temporär fast "normal". Ab hier ist doch alles gut:
2017.01.27 14:44:33 1: SONOS0: ./FHEM/00_SONOS.pm is listening to Port 4711
2017.01.27 14:44:36 3: SONOS0: Connection accepted from raspberrypi.fritz.box:56718


gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

elmer

#2725
Ok, das nächst mal weiß ich wohin mit dem Code.

Verbose habe ich verstellt zum testen ob es einen Unterschied macht, ist aber jetzt wieder auf 1.

Also sieht alles schlimmer aus wie es ist und ich kann es so laufen lassen wenn es geht.

Ich habe aber noch ein Problem, ich lasse die Namen der Anrufer über den Sonos ausgeben die bei mir anrufen. Leider sind wir mehrere Parteien, die an der Fritzbox ihr Telefon angemeldet haben, und somit bekomme ich bei jedem ankommenden Anruf eine Durchsage, egal auf welchem Telefon der Anruf rein kommt.

Ist es möglich eine bestimmte Nummer zu vergeben, damit nur auf dieser einen Nummer eine Ansage kommt wenn ein Anruf rein kommt?

Schiri1986

Zitat von: elmer am 27 Januar 2017, 16:18:00
Ist es möglich eine bestimmte Nummer zu vergeben, damit nur auf dieser einen Nummer eine Ansage kommt wenn ein Anruf rein kommt?

Benutzt du dafür FB_Callmonitor? Dort wird beim Event auch "internal_number" mitgegeben, darauf kannst du dann filtern in deinem Notify.

Otto123

Zitat von: elmer am 27 Januar 2017, 16:18:00
Ich habe aber noch ein Problem, ich lasse die Namen der Anrufer über den Sonos ausgeben die bei mir anrufen. Leider sind wir mehrere Parteien, die an der Fritzbox ihr Telefon angemeldet haben, und somit bekomme ich bei jedem ankommenden Anruf eine Durchsage, egal auf welchem Telefon der Anruf rein kommt.

Ist es möglich eine bestimmte Nummer zu vergeben, damit nur auf dieser einen Nummer eine Ansage kommt wenn ein Anruf rein kommt?
Hi,

ich mache das so:define nty_AnrufKlingelt notify FBMon:.*ring { \
  my $number=(ReadingsVal("FBMon","internal_number",99));;\
  my $Anrufer=(ReadingsVal("FBMon","external_number",99));;\
  my $AnruferName=(ReadingsVal("FBMon","external_name",99));;\
  if (($number == 9412147) and Value("ET9200") eq "on"){ \
    fhem "set ET9200 showtext Anruf von $AnruferName $Anrufer";;\
  } \
}
Ist zwar nicht die Ausgabe auf Sonos, aber der Filter nach dem angerufenem Telefon.

Gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

elmer

#2728
Ja, ich mache das ganze mit CallMonitor, also fehlt bei mir der Code mit der internen Nummer, bei mir sieht es so aus.

   
CallMonitor:event:.ring {my $name=(ReadingsVal("CallMonitor","external_name",0));;
if($name eq "M...... Handy") {fhem ("set Sonos_Kueche Speak 70 de $name ruft an.")};;

PS: Shortcuts geht irgendwie bei mir nicht, ich glaube das liegt an meinem geblockten Java oder NoScript...

Ok, eben habe ich diesen Code mit meiner Nummer eingefügt aber der Sonos reagiert immer noch auf allen Anrufen.

my $number=(ReadingsVal("CallMonitor","internal_number",95....));;


twistedtails

Moin zusammen,

ich habe gerade neu mit Fhem angefangen und hätte eine kurze Frage zur Sonos-Steuerung.

Ich würde gerne über das Tablet-UI per Knopfdruck auf allen Boxen in der Gruppe einen Radiosender wiedergeben, sodass ich nach dem Aufwachen am Morgen relativ einfach die Musik einschalten kann.
Hat jemand vielleicht einen Programmschnipsel oder ein paar Schlagwörter an den ich ansetzen kann?

Die Einzelwiedergabe ist bereits ohne Probleme möglich, da gibt es ja bereits einige Programmbeispiele im Forum.

Danke vorab für eure Unterstützung.