[SOLVED] Z-Wave Serial Controller shows "OFFLINE - BRIDGE_OFFLINE Controller is offline"

From a quick look at the features, I don’t think this should have changed with the use of the ESH classes. The features call up openhab-transport-serial which should cover all the serial classes. Also, if it was the problem, I wouldn’t expect the binding to start at all, which doesn’t appear to be the situation here so my comment above might be incorrect that it’s related to these changes.

It still might be related to this, but from my testing with these changes before the merge, the port access worked fine with the ESH classes.

No problems here on snapshot #1549:

What about a more recent version? The change was merged on the 3rd, which would make 1565 the first version to have this. At least this probably means the problems from @frankie.delure are unrelated as there was no change in #1564 where he is reporting issues above.

Sorry, did not realize that.
Now you forced me to upgrade :grinning:

Snapshot #1566, still working fine:

Thanks for confirming :slight_smile: - it’s good to know it’s not just my system where it’s working…

Hey guys,
Where can I find this “snapshot number”? I don’t see any kind of 4 digit number next to the zwave binding. I see “2.5.0.M1”. I googled how to install a snapshot for openhab and found this post:

So I did all that, using this jar file:


[18:23:10] openhabian@openHABianPi:/usr/share/openhab2$ ll ./addons/
total 2.6M
drwxrwxr-x+ 2 openhab    openhabian 4.0K Apr  7 18:15 ./
drwxr-xr-x  4 openhab    openhab    4.0K Apr  2 19:39 ../
-rw-rw-r--  1 openhabian openhabian 2.6M Apr  6 17:57 org.openhab.binding.zwave-2.5.0-SNAPSHOT.jar
-rw-r--r--  1 openhab    openhab      70 Dec 17 00:01 README
[18:23:15] openhabian@openHABianPi:/usr/share/openhab2$ 

And rebooted the pi. But the binding doesn’t show up in PaperUI. Since @sihui seems to be using HABmin, I thought that might have a snapshot somewhere or something, but it also does not show the zwave binding as installed and does not show me a snapshot number.

So I’m not sure where to go from here.
Where would I find this snapshot number? Is it listed next to the 2.5.0 in the bindings screen? I’ll have to dig into why it wasn’t picked up when I put the .jar into my addons folder.

Log into the console. You’re using openHABian, which is a package repository installation, so connect through ssh and run…

openhab-cli console

… although, there may be a menu for this too (I’m not familiar with openHABian).

Manually installed bindings through the addons folder don’t show up in any GUI.
Just perform what you already did above to find the number and to see if it is installed:

That would explain a lot. Ok, so after stopping the openhab2 service, dropping the jar file into the $OPENHAB_HOME/addons and then rm -rf $OPENHAB_USERDATA/{cache,tmp}/*, this shows in the console:

                                                                                                                                          
openhab>                                                                                                                                                            
openhab> bundle:list -s | grep wave                                                                                                                                 
 13 │ Installed │  80 │ 2.5.0.201904070025     │ org.openhab.binding.zwave
openhab>   

So is that snapshot 0025?

(Incidentally, the console shows 2.4.0 Release Build in the welcome message, but paper ui shows 2.5.0.M1)

But then the openhab.log file freaks out:

2019-04-08 09:08:48.584 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.zwave-2.5.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zwave [13]
  Unresolved requirement: Import-Package: com.google.common.collect

	at org.eclipse.osgi.container.Module.start(Module.java:444) ~[?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[?:?]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [10:org.apache.felix.fileinstall:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [10:org.apache.felix.fileinstall:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [10:org.apache.felix.fileinstall:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [10:org.apache.felix.fileinstall:3.6.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [10:org.apache.felix.fileinstall:3.6.4]

But I can’t sort out where to find this com.google.common.collect package. A few posts, such as here and here seem to indicate this comes with the Guava bundle but I’m really just grasping at straws here.

I think you somehow messed up your openHAB installation during an upgrade.

Never seen any numbering like that. No, your openHAB zwave binding is snapshot #610:

https://ci.openhab.org/job/openHAB2-Bundles/org.openhab.binding$org.openhab.binding.zwave/

But don’t worry about snapshot versions for manually installed bindings, the important part is to use a recent one and yours is from 20190407

Yep, I’m a moron. I have to plead 100% and total incompetency. I moved everything to a raspberry pi a couple of months ago, but I had a bookmark for the old openhab that was still running… which is why the zwave controller was stubbornly showing as offline… because it was plugged into the pi, but I was looking at the old laptop.

This is where I have to eat my hat with a large slice of humble pie. I really really appreciate all your help. Man I feel stupid.

1 Like

Just installed #1569. Same issues - z-wave Controller is offline. Back to#1560 and z-wave is online and devices work as they should without any further input.

I will stay with #1560 as long as there is no hint what might cause the troubles.

If I understand the comments from others above, there is no problem?

If you provide information on your problem (eg debug logs or at least some hints) then it might help us to help you otherwise it probably won’t get fixed?

I guess that problem is related to

Quite possibly. This is why it’s always good for people to explain their issue rather than simply say “I have the same problem” :slight_smile: .

Thanks - I will follow this thread and hopefully contribute anyhow. The title of the thread didn’t give me any indication that it is related to my issue.

Same issue. I am on the #1566. Just loosing the settings of the zwave controller when restarting the RPi. Every Zwave Thing is found again at every restart.

Please provide information on your issue. Just saying “same issue” doesn’t really help as we need to know what the problem is. You MAY have the same SYMPTOMS, but that doesn’t mean that the issue is related at all - of course - it might be, but it might not - we can’t tell without information on your specific issue.

That sounds like a very different issue - above the issue is related to serial ports!

Sry just noticed that I answered under the wrong thread, so I replied to the thread mentioned above.
The reason why all my things are doubled is in my opinion related to the missing port somehow.

Today I installed a RAZPBERRY board in my Pi 3, added the ZWave binding, created the ZWave serial controller thing, and added the respective items. The items show up, and have status values changing, but the thing reports “Status: OFFLINE - BRIDGE_OFFLINE Controller is offline”

EDIT: please ignore this post; I realised that for the Razberry Pi one should use the Z-WaY binding, and not the Z-WaVE binding…