MagentaTV / EntertainTV Binding for Deutsche Telekom MR 3xx and 4xx

binding
Tags: #<Tag:0x00007f1e5bfd0040>
(W. Althoff) #266

the thing sate is on

2018-11-15 19:45:18.255 [TRACE] [ertaintv.internal.EntertainTVControl] - sendKey terminalid=‘513D06D14784C11F7A6EE2D74132706C’, pairingCode=‘B48D83D5’, verificationCode=‘F6B4D441396D9B3FA218D1BDC557DFDC’, userId=F596BE6D59771930308A9F5D4879DB85’
2018-11-15 19:45:18.255 [TRACE] [.entertaintv.network.EntertainTVHttp] - EntertainTVNetwork: POST ‘http://172.17.2.152:49152/upnp/service/X-CTC_RemoteControl/Control’ - SoapAction=’<s:Envelope xmlns:s=“http://schemas.xmlsoap.org/soap/envelope/” s:encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/”><s:Body><u:X_CTC_RemoteKey xmlns:u=“urn:schemas-upnp-org:service:X-CTC_RemoteControl:1”>0keyCode=0x0100^513D06D14784C11F7A6EE2D74132706C:F6B4D441396D9B3FA218D1BDC557DFDC^userID:F596BE6D59771930308A9F5D4879DB85</u:X_CTC_RemoteKey></s:Body></s:Envelope>’, Data = ‘“urn:schemas-upnp-org:service:X-CTC_RemoteControl:1#X_CTC_RemoteKey”’
2018-11-15 19:45:18.266 [TRACE] [.entertaintv.network.EntertainTVHttp] - EntertainTVNetwork: POST ‘http://172.17.2.152:49152/upnp/service/X-CTC_RemoteControl/Control’ - Response = ‘<s:Envelope xmlns:s=“http://schemas.xmlsoap.org/soap/envelope/” s:encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/”><s:Body>
<u:X_CTC_RemoteKeyResponse xmlns:u=“urn:schemas-upnp-org:service:X-CTC_RemoteControl:1”></u:X_CTC_RemoteKeyResponse>
</s:Body> </s:Envelope>’
2018-11-15 19:45:18.586 [TRACE] [tv.internal.EntertainTVNotifyServlet] - NotifyServlet: Reqeust from 172.17.2.152:50362/entertaintv/notify (172.17.2.152, HTTP/1.1)
2018-11-15 19:45:18.587 [TRACE] [v.internal.EntertainTVHandlerFactory] - Received STB Event from MAC AC6FBB3E1151
2018-11-15 19:45:18.587 [TRACE] [v.internal.EntertainTVHandlerFactory] - Check device: deviceId=96D76721B97B7EF25A6DF6451DA1A5A7, UDN=BB5E21CE-2222-11B2-F918-AC6FBB3A0B98, macAddress=AC6FBB3A0B98
2018-11-15 19:45:18.588 [TRACE] [v.internal.EntertainTVHandlerFactory] - Check device: deviceId=513D06D14784C11F7A6EE2D74132706C, UDN=BB5E21CE-2222-11B2-F918-AC6FBB3E1151, macAddress=AC6FBB3E1151
2018-11-15 19:45:18.588 [TRACE] [v.internal.EntertainTVHandlerFactory] - Continue with UDN BB5E21CE-2222-11B2-F918-AC6FBB3E1151
2018-11-15 19:45:18.588 [TRACE] [.internal.handler.EntertainTVHandler] - Process STB event for device DMS_172.17.2.152, json=’{“new_play_mode”:0,“playBackState”:0}’
2018-11-15 19:45:18.589 [DEBUG] [.internal.handler.EntertainTVHandler] - STB event playContent: playMode=stopped, duration=-1, playPosition=-1
2018-11-15 19:46:37.697 [TRACE] [v.internal.EntertainTVHandlerFactory] - Check device: deviceId=96D76721B97B7EF25A6DF6451DA1A5A7, UDN=BB5E21CE-2222-11B2-F918-AC6FBB3A0B98, macAddress=AC6FBB3A0B98
2018-11-15 19:46:37.697 [TRACE] [v.internal.EntertainTVHandlerFactory] - Device with UDN BB5E21CE-2222-11B2-F918-AC6FBB3A0B98 removed from table, new site=2
2018-11-15 19:46:49.388 [DEBUG] [.internal.handler.EntertainTVHandler] - Channel command: ON for channel power
2018-11-15 19:46:49.388 [DEBUG] [.internal.handler.EntertainTVHandler] - EntertainTV.POWER: No power toggle required

