ikjes_to
(Ikjes To)
September 15, 2016, 7:43pm
1
i installed openhab2 by following
http://docs.openhab.org/installation/linux.html#package-repository-installation
and after that i used
i placed the latest mysensor in jar in usr/share/openhab2/addons folder
but still i cant find the mysensor binding in the paper ui
(yes i installed the serial binding
016-09-15 19:15:04.023 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing ‘openhab-binding-mysensors’: No matching features for openhab-binding-mysensors/0.0.0
no other error any where
TimO
(TimO)
September 15, 2016, 8:53pm
2
At which point of the instructions did you get the error message you posted?
The binding should install automatically after moving the jar in the addons folder and after fulfilling the requirement for the serial transport.
ikjes_to
(Ikjes To)
September 15, 2016, 9:14pm
3
after i installed the the mysensor binding in de addon folder and restarted
only thing i did diffrent was. when i tried to
"In the console enter feature:install openhab-transport-serial"
i had a error:
rror executing command: Error installing bundles:
Unable to install bundle openhab.transport-serial
so i installed it at the paper ui
after that i downloaded the latest mysensor snapshot and installed in addon folder
ikjes_to
(Ikjes To)
September 15, 2016, 9:25pm
4
2016-09-15 18:50:45.714 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.items'
2016-09-15 18:50:50.308 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist'
2016-09-15 18:50:50.842 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'logging.persist'
2016-09-15 18:51:17.720 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.rules'
2016-09-15 18:51:28.693 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.script'
2016-09-15 18:51:37.185 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.sitemap'
2016-09-15 18:55:04.413 [WARN ] [nce.extensions.PersistenceExtensions] - There is no default persistence service configured!
2016-09-15 18:55:04.447 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'null'
2016-09-15 18:55:04.521 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Error during the execution of startup rule 'ut': cannot invoke method public abstract org.eclipse.smarthome.core.types.State org.eclipse.smarthome.core.persistence.HistoricItem.getState() on null
2016-09-15 18:55:05.549 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.things'
2016-09-15 18:55:59.666 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2016-09-15 18:56:04.171 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2016-09-15 18:56:10.741 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /ui
2016-09-15 18:56:14.620 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2016-09-15 18:56:34.441 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occured while calling thing updated at ThingHandler 'org.eclipse.smarthome.binding.yahooweather.handler.YahooWeatherHandler@1200475: null
java.util.concurrent.TimeoutException
at java.util.concurrent.FutureTask.get(FutureTask.java:205)[:1.8.0_65]
at org.eclipse.smarthome.core.common.SafeMethodCaller.callAsynchronous(SafeMethodCaller.java:186)[96:org.eclipse.smarthome.core:0.9.0.b1]
at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:79)[96:org.eclipse.smarthome.core:0.9.0.b1]
at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:63)[96:org.eclipse.smarthome.core:0.9.0.b1]
at org.eclipse.smarthome.core.thing.internal.ThingManager.thingUpdated(ThingManager.java:556)[102:org.eclipse.smarthome.core.thing:0.9.0.b1]
at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyTrackers(ThingRegistryImpl.java:226)[102:org.eclipse.smarthome.core.thing:0.9.0.b1]
at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyListenersAboutUpdatedElement(ThingRegistryImpl.java:149)[102:org.eclipse.smarthome.core.thing:0.9.0.b1]
at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyListenersAboutUpdatedElement(ThingRegistryImpl.java:1)[102:org.eclipse.smarthome.core.thing:0.9.0.b1]
at org.eclipse.smarthome.core.common.registry.AbstractRegistry.updated(AbstractRegistry.java:167)[96:org.eclipse.smarthome.core:0.9.0.b1]
at org.eclipse.smarthome.core.common.registry.AbstractProvider.notifyListeners(AbstractProvider.java:57)[96:org.eclipse.smarthome.core:0.9.0.b1]
at org.eclipse.smarthome.core.common.registry.AbstractProvider.notifyListenersAboutUpdatedElement(AbstractProvider.java:82)[96:org.eclipse.smarthome.core:0.9.0.b1]
at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.access$3(GenericThingProvider.java:1)[127:org.eclipse.smarthome.model.thing:0.9.0.b1]
at org.eclipse.smarthome.model.thing.internal.GenericThingProvider$1$2.accept(GenericThingProvider.java:940)[127:org.eclipse.smarthome.model.thing:0.9.0.b1]
at org.eclipse.smarthome.model.thing.internal.GenericThingProvider$1$2.accept(GenericThingProvider.java:1)[127:org.eclipse.smarthome.model.thing:0.9.0.b1]
at java.util.ArrayList.forEach(ArrayList.java:1249)[:1.8.0_65]
at org.eclipse.smarthome.model.thing.internal.GenericThingProvider$1.run(GenericThingProvider.java:949)[127:org.eclipse.smarthome.model.thing:0.9.0.b1]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]
2016-09-15 18:56:41.614 [WARN ] [ome.core.thing.internal.ThingManager] - Initializing handler for thing 'astro:sun:home' takes more than 5000ms.
2016-09-15 18:56:41.762 [WARN ] [ore.internal.events.OSGiEventManager] - Dispatching event to subscriber 'org.eclipse.smarthome.io.rest.sse.internal.listeners.SseEventSubscriber@8efed8' takes more than 5000ms.
2016-09-15 18:56:41.816 [WARN ] [ome.core.thing.internal.ThingManager] - Initializing handler for thing 'astro:moon:home' takes more than 5000ms.
2016-09-15 18:56:45.851 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro DailyJob at midnight for thing astro:moon:home
2016-09-15 18:56:45.889 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro DailyJob at midnight for thing astro:sun:home
2016-09-15 18:58:22.423 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-mysensors': No matching features for openhab-binding-mysensors/0.0.0
2016-09-15 19:01:56.700 [WARN ] [oweather.handler.YahooWeatherHandler] - Error accessing Yahoo weather: Server returned HTTP response code: 504 for URL: https://query.yahooapis.com/v1/public/yql?format=json&q=SELECT%20*%20FROM%20weather.forecast%20WHERE%20u%20=%20%27c%27%20AND%20woeid%20=%20638242
2016-09-15 19:01:56.977 [WARN ] [oweather.handler.YahooWeatherHandler] - Error accessing Yahoo weather: Connection refused
2016-09-15 19:02:53.430 [WARN ] [oweather.handler.YahooWeatherHandler] - Error accessing Yahoo weather: Connection refused
2016-09-15 19:05:47.552 [INFO ] [ding.astro.handler.AstroThingHandler] - Deleting astro DailyJob for thing 'astro:moon:home'
2016-09-15 19:05:47.633 [INFO ] [ding.astro.handler.AstroThingHandler] - Deleting astro DailyJob for thing 'astro:sun:home'
2016-09-15 19:05:49.790 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2016-09-15 19:05:50.121 [INFO ] [assic.internal.servlet.WebAppServlet] - Stopped Classic UI
2016-09-15 19:05:57.121 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2016-09-15 19:05:57.333 [INFO ] [.dashboard.internal.DashboardService] - Stopped dashboard
2016-09-15 19:09:27.543 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.items'
2016-09-15 19:09:32.980 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist'
2016-09-15 19:09:33.479 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'logging.persist'
2016-09-15 19:10:00.462 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.rules'
2016-09-15 19:10:14.750 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.script'
2016-09-15 19:10:20.857 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.sitemap'
2016-09-15 19:13:41.944 [WARN ] [nce.extensions.PersistenceExtensions] - There is no default persistence service configured!
2016-09-15 19:13:41.970 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'null'
2016-09-15 19:13:42.022 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Error during the execution of startup rule 'ut': cannot invoke method public abstract org.eclipse.smarthome.core.types.State org.eclipse.smarthome.core.persistence.HistoricItem.getState() on null
2016-09-15 19:13:43.092 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.things'
2016-09-15 19:14:41.483 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2016-09-15 19:14:45.573 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2016-09-15 19:14:53.271 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /ui
2016-09-15 19:14:57.138 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2016-09-15 19:15:04.023 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-mysensors': No matching features for openhab-binding-mysensors/0.0.0
2016-09-15 19:15:04.030 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-mysensors': No matching features for openhab-binding-mysensors/0.0.0
2016-09-15 19:15:16.549 [WARN ] [thome.binding.ntp.handler.NtpHandler] - ntp:ntp:demo couldn't establish network connection [host 'nl.pool.ntp.org'] -> returning current sytem time instead.
2016-09-15 19:15:25.248 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro DailyJob at midnight for thing astro:moon:home
2016-09-15 19:15:25.261 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro DailyJob at midnight for thing astro:sun:home
ikjes_to
(Ikjes To)
September 16, 2016, 11:30am
5
also tried in addons.cfg
A comma-separated list of bindings to install (e.g. “sonos,knx,zwave”)
binding =mysensors
TimO
(TimO)
September 16, 2016, 12:20pm
6
Interesting error message, haven’t seen this yet.
Which OH2 Version are you running? Did you try to download the binding (RAW) again? Adding mysensors to addons.cfg ist needless, it will work after the binding gets part of OH2.
ikjes_to
(Ikjes To)
September 16, 2016, 12:30pm
7
i already did two clean installs off openhab2
i use 2.0.0.b4 Build #477
also tried 3x times instal the mysensor snaphot
ones wget direct link, ones raw version from github en ones from a drive
also one time, with rename (removed 2.0.0-SNAPSHOT) from the name
yup have to try some things
ikjes_to
(Ikjes To)
September 16, 2016, 1:00pm
8
Yesss
was a permission thing…pfff always…
wrong permision to the addons folder
TimO
(TimO)
September 16, 2016, 1:53pm
9
Uff okay, I am glad you found it!
I need to stop to run OH2 with root permission!
Pendragon
(Chris)
December 24, 2016, 1:16pm
10
so i installed it at the paper ui
after that i downloaded the latest mysensor snapshot and installed in addon folder
Where did you do this? I get the same error and don’t find the point to install this feature.
Perhaps there is a permission problem?
Pendragon
(Chris)
December 24, 2016, 2:32pm
11
OK, i dug into the logs and found the problem for the problem:
sudo chown -R openhab:openhab /var/lib/openhab2
The mv subdir is owned by root due to an update problem via apt-get…
Hi @TimO ,
Sorry to be a pain, but my installation seems to just sit on ‘initializing’ for ages without ever connecting to my ethernet bridge, then moving to Offline.
The jar has openhab2 daemon ownership, so shouldn’t be an issue with that.
I can confirm that my bridge is on the correct ip, and is working correctly.
Any ideas?
TimO
(TimO)
December 25, 2016, 10:15pm
13
Are you using the current snapshot of OH2 or beta5? The binding is not working anymore with beta4 due to the recent changes in the OH2 API.
Hi,
Thanks for responding.
I am using the 2.0.0.008-SNAPSHOT version.
Is the binding incompatible?
Cheers!
TimO
(TimO)
December 26, 2016, 9:13am
15
Hi!
Snapshot release should work fine, I’m using it myself. Please show me your debug log.
Cheers!
Hi.
I get this in the openhab.log:
2016-12-27 16:06:37.375 [ERROR] [al.protocol.ip.MySensorsIpConnection] - Error while trying to connect InputStreamReader
2016-12-27 16:06:37.377 [ERROR] [al.protocol.ip.MySensorsIpConnection] - Failed connecting to bridge...next retry in 10 seconds (Retry No.:478)
Is there another log you need?