EntertainTV - Modul zum steuern eines MR400

Begonnen von RalfP, 09 Juni 2019, 21:39:17

Vorheriges Thema - Nächstes Thema

swsmily

Mit dieser Änderung sieht es besser aus, ich hab nun ein neues Device, wo PLAY und PAUSE auch erkannt werden!
Perfekt!

Vielen vielen Dank für die Unterstützung und das tolle Modul.

swsmily

#16
Hmm, die Freude hat nich lang gehalten. Plötzlich meldete FHEM
2019.06.11 21:34:35.000 1: Perfmon: possible freeze starting at 21:34:30, delay is 5
2019.06.11 21:34:41.000 1: Perfmon: possible freeze starting at 21:34:36, delay is 5
2019.06.11 21:34:47.000 1: Perfmon: possible freeze starting at 21:34:42, delay is 5
2019.06.11 21:34:53.000 1: Perfmon: possible freeze starting at 21:34:48, delay is 5
2019.06.11 21:34:59.000 1: Perfmon: possible freeze starting at 21:34:54, delay is 5


FHEMWEB war nicht mehr erreichbar. Hab FHEM dann per SSH gestopt und wieder gestartet. Damit kam keine pairing mit Receiver und FHEM zustande. Nochmals FHEM gespeichert, und neugestartet, es hat kurzzeitig verbunden, dann wieder diese freeze und FHEM hängt komplett.  :(


EDIT:
Wie es scheint passieren diese Freezes erst nachdem man mal Pause auf und wieder PLAY gedrückt hat.

2019.06.11 21:51:29.364 4: EntertainTV_addedDevice: EntertainTV Initial Subscription for RECEIVER_AC6FBB66ED6D Service X-CTC_RemotePairing
2019.06.11 21:51:29.374 4: EntertainTV_addedDevice: EntertainTV Initial Subscription for RECEIVER_AC6FBB66ED6D Service X-CTC_RemoteControl
2019.06.11 21:51:37.429 5: EntertainTV: <Set> Called for EntertainTV : msg = ?
2019.06.11 21:51:49.498 3: RECEIVER_AC6FBB66ED6D: Pairing OK
2019.06.11 21:51:49.540 3: RECEIVER_AC6FBB66ED6D: Player State Request - online
2019.06.11 21:52:24.476 3: RECEIVER_AC6FBB66ED6D: Player State Network - offline
2019.06.11 21:52:39.237 3: RECEIVER_AC6FBB66ED6D: Player State Callback - online
2019.06.11 21:52:48.788 3: RECEIVER_AC6FBB66ED6D: Player State Callback - online
2019.06.11 21:53:25.000 1: Perfmon: possible freeze starting at 21:53:20, delay is 5
2019.06.11 21:53:31.000 1: Perfmon: possible freeze starting at 21:53:26, delay is 5

RalfP

Phu, jetzt ist guter Rat teuer.

ca. 60s nach der Subscription der Services wird versucht diese wieder zu verlängern. Das läuft in einem Blockingcall. Sollte also Fhem nicht blockieren, wenn da etwas schief geht.
Bitte versuche das neu angelegte Device auf verbose 5 zu setzen und schau nochmal ins Log.

vielen Dank für deine Analyse.

PS: Wenn wir hier nicht weiterkommen, muss ich mir einen MR401 beschaffen und erst einmal testen.

swsmily

Ich helfe gerne bei den Analysen weiter, soweit ich kann.

Hier der Reciever mit Verbose 5:


2019.06.11 21:57:29.510 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 21:57:29.514 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 21:57:29.532 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 21:57:29.535 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 21:57:29.538 3: RECEIVER_AC6FBB66ED6D: Player State Request - online
2019.06.11 21:57:37.090 5: EntertainTV: <Set> Called for EntertainTV : msg = ?
2019.06.11 21:57:37.092 5: EntertainTV: <Set> Called for EntertainTV : msg = ?
2019.06.11 21:57:37.094 5: EntertainTV: <Get> Called for EntertainTV : msg = ?
2019.06.11 21:57:40.743 5: EntertainTV: <Attr> Called for verbose : value =
2019.06.11 21:57:43.579 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 21:58:04.387 4: RECEIVER_AC6FBB66ED6D: <renewSubscription> try to renew subscriptions for services , device RECEIVER_AC6FBB66ED6D with re             peat in 60s
2019.06.11 21:58:04.401 4: RECEIVER_AC6FBB66ED6D: <renewSubscriptionBlocking> try to renew subscriptions for services with repeat in 60s
2019.06.11 21:58:04.415 4: RECEIVER_AC6FBB66ED6D: <renewSubscriptionBlocking> subscription for service "X-CTC_RemotePairing" is expired
2019.06.11 21:58:04.424 5: RECEIVER_AC6FBB66ED6D: <renewSubscriptionBlocking> Carp, Renewal of subscription failed with error: 412 Precondition Fail             ed at ./FHEM/78_EntertainTV.pm line 1513.

2019.06.11 21:58:04.424 4: RECEIVER_AC6FBB66ED6D: <renewSubscriptionBlocking> subscription for service "X-CTC_RemoteControl" is expired
2019.06.11 21:58:04.438 5: RECEIVER_AC6FBB66ED6D: <renewSubscriptionBlockingDone> ready to tried renew subscriptions for services, device RECEIVER_A             C6FBB66ED6D with repeat in 60s
2019.06.11 21:58:04.438 4: RECEIVER_AC6FBB66ED6D: <renewSubscriptionBlockingDone> subscription for services is expired - possible reason "No route t             o host"
2019.06.11 21:58:04.455 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 21:58:04.473 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 21:58:04.476 3: RECEIVER_AC6FBB66ED6D: Player State Network - offline
2019.06.11 21:58:23.450 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> serviceID urn:schemas-upnp-org:service:X-CTC_RemotePairing:1 received event
2019.06.11 21:58:23.451 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_playContent's value is {&quot;new_play_mode&quot;:1,&quot;play             BackState&quot;:1,&quot;mediaType&quot;:1,&quot;mediaCode&quot;:&quot;3624&quot;,&quot;duration&quot;:1448,&quot;playPostion&quot;:1420,&quot;fastSp             eed&quot;:0}
2019.06.11 21:58:23.468 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 21:58:23.471 3: RECEIVER_AC6FBB66ED6D: Player State Callback - online
2019.06.11 21:58:23.472 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_Mac's value is AC6FBB66ED6D
2019.06.11 21:58:31.567 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> serviceID urn:schemas-upnp-org:service:X-CTC_RemotePairing:1 received event
2019.06.11 21:58:31.568 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_Mac's value is AC6FBB66ED6D
2019.06.11 21:58:31.569 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_playContent's value is {&quot;new_play_mode&quot;:2,&quot;play             BackState&quot;:1,&quot;mediaType&quot;:1,&quot;mediaCode&quot;:&quot;3624&quot;,&quot;duration&quot;:1456,&quot;playPostion&quot;:1420,&quot;fastSp             eed&quot;:1}
2019.06.11 21:58:31.602 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 21:58:31.608 3: RECEIVER_AC6FBB66ED6D: Player State Callback - online
2019.06.11 21:58:43.495 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 21:58:46.512 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 21:58:46.516 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 21:58:46.517 5: RECEIVER_AC6FBB66ED6D: <Get> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 21:59:05.000 1: Perfmon: possible freeze starting at 21:59:00, delay is 5

RalfP


2019.06.11 21:58:04.424 5: RECEIVER_AC6FBB66ED6D: <renewSubscriptionBlocking> Carp, Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/78_EntertainTV.pm line 1513.


...dies sieht nicht gut aus. Ich habe aber im Moment noch keine Idee, was dies sein kann. Der Controlpoint gibt dies zumindest zurück. Bis jetzt hatte ich dort nur "no route to host" wenn ich den Receiver stromlos hatte - was ja dann auch richtig wär."412 Precondition Failed" kann ich noch nicht einordnen  >:(

ein letzter Versuch für heute: Ändere bitte mal in Zeile 1395  den Wert auf 300

$ReceiverHash->{helper}{keepalive} = 60; #ToDo per Attr änderbar


Das ändert den Aufruf auf ca 5min, was aber dem realem Timeout eher entspricht. Wenn es nichts bringt, passiert das freez nach diesen 5min.

vielen Dank

swsmily

#20
Diese Änderung hab ich gemacht und es sieht deutlich besser aus. Bis jetzt keine Freezes mehr. Dennoch nochmal der Verbose-5-Auszug:

2019.06.11 22:46:09.360 1: EntertainTV: Created device RECEIVER_AC6FBB66ED6D for DMS_AC6FBB66ED6D
2019.06.11 22:46:29.535 3: RECEIVER_AC6FBB66ED6D: Pairing OK
2019.06.11 22:46:29.577 3: RECEIVER_AC6FBB66ED6D: Player State Request - online
2019.06.11 22:46:39.029 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:46:39.120 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:46:39.123 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:46:39.124 5: RECEIVER_AC6FBB66ED6D: <Get> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:46:54.081 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> serviceID urn:schemas-upnp-org:service:X-CTC_RemotePairing:1 received event
2019.06.11 22:46:54.585 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_Mac's value is AC6FBB66ED6D
2019.06.11 22:46:54.586 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_playContent's value is {&quot;new_play_mode&quot;:2,&quot;playBackState&quo                                             t;:1,&quot;mediaType&quot;:1,&quot;mediaCode&quot;:&quot;3683&quot;,&quot;duration&quot;:2501,&quot;playPostion&quot;:1749,&quot;fastSpeed&quot;:1}
2019.06.11 22:46:54.619 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:46:54.626 3: RECEIVER_AC6FBB66ED6D: Player State Callback - online
2019.06.11 22:47:05.400 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> serviceID urn:schemas-upnp-org:service:X-CTC_RemotePairing:1 received event
2019.06.11 22:47:05.401 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_playContent's value is {&quot;new_play_mode&quot;:1,&quot;playBackState&quo                                             t;:1,&quot;mediaType&quot;:1,&quot;mediaCode&quot;:&quot;3683&quot;,&quot;duration&quot;:2512,&quot;playPostion&quot;:1760,&quot;fastSpeed&quot;:0}
2019.06.11 22:47:05.417 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:47:05.420 3: RECEIVER_AC6FBB66ED6D: Player State Callback - online
2019.06.11 22:47:05.420 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_Mac's value is AC6FBB66ED6D
2019.06.11 22:47:20.754 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:47:20.760 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:47:20.764 5: RECEIVER_AC6FBB66ED6D: <Get> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:49:44.988 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> serviceID urn:schemas-upnp-org:service:X-CTC_RemotePairing:1 received event
2019.06.11 22:49:44.990 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_playContent's value is {&quot;new_play_mode&quot;:2,&quot;playBackState&quo                                             t;:1,&quot;mediaType&quot;:1,&quot;mediaCode&quot;:&quot;3683&quot;,&quot;duration&quot;:2672,&quot;playPostion&quot;:1760,&quot;fastSpeed&quot;:1}
2019.06.11 22:49:45.014 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:49:45.018 3: RECEIVER_AC6FBB66ED6D: Player State Callback - online
2019.06.11 22:49:45.019 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_Mac's value is AC6FBB66ED6D
2019.06.11 22:49:48.534 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:49:48.537 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:49:48.539 5: RECEIVER_AC6FBB66ED6D: <Get> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:50:18.651 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> serviceID urn:schemas-upnp-org:service:X-CTC_RemotePairing:1 received event
2019.06.11 22:50:18.652 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_playContent's value is {&quot;new_play_mode&quot;:1,&quot;playBackState&quo                                             t;:1,&quot;mediaType&quot;:1,&quot;mediaCode&quot;:&quot;3683&quot;,&quot;duration&quot;:2706,&quot;playPostion&quot;:1793,&quot;fastSpeed&quot;:0}
2019.06.11 22:50:18.686 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:50:18.693 3: RECEIVER_AC6FBB66ED6D: Player State Callback - online
2019.06.11 22:50:18.694 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_Mac's value is AC6FBB66ED6D
2019.06.11 22:50:23.350 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> serviceID urn:schemas-upnp-org:service:X-CTC_RemotePairing:1 received event
2019.06.11 22:50:24.614 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_Mac's value is AC6FBB66ED6D
2019.06.11 22:50:24.614 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_playContent's value is {&quot;new_play_mode&quot;:2,&quot;playBackState&quo                                             t;:1,&quot;mediaType&quot;:1,&quot;mediaCode&quot;:&quot;3683&quot;,&quot;duration&quot;:2711,&quot;playPostion&quot;:1794,&quot;fastSpeed&quot;:1}
2019.06.11 22:50:24.630 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:50:24.634 3: RECEIVER_AC6FBB66ED6D: Player State Callback - online
2019.06.11 22:51:04.412 4: RECEIVER_AC6FBB66ED6D: <renewSubscription> try to renew subscriptions for services , device RECEIVER_AC6FBB66ED6D with repeat in 300s
2019.06.11 22:51:04.426 4: RECEIVER_AC6FBB66ED6D: <renewSubscriptionBlocking> try to renew subscriptions for services with repeat in 300s
2019.06.11 22:51:04.440 4: RECEIVER_AC6FBB66ED6D: <renewSubscriptionBlocking> subscription for service "X-CTC_RemotePairing" is expired
2019.06.11 22:51:04.448 4: RECEIVER_AC6FBB66ED6D: <renewSubscriptionBlocking> subscription for service "X-CTC_RemoteControl" is expired
2019.06.11 22:51:04.461 5: RECEIVER_AC6FBB66ED6D: <renewSubscriptionBlockingDone> ready to tried renew subscriptions for services, device RECEIVER_AC6FBB66ED6D w                                             ith repeat in 300s
2019.06.11 22:51:04.462 4: RECEIVER_AC6FBB66ED6D: <renewSubscriptionBlockingDone> subscription for services is expired - possible reason "No route to host"
2019.06.11 22:51:04.479 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:51:04.498 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:51:04.502 3: RECEIVER_AC6FBB66ED6D: Player State Network - offline
2019.06.11 22:51:27.386 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> serviceID urn:schemas-upnp-org:service:X-CTC_RemotePairing:1 received event
2019.06.11 22:51:27.388 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_Mac's value is AC6FBB66ED6D
2019.06.11 22:51:27.400 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_playContent's value is {&quot;new_play_mode&quot;:1,&quot;playBackState&quot;:1,&quot;mediaType&quot;:1,&quot;mediaCode&quot;:&quot;3683&quot;,&quot;duration&quot;:2775,&quot;playPostion&quot;:1857,&quot;fastSpeed&quot;:0}
2019.06.11 22:51:27.433 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:51:27.440 3: RECEIVER_AC6FBB66ED6D: Player State Callback - online
2019.06.11 22:51:31.258 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> serviceID urn:schemas-upnp-org:service:X-CTC_RemotePairing:1 received event
2019.06.11 22:51:31.259 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_Mac's value is AC6FBB66ED6D
2019.06.11 22:51:31.260 5: RECEIVER_AC6FBB66ED6D: <subscriptionCallback> Property STB_playContent's value is {&quot;new_play_mode&quot;:2,&quot;playBackState&quot;:1,&quot;mediaType&quot;:1,&quot;mediaCode&quot;:&quot;3683&quot;,&quot;duration&quot;:2779,&quot;playPostion&quot;:1857,&quot;fastSpeed&quot;:1}
2019.06.11 22:51:31.292 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:51:31.299 3: RECEIVER_AC6FBB66ED6D: Player State Callback - online



EDIT: und doch wieder zu früh gefreut

2019.06.11 22:51:31.292 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:51:31.299 3: RECEIVER_AC6FBB66ED6D: Player State Callback - online
2019.06.11 22:55:24.863 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:55:26.053 5: RECEIVER_AC6FBB66ED6D: <Set> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:55:26.056 5: RECEIVER_AC6FBB66ED6D: <Get> Called for RECEIVER_AC6FBB66ED6D : msg = ?
2019.06.11 22:55:32.032 5: RECEIVER_AC6FBB66ED6D: <Attr> Called for verbose : value =
2019.06.11 22:56:05.000 1: Perfmon: possible freeze starting at 22:56:00, delay is 5
2019.06.11 22:56:11.000 1: Perfmon: possible freeze starting at 22:56:06, delay is 5
2019.06.11 22:56:17.000 1: Perfmon: possible freeze starting at 22:56:12, delay is 5
2019.06.11 22:56:23.000 1: Perfmon: possible freeze starting at 22:56:18, delay is 5
2019.06.11 22:56:29.000 1: Perfmon: possible freeze starting at 22:56:24, delay is 5


RalfP

...wird wieder schief gehen:


2019.06.11 22:51:04.440 4: RECEIVER_AC6FBB66ED6D: <renewSubscriptionBlocking> subscription for service "X-CTC_RemotePairing" is expired
2019.06.11 22:51:04.448 4: RECEIVER_AC6FBB66ED6D: <renewSubscriptionBlocking> subscription for service "X-CTC_RemoteControl" is expired


...sollte nicht auftauchen.

Ich muss mir dies nochmals anschauen, nur muss ich für heute Schluss machen. Sorry

Gruß Ralf

swsmily

Zitat von: RalfP am 11 Juni 2019, 23:02:44

Ich muss mir dies nochmals anschauen, nur muss ich für heute Schluss machen. Sorry


Sorry? Wofür? Dass du ein tolles Modul entwickelst, was noch ein paar Kinderkrankheiten hat? Dafür brauchst du kein Sorry schreiben  ;)
Ich kann auch nicht immer sofort testen. Aber ich stelle mich gern zur dazu zur Verfügung (wenn es die Zeit zulässt).

ComputerZOO

Nabend,
Ich habe gerade versucht dieses Modul zu installieren. Installation bricht aber mit diesen Fehlermeldungen im Log ab:
2019.06.12 17:47:45.964 1: reload: Error:Modul 78_EntertainTV deactivated:
Attempt to reload UPnP/ControlPoint.pm aborted.
Compilation failed in require at ./FHEM/78_EntertainTV.pm line 61.
BEGIN failed--compilation aborted at ./FHEM/78_EntertainTV.pm line 61.

2019.06.12 17:47:45.964 0: Attempt to reload UPnP/ControlPoint.pm aborted.
Compilation failed in require at ./FHEM/78_EntertainTV.pm line 61.
BEGIN failed--compilation aborted at ./FHEM/78_EntertainTV.pm line 61.


XML::Parser::Lite ist installiert, das komplette System habe ich auch schon neu gestartet.

RalfP

Hallo swsmily,

so, jetzt habe ich einen MR401 bestellt. Wird wohl nächste Woche eintreffen. Ist die beste Lösung. MR400 und MR401 sind zu unterschiedlich. Werde schauen, das ich den MR401 dann zügig mit eingebunden bekomme.

PS: ist auch ein guter Grund langsam auf UHD mal umzusteigen  ;)