0 Likes

(Markus Michels) #267

Which model are you using? MR400 - maybe this one doesn’t send the UPnP events (at least I don’t see them in the log)

0 Likes

(W. Althoff) #268

I use the MR400

0 Likes

(Markus Michels) #269

I think that’s the difference. The 401 is sending the UPnP message, which gets into the binding and puts the thing into offline state. Hmm, for know I don’t see a way to work around this. I didn’t found any URL etc. to query the power status, but who knows…

Which Suspend mode do you use?

0 Likes

(W. Althoff) #270

sorry. what ist Suspend Mode?

0 Likes

(Markus Michels) #271

“Energiesparmodus” - you colud select one of 3 modes within the menu
IMG_8603

I’m testing with Suspend.

0 Likes

(Tobias) #272

I try MR201 on the comming weekend.

0 Likes

(Markus Michels) #273

I got the info that the MR201 is also working.

Does someone tested with MR200 or could confirm the behaviour if the POWER switch with the MR400?

0 Likes

(W. Althoff) #274

The device is in stand by mode, as with you.
Why is that relevant? The device turns on with the command “off”.

0 Likes

(Markus Michels) #275

so it seems that the 400 doesn‘t send the byebye message. I‘ll add a change that disables this feature for tge 400/200, so you will be back to the old behavior while tge 401/201 use the thing state.

0 Likes

(W. Althoff) #276

The device is in stand by mode, as with you.
Why is that relevant? The device turns on with the command “off”.
It is noticeable that the ITEM “Online” is missing.

0 Likes

(W. Althoff) #277

Sorry, wrong Text in the last Post

The MR400 runs parallel to the MR200.
MR200:
The functions are identical.
Also “POWER” only reacts to “OFF”. Again, you can turn on with “OFF”.

0 Likes

(Markus Michels) #278

The binding listens to the UPnP SSDP byebye message, which at least is send by the MR401. Don’t pay attention to the Online switch - it’s no longer used and you should get rid of it when removing and re-adding the thing.

I mean the thing status under PaperUI->Configuration->Things. Open the thing and it should say ONLINE or OFFLINE.

0 Likes

(Markus Michels) #279

The is a new build

  • Binding was renamed to telekomtv (the entertaintv version is depricated and will no longer maintained)
  • The power channel gets now triggered as follows
    if a non-stop play event is received POWER is set to ON
    if the UPnP PowerOff Message (byebye) is received it will be set to OFF
  • clear program information on POWER OFF
  • The thing status represents the network connection - no longer mixed with power status
  • Bugfix on re-connect
  • Some revised logging and exception handling, re-factoring etc.

To install this version you need to

  • remove all MR things
  • stop OH
  • ideally cleanup the jsondb (every entry with entertaintv in it’s name)
    otherwise you’ll have some left overs, but it should work with the new binding
  • remove the old entertaintv jar from the addons folder
  • copy the new telekomtv jar to the addons folder
  • start OH
  • run a new discovery
  • make sure to adjust channel names if you created a .items file

The new handling for the power channel has 2 restrictions

  • I can’t query the current status on startup, so this might be wrong
  • the MR400/200 does not send the PowerOff message - so this can’t be detected.
    works fine with MR401/201 once the channel was changed and the binding got a playEvent.

The new jar could be found here (beta2 branch): https://github.com/markus7017/org.openhab.binding.telekomtv/blob/beta2/target/org.openhab.binding.telekomtv-2.4.0-SNAPSHOT.jar

Please double-check that the entertaintv jar is removed and the telekomtv jar is in the addons folder and bundle:list,

Feedback welcome.

1 Like

(Heiko Fanieng) #280

Today i got my brand new MR 401B, updated mi Pi to the latest snapshot and then installed the latest version of the Telekom TV binding.

The Thing was discovered via PaperUI, but still stands on “initializing”.
Here is are the log-entries:

