Tested successfully with binding version 3.0.0.202011161914. NullPointerException is gone.
Looks good to me.
Discovery shows tv in inbox.
Config after adding it as a thing:
UID: panasonictv:tv:4D454930_0100_1000_8001_A813742A3472
label: 40CX680_Series
thingTypeUID: panasonictv:tv
configuration:
hostName: 192.168.178.30
refreshInterval: 1000
udn: 4D454930-0100-1000-8001-A813742A3472
Then I created new items via the thing channels. Had to restart openhab then they worked. A reason maybe not correctly deleting the old things and items.
Tested volume dimmer, mute switch and keycode hdmi1 successfully.
Found no exception in log and the volume polling is working.
event.log
2020-11-16 20:27:53.130 [INFO ] [me.event.ThingStatusInfoChangedEvent] - Thing 'panasonictv:tv:4D454930_0100_1000_8001_A813742A3472' changed from UNINITIALIZED to INITIALIZING
2020-11-16 20:27:53.134 [INFO ] [me.event.ThingStatusInfoChangedEvent] - Thing 'panasonictv:tv:4D454930_0100_1000_8001_A813742A3472' changed from INITIALIZING to UNKNOWN
2020-11-16 20:27:53.349 [INFO ] [me.event.ThingStatusInfoChangedEvent] - Thing 'panasonictv:tv:4D454930_0100_1000_8001_A813742A3472' changed from UNKNOWN to ONLINE
2020-11-16 20:28:15.594 [INFO ] [smarthome.event.ItemCommandEvent ] - Item '40CX680Series_Stummschalten' received command OFF
2020-11-16 20:28:15.594 [INFO ] [rthome.event.ItemStatePredictedEvent] - Item '40CX680Series_Stummschalten' predicted to become OFF
2020-11-16 20:28:15.599 [INFO ] [marthome.event.ItemStateChangedEvent] - Item '40CX680Series_Stummschalten' changed from ON to OFF
2020-11-16 20:28:16.705 [INFO ] [smarthome.event.ItemCommandEvent ] - Item '40CX680Series_Stummschalten' received command ON
2020-11-16 20:28:16.706 [INFO ] [rthome.event.ItemStatePredictedEvent] - Item '40CX680Series_Stummschalten' predicted to become ON
2020-11-16 20:28:16.710 [INFO ] [marthome.event.ItemStateChangedEvent] - Item '40CX680Series_Stummschalten' changed from OFF to ON
2020-11-16 20:28:19.039 [INFO ] [smarthome.event.ItemCommandEvent ] - Item '40CX680Series_Stummschalten' received command OFF
2020-11-16 20:28:19.039 [INFO ] [rthome.event.ItemStatePredictedEvent] - Item '40CX680Series_Stummschalten' predicted to become OFF
2020-11-16 20:28:19.043 [INFO ] [marthome.event.ItemStateChangedEvent] - Item '40CX680Series_Stummschalten' changed from ON to OFF
2020-11-16 20:28:25.902 [INFO ] [smarthome.event.ItemCommandEvent ] - Item '40CX680Series_Stummschalten' received command ON
2020-11-16 20:28:25.904 [INFO ] [rthome.event.ItemStatePredictedEvent] - Item '40CX680Series_Stummschalten' predicted to become ON
2020-11-16 20:28:25.908 [INFO ] [marthome.event.ItemStateChangedEvent] - Item '40CX680Series_Stummschalten' changed from OFF to ON
2020-11-16 20:28:29.360 [INFO ] [smarthome.event.ItemCommandEvent ] - Item '40CX680Series_Stummschalten' received command OFF
2020-11-16 20:28:29.361 [INFO ] [rthome.event.ItemStatePredictedEvent] - Item '40CX680Series_Stummschalten' predicted to become OFF
2020-11-16 20:28:29.365 [INFO ] [marthome.event.ItemStateChangedEvent] - Item '40CX680Series_Stummschalten' changed from ON to OFF
2020-11-16 20:28:34.144 [INFO ] [smarthome.event.ItemCommandEvent ] - Item '40CX680Series_Lautstarke' received command 13
2020-11-16 20:28:34.145 [INFO ] [rthome.event.ItemStatePredictedEvent] - Item '40CX680Series_Lautstarke' predicted to become 13
2020-11-16 20:28:34.150 [INFO ] [marthome.event.ItemStateChangedEvent] - Item '40CX680Series_Lautstarke' changed from 7 to 13
2020-11-16 20:28:36.460 [INFO ] [smarthome.event.ItemCommandEvent ] - Item '40CX680Series_Lautstarke' received command 6
2020-11-16 20:28:36.462 [INFO ] [rthome.event.ItemStatePredictedEvent] - Item '40CX680Series_Lautstarke' predicted to become 6
2020-11-16 20:28:36.466 [INFO ] [marthome.event.ItemStateChangedEvent] - Item '40CX680Series_Lautstarke' changed from 13 to 6
2020-11-16 20:28:38.907 [INFO ] [smarthome.event.ItemCommandEvent ] - Item '40CX680Series_Lautstarke' received command 9
2020-11-16 20:28:38.908 [INFO ] [rthome.event.ItemStatePredictedEvent] - Item '40CX680Series_Lautstarke' predicted to become 9
2020-11-16 20:28:38.911 [INFO ] [marthome.event.ItemStateChangedEvent] - Item '40CX680Series_Lautstarke' changed from 6 to 9
openhab.log; removed some of my other devices.
2020-11-16 20:27:44.731 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'Europe/Berlin'.
removed
2020-11-16 20:27:44.766 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to 'de_DE'.
2020-11-16 20:27:51.323 [INFO ] [.core.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2020-11-16 20:27:52.476 [INFO ] [org.openhab.ui.internal.UIService ] - Started UI on port 8080
2020-11-16 20:27:52.824 [INFO ] [ab.ui.habpanel.internal.HABPanelTile] - Started HABPanel at /habpanel
2020-11-16 20:27:53.053 [DEBUG] [.internal.handler.PanasonicTvHandler] - Create a Panasonic TV Handler for thing 'panasonictv:tv:4D454930_0100_1000_8001_A813742A3472'
2020-11-16 20:27:53.131 [DEBUG] [.internal.handler.PanasonicTvHandler] - Initializing Panasonic TV handler for uid 'panasonictv:tv:4D454930_0100_1000_8001_A813742A3472'
removed
2020-11-16 20:27:53.323 [DEBUG] [.internal.handler.PanasonicTvHandler] - Ignoring device=org.openhab.binding.panasonictv.internal.discovery.DeviceInformation@42e90197 (hostname not matching) in thing panasonictv:tv:4D454930_0100_1000_8001_A813742A3472
removed
2020-11-16 20:27:53.327 [DEBUG] [very.PanasonicTvDiscoveryParticipant] - Ignoring (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:4D454930-0300-1000-8001-A813742A3472, Descriptor: http://192.168.178.30:55000/pac/ddd.xml, Root: true: No thing UID created, probably not a Panasonic TV
2020-11-16 20:27:53.334 [DEBUG] [.internal.handler.PanasonicTvHandler] - remoteDeviceAdded: device=(RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:4D454930-0300-1000-8001-A813742A3472, Descriptor: http://192.168.178.30:55000/pac/ddd.xml, Root: true
2020-11-16 20:27:53.335 [DEBUG] [.internal.handler.PanasonicTvHandler] - Checking modelName=Panasonic VIErA, udn=4D454930-0300-1000-8001-A813742A3472, service=p00ProAVController for thing panasonictv:tv:4D454930_0100_1000_8001_A813742A3472
2020-11-16 20:27:53.337 [DEBUG] [very.PanasonicTvDiscoveryParticipant] - Ignoring (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:4D454930-0200-1000-8001-A813742A3472, Descriptor: http://192.168.178.30:55000/nrc/ddd.xml, Root: true: No thing UID created, probably not a Panasonic TV
2020-11-16 20:27:53.337 [DEBUG] [.internal.handler.PanasonicTvHandler] - remoteDeviceAdded: device=(RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:4D454930-0200-1000-8001-A813742A3472, Descriptor: http://192.168.178.30:55000/nrc/ddd.xml, Root: true
2020-11-16 20:27:53.338 [DEBUG] [.internal.handler.PanasonicTvHandler] - Checking modelName=Panasonic VIErA, udn=4D454930-0200-1000-8001-A813742A3472, service=p00RemoteController for thing panasonictv:tv:4D454930_0100_1000_8001_A813742A3472
2020-11-16 20:27:53.346 [DEBUG] [rnal.service.RemoteControllerService] - Create a Panasonic TV RemoteController service
removed
2020-11-16 20:27:53.357 [DEBUG] [.internal.handler.PanasonicTvHandler] - Ignoring device=org.openhab.binding.panasonictv.internal.discovery.DeviceInformation@12dc673f (hostname not matching) in thing panasonictv:tv:4D454930_0100_1000_8001_A813742A3472
2020-11-16 20:27:53.388 [DEBUG] [.internal.handler.PanasonicTvHandler] - remoteDeviceAdded: device=(RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:4D454930-0000-1000-8001-A813742A3472, Descriptor: http://192.168.178.30:55000/dms/ddd.xml, Root: true
2020-11-16 20:27:53.389 [DEBUG] [.internal.handler.PanasonicTvHandler] - Checking modelName=Panasonic VIErA, udn=4D454930-0000-1000-8001-A813742A3472, service=MediaServer for thing panasonictv:tv:4D454930_0100_1000_8001_A813742A3472
2020-11-16 20:27:53.391 [DEBUG] [very.PanasonicTvDiscoveryParticipant] - Ignoring (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:4D454930-0000-1000-8001-A813742A3472, Descriptor: http://192.168.178.30:55000/dms/ddd.xml, Root: true: No thing UID created, probably not a Panasonic TV
2020-11-16 20:27:53.423 [DEBUG] [very.PanasonicTvDiscoveryParticipant] - Created a DiscoveryResult for device 'Panasonic VIErA' with UDN '4D454930-0100-1000-8001-A813742A3472'
2020-11-16 20:27:53.428 [DEBUG] [.internal.handler.PanasonicTvHandler] - remoteDeviceAdded: device=(RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:4D454930-0100-1000-8001-A813742A3472, Descriptor: http://192.168.178.30:55000/dmr/ddd.xml, Root: true
removed
2020-11-16 20:27:53.432 [DEBUG] [.internal.handler.PanasonicTvHandler] - Checking modelName=Panasonic VIErA, udn=4D454930-0100-1000-8001-A813742A3472, service=MediaRenderer for thing panasonictv:tv:4D454930_0100_1000_8001_A813742A3472
2020-11-16 20:27:53.435 [DEBUG] [.internal.handler.PanasonicTvHandler] - Ignoring device=org.openhab.binding.panasonictv.internal.discovery.DeviceInformation@5814a1f2 (hostname not matching) in thing panasonictv:tv:4D454930_0100_1000_8001_A813742A3472
2020-11-16 20:27:53.435 [DEBUG] [nternal.service.MediaRendererService] - Create a Panasonic TV MediaRenderer service
2020-11-16 20:27:53.436 [DEBUG] [nternal.service.MediaRendererService] - Start refresh task, interval=1000
2020-11-16 20:27:53.481 [DEBUG] [.internal.handler.PanasonicTvHandler] - Received value 'volume':'6' for thing 'panasonictv:tv:4D454930_0100_1000_8001_A813742A3472'
removed
2020-11-16 20:27:53.497 [DEBUG] [.internal.handler.PanasonicTvHandler] - Received value 'mute':'OFF' for thing 'panasonictv:tv:4D454930_0100_1000_8001_A813742A3472'
2020-11-16 20:27:54.519 [TRACE] [nternal.service.MediaRendererService] - Value '6' for CurrentVolume hasn't changed, ignoring update
2020-11-16 20:27:54.545 [TRACE] [nternal.service.MediaRendererService] - Value 'false' for CurrentMute hasn't changed, ignoring update
removed
2020-11-16 20:27:55.568 [TRACE] [nternal.service.MediaRendererService] - Value '6' for CurrentVolume hasn't changed, ignoring update
2020-11-16 20:27:55.584 [TRACE] [nternal.service.MediaRendererService] - Value 'false' for CurrentMute hasn't changed, ignoring update
2020-11-16 20:27:56.599 [TRACE] [nternal.service.MediaRendererService] - Value '6' for CurrentVolume hasn't changed, ignoring update