myopenHAB replaces my.openHAB!

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

This is a great improvement, but it might also be related to this issue:

@lewie?

if anybody got exec binding to work with this latest build - pls chime in here. no matter what tricks i do it refuses to cooperate and pushes nothing into the log in the debug mode as well. looks like requests are sent to it, as before, just nothing happens anymore. class seems to be loaded but does not do anything.

weird behavior at the start seems to have some relevance to the command given upon first login to the intefrace - when it asks what mode to use for init. in different modes it also seems to act differently, with different glitches.

Last release i had working flawlessly was from Oct 31st. This code from Dec 18th - it is not working, using same exact config and deployment that was used for previous ones. I cannot make EXEC binding work, have to revert back to previous code. It was incredibly stupid not to make a backup before an update, i definitely got spoiled by how well those upgrades went before, but, no more.

This resolved the issue for me.

1 Like

Worked for two of my switches, one of them a virtual switch, the other real. There’s still two virtual switches not showing up. I’ve rebooted after each change, just to be safe. I have to go out for a bit. I’ll see if time helps. As an aside, I’ve removed the two switches that did show up, and now they won’t go away…

All working now!

1 Like

yes! great work kai, up and running here also…

Good news, all went well and IFTTT integration is now up and running on myopenHAB! All previous my.openHAB users should have received an e-mail tonight with instructions how to re-authenticate with their new myopenHAB account. Here are the details for the reference:

  1. Make sure you have already signed up for an account at myopenHAB.org
  2. Log into your account at https://ifttt.com
  3. Open https://ifttt.com/services/openhab/settings/connect, which will re-direct you to myopenhab.org.
  4. Log in at myopenHAB.org and click “Allow” when being asked for OAuth2 authorization.

That’s it! Note that all your Applets will stay as they are, there is no need to re-create them. Please make sure that you do NOT “disconnect” your openHAB channel in IFTTT, because this would delete all your existing Applets.

Have fun!
Kai

Hello, I’ve 3 items I’m trying to send to Cloud service:

openhabcloud:expose=node20_sw3,node28_sw1,node27_ONEWIRE1_temp

The first two are two switches, the last a sensor. I CAN see the sensor on myopenhab.org, but NOT the two switches.
The switches are configures with this parameter:

autoupdate="false"

Could it be the cause? In case, how to solve?
I’m using this parameter to convert the switch in a button.

I’m using OH1.8.3 and last Cloud jar build.

Thanks,

Simon

Of course. If you ask for no status updates, you do not get any status updates.
As mentioned above: To make it appear in myopenHAB (and thus make it available to IFTTT, which seems to be your goal), simply make sure that at least one status update is sent to the cloud for this item. You can do this on the console with openhab update <itemname> <somestate>, e.g. openhab node28_sw1 ON.

Hello @Kai,
Thanks for the fast answer. Sorry, that was my fault! I’ve forgotten that in the past, with the old service, I was using another item per switch (i.e. node20_sw3_dobutton) WITHOUT the autoupdate=false, also normal. This item is used to trigger a RULE which does the update of the node20_sw3).
So, setting the node20_sw3_dobutton as item to expose and updating it the first time manually, I’m able to see that item on myopenhab.org. Then, I’ll use the node20_sw3_dobutton to send the command to my openhab installation. A Rule will then update the node20_sw3 item which remains in autoupdate=false to let me show a press-button in the sitemap.
Now I can see the items on IFTTT as well and my recipies are up-to-date. I’ll test them later.
Many thanks!
Simon

1 Like

Additional info: IFTTT and Do-Buttons are working great right now. Thanks! All works as expected!

Simon

@Paul_Atkin,

I ve a similiar Problem on my OH2. Dont worry, we will try to help.
It seems that Karaf has a problem there.
In my setup I ve a problem with uninstalling the old myopenhab binding. After failing in uninstalling, none of the UIs
show up. It seems I ve clicked too many install buttons and karaf got problems.

Did you completely remove the OH2 installation?
Here you got some infos: http://docs.openhab.org/installation/linux.html#uninstall
Pls check if all is erased.

You can go into the Karaf console and start, stop or uninstall bundles you need:
http://docs.openhab.org/administration/console.html

I will make a Karaf test tonight and try to come back to help.