2018-11-21 20:00:29.263 [temChannelLinkRemovedEvent] - Link '21_MediaReceiver401_Channel => telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687:channel' has been removed.
2018-11-21 20:00:56.147 [hingStatusInfoChangedEvent] - 'telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687' changed from INITIALIZING to REMOVING
2018-11-21 20:00:56.159 [hingStatusInfoChangedEvent] - 'telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687' changed from REMOVING to REMOVED
2018-11-21 20:00:56.180 [hingStatusInfoChangedEvent] - 'telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687' changed from REMOVED to UNINITIALIZED
2018-11-21 20:00:56.192 [ERROR] [mtv.internal.TelekomTVHandlerFactory] - TelekomTV.Factory: Check device: deviceId=A085F9D762B0A586BB2CAE75A324BE8C, UDN=C7123DF5-8D21-548E-834E-AC6FBB525687, macAddress=AC6FBB525687
2018-11-21 20:00:56.197 [ERROR] [mtv.internal.TelekomTVHandlerFactory] - TelekomTV.Factory: Device with UDN C7123DF5-8D21-548E-834E-AC6FBB525687 removed from table, new site=1
2018-11-21 20:00:56.210 [hingStatusInfoChangedEvent] - 'telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
2018-11-21 20:01:41.823 [ERROR] [mtv.internal.TelekomTVHandlerFactory] - TelekomTV.Factory: Discovered device with UDN C7123DF5-8D21-548E-834E-AC6FBB525687
2018-11-21 20:01:41.827 [ERROR] [mtv.internal.TelekomTVHandlerFactory] - TelekomTV.Factory: Unable to process discovered device, UDN='C7123DF5-8D21-548E-834E-AC6FBB525687': null (class java.lang.NullPointerException)
2018-11-21 20:01:41.844 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687' to inbox.
2018-11-21 20:01:41.844 [home.event.InboxAddedEvent] - Discovery Result with UID 'telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687' has been added.
2018-11-21 20:01:58.918 [me.event.InboxRemovedEvent] - Discovery Result with UID 'telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687' has been removed.
2018-11-21 20:01:58.943 [hingStatusInfoChangedEvent] - 'telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_CONFIGURATION_PENDING)
2018-11-21 20:02:36.305 [me.event.ThingUpdatedEvent] - Thing 'telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687' has been updated.
2018-11-21 20:02:36.317 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: Get OAuth credentials from 'https://slbedmfk11100.prod.sngtv.t-online.de:33428/EDS/JSON/Login?UserID=Guest'
2018-11-21 20:02:36.328 [hingStatusInfoChangedEvent] - 'telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687' changed from UNINITIALIZED (HANDLER_CONFIGURATION_PENDING) to INITIALIZING
2018-11-21 20:02:36.791 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: Response = '{"enctytoken":"2D46B8CA2FC6349C7B7F6A98F27F2CF6","encryptiontype":"0002","platformcode":"0200","epgurl":"http://appepmfk10006.prod.sngtv.t-online.de:33200","version":"MEM V200R008C15B070","epghttpsurl":"https://appepmfk10006.prod.sngtv.t-online.de:33207","rootCerAddr":"http://appepmfk10006.prod.sngtv.t-online.de:33200/EPG/CA/iptv_ca.der","upgAddr4IPTV":"https://slbedifk11100.prod.sngtv.t-online.de:33428/EDS/jsp/upgrade.jsp","upgAddr4OTT":"https://slbedmfk11100.prod.sngtv.t-online.de:33428/EDS/jsp/upgrade.jsp,https://slbedmfk11100.prod.sngtv.t-online.de:33428/EDS/jsp/upgrade.jsp","sam3Para":[{"key":"SAM3ServiceURL","value":"https://accounts.login.idm.telekom.com"},{"key":"OAuthClientSecret","value":"21EAB062-C4EE-489C-BC80-6A65397F3F96"},{"key":"OAuthScope","value":"ngtvepg"},{"key":"OAuthClientId","value":"10LIVESAM30000004901NGTV0000000000000000"}]}'
2018-11-21 20:02:36.865 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: read JSon
2018-11-21 20:02:36.909 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: get epghttpsurl
2018-11-21 20:02:36.913 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: epghttpsurl = 'https://appepmfk10006.prod.sngtv.t-online.de:33207/EPG'
2018-11-21 20:02:36.916 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: sam3Para.SAM3ServiceURL = 'https://accounts.login.idm.telekom.com'
2018-11-21 20:02:36.918 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: sam3Para.OAuthClientSecret = '21EAB062-C4EE-489C-BC80-6A65397F3F96'
2018-11-21 20:02:36.920 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: sam3Para.OAuthScope = 'ngtvepg'
2018-11-21 20:02:36.922 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: sam3Para.OAuthClientId = '10LIVESAM30000004901NGTV0000000000000000'
2018-11-21 20:02:36.925 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: Get OAuth Token from 'https://accounts.login.idm.telekom.com/oauth2/tokens'
2018-11-21 20:02:37.121 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: Authenticate with token
2018-11-21 20:02:37.428 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: Done, userID = 'B4AB72026887B5FE05CF09E7202845A2'
2018-11-21 20:02:37.454 [me.event.ThingUpdatedEvent] - Thing 'telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687' has been updated.
2018-11-21 20:02:37.467 [ERROR] [tv.internal.handler.TelekomTVControl] - TelekomTV.Control: Online status verified for device 'DMS_AC6FBB525687' (192.168.178.77:8081, UDN=C7123DF5-8D21-548E-834E-AC6FBB525687)
2018-11-21 20:02:37.604 [me.event.ThingUpdatedEvent] - Thing 'telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687' has been updated.
2018-11-21 20:02:37.605 [ERROR] [mtv.internal.TelekomTVHandlerFactory] - TelekomTV.Factory: Register new device, UDN=C7123DF5-8D21-548E-834E-AC6FBB525687, deviceId=A085F9D762B0A586BB2CAE75A324BE8C
2018-11-21 20:02:37.607 [ERROR] [mtv.internal.TelekomTVHandlerFactory] - TelekomTV.Factory: Device added (UDN=C7123DF5-8D21-548E-834E-AC6FBB525687 ,deviceId=A085F9D762B0A586BB2CAE75A324BE8C, macAddress=AC6FBB525687), now 1 devices.
2018-11-21 20:02:37.663 [ERROR] [komtv.internal.network.TelekomTVHttp] - TelekomTV.Http: TelekomTVNetwork: POST 'http://192.168.178.77:8081/upnp/service/X-CTC_RemotePairing/Control' - SoapAction='<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:X-pairingRequest xmlns:u="urn:schemas-upnp-org:service:X-CTC_RemotePairing:1"><pairingDeviceID>A085F9D762B0A586BB2CAE75A324BE8C</pairingDeviceID><friendlyName>PAD:openHAB</friendlyName><userID>B4AB72026887B5FE05CF09E7202845A2</userID></u:X-pairingRequest></s:Body></s:Envelope>', Data = '"urn:schemas-upnp-org:service:X-CTC_RemotePairing:1#X-pairingRequest"'
2018-11-21 20:02:37.675 [ERROR] [komtv.internal.network.TelekomTVHttp] - TelekomTV.Http: TelekomTVNetwork: POST 'http://192.168.178.77:8081/upnp/service/X-CTC_RemotePairing/Control' - Response = '<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:X-pairingRequestResponse xmlns:u="urn:schemas-upnp-org:service:X-CTC_RemotePairing:1">
2018-11-21 20:02:37.679 [ERROR] [mtv.internal.TelekomTVHandlerFactory] - TelekomTV.Factory: Check device: deviceId=A085F9D762B0A586BB2CAE75A324BE8C, UDN=C7123DF5-8D21-548E-834E-AC6FBB525687, macAddress=AC6FBB525687
2018-11-21 20:02:37.682 [ERROR] [mtv.internal.TelekomTVHandlerFactory] - TelekomTV.Factory: Device with UDN C7123DF5-8D21-548E-834E-AC6FBB525687 removed from table, new site=1
2018-11-21 20:02:37.691 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: Get OAuth credentials from 'https://slbedmfk11100.prod.sngtv.t-online.de:33428/EDS/JSON/Login?UserID=Guest'
2018-11-21 20:02:37.982 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: Response = '{"enctytoken":"33EAD54E177359EFC9D7002ECF27DC24","encryptiontype":"0002","platformcode":"0200","epgurl":"http://appepmfk10003.prod.sngtv.t-online.de:33200","version":"MEM V200R008C15B070","epghttpsurl":"https://appepmfk10003.prod.sngtv.t-online.de:33207","rootCerAddr":"http://appepmfk10003.prod.sngtv.t-online.de:33200/EPG/CA/iptv_ca.der","upgAddr4IPTV":"https://slbedifk11100.prod.sngtv.t-online.de:33428/EDS/jsp/upgrade.jsp","upgAddr4OTT":"https://slbedmfk11100.prod.sngtv.t-online.de:33428/EDS/jsp/upgrade.jsp,https://slbedmfk11100.prod.sngtv.t-online.de:33428/EDS/jsp/upgrade.jsp","sam3Para":[{"key":"SAM3ServiceURL","value":"https://accounts.login.idm.telekom.com"},{"key":"OAuthClientSecret","value":"21EAB062-C4EE-489C-BC80-6A65397F3F96"},{"key":"OAuthScope","value":"ngtvepg"},{"key":"OAuthClientId","value":"10LIVESAM30000004901NGTV0000000000000000"}]}'
2018-11-21 20:02:37.985 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: read JSon
2018-11-21 20:02:37.987 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: get epghttpsurl
2018-11-21 20:02:37.989 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: epghttpsurl = 'https://appepmfk10003.prod.sngtv.t-online.de:33207/EPG'
2018-11-21 20:02:37.991 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: sam3Para.SAM3ServiceURL = 'https://accounts.login.idm.telekom.com'
2018-11-21 20:02:37.993 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: sam3Para.OAuthClientSecret = '21EAB062-C4EE-489C-BC80-6A65397F3F96'
2018-11-21 20:02:37.995 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: sam3Para.OAuthScope = 'ngtvepg'
2018-11-21 20:02:37.997 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: sam3Para.OAuthClientId = '10LIVESAM30000004901NGTV0000000000000000'
2018-11-21 20:02:37.998 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: Get OAuth Token from 'https://accounts.login.idm.telekom.com/oauth2/tokens'
2018-11-21 20:02:38.039 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: Authenticate with token
2018-11-21 20:02:38.321 [ERROR] [omtv.internal.handler.TelekomTVOAuth] - TelekomTV.OAuth: TelekomTV.OAuth: Done, userID = 'B4AB72026887B5FE05CF09E7202845A2'
2018-11-21 20:02:38.357 [me.event.ThingUpdatedEvent] - Thing 'telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687' has been updated.
2018-11-21 20:02:38.367 [ERROR] [tv.internal.handler.TelekomTVControl] - TelekomTV.Control: Online status verified for device 'DMS_AC6FBB525687' (192.168.178.77:8081, UDN=C7123DF5-8D21-548E-834E-AC6FBB525687)
2018-11-21 20:02:38.464 [ERROR] [mtv.internal.TelekomTVHandlerFactory] - TelekomTV.Factory: Register new device, UDN=C7123DF5-8D21-548E-834E-AC6FBB525687, deviceId=A085F9D762B0A586BB2CAE75A324BE8C
2018-11-21 20:02:38.466 [ERROR] [mtv.internal.TelekomTVHandlerFactory] - TelekomTV.Factory: Device added (UDN=C7123DF5-8D21-548E-834E-AC6FBB525687 ,deviceId=A085F9D762B0A586BB2CAE75A324BE8C, macAddress=AC6FBB525687), now 1 devices.
2018-11-21 20:02:38.466 [me.event.ThingUpdatedEvent] - Thing 'telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687' has been updated.
2018-11-21 20:02:38.525 [ERROR] [komtv.internal.network.TelekomTVHttp] - TelekomTV.Http: TelekomTVNetwork: POST 'http://192.168.178.77:8081/upnp/service/X-CTC_RemotePairing/Control' - SoapAction='<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:X-pairingRequest xmlns:u="urn:schemas-upnp-org:service:X-CTC_RemotePairing:1"><pairingDeviceID>A085F9D762B0A586BB2CAE75A324BE8C</pairingDeviceID><friendlyName>PAD:openHAB</friendlyName><userID>B4AB72026887B5FE05CF09E7202845A2</userID></u:X-pairingRequest></s:Body></s:Envelope>', Data = '"urn:schemas-upnp-org:service:X-CTC_RemotePairing:1#X-pairingRequest"'
2018-11-21 20:02:38.537 [ERROR] [komtv.internal.network.TelekomTVHttp] - TelekomTV.Http: TelekomTVNetwork: POST 'http://192.168.178.77:8081/upnp/service/X-CTC_RemotePairing/Control' - Response = '<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:X-pairingRequestResponse xmlns:u="urn:schemas-upnp-org:service:X-CTC_RemotePairing:1">
2018-11-21 20:02:38.546 [me.event.ThingUpdatedEvent] - Thing 'telekomtv:receiver:c7123df5-8d21-548e-834e-AC6FBB525687' has been updated.
0 Likes

