myopenHAB replaces my.openHAB!

items not showing up in the new myopenhab. OH Version 1.8, suitable Java Version. System comes online, can connect through the iOS App und via Webservice, but the item list stays empty. Got 3 items to expose, already configured, restarted OH serveral times, no luck

Same here :frowning:

Hi,
I have the same problem, cannot see openHAB Cloud Connector in Misc to install extension? Any pointers on how this can be resolved? I have below the repo list if that is of any use.

Try adding it to /conf/services/addons.cfg (worked for me):
misc = openhabcloud

Hi,
Tried that, still didn’t work?

For all of you that try to expose items in OH 1.8: I think I found what your problem is.
Item updates are only sent to the cloud if there is an update event (e.g. coming from a binding). If there is only a command and the state is switched through the auto-update, nothing is send. See this in my log:

2016-12-19 19:52:09.383 [INFO ] [runtime.busevents             ] - Light_GF_Living_Table received command ON
openhab update Light_GF_Living_Table ON
Update has been sent successfully.
osgi> 2016-12-19 19:52:19.482 [INFO ] [runtime.busevents             ] - Light_GF_Living_Table state updated to ON
2016-12-19 19:52:19.482 [DEBUG] [.i.o.internal.CloudServiceImpl] - Sending item update to openhab Cloud: Light_GF_Living_Table - ON

To make it work differently, this probably will require some work on the cloud connector. But before I spend the time to change its behavior, please be so kind and check whether my assumption is right - simply send an update on the command line like in my log above and see if it ends up on myopenhab.

Note that OH2 behaves differently as the auto-update now also creates “real” events for the update, which imho makes a lot of sense.

1 Like

Are you on an old build? Probably beta 4?
You need to upgrade to a recent snapshot.

I verified the same problem with 1.8.2. An item that is updated by the insteonplm binding shows up in myopenhab.org. But an item that I use just a switch signal to trigger a rule does not show up.

Hi, Is there an upgrade process for OpenHAB 2 on Raspberry Pi 3 (Debian 8) that you could point me towards?

Hi Kai,

i can confirm update events coming from a binding (tested with homematic and weather) will show up the Items in the new myopenhab Cloud.

[DEBUG] [.i.o.internal.CloudServiceImpl] - Sending item update to openhab Cloud: Elevation - -46.08

Updates that i´ve send via Rest API like:

http://192.168.x.x:8080/CMD?MOB_IFTTT=ON 

will not show up the Item “MOB_IFTTT” in the myopenhab Cloud.
So it seem the i.o.internal.CloudServiceImpl or o.o.i.o.internal.CloudClient is not triggered to update the Item in the myopenhab Cloud.

http://docs.openhab.org/installation/linux.html

Yep, that was totally it - I amended the config to expose the weather report and there we are, items posted.

also check openhabian, its so easy.

Same for me. Zwave lamp module shows up after adding but virtual switches only toggled by IFTTT do not show up.

This is horrible. I pulled latest build to activate this thing, went over setup, turned all binding again as every upgrade erases old setup, it all worked. Created account on new site, install cloud bunging, linked it - it worked.
Then i stopped and restarted openhab service, upon restart it erased previously installed cloud binging, and now whole system refuses to start - all it prints into its stupid log is this, below, and NOTHING ELSE.

openhab pages do not open, all they have in there is the message that ‘Please stand by while UIs are being installed. This can take several minutes.’ - obviously, nothing happens. Mobile app connects over local network, does not connect from outside netowork, events.log prints attempts to control things i had in there - but nothing controls anything, seems like all bindings are dead or were erased after restart.

it is incredibly frustrating. As i have reinstalled this solutution plenty of times before i know i did not do anything wrong, plus, it WAS WORKING FINE before i shut it down and now i cannot neither see nor do anything.

2016-12-19 16:37:49.110 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'My_House.items’
2016-12-19 16:37:49.168 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'groups.items’
2016-12-19 16:37:49.196 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'logging.persist’
2016-12-19 16:37:49.207 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'mysql.persist’
2016-12-19 16:37:49.212 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist’
2016-12-19 16:37:49.724 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'porch.rules’
2016-12-19 16:37:50.273 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start

just repeated whole thing. same behaviour - here is what it does. starts fine, allows to install modules, seems to work, but after you stop it it posts this non-sense into log, uninstalls everything and never starts back again. Very frustrating…

