openhab / org.openhab.ui.habmin

HABmin - a graphical user interface for openHAB 2
231 stars 91 forks source link

OH2 - Snapshot #114

Closed chiflyer closed 8 years ago

chiflyer commented 8 years ago

I could not get HABMIN2 to work with OH2-B1 as others have reported. I thought I would give the latest a try, again, and today it seemed to work with Zwave binding 1.9 automagically installed. But I am receiving this error in the debug - display:

openhab> display 14:55:31.173 [INFO ] [ng.zwave.internal.ZWaveActiveBinding] - Update config, port = /dev/ttyACM0 14:55:31.174 [INFO ] [b.core.service.AbstractActiveService] - ZWave Refresh Service has been started 14:55:31.187 [INFO ] [ve.internal.protocol.ZWaveController] - Starting Z-Wave controller 14:55:31.188 [INFO ] [ve.internal.protocol.ZWaveController] - Z-Wave timeout is set to 5000ms. Soft reset is false. 14:55:31.188 [INFO ] [ve.internal.protocol.ZWaveController] - Connecting to serial port /dev/ttyACM0 14:55:31.764 [INFO ] [ve.internal.protocol.ZWaveController] - Serial port is initialized 14:55:31.830 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(200)] doFindMethod: Suitable but non-accessib le method found in class org.openhab.ui.habmin.internal.services.zwave.ZWaveConfigResource 14:55:31.830 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(200)] findMethod: Suitable but non-accessible method addConfigurationService found in class org.openhab.ui.habmin.internal.services.zwave.ZWaveConfigResource, subclass of org.openhab.ui.habmin. internal.services.zwave.ZWaveConfigResource 14:55:31.830 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(200)] bind method [addConfigurationService] n ot found; Component will fail 14:55:31.831 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(200)] bind method [addConfigurationService] n ot found 14:55:32.766 [INFO ] [ve.internal.protocol.ZWaveController] - Disconnected from serial port 14:55:32.767 [INFO ] [ve.internal.protocol.ZWaveController] - Stopped Z-Wave controller 14:55:36.181 [INFO ] [b.core.service.AbstractActiveService] - ZWave Refresh Service has been shut down

Any ideas? This is on Ubuntu 14.04, Java 1.7, OH2 Build #89

cdjackson commented 8 years ago

I suspect that the problem with the zwave binding is the same one that has been reported in other threads. I’ve just created a PR on this and will merge later tonight.

https://github.com/openhab/openhab/pull/3837 https://github.com/openhab/openhab/pull/3837

cdjackson commented 8 years ago

This should be fixed with the latest 1.9 snapshot.

dalanbrown commented 8 years ago

I cannot say that it is fixed. I am seeing the same errors in the log. openhab latest 2.0 snapshot. habmin 2.0-0.15 built about 15 days ago.

openhab seems to be able to see the device and open it correctly - log says there are 2 nodes one of which is DEAD which is right.

I verified there is a new habmin jar file with the updated activebinding.xml and present in the /opt/openHAB/userdata/tmp/mvn/org/openhab/binding/org.openhab.binding.zwave/1.9.0-SNAPSHOT directory.

Still the same 4 errors

zwave habmin 2016-02-07 16-00-34

2016-02-07 12:54:23.936 [INFO ] [ng.zwave.internal.ZWaveActiveBinding] - Update config, port = /dev/ttyACM0 2016-02-07 12:54:23.949 [INFO ] [b.core.service.AbstractActiveService] - ZWave Refresh Service has been started 2016-02-07 12:54:23.966 [INFO ] [smarthome.event.ExtensionEvent ] - Extension 'binding-zwave' has been installed. 2016-02-07 12:54:23.967 [INFO ] [ve.internal.protocol.ZWaveController] - Starting Z-Wave controller 2016-02-07 12:54:23.967 [INFO ] [ve.internal.protocol.ZWaveController] - Z-Wave timeout is set to 5000ms. Soft reset is false. 2016-02-07 12:54:23.967 [INFO ] [ve.internal.protocol.ZWaveController] - Connecting to serial port /dev/ttyACM0 2016-02-07 12:54:24.131 [INFO ] [ve.internal.protocol.ZWaveController] - Serial port is initialized 2016-02-07 12:54:27.281 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 1: Node found 2016-02-07 12:54:27.282 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 2: Node found 2016-02-07 12:54:27.282 [INFO ] [age.SerialApiGetInitDataMessageClass] - ZWave Controller using Controller API 2016-02-07 12:54:27.282 [INFO ] [age.SerialApiGetInitDataMessageClass] - ZWave Controller is Primary Controller 2016-02-07 12:54:27.282 [INFO ] [age.SerialApiGetInitDataMessageClass] - ------------Number of Nodes Found Registered to ZWave Controller------------ 2016-02-07 12:54:27.282 [INFO ] [age.SerialApiGetInitDataMessageClass] - # Nodes = 2 2016-02-07 12:54:27.282 [INFO ] [age.SerialApiGetInitDataMessageClass] - ---------------------------------------------------------------------------- 2016-02-07 12:54:27.481 [WARN ] [rialmessage.IsFailedNodeMessageClass] - NODE 2: Is currently marked as failed by the controller! 2016-02-07 12:54:31.606 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 2: Node is DEAD. Dropping message. 2016-02-07 12:54:36.624 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 2: Node is DEAD. Dropping message. 2016-02-07 12:54:46.566 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 2: Node is DEAD. Dropping message. .... 2016-02-07 12:55:06.595 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 2: Node is DEAD. Dropping message. 2016-02-07 12:55:16.971 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin 2016-02-07 12:55:16.980 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(220)] doFindMethod: Suitable but non-accessible method found in class org.openhab.ui.habmin.internal.services.zwave.ZWaveConfigResource 2016-02-07 12:55:16.980 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(220)] findMethod: Suitable but non-accessible method addConfigurationService found in class org.openhab.ui.habmin.internal.services.zwave.ZWaveConfigResource, subclass of org.openhab.ui.habmin.internal.services.zwave.ZWaveConfigResource 2016-02-07 12:55:16.981 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(220)] bind method [addConfigurationService] not found; Component will fail 2016-02-07 12:55:16.981 [ERROR] [org.openhab.ui.habmin ] - [org.openhab.binding.zwave.configuration(220)] bind method [addConfigurationService] not found 2016-02-07 12:55:28.671 [INFO ] [.openhab.core.internal.CoreActivator] - openHAB runtime has been terminated.

cdjackson commented 8 years ago

As per other discussions, I don't plan to work on this further as it's just taking time away from getting the OH2 zwave binding complete.