Panasonic Tv is teasing me..Logging issue

Hi All

Doesn’t work…just can’t se the issue.


2020-04-19 10:42:29.028 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'StueTVPower' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-19 10:42:29.029 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'StueTVPower' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-19 10:42:29.031 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-19 10:42:29.033 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'StueVulumeUp' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-19 10:42:29.034 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'StueVulumeUp' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-19 10:42:29.035 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-19 10:42:29.038 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'StueVolumeDown' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-19 10:42:29.039 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'StueVolumeDown' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-19 10:42:29.041 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-19 10:42:29.042 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'StueTVInput' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-19 10:42:29.044 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'StueTVInput' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-04-19 10:42:29.045 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

Items

Switch StueTVPower           "Power"                 { panasonictv="stue_tv:POWER" }
Switch StueVolumeUp          "Volume Up"             { panasonictv="stue_tv:VOLUP" }
Switch StueVolumeDown        "Volume Down"           { panasonictv="stue_tv:VOLDOWN" }
Switch StueTVInput           "TV input"              { panasonictv="stue_tv:TV" }

Sitemap

Frame label="Stue TV" {
			Switch item=StueTVPower 
 			Switch item=StueVulumeUp
			Switch item=StueVolumeDown
			Switch item=StueTVInput 
		   }

is the binding installed and is the THING configured?

binding is installeled , but no i have not made a thing config ,since documentation states a config file needs to be done which i have done.


########################## Panasonic TV Binding

#IP address of a Panasonic TV instance

Stue_tv=192.168.0.7

Not sure how a thing should look like.

Stue_tv is not equal stue_tv

correct. i have changed it.

Now i have NO error messages ,but still doesn’t work…

Has your TV a static IP or is the MAC address assigned to a fixed IP in your router ?
Can you ping the TV from your openhab server ?
Is the Thing online in PaperUI ?
And we still don’t know what is not working …

Has your TV a static IP or is the MAC address assigned to a fixed IP in your router ? yes
Can you ping the TV from your openhab server ? yes
Is the Thing online in PaperUI ? no
And we still don’t know what is not working … i agree

i have uninstalled binding and installed it again.

i dont have TV under things or in control part of Paperui… and cant add it manually.
Not sure how to proceed.

Per the doc’s there is no Thing for the binding and your configuration, after changing the Stue_tv/stue_tv part, looks good.

Have you tried restarting OH or stopping OH and cleaning the cache since any changes?

thx for trying to help out.

Answer is yes and yes.Still no errors in log.

Log even states on and off with no erros…

Use the console to set the binding to DEBUG or TRACE and see if you get any additional info that may help.

i took a look at this.

Honestly i have no idea how to do this. need to look more into it.

I believe you are right more info is needed to understand what is happening

hi

having newbee strungles with this debugging

I tried but it doesnt seem to output anything.

log:set DEBUG org.openhab.binding.panasonic

Not sure what i have done wrong.

ok i do get an output now.

2020-04-22 20:39:08.110 [DEBUG] [onictv.internal.PanasonicTVActivator] - PanasonicTV binding has been started.

This is the only DEBUG output

tail -f /var/log/openhab2/openhab.log /var/log/openhab2/events.log

2020-04-22 20:39:08.110 [DEBUG] [onictv.internal.PanasonicTVActivator] - PanasonicTV binding has been started.

2020-04-22 20:39:08.388 [INFO ] [asonictv.internal.PanasonicTVBinding] - TV registered 'Stue_tv' with IP '192.168.0.7'

==> /var/log/openhab2/events.log <==


2020-04-22 20:39:26.434 [vent.ItemStateChangedEvent] - stueTVPower changed from OFF to ON

these are all the output

ok i need to dig in these issues 1 step at the time.

since i dont really get any info in the log ,my question is.

Have i set the log level correct,this is the complete logger file ?
i just realized that i cannot ping TV when off.so i guess that is atleast part of the issue.

Logger                                             │ Level
───────────────────────────────────────────────────┼──────
ROOT                                               │ WARN
javax.jmdns                                        │ ERROR
javax.mail                                         │ ERROR
org.apache.karaf.jaas.modules.audit                │ INFO
org.apache.karaf.kar.internal.KarServiceImpl       │ ERROR
org.apache.karaf.shell.ssh.SshUtils                │ ERROR
org.apache.karaf.shell.support                     │ OFF
org.apache.sshd                                    │ ERROR
org.eclipse.lsp4j                                  │ OFF
org.eclipse.smarthome                              │ INFO
org.jupnp                                          │ ERROR
org.openhab                                        │ INFO
org.openhab.binding.panasonic                      │ TRACE
org.openhab.binding.panasonictv                    │ TRACE
org.openhab.ui.paper                               │ WARN
org.openhab.ui.paper.internal                      │ INFO
org.ops4j.pax.url.mvn.internal.AetherBasedResolver │ ERROR
org.ops4j.pax.web.pax-web-runtime                  │ OFF
panasonictv                                        │ TRACE
smarthome.event                                    │ INFO
smarthome.event.InboxUpdatedEvent                  │ ERROR
smarthome.event.ItemAddedEvent                     │ ERROR
smarthome.event.ItemRemovedEvent                   │ ERROR
smarthome.event.ItemStateEvent                     │ ERROR
smarthome.event.ThingAddedEvent                    │ ERROR
smarthome.event.ThingRemovedEvent                  │ ERROR
smarthome.event.ThingStatusInfoEvent               │ ERROR

That’s not a binding issue.
The UI has been told in the sitemap to show an Item named StueTVPower, but the system cannot find it.
Your Items have not been created.

Look in openhab.log at boot time or when you edit your xxx.items file for a message
- Loading model 'xxx.items'

How did you make that happen?
Note that stueTVPower is not the same Item as StueTVPower

sitemap

 Frame label="Stue TV" {
			Switch item=StueTVPower 
 			Switch item=StueVolumeUp
			Switch item=StueVolumeDown
			Switch item=StueTVInput

items

Switch StueTVPower           "Power"                 { panasonic="Stue_tv:POWER" }
Switch StueVolumeUp          "Volume Up"             { panasonic="Stue_tv:VOLUP" }
Switch StueVolumeDown        "Volume Down"           { panasonic="Stue_tv:VOLDOWN" }
Switch StueTVInput           "TV input"              { panasonic="Stue_tv:TV" }

it is loading

2020-05-10 14:19:00.833 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model ‘hus.items’

but i get this

2020-05-10 14:23:37.400 [INFO ] [rest.core.internal.item.ItemResource] - Received HTTP POST request at ‘items/stueTVPower’ for the unknown item ‘stueTVPower’.

Why does it state a small s when both item and sitemap is capital lettter.

Because it might be in more than one place in your sitemap, spelt differently.
Or because the browser hasn’t been refreshed and is still using an old sitemap.
Or because you are using HABpanel, which has no sitemap.
Or some other reason.

Can you clarify exactly what your problem is now ?

thank you very much for your patience and help.

i have been digging into this today ,and i cant seem to get confirmed that WOL is actually supported on my older tv from 2012.

I cannot get it to work thru the panasonic binding. ,not the end of the world,

Thx again

Bear in mind we don’t know what you mean there.
openHAB can tell if the TV is on or off, etc?
You’ve got volume Items, input Item, they don’t work?

If it just won’t switch on from openHAB, then maybe it is a WOL thing.
Have you tried a direct WOL with it?