Gruß
Ralf

RalfP

Hallo ComputerZOO,

Zeile 61 ist

use UPnP::ControlPoint;

Ich vermute, er kann den Controlpoint nicht laden oder finden. Wenn dies eine Fhem Standardinstallation ist, sollte der Controlpoint unter FHEM/lib/UPnP... liegen. Er ist Teil von FHEM.

Er selbst benötigt aber auch einige Module. Auszug aus der Doc vom Controlpoint:

Since the UPnP architecture leverages several existing protocols such
as TCP, UDP, HTTP and SOAP, this module requires several Perl modules
that implement these protocols. These include
L<IO::Socket::INET|IO::Socket::INET>,
L<LWP::UserAgent|LWP::UserAgent>,
L<HTTP::Daemon|HTTP::Daemon> and
C<SOAP::Lite> (L<http://www.soaplite.com>).

Evtl. fehlt da noch eines.

Gruß
Ralf

ComputerZOO

#26
👍🏼 OK, ich bin schon etwas weiter gekommen, habe alle Pakete nachinstalliert (habe nen Zotac mit Ubuntu für FHEM)
Das Device lässt sich nun anlegen und findet auch den Receiver, allerdings meckert er bei den Credentials
2019.06.12 18:39:39.854 1: RECEIVER_ACxxxxxxxFE: Pairing failed - wrong credentials
Das sind aber die selben Daten, mit der ich mich auf der Telekom-Homepage einloggen kann.

EDIT: geht jetzt wohl scheinbar mit der Anschluss-ID

Wuppi68

Zitat von: RalfP am 12 Juni 2019, 17:55:29
Hallo swsmily,

so, jetzt habe ich einen MR401 bestellt. Wird wohl nächste Woche eintreffen. Ist die beste Lösung. MR400 und MR401 sind zu unterschiedlich. Werde schauen, das ich den MR401 dann zügig mit eingebunden bekomme.

PS: ist auch ein guter Grund langsam auf UHD mal umzusteigen  ;)

