[SOLVED] LG TV binding Netcast 3.0 issue connecting with TV

Hi @Marian_Grigore
This TV status provided by this binding doesn’t seems to work. So I had work around that. What have I done is I`m using Network binding to detect TV status and this is mapped in my sitemap. Works very well.

Hi i followed your and now i have this error

2019-04-14 00:28:33.015 [INFO ] [lgtv.lginteraction.LgTvMessageReader] - Started LgTv Servlet at /udap/api/event

2019-04-14 00:28:33.019 [ERROR] [binding.lgtv.internal.LgtvConnection] - sendtotv but connection status is CS_NOTCONNECTED

2019-04-14 00:28:33.112 [ERROR] [ab.binding.lgtv.internal.LgtvBinding] - cannot find device lgtv

2019-04-14 00:28:33.116 [ERROR] [ab.binding.lgtv.internal.LgtvBinding] - cannot find device lgtv

2019-04-14 00:28:33.126 [ERROR] [ab.binding.lgtv.internal.LgtvBinding] - cannot find device lgtv

2019-04-14 00:28:33.130 [ERROR] [ab.binding.lgtv.internal.LgtvBinding] - cannot find device lgtv

2019-04-14 00:28:33.135 [ERROR] [ab.binding.lgtv.internal.LgtvBinding] - cannot find device lgtv

2019-04-14 00:28:33.217 [INFO ] [binding.lgtv.internal.LgtvConnection] - lgtv connectionstatus of ip=192.168.0.106 changed from CS_NOTCONNECTED to CS_PAIRED

2019-04-14 00:28:33.220 [INFO ] [binding.lgtv.internal.LgtvConnection] - sendpairkey with result=200 successconnectionstatus=CS_PAIRED

How can i resolve?

Hi.
Post your configs and together we can figure it out.
Cheers

Now it works.
I solved rebooting the system.
But is it possible to turn on the TV?
Because i can command the Tv but when i turn off the tv i cannot to turn on

I can’t turn on my model as well. If your TV supports WOL (Wake On LAN) then there is possibility to do it.

Now i have a problem to update in real time CHANNEL_CURRENTPROG.
i defined it so

Switch LgTvPower                        "Power Command"                 (GF_Living)     {lgtv="ON:wohnzimmer:POWER"}
Switch LgTvMute                         "Mute"                          (GF_Living)     {lgtv="ON:wohnzimmer:KEY_MUTE, OFF:wohnzimmer:KEY_MUTE"}
Number LgTvVolume                       "lgVolume [%.1f]"               (GF_Living)     {lgtv="INIT:wohnzimmer:VOLUME_CURRENT, INCREASE:wohnzimmer:VOLUME_UP, DECREASE:wohnzimmer:VOLUME_DOWN, *:wohnzimmer:VOLUME_SET"}
Number LgTvChannel                      "Channel [%.1f]"                (GF_Living)     {lgtv="INIT:wohnzimmer:CHANNEL_CURRENTNUMBER, INCREASE:wohnzimmer:CHANNEL_UP, DECREASE:wohnzimmer:CHANNEL_DOWN, *:wohnzimmer:CHANNEL_SET" }
String LgTvChannelName                  "Channelname [%s]"              (GF_Living)     {lgtv="INIT:wohnzimmer:CHANNEL_CURRENTNAME"}
String LgTvGetChannels                  "getchannels [%s]"              (GF_Living)     {lgtv="INIT:wohnzimmer:GET_CHANNELS, ON:wohnzimmer:GET_CHANNELS"}
String LgTvGetApps                      "getapps [%s]"                  (GF_Living)     {lgtv="INIT:wohnzimmer:GET_APPS, ON:wohnzimmer:GET_APPS"}
String LgTvProg                         "prog [%s]"                     (GF_Living)     {lgtv="INIT:wohnzimmer:CHANNEL_CURRENTPROG"}
String LgTvAppExecute                   "excuteapp"                     (GF_Living)     {lgtv="*:wohnzimmer:APP_EXECUTE"}
String LgTvAppTerminate                 "terminateapp"                  (GF_Living)     {lgtv="*:wohnzimmer:APP_TERMINATE"}
Switch LgTvConnStatus                   "connstatus "                   (GF_Living)     {lgtv="*:wohnzimmer:CONNECTION_STATUS"}
Switch LgTvRecord                       "Record"                        (GF_Living)     {lgtv="ON:wohnzimmer:KEY_RECORD"}
Switch LgTvUp                           "Up"                            (GF_Living)     {lgtv="ON:wohnzimmer:KEY_UP"}
Switch LgTvDown                         "Down"                          (GF_Living)     {lgtv="ON:wohnzimmer:KEY_DOWN"}
Switch LgTvLeft                         "Left"                          (GF_Living)     {lgtv="ON:wohnzimmer:KEY_LEFT"}
Switch LgTvRight                        "Right"                         (GF_Living)     {lgtv="ON:wohnzimmer:KEY_RIGHT"}
Switch LgTvOK                           "Ok"                            (GF_Living)     {lgtv="ON:wohnzimmer:KEY_OK"}
Switch LgTvHome                         "Home"                          (GF_Living)     {lgtv="ON:wohnzimmer:KEY_HOME"}

When i change the channel the item prog don’t change automatically.
how can do it?