Panasonic TV item does not exist

Hello together,
I’m very new in HomeAutomation and I try to power on/off my Panasonic TV as a test.
I installed the latest OH1

And so I wrote this lines:

Config:
################################ Panasonic TV Binding #######################################

IP address of a Panasonic TV instance

panasonictv:LivingRoom_TV=192.168.0.50

Items:
//Gruppe Panasonic-TV definieren
Group PANASONIC

/* Fernseher definieren */
Switch LivingRoom_TV “Power” (PANASONIC) {panasonictv=“LivingRoom_TV:POWER”}
Switch D1 “Taste 1” (PANASONIC) {panasonictv=“LivingRoom_TV:D1”}

Sitemap:
sitemap PANASONIC label=“Hauptmenü”
{
Frame label=“Fernseher”
{
Group item=LivingRoom_TV label=“TV” icon=“door-open”
{
Switch item=LivingRoom_TV
Switch item=D1
}
}
}

The Sitemap worked in Chrome. Ok.
But the TV do not react and I get this lines in the terminal window:
Cannot retrieve item LivingRoom_TV for widget org.openhab.model.sitemap.Group

And if I use the Switch I get:
Received command ‘TOGGLE’ for item ‘LivinRoom_TV’, but the item does not exist in the registriy
Received command ‘TOGGLE’ for item ‘D1’, but the item does not exist in the registriy

Where is my error?

Greatings
Lars

I wonder if having both your item and the binding instance named as LivingRoom_TV is causing a problem ?

This isn’t correct, as your group item is PANASONIC. Please check out the demo.sitemap as an example of how to lay out your sitemap.

Thanks for your answers.

Hey Rossko57,
I changed the name of binding and item. Check! But it doesn’t worked. Than…

Hello Watou,
I looked at the demo.sitemape and at the demo.items… I read something…
And than there was a point:

All item definition files have to have the file extension .items. Just create a new file called thenameyouwish.items.<<
So I check my files an find panasonic.item without “S”…

First error found! Yeah!
But now I can’t edit the item(s)-Files into the designer… now I use Notepad# - it works fine.

In the Sitemap I can switch the switches - push the buttons - but nothing happens…

“Panasonic.sitemap”

sitemap PANASONIC label=“Hauptmenü”
{
Switch item=TV_PowerOn
Switch item=Button_D1
Switch item=Button_ChUp
Switch item=Button_ChDown
}

“Panasonic.items”

//http://localhost:8080/openhab.app?sitemap=Panasonic#

//Gruppe Panasonic-TV definieren
Group PANASONIC

/* Fernseher definieren */
Switch TV_PowerOn “Power” (PANASONIC) {panasonictv:TV=“TV:POWER”}
Switch Button_D1 “Taste 1” (PANASONIC) {panasonictv:TV=“TV:D1”}
Switch Button_ChUp “Kanal +” (PANASONIC) {panasonictv:TV=“TV:CH_UP”}
Switch Button_ChDown “Kanal -” (PANASONIC) {panasonictv:TV=“TV:CH_DOWN”}


“oprnhsb.cfg”
################################ Panasonic TV Binding #######################################

IP address of a Panasonic TV instance

panasonictv:TV=192.168.0.50


I think it should possible to power on the TV. But nothing happens.
I think it should possible to change the channel. But nothing happens.
It didn’t work even if the TV on or off…

Please send me a hint or better a part of a solution…
Many Thanks

Best Greetings
Lars

The binding config strings are incorrect. Have a look at the wiki for the correct syntax.

I have managed to get a Panasonic TV working with all the controls except to get the Power on.
It appears to be offline as soon as I turn it off. I might have to set up an IR Blaster hooked into openHAB s a power switch for it.