Samstung TV Binding Channel sourceName not supported

Hi,

I hope you can help me with this error:

15:12:07.665 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'iMultimedia_SmartTV_Source_Name' received command HDMI1/DVI
15:12:07.686 [ERROR] [ge.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type=text/event-stream, type=class org.glassfish.jersey.media.sse.OutboundEvent, genericType=class org.glassfish.jersey.media.sse.OutboundEvent.
15:12:07.689 [WARN ] [gtv.internal.handler.SamsungTvHandler] - Channel 'samsungtv:tv:d3092a28_b6c8_4776_bc2b_44b5758f3e86:sourceName' not supported
15:12:07.689 [INFO ] [arthome.event.ItemStatePredictedEvent] - iMultimedia_SmartTV_Source_Name predicted to become HDMI1/DVI
15:12:07.697 [INFO ] [smarthome.event.ItemStateChangedEvent] - iMultimedia_SmartTV_Source_Name changed from HDMI3 to HDMI1/DVI
15:12:15.772 [INFO ] [smarthome.event.ItemStateChangedEvent] - OpenHABVM_Memory_Used changed from 3078 to 3079

It`s an Samsung UE55MU6179U if it will be important. I use OpenHAB 2.5.12 and the Binding is also in the version 2.5.12.

Here my items file:

//-----------------------
//Samsung Smart TV
//-----------------------

Group                         gMultimedia_SmartTV                                        "SmartTV"                                 <screen>               (gMultimedia)

Dimmer iMultimedia_SmartTV_Volume "Lautstärke ändern" (gMultimedia_SmartTV) {channel="samsungtv:tv:d3092a28_b6c8_4776_bc2b_44b5758f3e86:volume"}
Switch iMultimedia_SmartTV_Mute "Stumm schalten" (gMultimedia_SmartTV) {channel="samsungtv:tv:d3092a28_b6c8_4776_bc2b_44b5758f3e86:mute"}
String iMultimedia_SmartTV_Source_Name "Quellenname" (gMultimedia_SmartTV) {channel="samsungtv:tv:d3092a28_b6c8_4776_bc2b_44b5758f3e86:sourceName"}
Number iMultimedia_SmartTV_Channel "Kanalnummer" (gMultimedia_SmartTV) {channel="samsungtv:tv:d3092a28_b6c8_4776_bc2b_44b5758f3e86:channel"}
String iMultimedia_SmartTV_Program_Name "Kanalname" (gMultimedia_SmartTV) {channel="samsungtv:tv:d3092a28_b6c8_4776_bc2b_44b5758f3e86:channelName"}
String iMultimedia_SmartTV_Program_Title "Programmtitel" (gMultimedia_SmartTV) {channel="samsungtv:tv:d3092a28_b6c8_4776_bc2b_44b5758f3e86:programTitle"}
String iMultimedia_SmartTV_Key_Code "Funktion aufrufen" (gMultimedia_SmartTV) {channel="samsungtv:tv:d3092a28_b6c8_4776_bc2b_44b5758f3e86:keyCode"}
Switch iMultimedia_SmartTV_Power "Ein-/Ausschalten" (gMultimedia_SmartTV) {channel="samsungtv:tv:d3092a28_b6c8_4776_bc2b_44b5758f3e86:power"}

If I copy from PaperUI I get this channel:

samsungtv:tv:d3092a28_b6c8_4776_bc2b_44b5758f3e86:sourceName

This shouldn`t be the problem.

My sitemap look like this:

  Frame label="Samsung TV" icon="video" {
    Switch item=iMultimedia_SmartTV_Key_Code label="Kanal wechseln" icon="text" mappings=[KEY_CHUP="+", KEY_CHDOWN="-"]
    Switch item=iMultimedia_SmartTV_Key_Code label="Lautstärke ändern" icon="text" mappings=[KEY_VOLUP="+", KEY_VOLDOWN="-"]
    Switch item=iMultimedia_SmartTV_Key_Code label="Stumm" icon="text" mappings=[KEY_MUTE="ON", KEY_MUTE="OFF"]
    Switch item=iMultimedia_SmartTV_Source_Name label="Quellenname" mappings=["TV"="TV","HDMI1/DVI"="HDMI1", "HDMI2"="HDMI2", "HDMI3"="HDMI3"] icon="none"
    Switch item=iMultimedia_SmartTV_Power label="Ein-/Ausschalten"
  }

What works is to change the volume and swtiching the power on and off.

What do I mean that it does not work? Well, he simply doesn’t change the source. The channel is apparently not supported for this. Unless I have overlooked the error, this might be possible via the keys. I connected the PS4 yesterday and it would be nice if I could not only switch on the TV but also switch to the correct HDMI. Or of course, in general, that I can switch there.

Thanks in advance and best regards

From the binding doc

UE50MU6179
[support] PARTIAL
Supported channels: volume, mute, power, keyCode, channel, sourceApp, url

I made a mistake with the TV name. It is not an UE55MU6179U. It is an UE55KU6079U. The information from the UE50MU6179 was sadly not helpful.

In PaperUI the channel ends with sourceName. The Thing was auto detected. Unless I’ve made a mistake in how I could change the values there, unfortunately the channel doesn’t work and I couldn’t change from HDMI1 to HDMI3 or whatever.

What does not work are a few keys. As example the KEY_Source works finde, the KEY_HDMI also but not KEY_HDMI1, KEY_HDMI2, KEY_HDMI3 and KEY_HDMI4 or KEY_TV. If I had HDMI1, HDMI2 and HDMI3 in operation I can use the KEY_HDMI twice. It only changes from HDMI1 to HDM3 and back. So it will skip HDMI2. So the solution is not to press HDMI multiple times to go from HDMI1 as example to HDMI2 or HDM4. Or you can not go from HDMI4 to HDMI2 by pressing it twice.

(Not part of the question or error)
Another error is because of the multiple use of the same “channel”:

This is of course because I use

iMultimedia_SmartTV_Key_Code

in the sitemap three times. But is there a possibility that if I only want to use a specific key code as button that I do not use this channel:

channel="samsungtv:tv:d3092a28_b6c8_4776_bc2b_44b5758f3e86:keyCode"

Something like a direct access from my button?

channel="samsungtv:tv:d3092a28_b6c8_4776_bc2b_44b5758f3e86:keyCode:<pressedbutton>"

like

channel="samsungtv:tv:d3092a28_b6c8_4776_bc2b_44b5758f3e86:keyCode:KEY_HDMI"

I don’t know what you’re trying to do there. You can’t just make up channels.
The command you send to the linked Item is what gets passed to the channel.
In sitemaps, you can use the Switch widgets mappings= parameter to send whatever command you like when a button is poked. The button label is set separately.

It was just a thougth.

Maybe explain what you’re trying to do. Command something different, depending on current state? Send multiple commands in response to one UI click? Rules are good for this sort of thing.

Well the only thing I want to achieve is to change the source. It doesn’t matter whether I achieve this via the BasicUI because the user wants to switch manually or whether I enter this permanently in a rule when I start the PS4, for example, that I say it has HDMI3, so the TV must also switch to HDMI3. I can’t use the channel sourceName, nor does it somehow work via the channel keyCode and any HDMI keys.

So as before, according to the documentation, this TV is not supported, but it was found and you could partially set it up. I guess that’s why the channels just won’t work. Whether it’s important, I don’t know. The TV also has a little display damage, which means that at some point we’ll exchange it for another set and then we’ll just see who has already had good experiences with which TV.