2016-12-19 17:03:36.967 [ERROR] [sql.internal.MysqlPersistenceService] - mySQL: Unable to find table for query ‘SF_Corridor’.
2016-12-19 17:03:36.988 [INFO ] [ulation.internal.HueEmulationServlet] - Started Hue Emulation service at /api
2016-12-19 17:03:37.418 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port '/dev/ttyACM0’
2016-12-19 17:03:37.461 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2016-12-19 17:03:37.474 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - Update networkKey
2016-12-19 17:03:37.540 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2016-12-19 17:03:37.540 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
2016-12-19 17:03:39.001 [INFO ] [core.karaf.internal.FeatureInstaller] - Installed 'openhab-binding-exec’
2016-12-19 17:03:39.719 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Stopped ZWave serial handler
2016-12-19 17:03:39.730 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-binding-zwave’
2016-12-19 17:03:40.224 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-binding-onkyo’
2016-12-19 17:03:40.546 [ERROR] [org.openhab.binding.zwave ] - FrameworkEvent ERROR - org.openhab.binding.zwave
java.io.IOException: Exception in opening zip file: /opt/openhab2/userdata/cache/org.eclipse.osgi/183/0/bundleFile
at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:305)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.storage.bundlefile.ZipBundleFile.basicOpen(ZipBundleFile.java:85)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.storage.bundlefile.ZipBundleFile.getZipFile(ZipBundleFile.java:98)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.storage.bundlefile.ZipBundleFile.checkedOpen(ZipBundleFile.java:65)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.storage.bundlefile.ZipBundleFile.getEntry(ZipBundleFile.java:232)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:562)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:540)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:527)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:320)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:395)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[:1.8.0_112]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.initialize(ZWaveController.java:727)[183:org.openhab.binding.zwave:2.0.0.201612180944]
at org.openhab.binding.zwave.internal.protocol.ZWaveController$InitializeDelayTask.run(ZWaveController.java:195)[183:org.openhab.binding.zwave:2.0.0.201612180944]
at java.util.TimerThread.mainLoop(Timer.java:555)[:1.8.0_112]
at java.util.TimerThread.run(Timer.java:505)[:1.8.0_112]
Caused by: java.io.FileNotFoundException: /opt/openhab2/userdata/cache/org.eclipse.osgi/183/0/bundleFile (No such file or directory)
at java.util.zip.ZipFile.open(Native Method)[:1.8.0_112]
at java.util.zip.ZipFile.(ZipFile.java:219)[:1.8.0_112]
at java.util.zip.ZipFile.(ZipFile.java:149)[:1.8.0_112]
at java.util.zip.ZipFile.(ZipFile.java:163)[:1.8.0_112]
at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:288)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
… 18 more
2016-12-19 17:03:40.710 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2016-12-19 17:03:40.719 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-ui-habpanel’
2016-12-19 17:03:41.172 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2016-12-19 17:03:41.181 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-ui-paper’
2016-12-19 17:03:41.617 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Stopped HABmin servlet
2016-12-19 17:03:41.626 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-ui-habmin’
2016-12-19 17:03:42.083 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2016-12-19 17:03:42.100 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-ui-basic’
2016-12-19 17:03:42.467 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-persistence-mysql’
2016-12-19 17:03:42.833 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-transformation-regex’
2016-12-19 17:03:43.159 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-transformation-xpath’
2016-12-19 17:03:43.450 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-transformation-jsonpath’
2016-12-19 17:03:43.755 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-transformation-scale’
2016-12-19 17:03:44.081 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled ‘openhab-transformation-xslt’

Sihui,Thanks for that! I have manually upgraded to current openHAB 2 snapshot. OpenHAB starts but I am unable to install two extensions 1. MQTT Binding and 2 . OpenHAB Cloud Connector (just getting circle wheel but won’t install). The following error appears for them both

Great, thank you all for testing that so quickly. I have just refactored the OH1 bundle and tested it - it now seems to work well and also pushed the auto-update changes to the cloud. You can find the new version for OH1 here - again, please test and if you report success, I will make this the official version.

2 Likes

Paul, this sounds like this report. I’ll check for ways of how to solve this. If there is any Apache Karaf expert out there: I’d be happy about any kind of help as this does not seem to be an openHAB specific issue at all…

i am still trying to fight it, but it got from bad to worse. I suspect it had something to do with order of installations, as it stopped killing everything and uninstalling stuff automatically after restart.

But, what happens now - it refuses to understand types of my ZWave nodes.i am not sure when it started behaving like that, i think after 4th or 5th reinstall attempt.
I just did a master hardware reset to a stick in the hope that it will fix it, so i did a complete reset, reconnected half of my nodes in the house to the stick, ERASED ALL, no openhab2 at all, cold rebooted server, started everything from the scratch, installed just the ZWave binding, it initialized, it found all nodes i have on the stick - NONE of them is recognized, all are created as ‘unknown device’.

not sure what the hell it is. only component i installed is the ZWave. It was always working as a timepiece - no issues, extremely reliable. from what i can see it is the same module as before.

PS. I fixed ZWave, more or less. Now EXEC binding is broken - it refuses to work completely, as some time ago, with no output at all in the log and no reaction to the request to alter the existing item.

Something it seriously wrong with this build. A non-developer at this point would erase all this from the system and never return back to it…

1 Like