Gruß
Ralf

brauchst Du UHD und hast noch einen "alten" AV Receiver der nur HDCP1.4 kann würde ich noch folgendes mitbestellen https://de.aliexpress.com/item/HDCP-Converter-UHD-HDMI-2-0-HDCP-2-2-to-HDCP-1-4-converter-with-power/32819579285.html?spm=a2g0x.search0104.3.1.74624a28mBZYz5&ws_ab_test=searchweb0_0,searchweb201602_8_10065_10068_10547_319_317_10548_10696_10084_453_10083_454_10618_10304_10307_10820_10821_537_10302_536_10843_10059_10884_10887_321_322_10103,searchweb201603_53,ppcSwitch_0&algo_expid=6c1c43a6-a65c-434f-9ce2-e857964f35ce-0&algo_pvid=6c1c43a6-a65c-434f-9ce2-e857964f35ce&transAbTest=ae803_3

Kosten <40€ Incl Versand und Support von HDMATTERS in Ordnung - nur bei Ersatz nicht rasend schnell

dann sieht die Verkabelung so aus:

UHD Device (HDCP 2.2) --> (HDCP2.2) Converter (HDCP 1.4) --> (HDCP 1.4) AV-Receiver (HDCP 1.4) --> (HDCP 1.4) TV

HDMI ist dann durchgängig 2.0