(Markus Michels) #281

did you restarted OH?

0 Likes

(Heiko Fanieng) #282

Yes.
I’ll give it a second try.

0 Likes

(Heiko Fanieng) #283

Today i restarted again with Snapshot #1439 and there where less errors in the log, but the thing stands still on initializing.

2018-11-22 18:34:05.841 [ERROR] [mtv.internal.TelekomTVHandlerFactory] - TelekomTV.Factory: Discovered device with UDN C7123DF5-8D21-548E-834E-AC6FBB525687
2018-11-22 18:34:05.845 [ERROR] [mtv.internal.TelekomTVHandlerFactory] - TelekomTV.Factory: Known device with UDN C7123DF5-8D21-548E-834E-AC6FBB525687, update properties
2018-11-22 18:34:05.876 [ERROR] [tv.internal.handler.TelekomTVControl] - TelekomTV.Control: Online status verified for device ‘DMS_AC6FBB525687’ (192.168.178.77:8081, UDN=C7123DF5-8D21-548E-834E-AC6FBB525687)
2018-11-22 18:34:05.886 [ERROR] [mtv.internal.TelekomTVHandlerFactory] - TelekomTV.Factory: Register new device, UDN=C7123DF5-8D21-548E-834E-AC6FBB525687, deviceId=A085F9D762B0A586BB2CAE75A324BE8C
2018-11-22 18:34:05.890 [ERROR] [mtv.internal.TelekomTVHandlerFactory] - TelekomTV.Factory: Device with UDN C7123DF5-8D21-548E-834E-AC6FBB525687 is already registered
2018-11-22 18:34:05.967 [ERROR] [komtv.internal.network.TelekomTVHttp] - TelekomTV.Http: TelekomTVNetwork: POST ‘http://192.168.178.77:8081/upnp/service/X-CTC_RemotePairing/Control’ - SoapAction=’<s:Envelope xmlns:s=“http://schemas.xmlsoap.org/soap/envelope/” s:encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/”><s:Body><u:X-pairingRequest xmlns:u=“urn:schemas-upnp-org:service:X-CTC_RemotePairing:1”>A085F9D762B0A586BB2CAE75A324BE8CPAD:openHABB4AB72026887B5FE05CF09E7202845A2</u:X-pairingRequest></s:Body></s:Envelope>’, Data = ‘“urn:schemas-upnp-org:service:X-CTC_RemotePairing:1#X-pairingRequest”’
2018-11-22 18:34:05.989 [ERROR] [komtv.internal.network.TelekomTVHttp] - TelekomTV.Http: TelekomTVNetwork: POST ‘http://192.168.178.77:8081/upnp/service/X-CTC_RemotePairing/Control’ - Response = '<s:Envelope xmlns:s=“http://schemas.xmlsoap.org/soap/envelope/” s:encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/”><s:Body><u:X-pairingRequestResponse xmlns:u=“urn:schemas-upnp-org:service:X-CTC_RemotePairing:1”>

0 Likes

(Markus Michels) #284

Hi, there should be more in the log. Wondering why all messages get logged as ERROR?

0 Likes

(Markus Michels) #285

I found the problem with the ERROR logging and updated the binding.
Nevertheless there must be more output in your log.

Did you entered the credentials in the thing config? Does the properties show a user ID?
Check PaperUI->Config->Things->YourThing->SHOW PROPERTIES if those parameters look good.

0 Likes