30.12.2018
Hi all,
I have installed the latest build of Openhab on a PI 1 under Openhabian.
I am successfully using the Samsung:tv binding however I am failing to get the Horizon Media Box binding to work.
Here is my items file:
(I renamed power to Video_power after this snapshot)
The below log shows all from ramping up the server until the Horizon item is recieving the power off command.
The command is given by Alexa and apparently recieved and understood by the OH server as per the last events entry.
I have configured Horizon as per the description of the binding including the rule querying the IP to set the status o the item, which is working.
There are posts in this forum about a fix of the timeout value to avoid blacklisting, but this fix is already incorporated in this build, so that is not the issue.
Any idea what may still be wrong?
I am pretty new to this so please excuse anything stupid that I might have done.
Cheers
Wolfgang
2018-12-30 17:55:02.629 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2018-12-30 17:55:03.602 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to ' '.
2018-12-30 17:55:05.921 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder
2018-12-30 17:55:38.699 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = <removed>, base URL = xxx)
2018-12-30 17:56:57.748 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'home.items'
2018-12-30 17:57:22.519 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2018-12-30 17:57:43.201 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'home.rules'
2018-12-30 17:57:48.347 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'home.sitemap'
2018-12-30 17:57:51.119 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'home.things'
==> /var/log/openhab2/events.log <==
2018-12-30 17:57:51.859 [.ItemChannelLinkAddedEvent] - Link 'TV_Mute-samsungtv:tv:livingroom:mute' has been added.
2018-12-30 17:57:51.909 [.ItemChannelLinkAddedEvent] - Link 'TV_Volume-samsungtv:tv:livingroom:volume' has been added.
2018-12-30 17:57:51.953 [.ItemChannelLinkAddedEvent] - Link 'TV_Off-samsungtv:tv:livingroom:power' has been added.
==> /var/log/openhab2/openhab.log <==
2018-12-30 17:58:01.114 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at xxx
2018-12-30 17:58:01.172 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at xxx
2018-12-30 17:58:13.519 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2018-12-30 17:59:01.809 [hingStatusInfoChangedEvent] - 'samsungtv:tv:livingroom' changed from UNINITIALIZED to INITIALIZING
2018-12-30 17:59:02.201 [vent.ItemStateChangedEvent] - Video_power changed from OFF to ON
2018-12-30 17:59:02.570 [hingStatusInfoChangedEvent] - 'samsungtv:tv:livingroom' changed from INITIALIZING to OFFLINE
2018-12-30 17:59:04.320 [vent.ItemStateChangedEvent] - TV_Off changed from NULL to OFF
2018-12-30 17:59:04.570 [hingStatusInfoChangedEvent] - 'samsungtv:tv:livingroom' changed from OFFLINE to ONLINE
2018-12-30 17:59:04.752 [vent.ItemStateChangedEvent] - TV_Off changed from OFF to ON
2018-12-30 17:59:06.770 [vent.ItemStateChangedEvent] - TV_Volume changed from NULL to 9
2018-12-30 17:59:08.509 [vent.ItemStateChangedEvent] - TV_Mute changed from NULL to ON
2018-12-30 18:02:12.629 [ome.event.ItemCommandEvent] - Item 'Video_power' received command OFF
2018-12-30 18:02:12.675 [WARN ] [org.apache.karaf.services.eventadmin] - EventAdmin: Exception during event dispatch [org.osgi.service.event.Event [topic=openhab/command/Video_power] {item=Video_power, bridgemarker=true, command=OFF, timestamp=1546189332582} | {org.osgi.service.event.EventHandler}={service.id=357, service.bundleid=207, service.scope=bundle, event.topics=openhab/command/*, livingroom.host=192.168.0.243, service.pid=org.openhab.horizon, component.name=org.openhab.binding.horizon.binding, component.id=209} | Bundle(org.openhab.binding.horizon_1.13.0 [207])]
java.lang.NullPointerException: null
at org.openhab.binding.horizon.internal.HorizonBinding.internalReceiveCommand(HorizonBinding.java:94) ~[?:?]
at org.openhab.core.binding.AbstractBinding.receiveCommand(AbstractBinding.java:94) ~[?:?]
at org.openhab.core.events.AbstractEventSubscriber.handleEvent(AbstractEventSubscriber.java:45) ~[?:?]
at org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:415) [3:org.apache.karaf.services.eventadmin:4.2.1]
at org.apache.felix.eventadmin.impl.tasks.HandlerTask.runWithoutBlacklistTiming(HandlerTask.java:82) [3:org.apache.karaf.services.eventadmin:4.2.1]
at org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks.execute(SyncDeliverTasks.java:104) [3:org.apache.karaf.services.eventadmin:4.2.1]
at org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks$TaskExecuter.run(AsyncDeliverTasks.java:166) [3:org.apache.karaf.services.eventadmin:4.2.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-12-30 18:02:13.459 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 3207939 failed: null
2018-12-30 18:02:13.539 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null