Funktioniert einwandfrei (letztes Wochenende getestet mit RTL F1 UHD)
Jetzt auf nem I3 und primär Homematic - kein Support für cfg Editierer

Support heißt nicht wenn die Frau zu Ihrem Mann sagt: Geh mal bitte zum Frauenarzt, ich habe Bauchschmerzen

swsmily

Zitat von: RalfP am 12 Juni 2019, 17:55:29
Hallo swsmily,

so, jetzt habe ich einen MR401 bestellt. Wird wohl nächste Woche eintreffen. Ist die beste Lösung. MR400 und MR401 sind zu unterschiedlich. Werde schauen, das ich den MR401 dann zügig mit eingebunden bekomme.

PS: ist auch ein guter Grund langsam auf UHD mal umzusteigen  ;)

Gruß
Ralf

Wow, direkt das Gerät besorgen, respekt! Bin sehr gespannt drauf und würde mir ein Problem lösen, wo ich schon lange versucht habe es irgendwie hinzubekommen. FHEM wissen zu lassen, ob Play oder Pause. Bin aber immer dran gescheitert, da ein Spulen danach automatisch ein Play bedeutet, aber auch nach 90 Minuten Pause spielt das TV Programm weiter usw...
Durch dein Modul wird es mir nun möglich sein, dass das Fernsehprogramm pausiert wenn es läuft und ein Anruf kommt. Dies habe ich zwar bereits jetzt schon, aber dank Murphy wird man natürlich angerufen, wenn man eh bereits Pause hat und der "Pause" Befehl dann erneut gesendet wird, und damit das Programm weiter läuft  ;D

UHD? Ich nutze nur SD, da mir Timeshift viel mehr Wert ist als sehr gute Bildqualität. Und die privaten Sender erlauben leider teilweise kein Vorspulen beim HD  :(

RalfP

#29
Hallo,

neue Version 1.1.0.0 mit Unterstützung für MR400 & MR401 kann getestet werden.

Gruß
Ralf